function _drush_command_translate

8.0.x command.inc _drush_command_translate($source)
6.x command.inc _drush_command_translate($source)
7.x command.inc _drush_command_translate($source)
4.x command.inc _drush_command_translate($source)
5.x command.inc _drush_command_translate($source)
master command.inc _drush_command_translate($source)

Helper function for drush_command_translate().

Parameters

$source: String or array.

1 call to _drush_command_translate()
drush_command_translate in includes/command.inc
Translates description and other keys of a command definition.

File

includes/command.inc, line 1226
The drush command engine.

Code

function _drush_command_translate($source) {
  return is_array($source) ? call_user_func_array('dt', $source) : dt($source);
}