Merge branch 'gramps51'
This commit is contained in:
commit
4dde3cad24
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
|||||||
|
gramps (5.1.5-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New release
|
||||||
|
* Update copyright file
|
||||||
|
* Drop patch, incorporated upstream
|
||||||
|
|
||||||
|
-- Ross Gammon <rossgammon@debian.org> Sat, 12 Feb 2022 17:01:21 +0100
|
||||||
|
|
||||||
gramps (5.1.4-1) unstable; urgency=medium
|
gramps (5.1.4-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New release
|
* New release
|
||||||
|
2
debian/copyright
vendored
2
debian/copyright
vendored
@ -46,7 +46,7 @@ Copyright: 2000-2007, Alex Roitman
|
|||||||
2009, Florian Heinle
|
2009, Florian Heinle
|
||||||
2009, Gerald W. Britton
|
2009, Gerald W. Britton
|
||||||
2009, Igal Shapira
|
2009, Igal Shapira
|
||||||
2009-2018, Nick Hall
|
2009-2022, Nick Hall
|
||||||
2009, Pander Musubi
|
2009, Pander Musubi
|
||||||
2009, Robert Ham
|
2009, Robert Ham
|
||||||
2009, Swoon on bug tracker
|
2009, Swoon on bug tracker
|
||||||
|
22
debian/patches/fix-probably_alive_test.patch
vendored
22
debian/patches/fix-probably_alive_test.patch
vendored
@ -1,22 +0,0 @@
|
|||||||
Description: Fix probably alive test
|
|
||||||
The probably alive funtion was fixed just prior to the Gramps 5.1.4
|
|
||||||
release. It appears the relevant unit test was not updated to match.
|
|
||||||
The relevant commit:
|
|
||||||
https://github.com/gramps-project/gramps/commit/a685b96f700dcfc6b953413cb3adc8be61d87438
|
|
||||||
Author: Ross Gammon <rossgammon@debian.org>
|
|
||||||
Forwarded: no
|
|
||||||
Applied-Upstream: no
|
|
||||||
Last-Update: 2021-08-09
|
|
||||||
---
|
|
||||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
||||||
--- a/gramps/gen/filters/rules/test/person_rules_test.py
|
|
||||||
+++ b/gramps/gen/filters/rules/test/person_rules_test.py
|
|
||||||
@@ -347,7 +347,7 @@
|
|
||||||
"""
|
|
||||||
rule = ProbablyAlive(['1900'])
|
|
||||||
res = self.filter_with_rule(rule)
|
|
||||||
- self.assertEqual(len(res), 766)
|
|
||||||
+ self.assertEqual(len(res), 733)
|
|
||||||
|
|
||||||
def test_RegExpName(self):
|
|
||||||
"""
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1 +0,0 @@
|
|||||||
fix-probably_alive_test.patch
|
|
@ -119,7 +119,7 @@ _LOCALE_NAMES = {
|
|||||||
_RTL_LOCALES = ('ar', 'he')
|
_RTL_LOCALES = ('ar', 'he')
|
||||||
|
|
||||||
# locales with less than 70% currently translated
|
# locales with less than 70% currently translated
|
||||||
INCOMPLETE_TRANSLATIONS = ('ar', 'bg', 'he', 'sq', 'ta', 'tr')
|
INCOMPLETE_TRANSLATIONS = ('ar', 'bg', 'sq', 'ta', 'tr', 'zh_HK', 'zh_TW')
|
||||||
|
|
||||||
def _check_mswin_locale(locale):
|
def _check_mswin_locale(locale):
|
||||||
msloc = None
|
msloc = None
|
||||||
|
@ -314,13 +314,16 @@ def find_records(db, filter, top_size, callname,
|
|||||||
if mother is None:
|
if mother is None:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
name = StyledText(trans_text("%(father)s and %(mother)s")) % {
|
father_name = _get_styled_primary_name(father, callname,
|
||||||
'father': _get_styled_primary_name(father, callname,
|
|
||||||
trans_text=trans_text,
|
trans_text=trans_text,
|
||||||
name_format=name_format),
|
name_format=name_format)
|
||||||
'mother': _get_styled_primary_name(mother, callname,
|
mother_name = _get_styled_primary_name(mother, callname,
|
||||||
trans_text=trans_text,
|
trans_text=trans_text,
|
||||||
name_format=name_format)}
|
name_format=name_format)
|
||||||
|
|
||||||
|
name = StyledText(trans_text("%(father)s and %(mother)s"))
|
||||||
|
name = name.replace('%(father)s', father_name)
|
||||||
|
name = name.replace('%(mother)s', mother_name)
|
||||||
|
|
||||||
if (living_mode == LivingProxyDb.MODE_INCLUDE_ALL
|
if (living_mode == LivingProxyDb.MODE_INCLUDE_ALL
|
||||||
or (not probably_alive(unfil_father, db) and
|
or (not probably_alive(unfil_father, db) and
|
||||||
|
Loading…
Reference in New Issue
Block a user