-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Allowing translations to be easily extracted #212
Conversation
AnnotationReader::addGlobalIgnoredName('When'); | ||
AnnotationReader::addGlobalIgnoredName('Then'); | ||
AnnotationReader::addGlobalIgnoredName('BeforeSuite'); | ||
AnnotationReader::addGlobalIgnoredName('AfterScenario'); |
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.
IMO this is not right place, mostly because it fails only for behat, not globally.
Entire Behat directory can be ignored by adding ignore option when running
|
Maybe we should wrap extraction into single command to extract translations
|
@umpirsky I really like your solution. So I close this PR. |
@umpirsky I got a question about translations, I extracted translations from every bundle separately, should I then PR as separate translation for every bundle or put it to SyliusWebBundle , what's the strategy for them right now ? |
Bundles are independent, so separate PR for each is the way to go.
|
When extracting Core or Web bundles translations, we always face this exception :
As explained by everzet himself here https://github.com/Behat/MinkBundle/issues/29 this PR resolves, the problem.