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 Duplicate Locales Coming From spree_i18n #10871

Merged
merged 2 commits into from Aug 2, 2021
Merged

Fix Duplicate Locales Coming From spree_i18n #10871

merged 2 commits into from Aug 2, 2021

Conversation

MatthewKennedy
Copy link
Contributor

@MatthewKennedy MatthewKennedy commented Mar 15, 2021

I18n.available_locales finds all locales defined in the main Rails app and any installed gems.
The behaviour in spree_i18n seems to duplicate this unnecessarily.

@damianlegawiec damianlegawiec merged commit 7f527c4 into spree:master Aug 2, 2021
damianlegawiec pushed a commit that referenced this pull request Aug 3, 2021
* Revert "Fix Duplicate Locales Coming From spree_i18n (#10871)"

* Map to_sym so unique works.

* Fix test.

* Hard code values for result.

* Static code expected results.
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

3 participants