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].
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/GtkComboBo x.html# gtk-combo- box-append- text