You are here

function locale_string_delete_form in Localization client 5

User interface for the string deletion confirmation screen.

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

File

locale/locale.module, line 437
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'));
}