* 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:
@@ -1,6 +1,8 @@
|
|||||||
2005-09-01 Don Allingham <don@gramps-project.org>
|
2005-09-01 Don Allingham <don@gramps-project.org>
|
||||||
* src/ImageSelect.py: Local edit of a media Note type now
|
* src/ImageSelect.py: Local edit of a media Note type now
|
||||||
brings up the Note editor instead of the media editor.
|
brings up the Note editor instead of the media editor.
|
||||||
|
* src/plugins/Verify.py: don't complain about difference in
|
||||||
|
ages between spouses if birth year is unknown.
|
||||||
|
|
||||||
2005-09-01 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
2005-09-01 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
* src/po/check_po: Support for multiple files as command line
|
* src/po/check_po: Support for multiple files as command line
|
||||||
|
|||||||
@@ -324,7 +324,7 @@ class Verify:
|
|||||||
idstr,family.get_gramps_id(), spouse.get_primary_name().get_name() ) )
|
idstr,family.get_gramps_id(), spouse.get_primary_name().get_name() ) )
|
||||||
sdyear = self.get_year( spouse.get_death_handle() )
|
sdyear = self.get_year( spouse.get_death_handle() )
|
||||||
sbyear = self.get_year( spouse.get_birth_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") % (
|
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() ) )
|
idstr,family.get_gramps_id(), spouse.get_primary_name().get_name() ) )
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ msgstr ""
|
|||||||
"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"
|
||||||
"MIME-Version: 1.0\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"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Generated-By: pygettext.py 1.4\n"
|
"Generated-By: pygettext.py 1.4\n"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user