We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae502ad commit b632aafCopy full SHA for b632aaf
composer.json
@@ -50,5 +50,10 @@
50
"phpunit",
51
"phpcs"
52
]
53
+ },
54
+ "config": {
55
+ "allow-plugins": {
56
+ "kylekatarnls/update-helper": false
57
+ }
58
}
59
tests/LocalesTest.php
@@ -37,8 +37,8 @@ public function testLocalesVariants()
37
38
$pluralForms = $translations->getPluralForms();
39
40
- $this->assertEquals(2, $pluralForms[0]);
41
- $this->assertEquals('n > 1', $pluralForms[1]);
+ $this->assertEquals(3, $pluralForms[0]);
+ $this->assertEquals('(n == 0 || n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)', $pluralForms[1]);
42
43
$translations->setLanguage('az');
44
0 commit comments