mirror of https://github.com/wallabag/wallabag.git
Move translations files to `/translations`
This is a recommendation for Symfony 5
This commit is contained in:
parent
63bcf50ea7
commit
5e2ad5f8db
|
@ -40,11 +40,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
composer-options: "--optimize-autoloader --prefer-dist"
|
composer-options: "--optimize-autoloader --prefer-dist"
|
||||||
|
|
||||||
- name: "Validate Core translations"
|
- name: "Validate translations"
|
||||||
run: "php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v"
|
run: "php bin/console lint:yaml 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"
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ framework:
|
||||||
translator:
|
translator:
|
||||||
enabled: true
|
enabled: true
|
||||||
fallback: "%locale%"
|
fallback: "%locale%"
|
||||||
|
default_path: '%kernel.project_dir%/translations'
|
||||||
secret: "%secret%"
|
secret: "%secret%"
|
||||||
router:
|
router:
|
||||||
resource: "%kernel.project_dir%/app/config/routing.yml"
|
resource: "%kernel.project_dir%/app/config/routing.yml"
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue