I tried to change the po, to see from where the strings presented in the ui are picked up from. For a combobox in the gnome-terminal preferences here are the two places that contain the string "Disabled":
1st:
Source Code (in glade file):
<widget class="GtkComboBox" id="scrollbar-position-combobox">
<property name="visible">True</property>
<property name="items" translatable="yes">On the left side
On the right side
Disabled</property>
<property name="add_tearoffs">False</property>
<property name="focus_on_click">True</property>
</widget>
Po:
#: ../src/profile-preferences.glade.h:35
msgid ""
"On the left side\n"
"On the right side\n"
"Disabled"
msgstr ""
"στην αριστερή πλευρά\n"
"στη δεξιά πλευρά\n"
"απενεργοποιημένηηηηη" <---- Changed that on purpose
#: ../src/terminal-accels.c:281
msgid "Disabled"
msgstr "Απενεργοποιημένοooo" <---- Changed that on purpose also
Now, when I compile the po and use it with the app, what happens is that in the combobox, only "Disabled" gets translated as "Απενεργοποιημένοooo" (from the 2nd case). The other combobox entries are left untranslated.
I tried to change the po, to see from where the strings presented in the ui are picked up from. For a combobox in the gnome-terminal preferences here are the two places that contain the string "Disabled":
1st:
Source Code (in glade file):
<widget class="GtkComboBox" id="scrollbar- position- combobox" > >True</ property> "yes">On the left side tearoffs" >False< /property> on_click" >True</ property>
<property name="visible"
<property name="items" translatable=
On the right side
Disabled</property>
<property name="add_
<property name="focus_
</widget>
Po:
#: ../src/ profile- preferences. glade.h: 35 νηηηηη" <---- Changed that on purpose
msgid ""
"On the left side\n"
"On the right side\n"
"Disabled"
msgstr ""
"στην αριστερή πλευρά\n"
"στη δεξιά πλευρά\n"
"απενεργοποιημέ
2nd:
Source Code:
./src/terminal- accels. c: return g_strdup (_("Disabled"));
Po:
#: ../src/ terminal- accels. c:281 νοooo" <---- Changed that on purpose also
msgid "Disabled"
msgstr "Απενεργοποιημέ
Now, when I compile the po and use it with the app, what happens is that in the combobox, only "Disabled" gets translated as "Απενεργοποιημέ νοooo" (from the 2nd case). The other combobox entries are left untranslated.