mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-22 00:51:01 +00:00
Move translations files to /translations
This is a recommendation for Symfony 5
This commit is contained in:
parent
63bcf50ea7
commit
5e2ad5f8db
137 changed files with 3 additions and 8 deletions
10
.github/workflows/translations.yml
vendored
10
.github/workflows/translations.yml
vendored
|
@ -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 a new issue