* src/plugins/Verify.py: don't complain about difference in
ages between spouses if birth year is unknown. svn: r5164
This commit is contained in:
@@ -324,7 +324,7 @@ class Verify:
|
||||
idstr,family.get_gramps_id(), spouse.get_primary_name().get_name() ) )
|
||||
sdyear = self.get_year( spouse.get_death_handle() )
|
||||
sbyear = self.get_year( spouse.get_birth_handle() )
|
||||
if abs(sbyear-byear) > hwdif:
|
||||
if sbyear != 0 and byear != 0 and abs(sbyear-byear) > hwdif:
|
||||
warn.write( _("Large age difference between husband and wife: %s in family %s, and %s.\n") % (
|
||||
idstr,family.get_gramps_id(), spouse.get_primary_name().get_name() ) )
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ msgstr ""
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Type: text/plain; charset=GB2312\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: pygettext.py 1.4\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user