_locale_export_po_form
includes/locale.inc, строка 275
- Версии
- 5
_locale_export_po_form($languages)
Код
<?php
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;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии