Update to polish translation from Łukasz Rymarczyk

svn: r14150
This commit is contained in:
Brian Matherly 2010-01-28 04:30:08 +00:00
parent 5704b4d113
commit f48d15de5c
2 changed files with 41 additions and 3 deletions

View File

@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: GRAMPS 3.1\n" "Project-Id-Version: GRAMPS 3.1\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-11-24 07:53+0100\n" "POT-Creation-Date: 2009-11-24 07:53+0100\n"
"PO-Revision-Date: 2009-11-25 22:53+0100\n" "PO-Revision-Date: 2010-01-27 22:48+0100\n"
"Last-Translator: Łukasz Rymarczyk <yenidai@poczta.onet.pl>\n" "Last-Translator: Łukasz Rymarczyk <yenidai@poczta.onet.pl>\n"
"Language-Team: Łukasz Rymarczyk <yenidai@poczta.onet.pl>\n" "Language-Team: Łukasz Rymarczyk <yenidai@poczta.onet.pl>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -10928,7 +10928,7 @@ msgstr "Raport relacji rodzinnych dla %s"
#: ../src/plugins/textreport/KinshipReport.py:133 #: ../src/plugins/textreport/KinshipReport.py:133
#, python-format #, python-format
msgid "spouses of %s" msgid "spouses of %s"
msgstr "konkubenci %s" msgstr "małżonkowie %s"
#: ../src/plugins/textreport/KinshipReport.py:343 #: ../src/plugins/textreport/KinshipReport.py:343
msgid "The maximum number of descendant generations" msgid "The maximum number of descendant generations"

View File

@ -810,7 +810,45 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
rel_str ="nieokreślony stopień pokrewieństwa" rel_str ="nieokreślony stopień pokrewieństwa"
return rel_str return rel_str
def get_plural_relationship_string(self, Ga, Gb):
"""
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, def get_sibling_relationship_string(self, sib_type, gender_a, gender_b,
in_law_a=False, in_law_b=False): in_law_a=False, in_law_b=False):