Skip to content

Commit 4c12935

Browse files
committed
fix: use ISO code for Dari
1 parent 6f9149a commit 4c12935

File tree

125 files changed

+843
-840
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+843
-840
lines changed

PLURALS_DIFF.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ The Plurals column lists data in languages.csv which is used in Weblate
226226
| ewo | Ewondo | nplurals=2; plural=n != 1; | | | | |
227227
| ext | Extremaduran | nplurals=2; plural=n != 1; | | | | |
228228
| fa | Persian | nplurals=2; plural=n > 1; | ✔ | | ✔ | ✔ |
229-
| fa_AF | Dari | nplurals=2; plural=n > 1; | ✔ | | | |
230229
| fan | Fang (Equatorial Guinea) | nplurals=2; plural=n != 1; | | | | |
231230
| fat | Fanti | nplurals=2; plural=n != 1; | | | | |
232231
| fbl | Bikol (West Albay) | nplurals=2; plural=n != 1; | | | | |
@@ -551,6 +550,7 @@ The Plurals column lists data in languages.csv which is used in Weblate
551550
| pon | Pohnpeian | nplurals=2; plural=n != 1; | | | | |
552551
| prg | Prussian | nplurals=3; plural=(n % 10 == 0 \|\| n % 100 >= 11 && n % 100 \<= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2); | ✔ | | | |
553552
| pro | Provençal (Old) | nplurals=2; plural=n != 1; | | | | |
553+
| prs | Dari | nplurals=2; plural=n != 1; | | | | |
554554
| ps | Pashto | nplurals=2; plural=n != 1; | ✔ | | ✔ | ✔ |
555555
| pt | Portuguese | nplurals=2; plural=n > 1; | nplurals=3; plural=(n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2); | nplurals=2; plural=(n != 1); | nplurals=2; plural=(n != 1); | nplurals=2; plural=(n != 1); |
556556
| pt@formal | Portuguese (formal) | nplurals=2; plural=n > 1; | | | | |

aliases.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ por_br,pt_BR
176176
por_pt,pt
177177
swe_se,sv
178178
ur_ur,ur
179+
fa_af,prs
179180
#,Slovak sign language
180181
svk,sk
181182
#,IBM Codes

languages.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ eu,Basque,2,n != 1
220220
ewo,Ewondo,2,n != 1
221221
ext,Extremaduran,2,n != 1
222222
fa,Persian,2,n > 1
223-
fa_AF,Dari,2,n > 1
224223
fan,Fang (Equatorial Guinea),2,n != 1
225224
fat,Fanti,2,n != 1
226225
fbl,Bikol (West Albay),2,n != 1
@@ -545,6 +544,7 @@ pms,Piemontese,2,n != 1
545544
pon,Pohnpeian,2,n != 1
546545
prg,Prussian,3,(n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2)
547546
pro,Provençal (Old),2,n != 1
547+
prs,Dari,2,n != 1
548548
ps,Pashto,2,n != 1
549549
pt,Portuguese,2,n > 1
550550
pt@formal,Portuguese (formal),2,n > 1

weblate_language_data/aliases.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
"por_pt": "pt",
177177
"swe_se": "sv",
178178
"ur_ur": "ur",
179+
"fa_af": "prs",
179180
"svk": "sk",
180181
"ptb": "pt_BR",
181182
"enu": "en_US",

weblate_language_data/language_codes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@
877877
"prg",
878878
"pro",
879879
"prp",
880+
"prs",
880881
"ps",
881882
"pt",
882883
"pt@formal",

