Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Translation broken? #103

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

Looks like the translation namespace has been broken after Page has been namespaced to spree module.
0627983#L10R13
I have pocked a bit around in the console and when we call

Spree::Page.human_attribute_name(:title)

I18n searches for

en.activerecord.attributes.spree/page.title

While in project translation files https://github.com/spree/spree_static_content/blob/master/config/locales/en.yml

en:
  activerecord:
    attributes:
      page: &page_labels
        title: Title 

Correct me if I'm wrong but I believe it should be

en:
  activerecord:
    attributes:
      spree/page: &page_labels
        title: Title 

If it does make sense I can fix all translation files unless someone has a better idea.

@JDutil JDutil closed this in 8a42391 Mar 15, 2013

Owner

JDutil commented Mar 15, 2013

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment