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""" the close window"""
if self.did_data_change(): if self.did_data_change():
n = "<i>%s</i>" % self.person.getPrimaryName().getRegularName() 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 ' _('If you close without saving, the changes you '
'have made will be lost'), 'have made will be lost'),
self.cancel_callback, self.cancel_callback,
@ -845,7 +845,7 @@ class EditPerson:
the close window""" the close window"""
if self.did_data_change(): if self.did_data_change():
n = "<i>%s</i>" % self.person.getPrimaryName().getRegularName() 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 ' _('If you close without saving, the changes you '
'have made will be lost'), 'have made will be lost'),
self.cancel_callback, self.cancel_callback,

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # 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 # 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 # 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 intl import gettext as _
from QuestionDialog import QuestionDialog,WarningDialog from QuestionDialog import QuestionDialog,WarningDialog
_BORN = _('b.')
_DIED = _('d.')
pycode_tgts = [('child', 0, 0)] pycode_tgts = [('child', 0, 0)]
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@ -309,11 +312,12 @@ class FamilyView:
dd = self.person.getDeath().getDate() dd = self.person.getDeath().getDate()
if bd and dd: 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: 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: 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: else:
n = GrampsCfg.nameof(self.person) n = GrampsCfg.nameof(self.person)

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # 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 # 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 # it under the terms of the GNU General Public License as published by
@ -40,6 +40,9 @@ import pango
import GrampsCfg import GrampsCfg
from intl import gettext as _ from intl import gettext as _
_BORN = _('b.')
_DIED = _('d.')
class DispBox: class DispBox:
def __init__(self,root,style,x,y,w,h,person,change): def __init__(self,root,style,x,y,w,h,person,change):
@ -55,8 +58,9 @@ class DispBox:
self.root = root self.root = root
self.name = GrampsCfg.nameof(person) self.name = GrampsCfg.nameof(person)
self.exp = "%s\nb. %s\nd. %s" % (self.name,person.getBirth().getDate(), self.exp = "%s\n%s %s\n%s %s" % (self.name,
person.getDeath().getDate()) _BORN,person.getBirth().getDate(),
_DIED, person.getDeath().getDate())
self.group = self.root.add(gnome.canvas.CanvasGroup,x=x,y=y) self.group = self.root.add(gnome.canvas.CanvasGroup,x=x,y=y)
self.shadow = self.group.add(gnome.canvas.CanvasRect, self.shadow = self.group.add(gnome.canvas.CanvasRect,
@ -181,8 +185,8 @@ class PedigreeView:
for t in list: for t in list:
if t: if t:
for n in [GrampsCfg.nameof(t[0]), for n in [GrampsCfg.nameof(t[0]),
u'b. %s' % t[0].getBirth().getDate(), u'%s %s' % (_BORN,t[0].getBirth().getDate()),
u'd. %s' % t[0].getDeath().getDate()]: u'%s %s' % (_DIED,t[0].getDeath().getDate())]:
try: try:
a.set_text(n,len(n)) a.set_text(n,len(n))
except TypeError: except TypeError:

View File

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

View File

@ -30,6 +30,7 @@ import gtk.glade
import Utils import Utils
from intl import gettext as _
class EvalWindow: class EvalWindow:
@ -49,7 +50,7 @@ class EvalWindow:
}) })
Utils.set_titles(self.top,self.glade.get_widget('title'), Utils.set_titles(self.top,self.glade.get_widget('title'),
"Python Evaluation Window") _("Python Evaluation Window"))
def apply_clicked(self,obj): def apply_clicked(self,obj):
text = self.ebuf.get_text(self.ebuf.get_start_iter(), text = self.ebuf.get_text(self.ebuf.get_start_iter(),

View File

@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gramps 0.9.1\n" "Project-Id-Version: gramps 0.9.1\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: 2003-05-23 15:47-0500\n" "PO-Revision-Date: 2003-05-23 22:17-0500\n"
"Last-Translator: Alexander Roitman <shura@alex.neuro.umn.edu>\n" "Last-Translator: Alexander Roitman <shura@alex.neuro.umn.edu>\n"
"Language-Team: Russian <ru@li.org>\n" "Language-Team: Russian <ru@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -1082,7 +1082,15 @@ msgstr "Горизонтально"
msgid "Custom Size" msgid "Custom Size"
msgstr "Размер По Заказу" 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" msgid "Double clicking will make %s the active person"
msgstr "" msgstr ""
"Двойной щелчок сделает %s активным лицом" "Двойной щелчок сделает %s активным лицом"
@ -6585,6 +6593,19 @@ msgstr "<b>Окно Вывода</b>"
msgid "<b>Error Window</b>" msgid "<b>Error Window</b>"
msgstr "<b>Окно Ошибок</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 #: plugins/eventcmp.glade:9
msgid "Save as a Spreadsheet - GRAMPS" msgid "Save as a Spreadsheet - GRAMPS"
msgstr "Сохранить как Таблицу - GRAMPS" msgstr "Сохранить как Таблицу - GRAMPS"
@ -6728,10 +6749,6 @@ msgstr "Неуничтоженные Объекты"
msgid "Show uncollected objects" msgid "Show uncollected objects"
msgstr "Показать неуничтоженные объекты" msgstr "Показать неуничтоженные объекты"
#: plugins/leak.py:79
msgid "Debug"
msgstr "Отладка"
#: plugins/leak.py:80 #: plugins/leak.py:80
msgid "Provide a window listing all uncollected objects" msgid "Provide a window listing all uncollected objects"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: GRAMPS VERSION\n" "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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -1017,7 +1017,15 @@ msgstr ""
msgid "Custom Size" msgid "Custom Size"
msgstr "" 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" msgid "Double clicking will make %s the active person"
msgstr "" msgstr ""
@ -5719,6 +5727,18 @@ msgstr ""
msgid "<b>Error Window</b>" msgid "<b>Error Window</b>"
msgstr "" 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 #: plugins/eventcmp.glade:9
msgid "Save as a Spreadsheet - GRAMPS" msgid "Save as a Spreadsheet - GRAMPS"
msgstr "" msgstr ""
@ -5855,10 +5875,6 @@ msgstr ""
msgid "Show uncollected objects" msgid "Show uncollected objects"
msgstr "" msgstr ""
#: plugins/leak.py:79
msgid "Debug"
msgstr ""
#: plugins/leak.py:80 #: plugins/leak.py:80
msgid "Provide a window listing all uncollected objects" msgid "Provide a window listing all uncollected objects"
msgstr "" msgstr ""