-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-26834: Synchronize translations in ezplatform-i18n #153
EZP-26834: Synchronize translations in ezplatform-i18n #153
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor remarks, but I'm fine with it otherwise.
rm ./vendor/ezsystems/ezplatform-i18n/ezpublish-kernel/*.xlf | ||
rm ./vendor/ezsystems/ezplatform-i18n/repository-forms/*.xlf | ||
|
||
echo '# Miror the translation files'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Mirror"
@@ -48,7 +48,8 @@ | |||
"behat/mink-goutte-driver": "*", | |||
"behat/mink-selenium2-driver": "*", | |||
"jarnaiz/behat-junit-formatter": "^1.3", | |||
"ezsystems/behatbundle": "^6.3" | |||
"ezsystems/behatbundle": "^6.3", | |||
"ezsystems/ezplatform-i18n": "^1.0@dev" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you move the new requirement to another line ? We did say that we would try to avoid generating conflicts for users, and the last line of require
or require-dev
is a good place to start from :)
I'd move it either in first position, or around the top.
@@ -0,0 +1,21 @@ | |||
#!/usr/bin/env sh | |||
# This script should be used to synchronize ezplatform-i18n repository | |||
# Translations should be extracted in each bundles before this step |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd replace this with "Translations must be up-to-date in all packages".
Since translations are supposed to be update in pull-requests, they should always be up-to-date ;)
f7d8e1e
to
a68dde6
Compare
Jira : https://jira.ez.no/browse/EZP-26834
Description
This PR adds a script to ease translation synchronisation to ezplatform-i18n