diff --git a/lib/Cake/Console/Command/Task/ExtractTask.php b/lib/Cake/Console/Command/Task/ExtractTask.php index 1f876b9901a..59b41359486 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 full 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?\nExample: %s\n[Q]uit [D]one", $defaultPath); 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 full 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?\nExample: %s\n[Q]uit", $this->__paths[0] . DS . 'locale'); while (true) { $response = $this->in($message, null, $this->__paths[0] . DS . 'locale'); if (strtoupper($response) === 'Q') { @@ -201,13 +201,13 @@ public function getOptionParser() { $parser = parent::getOptionParser(); return $parser->description(__d('cake_console', 'CakePHP Language String Extraction:')) ->addOption('app', array('help' => __d('cake_console', 'Directory where your application is located.'))) - ->addOption('paths', array('help' => __d('cake_console', 'Comma separted list of paths, full paths are needed.'))) + ->addOption('paths', array('help' => __d('cake_console', 'Comma separted list of paths.'))) ->addOption('merge', array( 'help' => __d('cake_console', 'Merge all domain strings into the default.po file.'), 'choices' => array('yes', 'no') )) ->addOption('output', array('help' => __d('cake_console', 'Full path to output directory.'))) - ->addOption('files', array('help' => __d('cake_console', 'Comma separated list of files, full paths are needed.'))) + ->addOption('files', array('help' => __d('cake_console', 'Comma separated list of files.'))) ->addOption('exclude', array( 'help' => __d('cake_console', 'Comma separated list of directories to exclude. Any path containing a path segment with the provided values will be skipped. E.g. test,vendors') )); @@ -231,10 +231,10 @@ public function help() { $this->out(__d('cake_console', ' -app [path...]: directory where your application is located')); $this->out(__d('cake_console', ' -root [path...]: path to install')); $this->out(__d('cake_console', ' -core [path...]: path to cake directory')); - $this->out(__d('cake_console', ' -paths [comma separated list of paths, full path is needed]')); + $this->out(__d('cake_console', ' -paths [comma separated list of paths]')); $this->out(__d('cake_console', ' -merge [yes|no]: Merge all domains strings into the default.pot file')); $this->out(__d('cake_console', ' -output [path...]: Full path to output directory')); - $this->out(__d('cake_console', ' -files: [comma separated list of files, full path to file is needed]')); + $this->out(__d('cake_console', ' -files: [comma separated list of files]')); $this->out(); $this->out(__d('cake_console', 'Commands:')); $this->out(__d('cake_console', ' cake i18n extract help: Shows this help message.')); diff --git a/lib/Cake/Console/Command/Task/ProjectTask.php b/lib/Cake/Console/Command/Task/ProjectTask.php index bc510a86e8f..b8347e38ba5 100644 --- a/lib/Cake/Console/Command/Task/ProjectTask.php +++ b/lib/Cake/Console/Command/Task/ProjectTask.php @@ -54,7 +54,7 @@ public function execute() { } while (!$project) { - $prompt = __d('cake_console', "What is the full path for this app including the app directory name?\n Example:"); + $prompt = __d('cake_console', "What is the path for this app including the app directory name?\n Example:"); $default = APP_PATH . 'myapp'; $project = $this->in($prompt . $default, null, $default); }