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

Error message for duplicated phrases not allowed in Generator.php #1185

Merged
merged 2 commits into from
Apr 30, 2015

Conversation

ctubio
Copy link
Contributor

@ctubio ctubio commented Apr 13, 2015

When running dev/tools/Magento/Tools/I18n/pack.php, if duplicated translations are not allowed but duplicated translations are found, it displays a misleading error message:

$ php -f dev/tools/Magento/Tools/I18n/pack.php -- --source app/i18n/ctubio/ca_es/ca_ES.csv --locale ca_ES --pack ./
Duplicated translation is found, but it is not allowed.
The phrase "Qty for Item's Status to Become Out of Stock" is translated differently in 2 places.

It is not really true that each duplicated phrase is translated differently, is possible that they are translated equal, and people may potentially lose time while looking for the nonexistent differences in order to fix the error.

The error message is displayed when duplicated phrases are not allowed but some are found, regardless if they are translated equal or different.

@vpelipenko vpelipenko added Progress: accept Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development labels Apr 28, 2015
@vpelipenko
Copy link
Contributor

CR: passed
Builds: green
Resolution: OK to merge
Internal ticket: MAGETWO-36722

vpelipenko added a commit that referenced this pull request Apr 30, 2015
Error message for duplicated phrases not allowed in Generator.php
@vpelipenko vpelipenko merged commit 78f470b into magento:develop Apr 30, 2015
magento-team pushed a commit that referenced this pull request Jun 13, 2017
[Troll] MAGETWO-67087: Saving category deletes url-rewrites for products in anchor categories
magento-engcom-team pushed a commit that referenced this pull request Feb 6, 2018
 - Merge Pull Request magento-engcom/magento2ce#1185 from serhii-balko/magento2:github-11798
 - Merged commits:
   1. 451f7b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: accept
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants