Skip to content

Commit af8b1e1

Browse files
committed
minor #703 Moved translations back to the project root (javiereguiluz)
This PR was squashed before being merged into the master branch (closes #703). Discussion ---------- Moved translations back to the project root This was approved: symfony/recipes#253 so translations must be moved back to the project root dir. Commits ------- ec60dc2 Moved translations back to the project root
2 parents f1e3f4b + f8a6066 commit af8b1e1

39 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ script:
3232
# this checks that the Twig template files contain no syntax errors
3333
- ./bin/console lint:twig templates
3434
# this checks that the XLIFF translations contain no syntax errors
35-
- ./bin/console lint:xliff config/translations
35+
- ./bin/console lint:xliff translations
3636
# this checks that the application doesn't use dependencies with known security vulnerabilities
3737
- ./bin/console security:check --end-point=http://security.sensiolabs.org/check_lock
3838
# this checks that the composer.json and composer.lock files are valid

config/packages/translation.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
framework:
22
default_locale: '%locale%'
33
translator:
4+
# TODO: remove the 'paths' option when this is included in a stable release:
5+
# https://github.com/symfony/symfony/pull/25083
6+
paths:
7+
- '%kernel.project_dir%/translations/'
48
fallbacks:
59
- '%locale%'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)