Comment 2 for bug 381041

Revision history for this message
Thanos Lefteris (alefteris) wrote :

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

2nd:

Source Code:

./src/terminal-accels.c: return g_strdup (_("Disabled"));

Po:

#: ../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.