1 locale.pages.inc locale_translate_delete_page($lid)

String deletion confirmation page.

File

core/modules/locale/locale.pages.inc, line 420
Interface translation summary, editing and deletion user interfaces.

Code

function locale_translate_delete_page($lid) {
  if ($source = db_query('SELECT lid, source FROM {locales_source} WHERE lid = :lid', array(':lid' => $lid))->fetchObject()) {
    return backdrop_get_form('locale_translate_delete_form', $source);
  }
  else {
    return MENU_NOT_FOUND;
  }
}