From b100b8f24ee2b32088219c23e4411a91b936b623 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 21 Sep 2001 13:20:50 +0000 Subject: [PATCH] Fixed some translation problems svn: r418 --- gramps/Makefile.in | 2 +- gramps/gramps.spec | 5 +++-- gramps/src/plugins/GraphViz.py | 8 ++++---- gramps/src/plugins/IndivSummary.py | 2 +- gramps/src/plugins/Merge.py | 6 +++--- gramps/src/plugins/ReadGedcom.py | 2 +- gramps/src/plugins/RelCalc.py | 2 +- 7 files changed, 14 insertions(+), 13 deletions(-) diff --git a/gramps/Makefile.in b/gramps/Makefile.in index 9ad99e8b3..d56271b6a 100644 --- a/gramps/Makefile.in +++ b/gramps/Makefile.in @@ -4,7 +4,7 @@ bindir = @bindir@ datadir = @datadir@/@PACKAGE@ INSTALL = @INSTALL@ sharedir = ${prefix}/share/gramps -GNOMEHELP = @GNOMEHELP@/share/gnome/help +GNOMEHELP = ${prefix}/share/gnome/help GM = gramps-manual EG = extending-gramps diff --git a/gramps/gramps.spec b/gramps/gramps.spec index 85f2bd1cb..49a63e212 100644 --- a/gramps/gramps.spec +++ b/gramps/gramps.spec @@ -1,5 +1,5 @@ %define ver 0.5.0 -%define rel 1 +%define rel 2 %define prefix /usr Summary: Genealogical Research and Analysis Management Programming System. @@ -47,10 +47,11 @@ rm -rf $RPM_BUILD_ROOT %defattr(-, root, root) %doc README COPYING TODO +%{prefix}/share/gnome/help/gramps-manual/C/* +%{prefix}/share/gnome/help/extending-gramps/C/* %{prefix}/bin/gramps %{prefix}/share/gnome/apps/Applications/gramps.desktop %{prefix}/share/pixmaps/gramps.png -# %{prefix}/share/gramps/* %{prefix}/share/locale/*/LC_MESSAGES/gramps.mo %{prefix}/share/gramps/example/gedcom/* %{prefix}/share/gramps/example/gramps/* diff --git a/gramps/src/plugins/GraphViz.py b/gramps/src/plugins/GraphViz.py index b0545f1bf..eb0df2c38 100644 --- a/gramps/src/plugins/GraphViz.py +++ b/gramps/src/plugins/GraphViz.py @@ -99,10 +99,10 @@ def entire_db_filter(database,person,list): #------------------------------------------------------------------------ filter_map = { - "Ancestors" : ancestor_filter, - "Descendants" : descendant_filter, - "Ancestors and Descendants" : an_des_filter, - "Entire Database" : entire_db_filter + _("Ancestors") : ancestor_filter, + _("Descendants") : descendant_filter, + _("Ancestors and Descendants") : an_des_filter, + _("Entire Database") : entire_db_filter } #------------------------------------------------------------------------ diff --git a/gramps/src/plugins/IndivSummary.py b/gramps/src/plugins/IndivSummary.py index 1012274d1..dcfc52f84 100644 --- a/gramps/src/plugins/IndivSummary.py +++ b/gramps/src/plugins/IndivSummary.py @@ -350,7 +350,7 @@ def report(database,person): name = person.getPrimaryName().getRegularName() 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_orientation_menu(topDialog.get_widget("orientation")) diff --git a/gramps/src/plugins/Merge.py b/gramps/src/plugins/Merge.py index 5519b8607..12ea76887 100644 --- a/gramps/src/plugins/Merge.py +++ b/gramps/src/plugins/Merge.py @@ -121,15 +121,15 @@ class Merge: topWin.set_data("t",self) my_menu = GtkMenu() - item = GtkMenuItem("Low") + item = GtkMenuItem(_("Low")) item.set_data("v",0.25) item.show() my_menu.append(item) - item = GtkMenuItem("Medium") + item = GtkMenuItem(_("Medium")) item.set_data("v",1.0) item.show() my_menu.append(item) - item = GtkMenuItem("High") + item = GtkMenuItem(_("High")) item.set_data("v",2.0) item.show() my_menu.append(item) diff --git a/gramps/src/plugins/ReadGedcom.py b/gramps/src/plugins/ReadGedcom.py index 86b7c7ce9..0f543c1bd 100644 --- a/gramps/src/plugins/ReadGedcom.py +++ b/gramps/src/plugins/ReadGedcom.py @@ -1601,4 +1601,4 @@ def readData(database,active_person,cb): #------------------------------------------------------------------------- from Plugins import register_import -register_import(readData,"Import from GEDCOM") +register_import(readData,_("Import from GEDCOM")) diff --git a/gramps/src/plugins/RelCalc.py b/gramps/src/plugins/RelCalc.py index 1bea5f2d7..6f3a6f4b0 100644 --- a/gramps/src/plugins/RelCalc.py +++ b/gramps/src/plugins/RelCalc.py @@ -237,7 +237,7 @@ def runTool(database,person,callback): 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") name_list = database.getPersonMap().values()