Update to polish translation from Łukasz Rymarczyk

svn: r14151
This commit is contained in:
Brian Matherly 2010-01-28 04:51:51 +00:00
parent d63804d6b6
commit ddb87e77a8
2 changed files with 42 additions and 2 deletions

View File

@ -12112,7 +12112,7 @@ msgstr "Raport relacji rodzinnych dla %s"
#: ../src/plugins/textreport/KinshipReport.py:136
#, python-format
msgid "spouses of %s"
msgstr "konkubenci %s"
msgstr "małżonkowie %s"
#: ../src/plugins/textreport/KinshipReport.py:344
msgid "The maximum number of descendant generations"

View File

@ -799,7 +799,47 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
rel_str = "nieokreślony stopień pokrewieństwa"
return rel_str
def get_plural_relationship_string(self, Ga, Gb,
reltocommon_a='', reltocommon_b='',
only_birth=True,
in_law_a=False, in_law_b=False):
"""
Generate a text with information, how far away is a group of persons
from a main person
"""
if Ga == Gb == 0:
return 'ta sama osoba'
if 0 == Ga:
if 1 == Gb:
return 'Dzieci'
if 2 == Gb:
return 'Wnuki'
if 3 == Gb:
return 'Prawnuki'
if 4 == Gb:
return 'Praprawnuki'
return 'Praprapra(n)wnuki'
if 0 == Gb:
if 1 == Ga:
return 'Rodzice'
if 2 == Ga:
return 'Dziadkowie'
if 3 == Ga:
return 'Pradziadkowie'
if 4 == Ga:
return 'Praprapradziadkowie'
return 'Praprapra(n)dziadkowie'
if 1 == Ga == Gb:
return 'Rodzeństwo'
if 1 == Gb and Ga > 1:
return 'Wujowie/stryjowie i ciocie'
if 1 < Gb and 1 == Ga:
return 'bratankowie(ice)/siostrzeńcy(nice)'
if 1 < Ga and 1 < Gb:
return 'dalsza rodzina'
return 'relacja nieznana'
def get_sibling_relationship_string(self, sib_type, gender_a, gender_b,
in_law_a=False, in_law_b=False):