diff options
| author | Łukasz Wilenski <wooc@gazeta.pl> | 2010-11-12 18:02:20 +0000 |
|---|---|---|
| committer | Łukasz Wilenski <wooc@gazeta.pl> | 2010-11-12 18:02:20 +0000 |
| commit | d49b600cefd595fb3de757d7e1578730e856cebd (patch) | |
| tree | 7aacf307368ddba78b5dcc441377adef45ec1b19 /modules | |
| parent | 216d0e6772053371a8bd1a34945a55ed16be0f41 (diff) | |
| download | webtrees-d49b600cefd595fb3de757d7e1578730e856cebd.tar.gz webtrees-d49b600cefd595fb3de757d7e1578730e856cebd.tar.bz2 webtrees-d49b600cefd595fb3de757d7e1578730e856cebd.zip | |
I18N: Update reports - better Polish translation, it adds some strings to translation
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/ahnentafel_report/report.xml | 40 | ||||
| -rw-r--r-- | modules/bdm_report/report.xml | 14 | ||||
| -rw-r--r-- | modules/descendancy_report/report.xml | 18 | ||||
| -rw-r--r-- | modules/individual_ext_report/report.xml | 20 |
4 files changed, 46 insertions, 46 deletions
diff --git a/modules/ahnentafel_report/report.xml b/modules/ahnentafel_report/report.xml index a103bd03dc..805f2297f5 100644 --- a/modules/ahnentafel_report/report.xml +++ b/modules/ahnentafel_report/report.xml @@ -46,12 +46,9 @@ <Body> <Relatives id="$pid" group="direct-ancestors" sortby="none" maxgen="$maxgen" showempty="true"> <SetVar name="gender" value="m" /> - <SetVar name="pronoun" value="i18n::translate('He ')" /> <if condition="@SEX=='F'"> - <SetVar name="pronoun" value="i18n::translate('She ')" /> <SetVar name="gender" value="f" /> </if> - <SetVar name="printPronoun" value=" " /> <if condition="$generation!=@generation"> <if condition="$empty_name=='t'" > <TextBox width="50" height="20"> @@ -115,12 +112,12 @@ </if> <!-- Individual, birth... --> <Gedcom id="BIRT"> - <Text style="text"><var var="printPronoun" /> + <Text style="text"> <if condition="$gender=='m'"> - <var var="i18n::translate_c('MALE', 'was born')" /> + <var var="i18n::translate_c('MALE', 'was born')" /> </if> <if condition="$gender=='f'"> - <var var="i18n::translate_c('FEMALE', 'was born')" /> + <var var="i18n::translate_c('FEMALE', 'was born')" /> </if> </Text> <if condition="$sources==1"> @@ -145,18 +142,17 @@ <Text style="text"><var var="i18n::translate(' but the details are unknown')" /></Text> </if> <Text style="text">.</Text> - <SetVar name="printPronoun" value="$pronoun" /> </Gedcom> <!-- Sentence 2 Individual, christened... --> <Gedcom id="CHR"> - <Text style="text"> <var var="printPronoun" /> + <Text style="text"> <if condition="$gender=='m'"> - <var var="i18n::translate_c('MALE', 'was christened')" /> + <var var="i18n::translate('He was christened')" /> </if> <if condition="$gender=='f'"> - <var var="i18n::translate_c('FEMALE', 'was christened')" /> + <var var="i18n::translate('She was christened')" /> </if> </Text> <if condition="$sources==1"> @@ -181,7 +177,6 @@ <Text style="text"><var var="i18n::translate(' but the details are unknown')" /></Text> </if> <Text style="text">.</Text> - <SetVar name="printPronoun" value="$pronoun" /> </Gedcom> <SetVar name="cpid" value="@ID" /> <if condition="$cpid!=$spid"> @@ -194,12 +189,12 @@ </if> <Gedcom id="MARR"> <if condition="$spid!='' and @DATE!='' and @PLAC!=''"> - <Text style="text"><br /><var var="printPronoun" /> + <Text style="text"><br /> <if condition="$gender=='m'"> - <var var="i18n::translate_c('MALE', 'married')" /> + <var var="i18n::translate('He married')" /> </if> <if condition="$gender=='f'"> - <var var="i18n::translate_c('FEMALE', 'married')" /> + <var var="i18n::translate('She married')" /> </if> </Text> <if condition="$sources==1"> @@ -228,18 +223,17 @@ <Text style="text"><var var="i18n::translate(' but the details are unknown')" /></Text> </if> <Text style="text">.</Text> - <SetVar name="printPronoun" value="$pronoun" /> </if> </Gedcom> </Gedcom> </if> <Gedcom id="DEAT"> - <Text style="text"><br /><var var="printPronoun" /> + <Text style="text"><br /> <if condition="$gender=='m'"> - <var var="i18n::translate_c('MALE', 'died')" /> + <var var="i18n::translate('He died')" /> </if> <if condition="$gender=='f'"> - <var var="i18n::translate_c('FEMALE', 'died')" /> + <var var="i18n::translate('She died')" /> </if> </Text> <if condition="$sources==1"> @@ -261,18 +255,17 @@ <Text style="text"><var var="i18n::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text> </if> <if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"> - <Text style="text"> <var var="i18n::translate(' but the details are unknown')" /></Text> + <Text style="text"><var var="i18n::translate(' but the details are unknown')" /></Text> </if> <Text style="text">. </Text> - <SetVar name="printPronoun" value="$pronoun" /> </Gedcom> <Gedcom id="BURI"> - <Text style="text"><var var="printPronoun" /> + <Text style="text"> <if condition="$gender=='m'"> - <var var="i18n::translate_c('MALE', 'was buried')" /> + <var var="i18n::translate('He was buried')" /> </if> <if condition="$gender=='f'"> - <var var="i18n::translate_c('FEMALE', 'was buried')" /> + <var var="i18n::translate('She was buried')" /> </if> </Text> <if condition="$sources==1"> @@ -297,7 +290,6 @@ <Text style="text"><var var="i18n::translate(' but the details are unknown')" /></Text> </if> <Text style="text">.</Text> - <SetVar name="printPronoun" value="$pronoun" /> </Gedcom> </TextBox> <if condition="$notes==1"> diff --git a/modules/bdm_report/report.xml b/modules/bdm_report/report.xml index b353cda9fa..2965297c87 100644 --- a/modules/bdm_report/report.xml +++ b/modules/bdm_report/report.xml @@ -145,9 +145,11 @@ : <GedcomValue tag="BIRT:DATE" /> <br /> <var var="i18n::translate('Place')" /> : <GedcomValue tag="BIRT:PLAC" /> - <br /> <var var="i18n::translate('Source')" /> + <br /> <var var="i18n::translate('Source')" /> : <RepeatTag tag="BIRT:SOUR"> - <GedcomValue tag="SOUR" /> + <Gedcom id="@SOUR"> + <GedcomValue tag="TITL" /> + </Gedcom> </RepeatTag> <SetVar name="moreB" value="1" /> </RepeatTag> @@ -171,7 +173,9 @@ : <GedcomValue tag="MARR:PLAC" /> <br /> <var var="i18n::translate('Source')" /> : <RepeatTag tag="MARR:SOUR"> - <GedcomValue tag="SOUR" /> + <Gedcom id="@SOUR"> + <GedcomValue tag="TITL" /> + </Gedcom> </RepeatTag> <br /> <var var="i18n::translate('Spouse')" /> @@ -201,7 +205,9 @@ : <GedcomValue tag="DEAT:PLAC" /> <br /> <var var="i18n::translate('Source')" /> : <RepeatTag tag="DEAT:SOUR"> - <GedcomValue tag="SOUR" /> + <Gedcom id="@SOUR"> + <GedcomValue tag="TITL" /> + </Gedcom> </RepeatTag> <SetVar name="moreD" value="1" /> </RepeatTag> diff --git a/modules/descendancy_report/report.xml b/modules/descendancy_report/report.xml index 36815232ff..f78b6b8574 100644 --- a/modules/descendancy_report/report.xml +++ b/modules/descendancy_report/report.xml @@ -149,10 +149,12 @@ <Gedcom id="MARR"> <SetVar name="marrExists" value="true" /> <if condition="$printPronoun=='true'" > - <Text style="label1"> <var var="i18n::translate('He ')" /> </Text> + <Text style="label1"> <var var="i18n::translate('He married')" /> </Text> + </if> + <if condition="$printPronoun=='false'" > + <Text style="label1"> <var var="i18n::translate_c('MALE', 'married')" /> </Text> </if> <SetVar name="printPeriod" value="true" /> - <Text style="label1"> <var var="i18n::translate_c('MALE', 'married')" /> </Text> <if condition="$sources==1"> <RepeatTag tag="MARR:SOUR"> <Footnote> @@ -198,10 +200,12 @@ <Gedcom id="MARR"> <SetVar name="marrExists" value="true" /> <if condition="$printPronoun=='true'" > - <Text style="label1"> <var var="i18n::translate('She ')" /> </Text> + <Text style="label1"> <var var="i18n::translate('She married')" /> </Text> + </if> + <if condition="$printPronoun=='false'" > + <Text style="label1"> <var var="i18n::translate_c('FEMALE', 'married')" /> </Text> </if> <SetVar name="printPeriod" value="true" /> - <Text style="label1"> <var var="i18n::translate_c('FEMALE', 'married')" /> </Text> <if condition="$sources==1"> <RepeatTag tag="MARR:SOUR"> <Footnote> @@ -266,11 +270,10 @@ <Gedcom id="BIRT"> <if condition="$printPronoun=='true'"> <SetVar name="printPeriod" value="true" /> - <Text style="label1"> <var var="i18n::translate('She ')" /></Text> + <Text style="label1"> <var var="i18n::translate('She was born')" /></Text> <SetVar name="printPronoun" value="false" /> </if> <SetVar name="birtExist" value="true" /> - <Text style="label1"> <var var="i18n::translate_c('FEMALE', 'was born')" /> </Text> <if condition="$sources==1"> <RepeatTag tag="BIRT:SOUR"> <Footnote> @@ -332,11 +335,10 @@ <Gedcom id="BIRT"> <SetVar name="printPeriod" value="true" /> <if condition="$printPronoun=='true'"> - <Text style="label1"> <var var="i18n::translate('He ')" /></Text> + <Text style="label1"> <var var="i18n::translate('He was born')" /></Text> <SetVar name="printPronoun" value="false" /> </if> <SetVar name="birtExist" value="true" /> - <Text style="label1"> <var var="i18n::translate_c('MALE', 'was born')" /> </Text> <if condition="$sources==1"> <RepeatTag tag="BIRT:SOUR"> <Footnote> diff --git a/modules/individual_ext_report/report.xml b/modules/individual_ext_report/report.xml index f12d60af2d..ca483c12fa 100644 --- a/modules/individual_ext_report/report.xml +++ b/modules/individual_ext_report/report.xml @@ -222,7 +222,7 @@ </Footnote> </RepeatTag> </if> - <Text color="$tcolor" style="text"> ( <var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom> )</Text> + <Text color="$tcolor" style="text"> (<var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text> </TextBox> </Gedcom> <!-- mother --> @@ -242,7 +242,7 @@ </Footnote> </RepeatTag> </if> - <Text color="$tcolor" style="text"> ( <var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom> )</Text> + <Text color="$tcolor" style="text"> (<var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text> </TextBox> </Gedcom> <!-- siblings --> @@ -266,7 +266,7 @@ </Footnote> </RepeatTag> </if> - <Text color="$tcolor" style="text"> ( <var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom> )</Text> + <Text color="$tcolor" style="text"> (<var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text> </TextBox> </if> <!-- Sister --> @@ -286,7 +286,7 @@ </Footnote> </RepeatTag> </if> - <Text color="$tcolor" style="text"> ( <var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom> )</Text> + <Text color="$tcolor" style="text"> (<var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text> </TextBox> </if> <!-- Unknown gender for Sibling --> @@ -306,7 +306,7 @@ </Footnote> </RepeatTag> </if> - <Text color="$tcolor" style="text"> ( <var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom> )</Text> + <Text color="$tcolor" style="text"> (<var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text> </TextBox> </if> </Gedcom> @@ -348,7 +348,7 @@ </Footnote> </RepeatTag> </if> - <Text color="$tcolor" style="text"> ( <var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom> )</Text> + <Text color="$tcolor" style="text"> (<var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text> </TextBox> </if> <!-- wife --> @@ -368,7 +368,7 @@ </Footnote> </RepeatTag> </if> - <Text color="$tcolor" style="text"> ( <var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom> )</Text> + <Text color="$tcolor" style="text"> (<var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text> </TextBox> </if> </Gedcom> @@ -393,7 +393,7 @@ </Footnote> </RepeatTag> </if> - <Text color="$tcolor" style="text"> ( <var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom> )</Text> + <Text color="$tcolor" style="text"> (<var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text> </TextBox> </if> <!-- Daughter --> @@ -413,7 +413,7 @@ </Footnote> </RepeatTag> </if> - <Text color="$tcolor" style="text"> ( <var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom> )</Text> + <Text color="$tcolor" style="text"> (<var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text> </TextBox> </if> <!-- Unknown gender for Child --> @@ -433,7 +433,7 @@ </Footnote> </RepeatTag> </if> - <Text color="$tcolor" style="text"> ( <var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom> )</Text> + <Text color="$tcolor" style="text"> (<var var="i18n::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="i18n::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text> </TextBox> </if> </Gedcom> |
