GNOME Bugzilla – Bug 585766
Please avoid the use of & in location names
Last modified: 2013-07-28 20:08:37 UTC
I just saw that the POT file for libgweather.locations contains this line: msgid "Australasia & Oceania" While it isn't too much trouble to make sure to translate the XML entity correctly, I'm not sure that this is ideal. If somebody gets this wrong, what happens to the application? Please let the translators deal with plain text, and escape it as necessary for whatever you are using it for. Another trap is that, if the translator wanted to use an ampersand in a line where the English did not have it (like "Saint Pierre and Miquelon") they might not remember to escape the ampersand as &. Msgfmt won't complain about this, so let us rather make sure that the application deals correctly with the text.
Ping.
hey, is it still valid?
Yes.
back on pc. '&' appears only once in the entire database libgweather/data/Locations.xml.in as "Australasia & Oceania"
Created attachment 250299 [details] [review] replaced & with the plain text
Review of attachment 250299 [details] [review]: Lame fix (the right one would be to handle escaping in intltool or dgettext or somewhere else), but probably the easiest one.
(In reply to comment #8) > Review of attachment 250299 [details] [review]: > > Lame fix (the right one would be to handle escaping in intltool or dgettext or > somewhere else), but probably the easiest one. lol, not lame, the point of it was to use plain text, it makes sense, now it is consistent with other strings