diff --git a/app/controllers/themengruppen_controller.rb b/app/controllers/themengruppen_controller.rb index aba10ca..07c0a06 100644 --- a/app/controllers/themengruppen_controller.rb +++ b/app/controllers/themengruppen_controller.rb @@ -22,7 +22,7 @@ class ThemengruppenController < ApplicationController @toolbar_elements = [] @toolbar_elements << {:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('thema.add'), :path=>new_themengruppe_thema_path(@themengruppe)} if can? :new, Themengruppe @toolbar_elements << {:icon=>:pencil, :hicon=>'icon-pencil', :text=>I18n.t('themengruppe.edit'), :path=>edit_themengruppe_path(@themengruppe)} if can? :edit, @themengruppe - @toolbar_elements << {:icon=>:pencil, :hicon=>'icon-pencil', :text=>I18n.t("themengruppe.verwalten"), :path=>themengruppe_verwalten_path(@themengruppe)} if can? :edit, @themengruppe + @toolbar_elements << {:icon=>:pencil, :hicon=>'icon-pencil', :text=>I18n.t("themengruppe.manage"), :path=>themengruppe_verwalten_path(@themengruppe)} if can? :edit, @themengruppe @toolbar_elements << {:hicon=>'icon-remove-circle',:text=>I18n.t('themengruppe.remove'), :path=>themengruppe_path(@themengruppe), :method=>:delete,:confirm=>I18n.t('themengruppe.sure')} if can? :delete, @themengruppe diff --git a/config/locales/themen.de.yml b/config/locales/themen.de.yml index 7430b27..3b0229b 100644 --- a/config/locales/themen.de.yml +++ b/config/locales/themen.de.yml @@ -5,6 +5,7 @@ de: edit: "Themengruppe bearbeiten" remove: "Themengruppe löschen" sure: "Sicher, dass Sie diese Themengruppe löschen möchten?" + manage: "Themengruppe verwalten" thema: add: "Thema hinzufügen" edit: "Thema bearbeiten"