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

Fix error message for shipping method 3-1-stable #7476

Conversation

renatonitta
Copy link
Contributor

@renatonitta renatonitta commented Jul 15, 2016

If you try to create a shipping method with no shipping category, the error message shows missing translation.
screen shot 2016-07-15 at 4 01 12 pm

The fact is the locale key is there -> https://github.com/spree/spree/blob/3-1-stable/core/config/locales/en.yml#L334-L337

But some lines below, it is overwritten by duplicate node -> https://github.com/spree/spree/blob/3-1-stable/core/config/locales/en.yml#L353-L356

This PR removes the duplicate node and also the locale key nested in it, because it seems to be there by mistake.

@damianlegawiec
Copy link
Member

Thanks @RenatoCN - could you also do a PR with this change against master?

@renatonitta
Copy link
Contributor Author

@damianlegawiec sure.

@damianlegawiec damianlegawiec merged commit 476bf3b into spree:3-1-stable Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants