Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use ISO code for Dari #1643

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PLURALS_DIFF.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ The Plurals column lists data in languages.csv which is used in Weblate
| ewo | Ewondo | nplurals=2; plural=n != 1; | | | | |
| ext | Extremaduran | nplurals=2; plural=n != 1; | | | | |
| fa | Persian | nplurals=2; plural=n > 1; | ✔ | | ✔ | ✔ |
| fa_AF | Dari | nplurals=2; plural=n > 1; | ✔ | | | |
| fan | Fang (Equatorial Guinea) | nplurals=2; plural=n != 1; | | | | |
| fat | Fanti | nplurals=2; plural=n != 1; | | | | |
| fbl | Bikol (West Albay) | nplurals=2; plural=n != 1; | | | | |
Expand Down Expand Up @@ -551,6 +550,7 @@ The Plurals column lists data in languages.csv which is used in Weblate
| pon | Pohnpeian | nplurals=2; plural=n != 1; | | | | |
| prg | Prussian | nplurals=3; plural=(n % 10 == 0 \|\| n % 100 >= 11 && n % 100 \<= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2); | ✔ | | | |
| pro | Provençal (Old) | nplurals=2; plural=n != 1; | | | | |
| prs | Dari | nplurals=2; plural=n != 1; | | | | |
| ps | Pashto | nplurals=2; plural=n != 1; | ✔ | | ✔ | ✔ |
| 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); |
| pt@formal | Portuguese (formal) | nplurals=2; plural=n > 1; | | | | |
Expand Down
1 change: 1 addition & 0 deletions aliases.csv
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ por_br,pt_BR
por_pt,pt
swe_se,sv
ur_ur,ur
fa_af,prs
#,Slovak sign language
svk,sk
#,IBM Codes
Expand Down
2 changes: 1 addition & 1 deletion languages.csv
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ eu,Basque,2,n != 1
ewo,Ewondo,2,n != 1
ext,Extremaduran,2,n != 1
fa,Persian,2,n > 1
fa_AF,Dari,2,n > 1
fan,Fang (Equatorial Guinea),2,n != 1
fat,Fanti,2,n != 1
fbl,Bikol (West Albay),2,n != 1
Expand Down Expand Up @@ -545,6 +544,7 @@ pms,Piemontese,2,n != 1
pon,Pohnpeian,2,n != 1
prg,Prussian,3,(n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2)
pro,Provençal (Old),2,n != 1
prs,Dari,2,n != 1
ps,Pashto,2,n != 1
pt,Portuguese,2,n > 1
pt@formal,Portuguese (formal),2,n > 1
Expand Down
1 change: 1 addition & 0 deletions weblate_language_data/aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
"por_pt": "pt",
"swe_se": "sv",
"ur_ur": "ur",
"fa_af": "prs",
"svk": "sk",
"ptb": "pt_BR",
"enu": "en_US",
Expand Down
1 change: 1 addition & 0 deletions weblate_language_data/language_codes.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@
"prg",
"pro",
"prp",
"prs",
"ps",
"pt",
"pt@formal",
Expand Down
18 changes: 9 additions & 9 deletions weblate_language_data/languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -2005,15 +2005,6 @@
2,
"n > 1",
),
(
"fa_AF",
# Translators: Language name for ISO code "fa_AF". The parenthesis clarifies
# variant of the language. It could contain a region, age (Old, Middle, ...)
# or other variant.
_("Dari"),
2,
"n > 1",
),
(
"fan",
# Translators: Language name for ISO code "fan". The parenthesis clarifies
Expand Down Expand Up @@ -4930,6 +4921,15 @@
2,
"n != 1",
),
(
"prs",
# Translators: Language name for ISO code "prs". The parenthesis clarifies
# variant of the language. It could contain a region, age (Old, Middle, ...)
# or other variant.
_("Dari"),
2,
"n != 1",
),
(
"ps",
# Translators: Language name for ISO code "ps". The parenthesis clarifies
Expand Down
14 changes: 7 additions & 7 deletions weblate_language_data/locale/ab/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Weblate Language Data\n"
"Report-Msgid-Bugs-To: https://github.com/WeblateOrg/language-data/issues/\n"
"POT-Creation-Date: 2025-01-15 08:47+0100\n"
"POT-Creation-Date: 2025-01-23 15:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
Expand Down Expand Up @@ -1342,12 +1342,6 @@ msgstr ""
msgid "Persian"
msgstr ""

#. Translators: Language name for ISO code "fa_AF". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
msgid "Dari"
msgstr ""

#. Translators: Language name for ISO code "fan". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
Expand Down Expand Up @@ -3292,6 +3286,12 @@ msgstr ""
msgid "Provençal (Old)"
msgstr ""

#. Translators: Language name for ISO code "prs". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
msgid "Dari"
msgstr ""

#. Translators: Language name for ISO code "ps". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
Expand Down
14 changes: 7 additions & 7 deletions weblate_language_data/locale/af/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Weblate Language Data\n"
"Report-Msgid-Bugs-To: https://github.com/WeblateOrg/language-data/issues/\n"
"POT-Creation-Date: 2025-01-15 08:47+0100\n"
"POT-Creation-Date: 2025-01-23 15:39+0100\n"
"PO-Revision-Date: 2025-01-12 14:45+0000\n"
"Last-Translator: Nahil4 <[email protected]>\n"
"Language-Team: Afrikaans <https://hosted.weblate.org/projects/weblate/"
Expand Down Expand Up @@ -1403,12 +1403,6 @@ msgstr ""
msgid "Persian"
msgstr "Persies"

#. Translators: Language name for ISO code "fa_AF". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
msgid "Dari"
msgstr "Dari"

#. Translators: Language name for ISO code "fan". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
Expand Down Expand Up @@ -3473,6 +3467,12 @@ msgstr "Persies"
msgid "Provençal (Old)"
msgstr ""

#. Translators: Language name for ISO code "prs". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
msgid "Dari"
msgstr "Dari"

#. Translators: Language name for ISO code "ps". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
Expand Down
14 changes: 7 additions & 7 deletions weblate_language_data/locale/afh/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Weblate Language Data\n"
"Report-Msgid-Bugs-To: https://github.com/WeblateOrg/language-data/issues/\n"
"POT-Creation-Date: 2025-01-15 08:47+0100\n"
"POT-Creation-Date: 2025-01-23 15:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
Expand Down Expand Up @@ -1342,12 +1342,6 @@ msgstr ""
msgid "Persian"
msgstr ""

#. Translators: Language name for ISO code "fa_AF". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
msgid "Dari"
msgstr ""

#. Translators: Language name for ISO code "fan". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
Expand Down Expand Up @@ -3292,6 +3286,12 @@ msgstr ""
msgid "Provençal (Old)"
msgstr ""

#. Translators: Language name for ISO code "prs". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
msgid "Dari"
msgstr ""

#. Translators: Language name for ISO code "ps". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
Expand Down
Loading
Loading