From 792a1807f1d4a065439c622f3c30d80d2fb3436b Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Sun, 6 Aug 2017 11:36:18 -0300 Subject: [PATCH] Use t() function in confirmation form. --- includes/object_properties.form.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/object_properties.form.inc b/includes/object_properties.form.inc index d55c6b38..b7ab99a2 100644 --- a/includes/object_properties.form.inc +++ b/includes/object_properties.form.inc @@ -244,9 +244,9 @@ function islandora_object_properties_confirm_form(&$form_state) { $desc = t('You do not have permission to view Inactive or Deleted objects, so you will no longer be able to view or manage this object. Are you sure?'); $path = "islandora/object/{$form_state['object']->id}/manage/properties"; return confirm_form(array(), - 'Are you sure you want to set the object state?', + t('Are you sure you want to set the object state?'), $path, $desc, - 'Continue', - 'Cancel'); + t('Continue'), + t('Cancel')); }