GNOME Bugzilla – Bug 772733
Strings from the create project and the autotools-templates not translatable
Last modified: 2016-10-11 22:26:16 UTC
The string „No license” from the create projects plugin translated to Hebrew in the he.po file, but remaining in English in the interface. The same for the strings „Shared Library”, „Empty Project” and „GNOME Application” from the autotools-templates plugin. Its really strange becaouse another strings in the same files (gbp-create-project-widget.ui for example) appear in Hebrew.
It right to the tooltip strings too (like „Create a new flatpak-ready GNOME application” etc), they are also translated in the he.po file but remaining in English.
Created attachment 337477 [details] [review] egg-radio-box: implement translation support We were missing translation support when reading data in from GtkBuilder UI definitions. This uses the translation domain of the GtkBuilder file to get the translation for the input text if translatable="yes" in the property definition.
Created attachment 337478 [details] [review] helpers: add ide_gettext() helper This can be used by plugins to reuse our gettext layer from C rather than duplicating effort for translation domains in the plugin layer.
Created attachment 337479 [details] [review] autotools-templates: use Ide.gettext() This allows us to use the same translation domain from plugins as we are using in the C libraries.
Should be fixed. Please reopen if I happened to miss anything. Attachment 337477 [details] pushed as 932097e - egg-radio-box: implement translation support Attachment 337478 [details] pushed as cef340c - helpers: add ide_gettext() helper Attachment 337479 [details] pushed as b45e3d6 - autotools-templates: use Ide.gettext()