You are here

function _t in Coder 7.2

Define a wrapper t() function that works in Drush cli.

Parameters

string $string:

array $args:

array $options:

Return value

string

See also

t()

11 calls to _t()
coder_review_help in coder_review/coder_review.module
Implements hook_help().
coder_review_page_form in coder_review/coder_review.module
Implements hook_form().
do_coder_review in coder_review/coder_review.common.inc
Performs a code review for a review array.
do_coder_reviews in coder_review/coder_review.common.inc
Performs coder reviews for multiple code review definition files.
do_coder_review_callback in coder_review/coder_review.common.inc
Performs a 'callback' type of coder_review.

... See full list

File

coder_review/coder_review.common.inc, line 1435
Common functions used by both the drush and form interfaces.

Code

function _t($string, $args = array(), $options = array()) {
  return _drush() ? dt($string, $args) : t($string, $args, $options);
}