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

Improve i18n store credits #840

Merged
merged 2 commits into from
Feb 18, 2016

Conversation

Murph33
Copy link
Contributor

@Murph33 Murph33 commented Feb 11, 2016

This utilizies model attribute translation. Pulled a : into a translation in case that doesn't work as well in other languages. Removed an unnecessary <br /> from a translation and removed unnecessary html.safe options. Alphabetized a part of the store_credits namespace in the dictionary.

Did not address the form in the section as it was handled in a different PR presently jhawthorn@e6f5a57. This is part of an ongoing effort to improve I18n usage as discussed in #735.

Keys in use were renamed to be more consistent with the entire rest of
the project.  Use model name attribute where logical.
@cbrunsdon
Copy link
Contributor

for situations where ":" doesn't work well in a translation, we might want to start passing the other bits as params so people can customize them however they wish, instead of always value first.

I'm still 👍 for this, though.

@jhawthorn jhawthorn added i18n and removed i18n labels Feb 17, 2016
@jhawthorn
Copy link
Contributor

👍

jhawthorn added a commit that referenced this pull request Feb 18, 2016
@jhawthorn jhawthorn merged commit 3244fa1 into solidusio:master Feb 18, 2016
@Murph33 Murph33 deleted the improve_i18n_store_credits branch February 18, 2016 18:15
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.

3 participants