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

Tab name not translated #141

Open
javinto opened this issue Dec 21, 2016 · 1 comment
Open

Tab name not translated #141

javinto opened this issue Dec 21, 2016 · 1 comment

Comments

@javinto
Copy link

javinto commented Dec 21, 2016

On initializing the PageImage extension it says:

def self.register(tab)
    tab.name = ::I18n.t(:'refinery.plugins.refinery_page_images.tab_name')
    tab.partial = "/refinery/admin/pages/tabs/images"
end

Unfortunately the tab.name is not correctly translated as the preferred locale has not yet been set. It keeps showing 'Images' while my locale has been set to :nl.

@bricesanchez
Copy link
Member

Hi @javinto could you provide a pull request to fix this issue?

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

No branches or pull requests

2 participants