You are here

function _coder_i18n_in_install_t in Coder 6

Same name and namespace in other branches
  1. 6.2 includes/coder_i18n.inc \_coder_i18n_in_install_t()
1 string reference to '_coder_i18n_in_install_t'
coder_i18n_reviews in includes/coder_i18n.inc
Implementation of hook_reviews().

File

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

Code

function _coder_i18n_in_install_t() {
  return array(
    '#warning' => t('Use !get_t() or !st() instead of !t() in !hook_install(), !hook_uninstall() and !hook_update_N()', array(
      '!get_t' => theme('drupalapi', 'get_t'),
      '!st' => theme('drupalapi', 'st'),
      '!t' => theme('drupalapi', 't'),
      '!hook_install' => theme('drupalapi', 'hook_install'),
      '!hook_uninstall' => theme('drupalapi', 'hook_uninstall'),
      '!hook_update_N' => theme('drupalapi', 'hook_update_N'),
    )),
  );
}