Skip to content

Commit

Permalink
[TASK] Update locales translation files
Browse files Browse the repository at this point in the history
TYPO3 uses a composer package [1] to import
locales along with translations and a custom
script has been added to create and update
included translation files.

This change updates the language files with
the last updates and requires the package
with the current highest version as minimum.

Used command(s):

> composer req --dev \
    "sokil/php-isocodes-db-i18n":"^4.0.19"

> php Build/Scripts/updateIsoDatabase.php

[1] sokil/php-isocodes-db-i18n

Resolves: #103027
Related: #100659
Releases: main, 12.4
Change-Id: I2839113ed3894cec58b41c85abd59039cab00725
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82773
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Kevin Appelt <kevin.appelt@icloud.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Kevin Appelt <kevin.appelt@icloud.com>
  • Loading branch information
sbuerk committed Feb 3, 2024
1 parent 8a360eb commit de1e61a
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -115,7 +115,7 @@
"phpstan/phpstan": "^1.10.57",
"phpstan/phpstan-phpunit": "^1.3.15",
"phpunit/phpunit": "^10.5.5",
"sokil/php-isocodes-db-i18n": "^4.0.18",
"sokil/php-isocodes-db-i18n": "^4.0.19",
"symfony/translation": "^7.0",
"typo3/testing-framework": "dev-main",
"webmozart/assert": "^1.11.0"
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -220,11 +220,11 @@
</trans-unit>
<trans-unit id="BW.name" resname="BW.name" approved="yes">
<source>Botswana</source>
<target>博兹瓦那</target>
<target>博茨瓦纳</target>
</trans-unit>
<trans-unit id="BW.official_name" resname="BW.official_name" approved="yes">
<source>Republic of Botswana</source>
<target>博兹瓦那共和国</target>
<target>博茨瓦纳共和国</target>
</trans-unit>
<trans-unit id="BY.name" resname="BY.name" approved="yes">
<source>Belarus</source>
Expand All @@ -244,15 +244,15 @@
</trans-unit>
<trans-unit id="CC.name" resname="CC.name" approved="yes">
<source>Cocos (Keeling) Islands</source>
<target>科科斯群岛</target>
<target>科科斯 (基林) 群岛</target>
</trans-unit>
<trans-unit id="CD.name" resname="CD.name" approved="yes">
<source>Congo, The Democratic Republic of the</source>
<target>刚果民主共和国</target>
</trans-unit>
<trans-unit id="CF.name" resname="CF.name" approved="yes">
<source>Central African Republic</source>
<target>中非</target>
<target>中非共和国</target>
</trans-unit>
<trans-unit id="CG.name" resname="CG.name" approved="yes">
<source>Congo</source>
Expand Down Expand Up @@ -396,7 +396,7 @@
</trans-unit>
<trans-unit id="DM.official_name" resname="DM.official_name" approved="yes">
<source>Commonwealth of Dominica</source>
<target>米尼克共和国</target>
<target>多米尼克国</target>
</trans-unit>
<trans-unit id="DO.name" resname="DO.name" approved="yes">
<source>Dominican Republic</source>
Expand All @@ -408,7 +408,7 @@
</trans-unit>
<trans-unit id="DZ.official_name" resname="DZ.official_name" approved="yes">
<source>People's Democratic Republic of Algeria</source>
<target>阿尔及利亚人民民主共和国</target>
<target>阿尔及利亚民主人民共和国</target>
</trans-unit>
<trans-unit id="EC.name" resname="EC.name" approved="yes">
<source>Ecuador</source>
Expand Down Expand Up @@ -480,7 +480,7 @@
</trans-unit>
<trans-unit id="FK.name" resname="FK.name" approved="yes">
<source>Falkland Islands (Malvinas)</source>
<target>福克兰群岛(马尔维纳斯)</target>
<target>福克兰群岛 (马尔维纳斯)</target>
</trans-unit>
<trans-unit id="FM.name" resname="FM.name" approved="yes">
<source>Micronesia, Federated States of</source>
Expand Down Expand Up @@ -588,7 +588,7 @@
</trans-unit>
<trans-unit id="GS.name" resname="GS.name" approved="yes">
<source>South Georgia and the South Sandwich Islands</source>
<target>南乔治亚岛和南桑德韦奇岛</target>
<target>南乔治亚和南桑德韦奇群岛</target>
</trans-unit>
<trans-unit id="GT.name" resname="GT.name" approved="yes">
<source>Guatemala</source>
Expand Down Expand Up @@ -788,7 +788,7 @@
</trans-unit>
<trans-unit id="KM.official_name" resname="KM.official_name" approved="yes">
<source>Union of the Comoros</source>
<target>科摩罗联邦</target>
<target>科摩罗联盟</target>
</trans-unit>
<trans-unit id="KN.name" resname="KN.name" approved="yes">
<source>Saint Kitts and Nevis</source>
Expand Down Expand Up @@ -840,7 +840,7 @@
</trans-unit>
<trans-unit id="LC.name" resname="LC.name" approved="yes">
<source>Saint Lucia</source>
<target>圣路西亚</target>
<target>圣卢西亚</target>
</trans-unit>
<trans-unit id="LI.name" resname="LI.name" approved="yes">
<source>Liechtenstein</source>
Expand Down Expand Up @@ -1016,7 +1016,7 @@
</trans-unit>
<trans-unit id="MS.name" resname="MS.name" approved="yes">
<source>Montserrat</source>
<target>蒙塞拉特岛</target>
<target>蒙特塞拉特</target>
</trans-unit>
<trans-unit id="MT.name" resname="MT.name" approved="yes">
<source>Malta</source>
Expand Down Expand Up @@ -1220,7 +1220,7 @@
</trans-unit>
<trans-unit id="PN.name" resname="PN.name" approved="yes">
<source>Pitcairn</source>
<target>皮特克恩</target>
<target>皮特凯恩</target>
</trans-unit>
<trans-unit id="PR.name" resname="PR.name" approved="yes">
<source>Puerto Rico</source>
Expand Down Expand Up @@ -1340,7 +1340,7 @@
</trans-unit>
<trans-unit id="SH.name" resname="SH.name" approved="yes">
<source>Saint Helena, Ascension and Tristan da Cunha</source>
<target>圣赫勒拿-阿森松-特里斯坦达库尼亚</target>
<target>圣赫勒拿-阿森松-特里斯坦-达库尼亚</target>
</trans-unit>
<trans-unit id="SI.name" resname="SI.name" approved="yes">
<source>Slovenia</source>
Expand All @@ -1352,7 +1352,7 @@
</trans-unit>
<trans-unit id="SJ.name" resname="SJ.name" approved="yes">
<source>Svalbard and Jan Mayen</source>
<target>斯瓦尔巴特和扬马延岛</target>
<target>斯瓦尔巴和扬马延</target>
</trans-unit>
<trans-unit id="SK.name" resname="SK.name" approved="yes">
<source>Slovakia</source>
Expand All @@ -1372,7 +1372,7 @@
</trans-unit>
<trans-unit id="SM.name" resname="SM.name" approved="yes">
<source>San Marino</source>
<target>圣马力诺市</target>
<target>圣马力诺</target>
</trans-unit>
<trans-unit id="SM.official_name" resname="SM.official_name" approved="yes">
<source>Republic of San Marino</source>
Expand Down Expand Up @@ -1596,7 +1596,7 @@
</trans-unit>
<trans-unit id="VA.name" resname="VA.name" approved="yes">
<source>Holy See (Vatican City State)</source>
<target>梵地冈</target>
<target>梵蒂冈</target>
</trans-unit>
<trans-unit id="VC.name" resname="VC.name" approved="yes">
<source>Saint Vincent and the Grenadines</source>
Expand Down Expand Up @@ -1624,7 +1624,7 @@
</trans-unit>
<trans-unit id="VI.official_name" resname="VI.official_name" approved="yes">
<source>Virgin Islands of the United States</source>
<target>美属维京群岛</target>
<target>美属维尔京群岛</target>
</trans-unit>
<trans-unit id="VN.name" resname="VN.name" approved="yes">
<source>Viet Nam</source>
Expand Down
Expand Up @@ -76,7 +76,7 @@
</trans-unit>
<trans-unit id="ang" resname="ang" approved="yes">
<source>English, Old (ca. 450-1100)</source>
<target>古英语</target>
<target>古英语 (约 450 - 1100)</target>
</trans-unit>
<trans-unit id="anp" resname="anp" approved="yes">
<source>Angika</source>
Expand Down Expand Up @@ -448,7 +448,7 @@
</trans-unit>
<trans-unit id="dum" resname="dum" approved="yes">
<source>Dutch, Middle (ca. 1050-1350)</source>
<target>中古荷兰语</target>
<target>中古荷兰语 (约 1050 - 1350)</target>
</trans-unit>
<trans-unit id="dv" resname="dv" approved="yes">
<source>Divehi; Dhivehi; Maldivian</source>
Expand Down Expand Up @@ -492,7 +492,7 @@
</trans-unit>
<trans-unit id="enm" resname="enm" approved="yes">
<source>English, Middle (1100-1500)</source>
<target>中古英语</target>
<target>中古英语 (1100 - 1500)</target>
</trans-unit>
<trans-unit id="eo" resname="eo" approved="yes">
<source>Esperanto</source>
Expand Down Expand Up @@ -560,11 +560,11 @@
</trans-unit>
<trans-unit id="frm" resname="frm" approved="yes">
<source>French, Middle (ca. 1400-1600)</source>
<target>中古法语</target>
<target>中古法语 (约 1400 - 1600)</target>
</trans-unit>
<trans-unit id="fro" resname="fro" approved="yes">
<source>French, Old (842-ca. 1400)</source>
<target>古法语</target>
<target>古法语 (842 - 约 1400)</target>
</trans-unit>
<trans-unit id="frr" resname="frr" approved="yes">
<source>Northern Frisian</source>
Expand Down Expand Up @@ -620,15 +620,15 @@
</trans-unit>
<trans-unit id="gmh" resname="gmh" approved="yes">
<source>German, Middle High (ca. 1050-1500)</source>
<target>中古高地德语</target>
<target>中古高地德语 (约 1050 - 1500)</target>
</trans-unit>
<trans-unit id="gn" resname="gn" approved="yes">
<source>Guarani</source>
<target>瓜拉尼语</target>
</trans-unit>
<trans-unit id="goh" resname="goh" approved="yes">
<source>German, Old High (ca. 750-1050)</source>
<target>古高地德语</target>
<target>古高地德语 (约 750 - 1050)</target>
</trans-unit>
<trans-unit id="gon" resname="gon" approved="yes">
<source>Gondi</source>
Expand All @@ -648,7 +648,7 @@
</trans-unit>
<trans-unit id="grc" resname="grc" approved="yes">
<source>Greek, Ancient (to 1453)</source>
<target>古典希腊语</target>
<target>古希腊语 (- 1453)</target>
</trans-unit>
<trans-unit id="gsw" resname="gsw" approved="yes">
<source>Swiss German; Alemannic; Alsatian</source>
Expand Down Expand Up @@ -1092,7 +1092,7 @@
</trans-unit>
<trans-unit id="mga" resname="mga" approved="yes">
<source>Irish, Middle (900-1200)</source>
<target>中古爱尔兰语</target>
<target>中古爱尔兰语 (900 - 1200)</target>
</trans-unit>
<trans-unit id="mh" resname="mh" approved="yes">
<source>Marshallese</source>
Expand Down Expand Up @@ -1264,7 +1264,7 @@
</trans-unit>
<trans-unit id="non" resname="non" approved="yes">
<source>Norse, Old</source>
<target>古诺尔斯语</target>
<target>古诺斯语</target>
</trans-unit>
<trans-unit id="nqo" resname="nqo" approved="yes">
<source>N'Ko</source>
Expand Down Expand Up @@ -1372,7 +1372,7 @@
</trans-unit>
<trans-unit id="peo" resname="peo" approved="yes">
<source>Persian, Old (ca. 600-400 B.C.)</source>
<target>古波斯语</target>
<target>古波斯语 (约前 600 - 400)</target>
</trans-unit>
<trans-unit id="phi" resname="phi" approved="yes">
<source>Philippine languages</source>
Expand Down Expand Up @@ -1400,7 +1400,7 @@
</trans-unit>
<trans-unit id="pro" resname="pro" approved="yes">
<source>Provençal, Old (to 1500)</source>
<target>古普罗旺斯语</target>
<target>古普罗旺斯语 (- 1500)</target>
</trans-unit>
<trans-unit id="ps" resname="ps" approved="yes">
<source>Pushto; Pashto</source>
Expand Down Expand Up @@ -1528,7 +1528,7 @@
</trans-unit>
<trans-unit id="sga" resname="sga" approved="yes">
<source>Irish, Old (to 900)</source>
<target>古爱尔兰语</target>
<target>古爱尔兰语 (- 900)</target>
</trans-unit>
<trans-unit id="sgn" resname="sgn" approved="yes">
<source>Sign Languages</source>
Expand Down

0 comments on commit de1e61a

Please sign in to comment.