diff --git a/gramps2/src/EditPerson.py b/gramps2/src/EditPerson.py
index 15fff96bc..304b082d5 100644
--- a/gramps2/src/EditPerson.py
+++ b/gramps2/src/EditPerson.py
@@ -828,7 +828,7 @@ class EditPerson:
the close window"""
if self.did_data_change():
n = "%s" % self.person.getPrimaryName().getRegularName()
- SaveDialog(_('Save changes to %s?' % n),
+ SaveDialog(_('Save changes to %s?') % n,
_('If you close without saving, the changes you '
'have made will be lost'),
self.cancel_callback,
@@ -845,7 +845,7 @@ class EditPerson:
the close window"""
if self.did_data_change():
n = "%s" % self.person.getPrimaryName().getRegularName()
- SaveDialog(_('Save Changes to %s?' % n),
+ SaveDialog(_('Save Changes to %s?') % n,
_('If you close without saving, the changes you '
'have made will be lost'),
self.cancel_callback,
diff --git a/gramps2/src/FamilyView.py b/gramps2/src/FamilyView.py
index 7048e8355..a87d5bede 100644
--- a/gramps2/src/FamilyView.py
+++ b/gramps2/src/FamilyView.py
@@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
-# Copyright (C) 2000 Donald N. Allingham
+# Copyright (C) 2000-2003 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -46,6 +46,9 @@ import ChooseParents
from intl import gettext as _
from QuestionDialog import QuestionDialog,WarningDialog
+_BORN = _('b.')
+_DIED = _('d.')
+
pycode_tgts = [('child', 0, 0)]
#-------------------------------------------------------------------------
@@ -309,11 +312,12 @@ class FamilyView:
dd = self.person.getDeath().getDate()
if bd and dd:
- n = "%s\n\tb. %s\n\td. %s " % (GrampsCfg.nameof(self.person),bd,dd)
+ n = "%s\n\t%s %s\n\t%s %s " % (GrampsCfg.nameof(self.person),
+ _BORN,bd,_DIED,dd)
elif bd:
- n = "%s\n\tb. %s" % (GrampsCfg.nameof(self.person),bd)
+ n = "%s\n\t%s %s" % (GrampsCfg.nameof(self.person),_BORN,bd)
elif dd:
- n = "%s\n\td. %s" % (GrampsCfg.nameof(self.person),dd)
+ n = "%s\n\t%s %s" % (GrampsCfg.nameof(self.person),_DIED,dd)
else:
n = GrampsCfg.nameof(self.person)
diff --git a/gramps2/src/PedView.py b/gramps2/src/PedView.py
index 83b28140a..d19f365e7 100644
--- a/gramps2/src/PedView.py
+++ b/gramps2/src/PedView.py
@@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
-# Copyright (C) 2001 Donald N. Allingham
+# Copyright (C) 2001-2003 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -40,6 +40,9 @@ import pango
import GrampsCfg
from intl import gettext as _
+_BORN = _('b.')
+_DIED = _('d.')
+
class DispBox:
def __init__(self,root,style,x,y,w,h,person,change):
@@ -55,8 +58,9 @@ class DispBox:
self.root = root
self.name = GrampsCfg.nameof(person)
- self.exp = "%s\nb. %s\nd. %s" % (self.name,person.getBirth().getDate(),
- person.getDeath().getDate())
+ self.exp = "%s\n%s %s\n%s %s" % (self.name,
+ _BORN,person.getBirth().getDate(),
+ _DIED, person.getDeath().getDate())
self.group = self.root.add(gnome.canvas.CanvasGroup,x=x,y=y)
self.shadow = self.group.add(gnome.canvas.CanvasRect,
@@ -181,8 +185,8 @@ class PedigreeView:
for t in list:
if t:
for n in [GrampsCfg.nameof(t[0]),
- u'b. %s' % t[0].getBirth().getDate(),
- u'd. %s' % t[0].getDeath().getDate()]:
+ u'%s %s' % (_BORN,t[0].getBirth().getDate()),
+ u'%s %s' % (_DIED,t[0].getDeath().getDate())]:
try:
a.set_text(n,len(n))
except TypeError:
diff --git a/gramps2/src/plugins/Makefile.am b/gramps2/src/plugins/Makefile.am
index 13f05706a..11afb2d86 100644
--- a/gramps2/src/plugins/Makefile.am
+++ b/gramps2/src/plugins/Makefile.am
@@ -57,7 +57,9 @@ GLADEFILES = \
soundex.glade\
summary.glade\
verify.glade\
- cdexport.glade
+ cdexport.glade\
+ eval.glade\
+ leak.glade
pkgdatadir = $(datadir)/@PACKAGE@/plugins
diff --git a/gramps2/src/plugins/eval.py b/gramps2/src/plugins/eval.py
index d96dd0cc7..4169f6859 100644
--- a/gramps2/src/plugins/eval.py
+++ b/gramps2/src/plugins/eval.py
@@ -30,6 +30,7 @@ import gtk.glade
import Utils
+from intl import gettext as _
class EvalWindow:
@@ -49,7 +50,7 @@ class EvalWindow:
})
Utils.set_titles(self.top,self.glade.get_widget('title'),
- "Python Evaluation Window")
+ _("Python Evaluation Window"))
def apply_clicked(self,obj):
text = self.ebuf.get_text(self.ebuf.get_start_iter(),
diff --git a/gramps2/src/po/ru.po b/gramps2/src/po/ru.po
index 6fbbc89b2..4bef5445c 100644
--- a/gramps2/src/po/ru.po
+++ b/gramps2/src/po/ru.po
@@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: gramps 0.9.1\n"
-"POT-Creation-Date: Fri May 23 11:50:40 2003\n"
-"PO-Revision-Date: 2003-05-23 15:47-0500\n"
+"POT-Creation-Date: Fri May 23 22:14:44 2003\n"
+"PO-Revision-Date: 2003-05-23 22:17-0500\n"
"Last-Translator: Alexander Roitman \n"
"Language-Team: Russian \n"
"MIME-Version: 1.0\n"
@@ -1082,7 +1082,15 @@ msgstr "Горизонтально"
msgid "Custom Size"
msgstr "Размер По Заказу"
-#: PedView.py:369
+#: PedView.py:43
+msgid "b."
+msgstr "р."
+
+#: PedView.py:44
+msgid "d."
+msgstr "у."
+
+#: PedView.py:373
msgid "Double clicking will make %s the active person"
msgstr ""
"Двойной щелчок сделает %s активным лицом"
@@ -6585,6 +6593,19 @@ msgstr "Окно Вывода"
msgid "Error Window"
msgstr "Окно Ошибок"
+#: plugins/eval.py:89
+msgid "Python evaluation window"
+msgstr "Окно оценки"
+
+#: plugins/eval.py:90 plugins/leak.py:79
+msgid "Debug"
+msgstr "Отладка"
+
+#: plugins/eval.py:91
+msgid "Provides a window that can evaluate python code"
+msgstr ""
+"Предоставляет окно для оценки питон-кода"
+
#: plugins/eventcmp.glade:9
msgid "Save as a Spreadsheet - GRAMPS"
msgstr "Сохранить как Таблицу - GRAMPS"
@@ -6728,10 +6749,6 @@ msgstr "Неуничтоженные Объекты"
msgid "Show uncollected objects"
msgstr "Показать неуничтоженные объекты"
-#: plugins/leak.py:79
-msgid "Debug"
-msgstr "Отладка"
-
#: plugins/leak.py:80
msgid "Provide a window listing all uncollected objects"
msgstr ""
diff --git a/gramps2/src/po/template.po b/gramps2/src/po/template.po
index 9df2c3e7a..04513e3ae 100644
--- a/gramps2/src/po/template.po
+++ b/gramps2/src/po/template.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: GRAMPS VERSION\n"
-"POT-Creation-Date: Fri May 23 11:50:40 2003\n"
+"POT-Creation-Date: Fri May 23 22:14:44 2003\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -1017,7 +1017,15 @@ msgstr ""
msgid "Custom Size"
msgstr ""
-#: PedView.py:369
+#: PedView.py:43
+msgid "b."
+msgstr ""
+
+#: PedView.py:44
+msgid "d."
+msgstr ""
+
+#: PedView.py:373
msgid "Double clicking will make %s the active person"
msgstr ""
@@ -5719,6 +5727,18 @@ msgstr ""
msgid "Error Window"
msgstr ""
+#: plugins/eval.py:89
+msgid "Python evaluation window"
+msgstr ""
+
+#: plugins/eval.py:90 plugins/leak.py:79
+msgid "Debug"
+msgstr ""
+
+#: plugins/eval.py:91
+msgid "Provides a window that can evaluate python code"
+msgstr ""
+
#: plugins/eventcmp.glade:9
msgid "Save as a Spreadsheet - GRAMPS"
msgstr ""
@@ -5855,10 +5875,6 @@ msgstr ""
msgid "Show uncollected objects"
msgstr ""
-#: plugins/leak.py:79
-msgid "Debug"
-msgstr ""
-
#: plugins/leak.py:80
msgid "Provide a window listing all uncollected objects"
msgstr ""