I understend that...

A text with multiples lines can't be used as msgid in PO file when the
text lines are combobox items.

Why?

The source generated by glade/gtkbuilder tries to catch the translated
text for each combobox item (line) and never found them.

For example, the attached patch fix the problem for pt_BR; translating
each combobox item as individual msgid.

Until I could see, this is a problem in ALL gtk applications.

IMHO the best solution whould be glade/gtkbuilder fix this when the UI
source is generated. But I do not see how this could be possible with
current gtk API[1].

So... what do you think about this? :-)

[1] http://library.gnome.org/devel/gtk/2.16/GtkComboBox.html#gtk-combo-
box-append-text


** Attachment added: "possible fix - example for pt_BR"
   http://launchpadlibrarian.net/30788180/pt_BR.patch

-- 
Translations of combobox items in GNOME are not being used
https://bugs.launchpad.net/bugs/381041
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to