function potx_select_form_validate in Translation template extractor 5
Same name and namespace in other branches
- 5.2 potx.module \potx_select_form_validate()
- 6 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 89 - Gettext translation template and translation extractor.
Code
function potx_select_form_validate($form_id, $form) {
if (empty($form['module'])) {
form_set_error('', t('You should select a module to export.'));
}
}