You are here

public function PluralizationRulesTest::failingLangcodes in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Tests/PluralizationRulesTest.php \Symfony\Component\Translation\Tests\PluralizationRulesTest::failingLangcodes()

This array should be at least empty within the near future.

This both depends on a complete list trying to add above as understanding the plural rules of the current failing languages.

Return value

array with nplural together with langcodes

File

vendor/symfony/translation/Tests/PluralizationRulesTest.php, line 80

Class

PluralizationRulesTest
Test should cover all languages mentioned on http://translate.sourceforge.net/wiki/l10n/pluralforms and Plural forms mentioned on http://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms.

Namespace

Symfony\Component\Translation\Tests

Code

public function failingLangcodes() {
  return array(
    array(
      '1',
      array(
        'fa',
      ),
    ),
    array(
      '2',
      array(
        'jbo',
      ),
    ),
    array(
      '3',
      array(
        'cbs',
      ),
    ),
    array(
      '4',
      array(
        'gd',
        'kw',
      ),
    ),
    array(
      '5',
      array(
        'ga',
      ),
    ),
    array(
      '6',
      array(),
    ),
  );
}