refinery/refinerycms-page-images

Tab name not translated

javinto opened this issue · 1 comments

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.

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