You are here

function locale_string_delete_form in Drupal 5

User interface for the string deletion confirmation screen.

1 string reference to 'locale_string_delete_form'
locale_admin_string_delete_page in modules/locale/locale.module
String deletion confirmation page.

File

modules/locale/locale.module, line 425
Enables administrators to manage the site interface languages.

Code

function locale_string_delete_form($source) {
  $form['lid'] = array(
    '#type' => 'value',
    '#value' => $source->lid,
  );
  return confirm_form($form, t('Are you sure you want to delete the string "%source"?', array(
    '%source' => $source->source,
  )), 'admin/build/translate/search', t('Deleting the string will remove all translations of this string in all languages. This action cannot be undone.'), t('Delete'), t('Cancel'));
}