function _coder_i18n_form_error_without_t in Coder 6
Same name and namespace in other branches
- 6.2 includes/coder_i18n.inc \_coder_i18n_form_error_without_t()
1 string reference to '_coder_i18n_form_error_without_t'
- coder_i18n_reviews in includes/
coder_i18n.inc - Implementation of hook_reviews().
File
- includes/
coder_i18n.inc, line 145 - This include file implements coder functionality to check for Internationalization issues.
Code
function _coder_i18n_form_error_without_t() {
return array(
'#warning' => t('The $message argument to !form_error() should be enclosed within !t() so that it is translatable.', array(
'!form_error' => theme('drupalapi', 'form_error'),
'!t' => theme('drupalapi', 't'),
)),
);
}