8000 Moved translations back to the project root · symfony/demo@ec60dc2 · GitHub
[go: up one dir, main page]

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

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.
< 56A7 div class="fgColor-muted p-2" data-diff-anchor="diff-db4bcb60cc315b4e041feb8a0cd19406b7e46e679c2ce25d0c5545863f3d58be">File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
0