Browse Source

Use t() function in confirmation form.

pull/677/head
Rosie Le Faive 8 years ago
parent
commit
792a1807f1
  1. 6
      includes/object_properties.form.inc

6
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?'); $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"; $path = "islandora/object/{$form_state['object']->id}/manage/properties";
return confirm_form(array(), 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, $path,
$desc, $desc,
'Continue', t('Continue'),
'Cancel'); t('Cancel'));
} }

Loading…
Cancel
Save