You are here

public function TranslatorTest::getValidLocalesTests in Plug 7

File

lib/Symfony/translation/Tests/TranslatorTest.php, line 451

Class

TranslatorTest

Namespace

Symfony\Component\Translation\Tests

Code

public function getValidLocalesTests() {
  return array(
    array(
      '',
    ),
    array(
      null,
    ),
    array(
      'fr',
    ),
    array(
      'francais',
    ),
    array(
      'FR',
    ),
    array(
      'frFR',
    ),
    array(
      'fr-FR',
    ),
    array(
      'fr_FR',
    ),
    array(
      'fr.FR',
    ),
    array(
      'fr-FR.UTF8',
    ),
    array(
      'sr@latin',
    ),
  );
}