You are here

function _locale_export_po_form in Drupal 5

2 string references to '_locale_export_po_form'
_locale_admin_export_screen in includes/locale.inc
User interface for the translation export screen
_locale_export_pot_form in includes/locale.inc

File

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

Code

function _locale_export_po_form($languages) {
  $form['export'] = array(
    '#type' => 'fieldset',
    '#title' => t('Export translation'),
    '#collapsible' => TRUE,
  );
  $form['export']['langcode'] = array(
    '#type' => 'select',
    '#title' => t('Language name'),
    '#options' => $languages,
    '#description' => t('Select the language you would like to export in gettext Portable Object (.po) format.'),
  );
  $form['export']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Export'),
  );
  return $form;
}