Skip to content

Commit

Permalink
minor #703 Moved translations back to the project root (javiereguiluz)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mwhorse46 committed Nov 24, 2017
2 parents f1e3f4b + f8a6066 commit af8b1e1
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 af8b1e1

Please sign in to comment.