function potx_select_form_validate in Translation template extractor 7
Same name and namespace in other branches
- 5.2 potx.module \potx_select_form_validate()
- 5 potx.module \potx_select_form_validate()
- 6 potx.module \potx_select_form_validate()
- 6.2 potx.module \potx_select_form_validate()
Validation handler for potx component selection form.
File
- ./
potx.module, line 84 - Gettext translation template and translation extractor.
Code
function potx_select_form_validate($form, &$form_state) {
if (empty($form_state['values']['component'])) {
form_set_error('', t('You should select a component to export.'));
}
}