GNOME Bugzilla – Bug 501485
totem menu items are not localized
Last modified: 2007-12-06 03:45:32 UTC
totem menu items are not localized because totem.ui does not have 'translatable' attribute. I'm attaching the patch.
Created attachment 100172 [details] [review] Patch for data/totem.ui and src/plugins/skipto/totem-skipto-plugin.c It seems some UI labels were updated to fix this issue recently however other labels are not fixed yet so I'ld like to fix all UI labels in totem.ui I also fixes skipto plugin to set the textdomain. Could you review the patch? BTW, is it possible to rename totem.ui to totem.glade? po/POTFILES.in specifies the totem.ui is the glade file however one problem is, it seems some .po files does not have the strings of totem.ui. When translators try to generate the POTFILES.in from the scrach, the file is not detected. % cd po % echo > POTFILES.in % intltool-update -m
(In reply to comment #1) > Created an attachment (id=100172) [edit] > Patch for data/totem.ui and src/plugins/skipto/totem-skipto-plugin.c > > It seems some UI labels were updated to fix this issue recently however other > labels are not fixed yet so I'ld like to fix all UI labels in totem.ui > > I also fixes skipto plugin to set the textdomain. > > Could you review the patch? Looks good; please commit. > BTW, is it possible to rename totem.ui to totem.glade? > po/POTFILES.in specifies the totem.ui is the glade file however one problem is, > it seems some .po files does not have the strings of totem.ui. When translators > try to generate the POTFILES.in from the scrach, the file is not detected. > > % cd po > % echo > POTFILES.in > % intltool-update -m Works fine for me, and all the data/*.ui files are detected as needing translation. I presume it's just treating them as glade files, as they're pretty similar at the moment, and since no translation contexts are used in them (see bug #454894) there's hopefully no difference as far as intltool's concerned.
> Works fine for me, and all the data/*.ui files are detected as needing You're right. I mistook it. Thanks for the review. Commited the patch. 2007-12-06 Takao Fujiwara <takao.fujiwara@sun.com> reviewed by: Philip Withnall * data/totem.ui: Mark messages for translation. * src/plugins/skipto/totem-skipto-plugin.c: (totem_galago_plugin_finalize): Set translation domain. (Closes: #501485)