Skip to content

Fix: Rename guide images to remove accented characters (Unicode normalization) - #30

Draft
phildupuis wants to merge 2 commits into
mainfrom
fix/unicode-normalization-guide-images
Draft

phildupuis wants to merge 2 commits into
mainfrom
fix/unicode-normalization-guide-images

Conversation

@phildupuis

Copy link
Copy Markdown
Contributor

Problem

On macOS, files with accented characters in their names (like créer, fenêtre, désélectionner) cause Unicode normalization issues (NFD vs NFC). This results in these files appearing simultaneously as:

  • Untracked (macOS creates them with NFC encoding)
  • Deleted (Git expects them with NFD encoding)

This makes it impossible to work cleanly with git on these files.

Solution

Rename the problematic files to use only ASCII characters and hyphens instead of spaces:

Old Name New Name
step1-pàp.png step1-pap.png
ajouter participant (fenêtre 2).png ajouter-participant-fenetre-2.png
créer nouveau compte.png creer-nouveau-compte.png
désélectionner participants.png deselectionner-participants.png
domaine créé.png domaine-cree.png
rédaction fil (fenêtre 1).png redaction-fil-fenetre-1.png
vérifier_unité_org.png verifier-unite-org.png

Changes

  • Renamed 7 image files to remove accented characters and spaces
  • Updated 2 markdown files that reference these images

Note

There are ~180 other files with accented characters in the repository. This PR only fixes the 7 files that were causing immediate issues. A follow-up PR could address the remaining files if desired.


Pull Request opened by Augment Code with guidance from the PR author

This fixes Unicode normalization issues (NFD vs NFC) on macOS that caused
these files to appear as both 'untracked' and 'deleted' simultaneously.

Renamed files:
- step1-pàp.png -> step1-pap.png
- ajouter participant (fenêtre 2).png -> ajouter-participant-fenetre-2.png
- créer nouveau compte.png -> creer-nouveau-compte.png
- désélectionner participants.png -> deselectionner-participants.png
- domaine créé.png -> domaine-cree.png
- rédaction fil (fenêtre 1).png -> redaction-fil-fenetre-1.png
- vérifier_unité_org.png -> verifier-unite-org.png

Also updated markdown references to use new filenames.
Updated references in:
- guides-fr/pour-les-patients-et-proches-aidants/accepter-une-invitation.md
- guides-fr/pour-les-professionnels/canaux-de-soins/associer-un-fil-de-discussion-clinique-a-un-canal-de-soins-existant.md
- guides-fr/pour-les-administrateurs/domaines/creer-un-domaine.md
- guides-fr/pour-les-professionnels/equipes/ecrire-a-une-equipe.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant