]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
fix maltese plurals
authorLukas Winkler <git@lw1.at>
Mon, 28 Jun 2021 19:35:26 +0000 (21:35 +0200)
committerAarni Koskela <akx@iki.fi>
Fri, 28 Jan 2022 11:56:43 +0000 (13:56 +0200)
babel/messages/plurals.py

index 9e25a80672616467cccaddc694e51cf7a848f4fe..52711a2953d2a72b5b25ad5cf08d6b556bf811b9 100644 (file)
@@ -154,7 +154,7 @@ PLURALS = {
     # Latvian
     'lv': (3, '(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)'),
     # Maltese - From Pootle's PO's
-    'mt': (4, '(n==1 ? 0 : n==0 || ( n%100=>1 && n%100<=10) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)'),
+    'mt': (4, '(n==1 ? 0 : n==0 || ( n%100>=1 && n%100<=10) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)'),
     # Norwegian BokmÃ¥l
     'nb': (2, '(n != 1)'),
     # Dutch