function locale_translate_delete_form
Same name and namespace in other branches
- 6.x drupal-6.x/includes/locale.inc \locale_translate_delete_form()
User interface for the string deletion confirmation screen.
Related topics
1 string reference to 'locale_translate_delete_form'
- locale_translate_delete_page in drupal-7.x/
modules/ locale/ locale.admin.inc - String deletion confirmation page.
Archivo
- drupal-7.x/
modules/ locale/ locale.admin.inc, line 1253 - Administration functions for locale.module.
Código
function locale_translate_delete_form($form, &$form_state, $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/config/regional/translate/translate', t('Deleting the string will remove all translations of this string in all languages. This action cannot be undone.'), t('Delete'), t('Cancel'));
}