GNOME Bugzilla – Bug 517003
Translated strings are not being used in gedit's plugin
Last modified: 2009-08-28 11:43:06 UTC
The strings that are used in gedit's plugins don't show up translated in gedit. This, despite them being marked for translation, and translated in devhelp's po files. To test, build latest both gedit and devhelp, and start gedit (With Arabic, which currently has 100% translation). You'll notice that the string "Show API documentation" in the menu item is not being translated. This could be as simple as setting the gettext domain.
Good catch! Feel like cooking up a patch? :)
Created attachment 133834 [details] [review] Simple patch Seems that action_group.set_translation_domain() does not work as expected, I stole this snippet from gedit-plugins, this shows the correct translations.
Thanks for your patch, I just pushed it. commit 81d1471506bcfcdfa4a3da4cb3ef4b9cb29c8aa0 Author: Gabor Kelemen <kelemeng@gnome.hu> Date: Fri Aug 28 13:42:23 2009 +0200 Display translated strings in gedit plugin