Add Interslavic (Cyrillic; isv-cyrl)

Also add gender aliases to Interslavic (Latin)
and custom plural rules for isv-cyrl.

Bug: T375360
Change-Id: I1ea5e36b09a4eecbc0edf085deb50a392f7fcca5
This commit is contained in:
Amir E. Aharoni 2024-09-23 10:10:16 -04:00
parent 2bed4a942d
commit fe485a0135
5 changed files with 41 additions and 2 deletions

View file

@ -227,6 +227,7 @@ because of Phabricator reports.
* (T365365) Added language support for Chakma (ccp).
* (T367991) Added language support for Iban (iba).
* (T367688) Added language support for Interslavic (Latin) (isv-latn).
* (T375360) Added language support for Interslavic (Cyrillic) (isv-cyrl).
* (T370123) Added language support for Nupe (nup).
* (T371051) Added language support for Saint Lucian Creole (acf).
* (T354937, T370987) Added language support for Minnan (Pe̍h-ōe-jī)

View file

@ -260,6 +260,7 @@ class Names {
'inh' => 'гӀалгӀай', # Ingush
'io' => 'Ido', # Ido
'is' => 'íslenska', # Icelandic
'isv-cyrl' => 'меджусловјанскы', # Interslavic (Cyrillic)
'isv-latn' => 'medžuslovjansky', # Interslavic (Latin)
'it' => 'italiano', # Italian
'iu' => 'ᐃᓄᒃᑎᑐᑦ / inuktitut', # Inuktitut (macro language, see ike/ikt, falls back to ike-cans)

View file

@ -44,9 +44,9 @@
<!--
sr-el and sr-ec are custom codes used in MediaWiki, and they are identical to sr,
which is present in the standard CLDR.
isv-latn use identical rules, and aren't present in CLDR. See task T369453.
isv-latn and isv-cyrl use identical rules, and aren't present in CLDR. See task T369453.
-->
<pluralRules locales="isv-latn sr-el sr-ec">
<pluralRules locales="isv-cyrl isv-latn sr-el sr-ec">
<pluralRule count="one">v = 0 and i % 10 = 1 and i % 100 != 11 or f % 10 = 1 and f % 100 != 11 @integer 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 10.1, 100.1, 1000.1, …</pluralRule>
<pluralRule count="few">v = 0 and i % 10 = 2..4 and i % 100 != 12..14 or f % 10 = 2..4 and f % 100 != 12..14 @integer 2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, … @decimal 0.2~0.4, 1.2~1.4, 2.2~2.4, 3.2~3.4, 4.2~4.4, 5.2, 10.2, 100.2, 1000.2, …</pluralRule>
<pluralRule count="other"> @integer 0, 5~19, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0, 0.5~1.0, 1.5~2.0, 2.5~2.7, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, …</pluralRule>

View file

@ -0,0 +1,30 @@
<?php
/** Interslavic (Cyrillic script) (меджусловјанскы)
*
* @file
* @ingroup Languages
*
* @author IJzeren Jan
*/
$namespaceNames = [
NS_TALK => 'Бесєда',
NS_USER => 'Користник',
NS_USER_TALK => есєда_сористником',
NS_PROJECT_TALK => есєда_о_$1',
NS_FILE => 'Файл',
NS_FILE_TALK => есєда_оайлу',
NS_MEDIAWIKI => 'MediaWiki',
NS_MEDIAWIKI_TALK => есєда_о_MediaWiki',
NS_TEMPLATE => 'Шаблон',
NS_TEMPLATE_TALK => есєда_оаблону',
NS_HELP => 'Помоч',
NS_HELP_TALK => есєда_о_помочи',
NS_CATEGORY => 'Категорија',
NS_CATEGORY_TALK => есєда_оатегорији',
];
$namespaceGenderAliases = [
NS_USER => [ 'male' => 'Користник', 'female' => 'Користница' ],
NS_USER_TALK => [ 'male' => есєда_сористником', 'female' => есєда_сористницеју' ],
];

View file

@ -3,6 +3,8 @@
*
* @file
* @ingroup Languages
*
* @author IJzeren Jan
*/
$namespaceNames = [
@ -21,3 +23,8 @@ $namespaceNames = [
NS_CATEGORY => 'Kategorija',
NS_CATEGORY_TALK => 'Besěda_o_kategoriji',
];
$namespaceGenderAliases = [
NS_USER => [ 'male' => 'Koristnik', 'female' => 'Koristnica' ],
NS_USER_TALK => [ 'male' => 'Besěda_s_koristnikom', 'female' => 'Besěda_s_koristniceju' ],
];