Skip to content
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

Merged
merged 1 commit into from
Jan 17, 2017

Conversation

nicolas-bastien
Copy link
Contributor

Jira : https://jira.ez.no/browse/EZP-26834

Description

This PR adds a script to ease translation synchronisation to ezplatform-i18n

Copy link
Member

@bdunogier bdunogier left a 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';
Copy link
Member

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"
Copy link
Member

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
Copy link
Member

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 ;)

@nicolas-bastien nicolas-bastien force-pushed the EZP-26834-ezplatform-i18n-synchronization branch from f7d8e1e to a68dde6 Compare January 17, 2017 08:46
@nicolas-bastien nicolas-bastien merged commit 5231cbe into master Jan 17, 2017
@nicolas-bastien nicolas-bastien deleted the EZP-26834-ezplatform-i18n-synchronization branch January 17, 2017 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants