mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-30 13:34:28 +02:00
Added symfony translation bundle, and updated german translations.
This commit is contained in:
parent
86eda36a2e
commit
6d7150e202
12 changed files with 697 additions and 172 deletions
|
@ -18,4 +18,5 @@ return [
|
|||
Omines\DataTablesBundle\DataTablesBundle::class => ['all' => true],
|
||||
Shivas\VersioningBundle\ShivasVersioningBundle::class => ['all' => true],
|
||||
FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true],
|
||||
Translation\Bundle\TranslationBundle::class => ['all' => true],
|
||||
];
|
||||
|
|
5
config/packages/dev/php_translation.yaml
Normal file
5
config/packages/dev/php_translation.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
translation:
|
||||
symfony_profiler:
|
||||
enabled: true
|
||||
webui:
|
||||
enabled: true
|
11
config/packages/php_translation.yaml
Normal file
11
config/packages/php_translation.yaml
Normal file
|
@ -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]
|
6
config/routes/dev/php_translation.yaml
Normal file
6
config/routes/dev/php_translation.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
_translation_webui:
|
||||
resource: "@TranslationBundle/Resources/config/routing_webui.yml"
|
||||
prefix: /admin
|
||||
|
||||
_translation_profiler:
|
||||
resource: '@TranslationBundle/Resources/config/routing_symfony_profiler.yml'
|
3
config/routes/php_translation.yaml
Normal file
3
config/routes/php_translation.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
_translation_edit_in_place:
|
||||
resource: '@TranslationBundle/Resources/config/routing_edit_in_place.yml'
|
||||
prefix: /admin
|
Loading…
Add table
Add a link
Reference in a new issue