weblate_language_data/languages.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2005,15 +2005,6 @@
20052005
2,
20062006
"n > 1",
20072007
),
2008-
(
2009-
"fa_AF",
2010-
# Translators: Language name for ISO code "fa_AF". The parenthesis clarifies
2011-
# variant of the language. It could contain a region, age (Old, Middle, ...)
2012-
# or other variant.
2013-
_("Dari"),
2014-
2,
2015-
"n > 1",
2016-
),
20172008
(
20182009
"fan",
20192010
# Translators: Language name for ISO code "fan". The parenthesis clarifies
@@ -4930,6 +4921,15 @@
49304921
2,
49314922
"n != 1",
49324923
),
4924+
(
4925+
"prs",
4926+
# Translators: Language name for ISO code "prs". The parenthesis clarifies
4927+
# variant of the language. It could contain a region, age (Old, Middle, ...)
4928+
# or other variant.
4929+
_("Dari"),
4930+
2,
4931+
"n != 1",
4932+
),
49334933
(
49344934
"ps",
49354935
# Translators: Language name for ISO code "ps". The parenthesis clarifies

weblate_language_data/locale/ab/LC_MESSAGES/django.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Weblate Language Data\n"
99
"Report-Msgid-Bugs-To: https://github.com/WeblateOrg/language-data/issues/\n"
10-
"POT-Creation-Date: 2025-01-15 08:47+0100\n"
10+
"POT-Creation-Date: 2025-01-23 15:39+0100\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: Automatically generated\n"
1313
"Language-Team: none\n"
@@ -1342,12 +1342,6 @@ msgstr ""
13421342
msgid "Persian"
13431343
msgstr ""
13441344

1345-
#. Translators: Language name for ISO code "fa_AF". The parenthesis clarifies
1346-
#. variant of the language. It could contain a region, age (Old, Middle, ...)
1347-
#. or other variant.
1348-
msgid "Dari"
1349-
msgstr ""
1350-
13511345
#. Translators: Language name for ISO code "fan". The parenthesis clarifies
13521346
#. variant of the language. It could contain a region, age (Old, Middle, ...)
13531347
#. or other variant.
@@ -3292,6 +3286,12 @@ msgstr ""
32923286
msgid "Provençal (Old)"
32933287
msgstr ""
32943288

3289+
#. Translators: Language name for ISO code "prs". The parenthesis clarifies
3290+
#. variant of the language. It could contain a region, age (Old, Middle, ...)
3291+
#. or other variant.
3292+
msgid "Dari"
3293+
msgstr ""
3294+
32953295
#. Translators: Language name for ISO code "ps". The parenthesis clarifies
32963296
#. variant of the language. It could contain a region, age (Old, Middle, ...)
32973297
#. or other variant.

weblate_language_data/locale/af/LC_MESSAGES/django.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Weblate Language Data\n"
99
"Report-Msgid-Bugs-To: https://github.com/WeblateOrg/language-data/issues/\n"
10-
"POT-Creation-Date: 2025-01-15 08:47+0100\n"
10+
"POT-Creation-Date: 2025-01-23 15:39+0100\n"
1111
"PO-Revision-Date: 2025-01-12 14:45+0000\n"
1212
"Last-Translator: Nahil4 <[email protected]>\n"
1313
"Language-Team: Afrikaans <https://hosted.weblate.org/projects/weblate/"
@@ -1403,12 +1403,6 @@ msgstr ""
14031403
msgid "Persian"
14041404
msgstr "Persies"
14051405

1406-
#. Translators: Language name for ISO code "fa_AF". The parenthesis clarifies
1407-
#. variant of the language. It could contain a region, age (Old, Middle, ...)
1408-
#. or other variant.
1409-
msgid "Dari"
1410-
msgstr "Dari"
1411-
14121406
#. Translators: Language name for ISO code "fan". The parenthesis clarifies
14131407
#. variant of the language. It could contain a region, age (Old, Middle, ...)
14141408
#. or other variant.
@@ -3473,6 +3467,12 @@ msgstr "Persies"
34733467
msgid "Provençal (Old)"
34743468
msgstr ""
34753469

3470+
#. Translators: Language name for ISO code "prs". The parenthesis clarifies
3471+
#. variant of the language. It could contain a region, age (Old, Middle, ...)
3472+
#. or other variant.
3473+
msgid "Dari"
3474+
msgstr "Dari"
3475+
34763476
#. Translators: Language name for ISO code "ps". The parenthesis clarifies
34773477
#. variant of the language. It could contain a region, age (Old, Middle, ...)
34783478
#. or other variant.

weblate_language_data/locale/afh/LC_MESSAGES/django.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Weblate Language Data\n"
99
"Report-Msgid-Bugs-To: https://github.com/WeblateOrg/language-data/issues/\n"
10-
"POT-Creation-Date: 2025-01-15 08:47+0100\n"
10+
"POT-Creation-Date: 2025-01-23 15:39+0100\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: Automatically generated\n"
1313
"Language-Team: none\n"
@@ -1342,12 +1342,6 @@ msgstr ""
13421342
msgid "Persian"
13431343
msgstr ""
13441344

1345-
#. Translators: Language name for ISO code "fa_AF". The parenthesis clarifies
1346-
#. variant of the language. It could contain a region, age (Old, Middle, ...)
1347-
#. or other variant.
1348-
msgid "Dari"
1349-
msgstr ""
1350-
13511345
#. Translators: Language name for ISO code "fan". The parenthesis clarifies
13521346
#. variant of the language. It could contain a region, age (Old, Middle, ...)
13531347
#. or other variant.
@@ -3292,6 +3286,12 @@ msgstr ""
32923286
msgid "Provençal (Old)"
32933287
msgstr ""
32943288

3289+
#. Translators: Language name for ISO code "prs". The parenthesis clarifies
3290+
#. variant of the language. It could contain a region, age (Old, Middle, ...)
3291+
#. or other variant.
3292+
msgid "Dari"
3293+
msgstr ""
3294+
32953295
#. Translators: Language name for ISO code "ps". The parenthesis clarifies
32963296
#. variant of the language. It could contain a region, age (Old, Middle, ...)
32973297
#. or other variant.

0 commit comments

Comments
 (0)