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 589026 - Duplicate string "All" for other languages
Duplicate string "All" for other languages
Status: RESOLVED FIXED
Product: hamster-applet
Classification: Deprecated
Component: general
2.27.x
Other All
: Normal normal
: ---
Assigned To: hamster-applet-maint
hamster-applet-maint
Depends on:
Blocks:
 
 
Reported: 2009-07-19 12:57 UTC by Jorge González
Modified: 2009-07-20 11:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Jorge González 2009-07-19 12:57:09 UTC
The string "All" used for categories and years must be duplicated for several languages, since, at least, in Spanish years is male and categories female, therefore can't use the same string.

Thanks.
Comment 1 Toms Bauģis 2009-07-19 13:41:42 UTC
Thanks, fixed!
Comment 2 Claude Paroz 2009-07-19 19:56:01 UTC
Hi Toms,
Your fix is.. erm... what... say... let's say a hack to be polite :-)

If you want to add a context for a string, there is an existing C_ macro. Unfortunately it is not yet in the Python gettext library, so you have to implement it yourself, but it is trivial. See the glchess implementation:
http://git.gnome.org/cgit/gnome-games/tree/glchess/src/lib/i18n.py

After that, you can simply call C_('years', 'All') and C_('categories', 'All') and all is well and clean!
Comment 3 Toms Bauģis 2009-07-20 11:17:29 UTC
Thanks Claude, fixed now!