Translation cleanups

svn: r1591
This commit is contained in:
Alex Roitman 2003-05-24 03:40:58 +00:00
parent 7f76fb51d7
commit e3d92c3b05
7 changed files with 70 additions and 26 deletions

View File

@ -828,7 +828,7 @@ class EditPerson:
the close window"""
if self.did_data_change():
n = "<i>%s</i>" % 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 = "<i>%s</i>" % 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,

View File

@ -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)

View File

@ -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:

View File

@ -57,7 +57,9 @@ GLADEFILES = \
soundex.glade\
summary.glade\
verify.glade\
cdexport.glade
cdexport.glade\
eval.glade\
leak.glade
pkgdatadir = $(datadir)/@PACKAGE@/plugins

View File

@ -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(),

View File

@ -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 <shura@alex.neuro.umn.edu>\n"
"Language-Team: Russian <ru@li.org>\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 "<b>Окно Вывода</b>"
msgid "<b>Error Window</b>"
msgstr "<b>Окно Ошибок</b>"
#: 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 ""

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 "<b>Error Window</b>"
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 ""