Fixed some translation problems

svn: r418
This commit is contained in:
Don Allingham 2001-09-21 13:20:50 +00:00
parent 0770e56d95
commit b100b8f24e
7 changed files with 14 additions and 13 deletions

View File

@ -4,7 +4,7 @@ bindir = @bindir@
datadir = @datadir@/@PACKAGE@ datadir = @datadir@/@PACKAGE@
INSTALL = @INSTALL@ INSTALL = @INSTALL@
sharedir = ${prefix}/share/gramps sharedir = ${prefix}/share/gramps
GNOMEHELP = @GNOMEHELP@/share/gnome/help GNOMEHELP = ${prefix}/share/gnome/help
GM = gramps-manual GM = gramps-manual
EG = extending-gramps EG = extending-gramps

View File

@ -1,5 +1,5 @@
%define ver 0.5.0 %define ver 0.5.0
%define rel 1 %define rel 2
%define prefix /usr %define prefix /usr
Summary: Genealogical Research and Analysis Management Programming System. Summary: Genealogical Research and Analysis Management Programming System.
@ -47,10 +47,11 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-, root, root) %defattr(-, root, root)
%doc README COPYING TODO %doc README COPYING TODO
%{prefix}/share/gnome/help/gramps-manual/C/*
%{prefix}/share/gnome/help/extending-gramps/C/*
%{prefix}/bin/gramps %{prefix}/bin/gramps
%{prefix}/share/gnome/apps/Applications/gramps.desktop %{prefix}/share/gnome/apps/Applications/gramps.desktop
%{prefix}/share/pixmaps/gramps.png %{prefix}/share/pixmaps/gramps.png
# %{prefix}/share/gramps/*
%{prefix}/share/locale/*/LC_MESSAGES/gramps.mo %{prefix}/share/locale/*/LC_MESSAGES/gramps.mo
%{prefix}/share/gramps/example/gedcom/* %{prefix}/share/gramps/example/gedcom/*
%{prefix}/share/gramps/example/gramps/* %{prefix}/share/gramps/example/gramps/*

View File

@ -99,10 +99,10 @@ def entire_db_filter(database,person,list):
#------------------------------------------------------------------------ #------------------------------------------------------------------------
filter_map = { filter_map = {
"Ancestors" : ancestor_filter, _("Ancestors") : ancestor_filter,
"Descendants" : descendant_filter, _("Descendants") : descendant_filter,
"Ancestors and Descendants" : an_des_filter, _("Ancestors and Descendants") : an_des_filter,
"Entire Database" : entire_db_filter _("Entire Database") : entire_db_filter
} }
#------------------------------------------------------------------------ #------------------------------------------------------------------------

View File

@ -350,7 +350,7 @@ def report(database,person):
name = person.getPrimaryName().getRegularName() name = person.getPrimaryName().getRegularName()
label = topDialog.get_widget("labelTitle") label = topDialog.get_widget("labelTitle")
label.set_text("Individual Summary for " + name) label.set_text(_("Individual Summary for %s") % name)
PaperMenu.make_paper_menu(topDialog.get_widget("papersize")) PaperMenu.make_paper_menu(topDialog.get_widget("papersize"))
PaperMenu.make_orientation_menu(topDialog.get_widget("orientation")) PaperMenu.make_orientation_menu(topDialog.get_widget("orientation"))

View File

@ -121,15 +121,15 @@ class Merge:
topWin.set_data("t",self) topWin.set_data("t",self)
my_menu = GtkMenu() my_menu = GtkMenu()
item = GtkMenuItem("Low") item = GtkMenuItem(_("Low"))
item.set_data("v",0.25) item.set_data("v",0.25)
item.show() item.show()
my_menu.append(item) my_menu.append(item)
item = GtkMenuItem("Medium") item = GtkMenuItem(_("Medium"))
item.set_data("v",1.0) item.set_data("v",1.0)
item.show() item.show()
my_menu.append(item) my_menu.append(item)
item = GtkMenuItem("High") item = GtkMenuItem(_("High"))
item.set_data("v",2.0) item.set_data("v",2.0)
item.show() item.show()
my_menu.append(item) my_menu.append(item)

View File

@ -1601,4 +1601,4 @@ def readData(database,active_person,cb):
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
from Plugins import register_import from Plugins import register_import
register_import(readData,"Import from GEDCOM") register_import(readData,_("Import from GEDCOM"))

View File

@ -237,7 +237,7 @@ def runTool(database,person,callback):
name = person.getPrimaryName().getRegularName() name = person.getPrimaryName().getRegularName()
topDialog.get_widget("name").set_text("Relationship to " + name) topDialog.get_widget("name").set_text(_("Relationship to %s") % name)
peopleList = topDialog.get_widget("peopleList") peopleList = topDialog.get_widget("peopleList")
name_list = database.getPersonMap().values() name_list = database.getPersonMap().values()