locale_translate_delete_form

Versions
6
locale_translate_delete_form(&$form_state, $source)
7
locale_translate_delete_form($form, &$form_state, $source)

User interface for the string deletion confirmation screen.

Related topics

Code

includes/locale.inc, line 1548

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

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.