Improve i18n in return authorization views.#817
Conversation
032ce27 to
22d1855
Compare
There was a problem hiding this comment.
I think we generally use Spree::StockLocation.human_name for these, no?
There was a problem hiding this comment.
Yeah. This wasn't merged in yet but it would be taken care of https://github.com/solidusio/solidus/pull/876/files#diff-3 if it's merged first or need to be rebased to take care of. I did this wrong in a number of places (every place in that PR) but since some were merged and some not I thought it made the most sense to handle it all in one PR and rebase as necessary.
Either way I can handle this change now instead of pushing something into master just to immediately change it.
22d1855 to
e92d5ff
Compare
|
So I tossed those other translations into new translations on model attributes that don't have corresponding column in the DB but if we want to do that I might need to take another sweep through the forms to be consistent because I'm pretty sure there are still some |
|
We should avoid them as much as possible, but "Ausnahmen machen die Regel", as Germans say. |
e92d5ff to
bdda19d
Compare
|
I'd say let's go on a case-by-case basis here. Aside from the comments I made regarding |
bdda19d to
c03343b
Compare
|
👍 |
|
@Murph33 Would you mind rebasing this on current master? |
Use model name and model attribute translations where logical. Change-Id: I8a56f3fa9aa158f4d2be205fce1808aa65728e9a
c03343b to
2119b80
Compare
|
Thanks! |
Use model name and model attribute translations where logical.
This is part of an ongoing effort to improve I18n use in solidus as discussed in #735.