After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 573969 - msgctxts aren't stable
msgctxts aren't stable
Status: RESOLVED WONTFIX
Product: libgweather
Classification: Core
Component: locations
unspecified
Other Linux
: Normal normal
: future
Assigned To: libgweather-maint
libgweather-maint
Depends on:
Blocks:
 
 
Reported: 2009-03-03 19:37 UTC by Dan Winship
Modified: 2017-12-13 17:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Winship 2009-03-03 19:37:55 UTC
Since we currently only generate msgctxts for strings that are ambiguous (eg, "London" is a city in both England and Ontario), this means that as cities are added/removed/fixed, we may end up adding or removing msgctxts to *other* strings. This happened just now because of bug 567607, which removed Bordeaux, Wyoming, USA, causing Bordeaux, France to lose its msgctxt.

I'm fixing that for now by re-adding Bordeaux, Wyoming's station to observations-2.26.txt, even though it's no longer reporting.

Long term, the fix is probably to make every string in Locations.xml have a msgctxt, which will require manually fixing up the .po files to keep the existing translations from going fuzzy. (It might also be important to use shorter msgctxts in this case? We already have a unique ID for each location from our database, and we have disambiguating comments on each string, so we don't need to have the msgctxt actually act as disambiguation too.)
Comment 1 Bastien Nocera 2017-12-13 17:48:36 UTC
Given that those cases are very rare, and that adding message contexts for every one of the entries would invalidate the current translations, I'll close this bug. The current state of affairs is not something that translators have a problem with, we could always revisit if it crops up again.

See https://mail.gnome.org/archives/gnome-i18n/2017-December/msg00019.html