You are here

function _coder_i18n_l_without_t in Coder 6

Same name and namespace in other branches
  1. 6.2 includes/coder_i18n.inc \_coder_i18n_l_without_t()

Define the warning callbacks.

1 string reference to '_coder_i18n_l_without_t'
coder_i18n_reviews in includes/coder_i18n.inc
Implementation of hook_reviews().

File

includes/coder_i18n.inc, line 97
This include file implements coder functionality to check for Internationalization issues.

Code

function _coder_i18n_l_without_t() {
  return array(
    '#warning' => t('The $text argument to !l() should be enclosed within !t() so that it is translatable.', array(
      '!l' => theme('drupalapi', 'l'),
      '!t' => theme('drupalapi', 't'),
    )),
  );
}