diff options
author | Aarni Koskela <akx@iki.fi> | 2016-07-08 21:03:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 21:03:48 +0300 |
commit | ad20a72d3e9ca6f97608592d8536efe70b45a4b6 (patch) | |
tree | 28ca16b204ae19bed0d5897b9b02d936ceb1148e | |
parent | 95a8632503c7c41daaf89227be7daf393d0aabc3 (diff) | |
parent | 128afa091715a194e1483f9d606c370cf6ae794d (diff) | |
download | babel-ad20a72d3e9ca6f97608592d8536efe70b45a4b6.tar.gz |
Merge pull request #373 from ykshatroff/fix-issue-372-wrong-plurals-for-cs-and-sk
Сorrect plural forms for cs and sk locales
-rw-r--r-- | babel/messages/plurals.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/babel/messages/plurals.py b/babel/messages/plurals.py index cc7b79e..38c04ca 100644 --- a/babel/messages/plurals.py +++ b/babel/messages/plurals.py @@ -75,7 +75,7 @@ PLURALS = { # Cree # 'cr': (), # Czech - 'cs': (3, '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)'), + 'cs': (3, '((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2)'), # Church Slavic # 'cu': (), # Chuvash @@ -171,7 +171,7 @@ PLURALS = { # Russian 'ru': (3, '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)'), # Slovak - 'sk': (3, '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)'), + 'sk': (3, '((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2)'), # Slovenian 'sl': (4, '(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)'), # Serbian - From Pootle's PO's |