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 236132 - Evolution msgids includes non-ASCII characters breaking gettext
Evolution msgids includes non-ASCII characters breaking gettext
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Do Not Use
unspecified
Other All
: Normal normal
: ---
Assigned To: Ettore Perazzoli
Evolution QA team
Depends on:
Blocks: 236276
 
 
Reported: 2002-12-27 17:21 UTC by Christian Rose
Modified: 2013-09-13 12:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Rose 2002-12-27 17:21:22 UTC
The file my-evolution/metar.c contains non-ascii characters that causes
many warnings from xgettext when I update the sv.po (which is in UTF-8)
with "intltool-update sv":


msgmerge: warning: The following msgid contains non-ASCII characters.
                   This will cause problems to translators who use a 
                   character encoding different from yours. Consider
                   using a pure ASCII msgid instead.
                   °F
msgmerge: warning: The following msgid contains non-ASCII characters.
                   This will cause problems to translators who use a
                   character encoding different from yours. Consider
                   using a pure ASCII msgid instead.
                   °C


Also, the character (°) will not be displayed in the msgids in the po file,
it will simply be an extra space. Thus, these messages cannot be translated
correctly as they are, and causes the above warnings with gettext 0.11 and
newer, and possibly also other gettexts.

As for possible solutions, either:

1) use the string "degrees" or similar in the msgid instead, or
2) keep ° but un-mark this message for translation (if you are sure it
doesn't need localization).
Comment 1 Abel Cheung 2003-07-17 18:10:52 UTC
No non-ASCII msgid now.