PHP-Translations version 0.10.0

This commit is contained in:
Nyholm
2019-12-26 14:47:56 +01:00
parent 36a451fc48
commit 7d2cf04139
5 changed files with 33 additions and 0 deletions
@@ -0,0 +1,5 @@
translation:
symfony_profiler:
enabled: true
webui:
enabled: true
@@ -0,0 +1,11 @@
translation:
locales: ["en"]
edit_in_place:
enabled: false
config_name: app
configs:
app:
dirs: ["%kernel.project_dir%/templates", "%kernel.project_dir%/src"]
output_dir: "%kernel.project_dir%/translations"
excluded_names: ["*TestCase.php", "*Test.php"]
excluded_dirs: [cache, data, logs]
@@ -0,0 +1,6 @@
_translation_webui:
resource: "@TranslationBundle/Resources/config/routing_webui.yaml"
prefix: /admin
_translation_profiler:
resource: '@TranslationBundle/Resources/config/routing_symfony_profiler.yaml'
@@ -0,0 +1,3 @@
_translation_edit_in_place:
resource: '@TranslationBundle/Resources/config/routing_edit_in_place.yaml'
prefix: /admin
@@ -0,0 +1,8 @@
{
"bundles": {
"Translation\\Bundle\\TranslationBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}