Skip to content

Commit ec60dc2

Browse files
committed
Moved translations back to the project root
1 parent acf07d1 commit ec60dc2

39 files changed

+5
-1
lines changed

.travis.yml

+1-1
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

+4
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.
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.
File renamed without changes.

0 commit comments

Comments
 (0)