You are here

function _coder_review_i18n_watchdog_with_t in Coder 7

1 string reference to '_coder_review_i18n_watchdog_with_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 187
This include file implements coder functionality to check for Internationalization issues.

Code

function _coder_review_i18n_watchdog_with_t() {
  return array(
    '#warning' => t('The $message argument to !watchdog() should NOT be enclosed within !t(), so that it can be properly translated at display time.', array(
      '!watchdog' => theme('drupalapi', array(
        'function' => 'watchdog',
      )),
      '!t' => theme('drupalapi', array(
        'function' => 't',
      )),
    )),
  );
}