More Verify.py corrections

svn: r1450
This commit is contained in:
Alex Roitman 2003-04-14 20:34:52 +00:00
parent 750eb3de06
commit dd0495c46d
2 changed files with 8 additions and 8 deletions

View File

@ -125,11 +125,11 @@ def on_apply_clicked(obj):
if dyear>0 and (byear>dyear): if dyear>0 and (byear>dyear):
error = error + _("Died before birth: %s born %d, died %d.\n") % (idstr, byear, dyear) error = error + _("Died before birth: %s born %d, died %d.\n") % (idstr, byear, dyear)
if dyear>0 and (bapyear>dyear): if dyear>0 and (bapyear>dyear):
error = error + _("Died before birth: %s baptized %d, died %d.\n") % (idstr, bapyear, dyear) error = error + _("Died before baptism: %s baptized %d, died %d.\n") % (idstr, bapyear, dyear)
if buryear>0 and (byear>buryear): if buryear>0 and (byear>buryear):
error = error + _("Buried before birth: %s born %d, died %d.\n") % (idstr, byear, buryear) error = error + _("Buried before birth: %s born %d, buried %d.\n") % (idstr, byear, buryear)
if buryear>0 and (bapyear>buryear): if buryear>0 and (bapyear>buryear):
error = error + _("Buried before birth: %s baptized %d, died %d.\n") % (idstr, bapyear, buryear) error = error + _("Buried before birth: %s baptized %d, buried %d.\n") % (idstr, bapyear, buryear)
if byear == 0: if byear == 0:
byear = bapyear # guess baptism = birth byear = bapyear # guess baptism = birth
if dyear == 0: if dyear == 0:
@ -159,7 +159,7 @@ def on_apply_clicked(obj):
yngpar = yngdad yngpar = yngdad
waswidstr = _(" was a widow ") waswidstr = _(" was a widow ")
if (person.getGender() == RelLib.Person.female) and (person.getGender() == RelLib.Person.male): if (person.getGender() == RelLib.Person.female) and (person.getGender() == RelLib.Person.male):
error = error + _("Ambiguous gender for %s.\n") % idstr error = error + _("Ambigous gender for %s.\n") % idstr
parstr = _("parent ") parstr = _("parent ")
oldpar = olddad oldpar = olddad
yngpar = yngdad yngpar = yngdad

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: Sun Apr 13 22:43:06 2003\n" "POT-Creation-Date: Mon Apr 14 15:34:42 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"
@ -4843,17 +4843,17 @@ msgstr ""
#: plugins/Verify.py:128 #: plugins/Verify.py:128
msgid "" msgid ""
"Died before birth: %s baptized %d, died %d.\n" "Died before baptism: %s baptized %d, died %d.\n"
msgstr "" msgstr ""
#: plugins/Verify.py:130 #: plugins/Verify.py:130
msgid "" msgid ""
"Buried before birth: %s born %d, died %d.\n" "Buried before birth: %s born %d, buried %d.\n"
msgstr "" msgstr ""
#: plugins/Verify.py:132 #: plugins/Verify.py:132
msgid "" msgid ""
"Buried before birth: %s baptized %d, died %d.\n" "Buried before birth: %s baptized %d, buried %d.\n"
msgstr "" msgstr ""
#: plugins/Verify.py:142 #: plugins/Verify.py:142