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 102010 - totem msgid includes non-ASCII character breaking gettext
totem msgid includes non-ASCII character breaking gettext
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Bastien Nocera
Bastien Nocera
Depends on:
Blocks:
 
 
Reported: 2002-12-26 22:38 UTC by Christian Rose
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Rose 2002-12-26 22:38:57 UTC
The file src/totem.c contains a non-ascii character that causes many
warnings from xgettext when I update the sv.po (which is in UTF-8) with
"intltool-update sv":


xgettext: 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.
                   Copyright © 2002 Bastien Nocera
xgettext: invalid multibyte sequence
xgettext: invalid multibyte sequence
xgettext: invalid multibyte sequence
xgettext: invalid multibyte sequence


Also, the character (©) will not be displayed in the msgid in the po file,
it will simply be an extra space. Thus, this message cannot be translated
correctly as it is, and causes the above warnings with gettext 0.11 and
newer, and possibly also other gettexts.

As for possible solutions, either:

1) go back to using (C) in the msgid, or
2) un-mark this message for translation (if you are sure it doesn't
need localization).

Perhaps 2) is the best alternative. I don't know why this message would
need localization as it is written now.
Comment 1 Bastien Nocera 2002-12-27 09:39:20 UTC
2002-12-27  Bastien Nocera  <hadess@hadess.net>

        * src/totem.c: (on_about1_activate): the Copyright notice
shouldn't be
        translatable (Closes: #101947, #102010)