_locale_export_pot_form

5 locale.inc _locale_export_pot_form()

1 string reference to '_locale_export_pot_form'

File

includes/locale.inc, line 310
Admin-related functions for locale.module.

Code

function _locale_export_pot_form() {
  // Complete template export of the strings
  $form['export'] = array(
    '#type' => 'fieldset', 
    '#title' => t('Export template'), 
    '#collapsible' => TRUE, 
    '#description' => t('Generate a gettext Portable Object Template (.pot) file with all the interface strings from the Drupal locale database.'),
  );
  $form['export']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Export'),
  );
  $form['#base'] = '_locale_export_po_form';
  return $form;
}
Login or register to post comments