Skip to content
Browse files

code is not translatable and should not be part of the translation st…

…rings
  • Loading branch information...
1 parent 03a96d4 commit e1d6bb2120ca512896bc18ec9ded42afb45117ee @dereuromark dereuromark committed
Showing with 8 additions and 4 deletions.
  1. +8 −4 lib/Cake/Console/Command/Task/ProjectTask.php
View
12 lib/Cake/Console/Command/Task/ProjectTask.php
@@ -404,15 +404,19 @@ public function getPrefix() {
}
if ($this->interactive) {
$this->hr();
- $this->out(__d('cake_console', 'You need to enable Configure::write(\'Routing.prefixes\', array(\'admin\')) in /app/Config/core.php to use prefix routing.'));
+ $this->out(__d('cake_console', 'You need to enable %s in %s to use prefix routing.',
+ 'Configure::write(\'Routing.prefixes\', array(\'admin\'))',
+ '/app/Config/core.php'));
$this->out(__d('cake_console', 'What would you like the prefix route to be?'));
- $this->out(__d('cake_console', 'Example: www.example.com/admin/controller'));
+ $this->out(__d('cake_console', 'Example: %s', 'www.example.com/admin/controller'));
while (!$admin) {
$admin = $this->in(__d('cake_console', 'Enter a routing prefix:'), null, 'admin');
}
if ($this->cakeAdmin($admin) !== true) {
- $this->out(__d('cake_console', '<error>Unable to write to</error> /app/Config/core.php.'));
- $this->out(__d('cake_console', 'You need to enable Configure::write(\'Routing.prefixes\', array(\'admin\')) in /app/Config/core.php to use prefix routing.'));
+ $this->out(__d('cake_console', '<error>Unable to write to</error> %s.', '/app/Config/core.php'));
+ $this->out(__d('cake_console', 'You need to enable %s in %s to use prefix routing.',
+ 'Configure::write(\'Routing.prefixes\', array(\'admin\'))',
+ '/app/Config/core.php'));
$this->_stop();
}
return $admin . '_';

0 comments on commit e1d6bb2

Please sign in to comment.
Something went wrong with that request. Please try again.