diff options
| author | Zog | 2018-04-17 15:31:18 +0200 |
|---|---|---|
| committer | Zog | 2018-04-17 15:31:18 +0200 |
| commit | 1da7c1caf8f3bab86cc4c5095d75c1d60e603759 (patch) | |
| tree | e9d6644af14ab0ea31581456d0c1f1156d9084af | |
| parent | c24e4c00167f262557fe175c709266fa85eadd47 (diff) | |
| download | chouette-core-1da7c1caf8f3bab86cc4c5095d75c1d60e603759.tar.bz2 | |
Refs #6543; Fix missing translation
| -rw-r--r-- | app/helpers/multiple_selection_toolbox_helper.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/helpers/multiple_selection_toolbox_helper.rb b/app/helpers/multiple_selection_toolbox_helper.rb index 7e02c6d73..012851b4a 100644 --- a/app/helpers/multiple_selection_toolbox_helper.rb +++ b/app/helpers/multiple_selection_toolbox_helper.rb @@ -4,7 +4,7 @@ module MultipleSelectionToolboxHelper # #5206 method too long def multiple_selection_toolbox(actions, collection_name:) links = content_tag :ul do - + # #5206 `if params[:controller]` mieux passer comme parametre si besoin delete_path = nil @@ -19,8 +19,7 @@ module MultipleSelectionToolboxHelper method: :delete, data: { path: delete_path, - # #5206 Missing Translations - confirm: t('actions.are_you_sure') + confirm: t('are_you_sure') }, title: t("actions.#{action}") ) do @@ -38,7 +37,7 @@ module MultipleSelectionToolboxHelper class: 'info-msg' ) - content_tag :div, '', + content_tag :div, '', class: 'select_toolbox noselect', id: "selected-#{collection_name}-action-box" do links + label |
