function potx_select_form_validate in Translation template extractor 6
Same name and namespace in other branches
- 5.2 potx.module \potx_select_form_validate()
- 5 potx.module \potx_select_form_validate()
- 6.2 potx.module \potx_select_form_validate()
- 7 potx.module \potx_select_form_validate()
Validation handler for potx module 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']['module'])) {
form_set_error('', t('You should select a module to export.'));
}
}