Skip to content

Commit

Permalink
More i18n strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed May 21, 2009
1 parent de1b495 commit dc01673
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cake/console/libs/tasks/controller.php
Expand Up @@ -44,7 +44,7 @@ class ControllerTask extends Shell {
* @var array
* @access public
*/
var $tasks = array('Model', 'Project', 'Template', 'DbConfig');
var $tasks = array('Model', 'Test', 'Template', 'DbConfig');
/**
* path to CONTROLLERS directory
*
Expand Down Expand Up @@ -80,7 +80,7 @@ function execute() {
$controller = Inflector::camelize($this->args[0]);
$actions = null;
if (isset($this->args[1]) && $this->args[1] == 'scaffold') {
$this->out('Baking scaffold for ' . $controller);
$this->out(__('Baking scaffold for ', true) . $controller);
$actions = $this->bakeActions($controller);
} else {
$actions = 'scaffold';
Expand Down Expand Up @@ -131,7 +131,7 @@ function all() {
function __interactive() {
$this->interactive = true;
$this->hr();
$this->out(sprintf("Bake Controller\nPath: %s", $this->path));
$this->out(sprintf(__("Bake Controller\nPath: %s", true), $this->path));
$this->hr();

if (empty($this->connection)) {
Expand All @@ -140,7 +140,7 @@ function __interactive() {

$controllerName = $this->getName();
$this->hr();
$this->out("Baking {$controllerName}Controller");
$this->out(sprintf(__('Baking %sController', true), $controllerName));
$this->hr();

$helpers = $components = array();
Expand Down Expand Up @@ -387,7 +387,7 @@ function listAll($useDbConfig = null) {
$this->__tables = $this->Model->getAllTables($useDbConfig);

if ($this->interactive == true) {
$this->out('Possible Controllers based on your current database:');
$this->out(__('Possible Controllers based on your current database:', true));
$this->_controllerNames = array();
$count = count($this->__tables);
for ($i = 0; $i < $count; $i++) {
Expand Down

0 comments on commit dc01673

Please sign in to comment.