You are here

function _locale_export_pot_form in Drupal 5

1 string reference to '_locale_export_pot_form'
_locale_admin_export_screen in includes/locale.inc
User interface for the translation export screen

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;
}