locale_string_delete_form

5 locale.module locale_string_delete_form($source)

User interface for the string deletion confirmation screen.

1 string reference to 'locale_string_delete_form'

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'));
}
Login or register to post comments