You are here

function _coder_review_i18n_space_starts_or_ends_t in Coder 7

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

Code

function _coder_review_i18n_space_starts_or_ends_t() {
  return array(
    '#warning' => t('The $string argument to !t() should not begin or end with a space.', array(
      '!t' => theme('drupalapi', array(
        'function' => 't',
      )),
    )),
    '#link' => 'http://drupal.org/node/304150',
  );
}