This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Translation
Jordi Boggiano 3cbc99c180 [Translation] Added flatten method on ArrayLoader
This allows the translations to be deeply nested arrays that will be flattened, allowing for namespacing of translations easily.

The following:
  'key' => array('key2' => array('key3' => 'value'))
Becomes:
  'key.key2.key3' => 'value'

This isn't applied to Xliff since it does not make sense within the scope of the XLIFF standard
2010-11-16 07:20:57 +01:00
..
fixtures [Translation] added some unit tests for the new YAML loader 2010-11-15 09:37:04 +01:00
Loader [Translation] added some unit tests for the new YAML loader 2010-11-15 09:37:04 +01:00
Resource [Translation] added some unit tests 2010-10-31 23:23:42 +01:00
IdentityTranslatorTest.php [Translation] added some unit tests 2010-10-31 23:23:42 +01:00
IntervalTest.php [Translation] renamed Range to Interval 2010-09-28 07:14:43 +02:00
MessageCatalogTest.php [Translation] added some unit tests 2010-10-31 23:23:42 +01:00
MessageSelectorTest.php [Translation] added some unit tests 2010-10-31 23:23:42 +01:00
TranslatorTest.php [Translation] Added flatten method on ArrayLoader 2010-11-16 07:20:57 +01:00