Skip to content

Commit

Permalink
feat: add Mongolian variants
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jan 23, 2025
1 parent 26cdb6e commit 80eb8b7
Show file tree
Hide file tree
Showing 123 changed files with 2,050 additions and 245 deletions.
4 changes: 3 additions & 1 deletion PLURALS_DIFF.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ The Plurals column lists data in languages.csv which is used in Weblate
| it@informal | Italian (informal) | nplurals=2; plural=n != 1; | | | | |
| it_CH | Italian (Switzerland) | nplurals=2; plural=n != 1; | | | | |
| iu | Inuktitut | nplurals=3; plural=(n == 1) ? 0 : ((n == 2) ? 1 : 2); | ✔ | | | |
| iu_Latn | Inuktitut (Latin) | nplurals=3; plural=(n == 1) ? 0 : ((n == 2) ? 1 : 2); | | | | |
| iu_Latn | Inuktitut (Latin script) | nplurals=3; plural=(n == 1) ? 0 : ((n == 2) ? 1 : 2); | | | | |
| ja | Japanese | nplurals=1; plural=0; | ✔ | ✔ | ✔ | ✔ |
| ja_KS | Japanese (Kansai) | nplurals=1; plural=0; | | | | |
| jam | Jamaican Patois | nplurals=2; plural=n != 1; | | | | |
Expand Down Expand Up @@ -460,6 +460,8 @@ The Plurals column lists data in languages.csv which is used in Weblate
| mk | Macedonian | nplurals=2; plural=n==1 \|\| n%10==1 ? 0 : 1; | nplurals=2; plural=n % 10 != 1 \|\| n % 100 == 11; | | ✔ | ✔ |
| ml | Malayalam | nplurals=2; plural=n != 1; | ✔ | | ✔ | ✔ |
| mn | Mongolian | nplurals=2; plural=n != 1; | ✔ | | ✔ | ✔ |
| mn_Cyrl | Mongolian (Cyrillic script) | nplurals=2; plural=n != 1; | | | | |
| mn_Mong | Mongolian (Traditional script) | nplurals=2; plural=n != 1; | | | | |
| mnc | Manchu | nplurals=2; plural=n != 1; | | | | |
| mni | Manipuri | nplurals=2; plural=n != 1; | | | ✔ | ✔ |
| mnk | Mandinka | nplurals=3; plural=n==0 ? 0 : n==1 ? 1 : 2; | | | ✔ | ✔ |
Expand Down
4 changes: 3 additions & 1 deletion languages.csv
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ it@formal,Italian (formal),2,n != 1
it@informal,Italian (informal),2,n != 1
it_CH,Italian (Switzerland),2,n != 1
iu,Inuktitut,3,(n == 1) ? 0 : ((n == 2) ? 1 : 2)
iu_Latn,Inuktitut (Latin),3,(n == 1) ? 0 : ((n == 2) ? 1 : 2)
iu_Latn,Inuktitut (Latin script),3,(n == 1) ? 0 : ((n == 2) ? 1 : 2)
ja,Japanese,1,0
ja_KS,Japanese (Kansai),1,0
jam,Jamaican Patois,2,n != 1
Expand Down Expand Up @@ -454,6 +454,8 @@ mjw,Karbi,2,n != 1
mk,Macedonian,2,n==1 || n%10==1 ? 0 : 1
ml,Malayalam,2,n != 1
mn,Mongolian,2,n != 1
mn_Cyrl,Mongolian (Cyrillic script),2,n != 1
mn_Mong,Mongolian (Traditional script),2,n != 1
mnc,Manchu,2,n != 1
mni,Manipuri,2,n != 1
mnk,Mandinka,3,n==0 ? 0 : n==1 ? 1 : 2
Expand Down
2 changes: 2 additions & 0 deletions weblate_language_data/language_codes.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,8 @@
"mlg",
"mlt",
"mn",
"mn_cyrl",
"mn_mong",
"mnc",
"mni",
"mnk",
Expand Down
20 changes: 19 additions & 1 deletion weblate_language_data/languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -3027,7 +3027,7 @@
# Translators: Language name for ISO code "iu_Latn". The parenthesis clarifies
# variant of the language. It could contain a region, age (Old, Middle, ...)
# or other variant.
_("Inuktitut (Latin)"),
_("Inuktitut (Latin script)"),
3,
"(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
),
Expand Down Expand Up @@ -4111,6 +4111,24 @@
2,
"n != 1",
),
(
"mn_Cyrl",
# Translators: Language name for ISO code "mn_Cyrl". The parenthesis clarifies
# variant of the language. It could contain a region, age (Old, Middle, ...)
# or other variant.
_("Mongolian (Cyrillic script)"),
2,
"n != 1",
),
(
"mn_Mong",
# Translators: Language name for ISO code "mn_Mong". The parenthesis clarifies
# variant of the language. It could contain a region, age (Old, Middle, ...)
# or other variant.
_("Mongolian (Traditional script)"),
2,
"n != 1",
),
(
"mnc",
# Translators: Language name for ISO code "mnc". The parenthesis clarifies
Expand Down
16 changes: 14 additions & 2 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-23 16:06+0100\n"
"POT-Creation-Date: 2025-01-23 16:09+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 @@ -2023,7 +2023,7 @@ msgstr ""
#. Translators: Language name for ISO code "iu_Latn". The parenthesis clarifies
#. variant of the language. It could contain a region, age (Old, Middle, ...)
#. or other variant.
msgid "Inuktitut (Latin)"
msgid "Inuktitut (Latin script)"
msgstr ""

#. Translators: Language name for ISO code "ja". The parenthesis clarifies
Expand Down Expand Up @@ -2746,6 +2746,18 @@ msgstr ""
msgid "Mongolian"
msgstr ""

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

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

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

0 comments on commit 80eb8b7

Please sign in to comment.