diff --git a/lib/Cake/Console/Command/Task/ExtractTask.php b/lib/Cake/Console/Command/Task/ExtractTask.php index 59b41359486..bcf38d386c8 100644 --- a/lib/Cake/Console/Command/Task/ExtractTask.php +++ b/lib/Cake/Console/Command/Task/ExtractTask.php @@ -114,7 +114,7 @@ function execute() { $this->__paths = explode(',', $this->params['paths']); } else { $defaultPath = APP_PATH; - $message = __d('cake_console', "What is the path you would like to extract?\nExample: %s\n[Q]uit [D]one", $defaultPath); + $message = __d('cake_console', "What is the path you would like to extract?\n[Q]uit [D]one"); while (true) { $response = $this->in($message, null, $defaultPath); if (strtoupper($response) === 'Q') { @@ -136,7 +136,7 @@ function execute() { if (isset($this->params['output'])) { $this->__output = $this->params['output']; } else { - $message = __d('cake_console', "What is the path you would like to output?\nExample: %s\n[Q]uit", $this->__paths[0] . DS . 'locale'); + $message = __d('cake_console', "What is the path you would like to output?\n[Q]uit", $this->__paths[0] . DS . 'locale'); while (true) { $response = $this->in($message, null, $this->__paths[0] . DS . 'locale'); if (strtoupper($response) === 'Q') { @@ -417,7 +417,7 @@ function __writeFiles() { if (strtoupper($response) === 'N') { $response = ''; while ($response == '') { - $response = $this->in(__d('cake_console', "What would you like to name this file?\nExample: %s", 'new_' . $filename), null, 'new_' . $filename); + $response = $this->in(__d('cake_console', "What would you like to name this file?"), null, 'new_' . $filename); $File = new File($this->__output . $response); $filename = $response; } diff --git a/lib/Cake/Console/Command/Task/TestTask.php b/lib/Cake/Console/Command/Task/TestTask.php index 56ecd502eb8..014988c5663 100644 --- a/lib/Cake/Console/Command/Task/TestTask.php +++ b/lib/Cake/Console/Command/Task/TestTask.php @@ -220,7 +220,7 @@ public function getClassName($objectType) { /** * Checks whether the chosen type can find its own fixtures. * Currently only model, and controller are supported - * + * * @param string $type The Type of object you are generating tests for eg. controller * @param string $className the Classname of the class the test is being generated for. * @return boolean