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 542638 - Don't put dict keys in gettext call parameter
Don't put dict keys in gettext call parameter
Status: RESOLVED FIXED
Product: deskbar-applet
Classification: Deprecated
Component: general
2.23.x
Other Linux
: Normal minor
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-07-12 10:11 UTC by Claude Paroz
Modified: 2008-07-14 20:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove dict keys in gettext calls (1.64 KB, patch)
2008-07-12 10:12 UTC, Claude Paroz
committed Details | Review

Description Claude Paroz 2008-07-12 10:11:50 UTC
Due to a probable xgettext bug (https://savannah.gnu.org/bugs/index.php?23824), dict keys in gettext calls are extracted in the .po file

#: ../deskbar/handlers/beagle-live.py:385
#: ../deskbar/ui/cuemiac/CuemiacItems.py:19
msgid "name"
msgstr ""
...
#: ../deskbar/ui/cuemiac/CuemiacItems.py:22
msgid "default"
msgstr ""

This is not critical, as at runtime these translations are not used at all, but this is annoying for translators.
Comment 1 Claude Paroz 2008-07-12 10:12:47 UTC
Created attachment 114429 [details] [review]
Remove dict keys in gettext calls
Comment 2 Sebastian Pölsterl 2008-07-14 20:42:09 UTC
Thanks for the patch. I committed it to svn trunk.