From 4ccd46329f84f75b11df6a65a64ab3a07eb6ad8b Mon Sep 17 00:00:00 2001 From: cedricnjanga Date: Tue, 27 Mar 2018 23:19:19 -0700 Subject: Refs #6156 Add i18n to referential table builder selected elements --- app/helpers/multiple_selection_toolbox_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/helpers/multiple_selection_toolbox_helper.rb b/app/helpers/multiple_selection_toolbox_helper.rb index e0a1d2dd4..7e02c6d73 100644 --- a/app/helpers/multiple_selection_toolbox_helper.rb +++ b/app/helpers/multiple_selection_toolbox_helper.rb @@ -20,7 +20,7 @@ module MultipleSelectionToolboxHelper data: { path: delete_path, # #5206 Missing Translations - confirm: 'Etes-vous sûr(e) de vouloir effectuer cette action ?' + confirm: t('actions.are_you_sure') }, title: t("actions.#{action}") ) do @@ -34,7 +34,7 @@ module MultipleSelectionToolboxHelper label = content_tag( :span, - ("0 élément(s) sélectionné(s)").html_safe, + ("0 #{t('table_builders.selected_elements')}").html_safe, class: 'info-msg' ) -- cgit v1.2.3