diff --git a/cake/console/console_input_argument.php b/cake/console/console_input_argument.php
index 65358689e..f212d2375 100644
--- a/cake/console/console_input_argument.php
+++ b/cake/console/console_input_argument.php
@@ -72,10 +72,10 @@ class ConsoleInputArgument {
}
$optional = '';
if (!$this->isRequired()) {
- $optional = ' (optional)';
+ $optional = __(' (optional)');
}
if (!empty($this->_choices)) {
- $optional .= sprintf(' (choices: %s)', implode('|', $this->_choices));
+ $optional .= sprintf(__(' (choices: %s)'), implode('|', $this->_choices));
}
return sprintf('%s%s%s', $name, $this->_help, $optional);
}
diff --git a/cake/console/console_input_option.php b/cake/console/console_input_option.php
index 852abadd2..af66be87b 100644
--- a/cake/console/console_input_option.php
+++ b/cake/console/console_input_option.php
@@ -76,7 +76,7 @@ class ConsoleInputOption {
$default = sprintf(__(' (default: %s)'), $this->_default);
}
if (!empty($this->_choices)) {
- $default .= sprintf(' (choices: %s)', implode('|', $this->_choices));
+ $default .= sprintf(__(' (choices: %s)'), implode('|', $this->_choices));
}
if (!empty($this->_short)) {
$short = ', -' . $this->_short;
diff --git a/cake/console/libs/i18n.php b/cake/console/libs/i18n.php
index 24cc1d8cd..afa601dc4 100644
--- a/cake/console/libs/i18n.php
+++ b/cake/console/libs/i18n.php
@@ -110,7 +110,9 @@ class I18nShell extends Shell {
public function getOptionParser() {
$parser = parent::getOptionParser();
return $parser->description(__('I18n Shell initializes i18n database table for your application and generates .pot files(s) with translations.'))
- ->addSubcommand('initdb', array('help' => __('Initialize the i18n table.')))
+ ->addSubcommand('initdb', array(
+ 'help' => __('Initialize the i18n table.')
+ ))
->addSubcommand('extract', array(
'help' => __('Extract the po translations from your application'),
'parser' => $this->Extract->getOptionParser()