GNOME Bugzilla – Bug 300957
Please use a hyphen instead of an underscore, i.e "translator-credits".
Last modified: 2005-04-21 15:02:06 UTC
/gcalctool/gtk.c:519 msgid "translator_credits" Other information: Some translation tools check that messages which have access keys in the source also have access keys in the translation, and barf otherwise. Obviously those tools will mistake this underscore for an access key.
Created attachment 45442 [details] [review] Translator_Credits Patch... for Gcalc I agreed with Vincent... here's the patch.. hopefully the idea behind...
Created attachment 45443 [details] [review] Translator_Credits Gcalc Patch Sorry for as above.. my friend had logged in and i sent the patch in his login.. Here's the same patch again... I agreed with Vincent... here's the patch.. hopefully the idea behind... Please acknowledge
Well, not exactly. You can keep the underscores in those lines. I don't know what happens if you change those things around. The line that needs changing is line 519, as I stated (very unclearly) in my first post. It's this line: const gchar *translator_credits = _("translator_credits"); It should be something like this: const gchar *translator_credits = _("translator-credits");
ya.. will checkout what happens..
if we change to.. at 519 line const gchar *translator_credits = _("translator-credits"); we dont get "Translated by tab". If thats ok.. then here's the patch.. if its ok then fine.. else make it as fixed. Any views?
Created attachment 45465 [details] [review] Gcal Patch Any comments?
Created attachment 45476 [details] [review] Replaced underscore with hyphen and removed unnecessary strcmp The credits only show up if they are translated. So, they should not appear in the first place when you use an English locale. Tested it, and this works like a charm.
Thanks everyone. I've applied the last attached to CVS HEAD and bumped the version number in configure.in to 5.6.11. Look for a tarball next Monday for the GNOME 2.11.1 release.