Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[translations] Moved the application translations directory under Res…
…ources to be consistent with bundles
  • Loading branch information
noelg committed Apr 29, 2011
1 parent f8cc8a7 commit f644bbc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions UPDATE.md
Expand Up @@ -44,6 +44,17 @@ beta1 to beta2
Before: array('default', 'foo')
After: array('default' => 'doctrine.orm.default_entity_manager', 'foo' => 'doctrine.orm.foo_entity_manager'))

* Application translation are now in the `Resources` folder:

Before:

app/translations/catalogue.fr.xml

After:

app/Resources/translations/catalogue.fr.xml


PR12 to beta1
-------------

Expand Down
Expand Up @@ -440,7 +440,7 @@ private function registerTranslatorConfiguration(array $config, ContainerBuilder
$dirs[] = $dir;
}
}
if (is_dir($dir = $container->getParameter('kernel.root_dir').'/translations')) {
if (is_dir($dir = $container->getParameter('kernel.root_dir').'/Resources/translations')) {
$dirs[] = $dir;
}

Expand Down

0 comments on commit f644bbc

Please sign in to comment.