[Gramps-devel] some things are not translatable

I noticed some things are apparently not translatable in gramps.
In the File Menu:
_Save
Save _As...
In the Settings Menu:
Prefere_nces
This is (I guess) because in the file gramps.glade there is only the
part (e.g. for the "Save As" menu item):
<child>
<widget class="GtkImageMenuItem" id="save_as1">
<property name="visible">True</property>
<property name="stock_item">GNOMEUIINFO_MENU_SAVE_AS_ITEM</property>
<signal name="activate" handler="on_save_as_activate"/>
</widget>
</child>
And not the corresponding part: (e.g. for the menu item "Open")
<child>
<widget class="button" id="button2">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Open file</property>
<property name="label" translatable="yes">Open</property>
<property name="use_underline">True</property>
<property name="stock_pixmap">gtk-open</property>
<signal name="clicked" handler="on_open_activate"/>
</widget>
</child>
Also, in the People-document (I don't know the right terminolagy) where
the people are listed, the column headings:
Name, ID, Gender, Birth date, and Death date
are not translatable.
I hope these things will not be too hard to fix.
--Tino Meinen

Thread view

I noticed some things are apparently not translatable in gramps.
In the File Menu:
_Save
Save _As...
In the Settings Menu:
Prefere_nces
This is (I guess) because in the file gramps.glade there is only the
part (e.g. for the "Save As" menu item):
<child>
<widget class="GtkImageMenuItem" id="save_as1">
<property name="visible">True</property>
<property name="stock_item">GNOMEUIINFO_MENU_SAVE_AS_ITEM</property>
<signal name="activate" handler="on_save_as_activate"/>
</widget>
</child>
And not the corresponding part: (e.g. for the menu item "Open")
<child>
<widget class="button" id="button2">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Open file</property>
<property name="label" translatable="yes">Open</property>
<property name="use_underline">True</property>
<property name="stock_pixmap">gtk-open</property>
<signal name="clicked" handler="on_open_activate"/>
</widget>
</child>
Also, in the People-document (I don't know the right terminolagy) where
the people are listed, the column headings:
Name, ID, Gender, Birth date, and Death date
are not translatable.
I hope these things will not be too hard to fix.
--Tino Meinen

Tino,
I have found the problem with the list headers (Name, ID, etc.), so
these should now work.
You are right with the Save, Save As, and Preferences. These are
standard GNOME strings that are not in GRAMPS control. They are handled
by the GNOME libraries. My system translates these without any problems.
Don
On Tue, 2003-03-25 at 08:31, Tino Meinen wrote:
> I noticed some things are apparently not translatable in gramps.
>
> In the File Menu:
> _Save
> Save _As...
>
> In the Settings Menu:
> Prefere_nces