function drush_command_translate

8.0.x drush_command_translate(&$command)
6.x drush_command_translate(&$command)
7.x drush_command_translate(&$command)
4.x drush_command_translate(&$command)
5.x drush_command_translate(&$command)
master drush_command_translate(&$command)

Translates description and other keys of a command definition.


$command: A command definition.

1 call to drush_command_translate()
drush_get_commands in includes/
Get a list of all implemented commands. This invokes hook_drush_command().


includes/, line 732
The drush command engine.


function drush_command_translate(&$command) {
  $command['description'] = _drush_command_translate($command['description']);
  $keys = array(
  foreach ($keys as $key) {
    foreach ($command[$key] as $k => $v) {
      $command[$key][$k] = _drush_command_translate($v);