Move translations files to `/translations`

This is a recommendation for Symfony 5
This commit is contained in:
Jeremy Benoist 2022-12-15 21:18:50 +01:00
parent 63bcf50ea7
commit 5e2ad5f8db
No known key found for this signature in database
GPG Key ID: 7168D5DD29F38552
137 changed files with 3 additions and 8 deletions

View File

@ -40,11 +40,5 @@ jobs:
with:
composer-options: "--optimize-autoloader --prefer-dist"
- name: "Validate Core translations"
run: "php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v"
- name: "Validate CraueConfig translations"
run: "php bin/console lint:yaml app/Resources/CraueConfigBundle/translations -v"
- name: "Validate User translations"
run: "php bin/console lint:yaml src/Wallabag/UserBundle/Resources/translations -v"
- name: "Validate translations"
run: "php bin/console lint:yaml translations -v"

View File

@ -14,6 +14,7 @@ framework:
translator:
enabled: true
fallback: "%locale%"
default_path: '%kernel.project_dir%/translations'
secret: "%secret%"
router:
resource: "%kernel.project_dir%/app/config/routing.yml"

Some files were not shown because too many files have changed in this diff Show More