You are here

function _coder_review_i18n_l_without_t in Coder 7

Define the warning callbacks.

1 string reference to '_coder_review_i18n_l_without_t'
coder_review_i18n_reviews in coder_review/includes/coder_review_i18n.inc
Implements hook_reviews().

File

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

Code

function _coder_review_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', array(
        'function' => 'l',
      )),
      '!t' => theme('drupalapi', array(
        'function' => 't',
      )),
    )),
  );
}