Fixed some translation problems
svn: r418
This commit is contained in:
parent
cb189c865d
commit
384be9af3c
@ -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
|
||||
|
||||
|
@ -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/*
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
@ -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"))
|
||||
|
@ -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)
|
||||
|
@ -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"))
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user