#61692 by Zen, Filter module: Missing t()

5.x
Neil Drumm 2006-05-04 09:50:35 +00:00
parent 79598dc723
commit a658867204
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@ function filter_admin_delete() {
return confirm_form('filter_admin_delete', $form, t('Are you sure you want to delete the input format %format?', array('%format' => theme('placeholder', $format->name))), 'admin/filters', t('If you have any content left in this input format, it will be switched to the default input format. This action cannot be undone.'), t('Delete'), t('Cancel'));
}
else {
drupal_set_message('The default format cannot be deleted.');
drupal_set_message(t('The default format cannot be deleted.'));
drupal_goto('admin/filters');
}
}

View File

@ -361,7 +361,7 @@ function filter_admin_delete() {
return confirm_form('filter_admin_delete', $form, t('Are you sure you want to delete the input format %format?', array('%format' => theme('placeholder', $format->name))), 'admin/filters', t('If you have any content left in this input format, it will be switched to the default input format. This action cannot be undone.'), t('Delete'), t('Cancel'));
}
else {
drupal_set_message('The default format cannot be deleted.');
drupal_set_message(t('The default format cannot be deleted.'));
drupal_goto('admin/filters');
}
}