Permalink
Browse files

use translations for tab name

  • Loading branch information...
1 parent ea8e701 commit 873552cefd2faba4c54f87adc34d1c50f9444fac @nashby committed May 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/refinery/copywriting/engine.rb
@@ -21,7 +21,7 @@ class Engine < Rails::Engine
initializer "register refinery_copywriting plugin", :after => :set_routes_reloader do |app|
::Refinery::Pages::Tab.register do |tab|
- tab.name = 'copywriting'
+ tab.name = ::I18n.t(:'refinery.plugins.refinerycms_copywriting.title')
tab.partial = '/refinery/pages/admin/tabs/copywriting'
end
@@ -42,4 +42,4 @@ class Engine < Rails::Engine
end
end
end
-end
+end

0 comments on commit 873552c

Please sign in to comment.