8000 bug #15150 [Translation] Azerbaijani language pluralization rule is w… · symfony/symfony@2c0c232 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c0c232

Browse files
committed
bug #15150 [Translation] Azerbaijani language pluralization rule is wrong (shehi)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #15150). Discussion ---------- [Translation] Azerbaijani language pluralization rule is wrong In AZ, as in TR, pluralization is always 0: 0 kitab (zero books) 1 kitab (1 book) 3 kitab (3 books) 104 kitab (104 books) Apparently ZF ruleset was wrong in the first place :) | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #15152 | License | MIT | Doc PR | - Commits ------- efd927a Azerbaijani language pluralization rule
2 parents 9de0d60 + efd927a commit 2c0c232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Translation/PluralizationRules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public static function get($number, $locale)
5656
* Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
5757
*/
5858
switch ($locale) {
59+
case 'az':
5960
case 'bo':
6061
case 'dz':
6162
case 'id':
@@ -74,7 +75,6 @@ public static function get($number, $locale)
7475
break;
7576

7677
case 'af':
77-
case 'az':
7878
case 'bn':
7979
case 'bg':
8080
case 'ca':

0 commit comments

Comments
 (0)
0