Commit d3253e67 authored by Michal Čihař's avatar Michal Čihař

Prefer new language codes for Serbian

Fixes #854
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 335c8baa
...@@ -55,14 +55,14 @@ EXTRALANGS = ( ...@@ -55,14 +55,14 @@ EXTRALANGS = (
'0', '0',
), ),
( (
'sr@latin', 'sr_Latn',
'Serbian (latin)', 'Serbian (latin)',
3, 3,
'n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && ' 'n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && '
'(n%100<10 || n%100>=20) ? 1 : 2', '(n%100<10 || n%100>=20) ? 1 : 2',
), ),
( (
'sr@cyrillic', 'sr_Cyrl',
'Serbian (cyrillic)', 'Serbian (cyrillic)',
3, 3,
'n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && ' 'n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && '
...@@ -733,4 +733,6 @@ LOCALE_ALIASES = { ...@@ -733,4 +733,6 @@ LOCALE_ALIASES = {
'iw': 'he', 'iw': 'he',
'ji': 'yi', 'ji': 'yi',
'in': 'id', 'in': 'id',
'sr@latin': 'sr_Latn',
'sr@cyrillic': 'sr_Cyrl',
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment