Skip to content

Commit

Permalink
Moved translations back to the project root
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Nov 24, 2017
1 parent acf07d1 commit ec60dc2
Show file tree
Hide file tree
Showing 39 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ script:
# this checks that the Twig template files contain no syntax errors
- ./bin/console lint:twig templates
# this checks that the XLIFF translations contain no syntax errors
- ./bin/console lint:xliff config/translations
- ./bin/console lint:xliff translations
# this checks that the application doesn't use dependencies with known security vulnerabilities
- ./bin/console security:check --end-point=http://security.sensiolabs.org/check_lock
# this checks that the composer.json and composer.lock files are valid
Expand Down
4 changes: 4 additions & 0 deletions config/packages/translation.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
framework:
default_locale: '%locale%'
translator:
# TODO: remove the 'paths' option when this is included in a stable release:
# https://github.com/symfony/symfony/pull/25083
paths:
- '%kernel.project_dir%/translations/'
fallbacks:
- '%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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ec60dc2

Please sign in to comment.