Skip to content

Escaped quotation marks altered in translated messages of .po files #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jflann opened this issue Jul 15, 2023 · 1 comment
Open

Escaped quotation marks altered in translated messages of .po files #134

jflann opened this issue Jul 15, 2023 · 1 comment

Comments

@jflann
Copy link

jflann commented Jul 15, 2023

Summary

Escaped quotation marks altered in translated messages of .po files

Steps to reproduce

Submit a translation for review and then create a PR. If a translated message in the file contains escaped quotation marks, they may be altered improperly.

Repository URL

https://gitlocalize.com/repo/8674/fr/review/61574/segments
https://github.com/NAMTeam/Network-Addon-Mod/pull/404/files

What is the current bug behavior?

escaped quotation marks \" are replaced with \ within the msgstr

What is the expected correct behavior?

escaped quotation marks should be unaltered.

@jflann
Copy link
Author

jflann commented Jul 15, 2023

@@ -561,7 +559,7 @@ msgstr "Pont simple pour Tram (GLR)"

 msgctxt "2026960B-6A231EAA-8010B200"
 msgid "JENXPARIS Pont Notre Dame. The Pont Notre-Dame is a bridge that crosses the Seine in Paris, France linking the quai de Gesvres on the Rive Droite with the quai de la Corse on the Île de la Cité. The bridge is noted for being the \"most ancient\" in Paris, in the sense that, while the oldest bridge in Paris that is in its original state is undoubtedly the Pont Neuf, a bridge in some form has existed at the site of the Pont Notre-Dame since antiquity."
-msgstr "Pont Notre-Dame. Pont Parisien reliant le quai de Gesvres sur la Rive Droite au quai de la Corse sur l'Île de la Cité. Le pont est connu pour être le \"plus ancien\" de Paris ou plutôt être à l'emplacement d'une succession de ponts et cela en remontant à l'Antiquité. Par JENXPARIS."
+msgstr "Pont Notre-Dame. Pont Parisien reliant le quai de Gesvres sur la Rive Droite au quai de la Corse sur l'Île de la Cité. Le pont est connu pour être le \plus ancien\ de Paris ou plutôt être à l'emplacement d'une succession de ponts et cela en remontant à l'Antiquité. Par JENXPARIS."

 msgctxt "2026960B-CBE084CB-84CB0010"
 msgid "Level Bridge"```

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

No branches or pull requests

1 participant