Skip to content

chore(fe): fix French translation apostrophe escaping#3757

Merged
aterga merged 1 commit intomainfrom
chore/translate-fr
Apr 3, 2026
Merged

chore(fe): fix French translation apostrophe escaping#3757
aterga merged 1 commit intomainfrom
chore/translate-fr

Conversation

@sea-snake
Copy link
Copy Markdown
Contributor

Typographic apostrophes (') in two French translations were incorrectly backslash-escaped (\'), causing npm run extract to double-escape them (\\'). This PR removes the unnecessary backslashes.

Changes

  • Fixed apostrophe escaping in 2 entries in src/frontend/src/lib/locales/fr.po

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sea-snake sea-snake requested a review from a team as a code owner April 3, 2026 12:39
@sea-snake sea-snake requested review from aterga, Copilot and mducroux April 3, 2026 12:39
@sea-snake
Copy link
Copy Markdown
Contributor Author

@mducroux this PR may already be merged by the time you see it, but if you spot any translation mistakes feel free to leave comments or suggestions here — they'll be picked up by AI in a future run. Besides specific fixes, broader feedback is also welcome (e.g., tone, terminology preferences, style guidelines) — these will be reviewed and applied across all future translations.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes French gettext translations where typographic apostrophes were unnecessarily backslash-escaped, which caused npm run extract to double-escape them during extraction.

Changes:

  • Removed stray backslashes before typographic apostrophes in two French msgstr entries.
  • Ensured the translations render as n’utilisez / l’appareil (without \’) and won’t be double-escaped by extraction.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sea-snake sea-snake enabled auto-merge April 3, 2026 12:57
@sea-snake sea-snake disabled auto-merge April 3, 2026 13:40
@aterga aterga added this pull request to the merge queue Apr 3, 2026
Merged via the queue into main with commit 25863c2 Apr 3, 2026
87 of 88 checks passed
@aterga aterga deleted the chore/translate-fr branch April 3, 2026 14:20
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.

3 participants