From 33a65e9c9dedd48812915dab713bc1859b647694 Mon Sep 17 00:00:00 2001 From: Ariel Parra Date: Wed, 8 Apr 2015 23:05:05 -0300 Subject: [PATCH] Adding translation for 'Actions' message. Removed icons from translation on menu items --- .../Templates/bootstrap/views/form.ctp | 12 +++++----- .../Templates/bootstrap/views/index.ctp | 10 ++++---- .../Templates/bootstrap/views/view.ctp | 24 +++++++++---------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/app/Console/Templates/bootstrap/views/form.ctp b/app/Console/Templates/bootstrap/views/form.ctp index 79ad30672..c1407a1ac 100755 --- a/app/Console/Templates/bootstrap/views/form.ctp +++ b/app/Console/Templates/bootstrap/views/form.ctp @@ -33,21 +33,21 @@
-
Actions
+
"; ?>
-
+
Form->create('{$modelClass}', array('role' => 'form')); ?>\n\n"; ?> diff --git a/app/Console/Templates/bootstrap/views/index.ctp b/app/Console/Templates/bootstrap/views/index.ctp index 710cace33..50b4bfd9f 100755 --- a/app/Console/Templates/bootstrap/views/index.ctp +++ b/app/Console/Templates/bootstrap/views/index.ctp @@ -34,17 +34,17 @@
-
Actions
+
" ?>
- \n"; ?> diff --git a/app/Console/Templates/bootstrap/views/view.ctp b/app/Console/Templates/bootstrap/views/view.ctp index 033fac952..2bf3f774f 100755 --- a/app/Console/Templates/bootstrap/views/view.ctp +++ b/app/Console/Templates/bootstrap/views/view.ctp @@ -31,21 +31,21 @@
-
Actions
+
" ?>
-
+
\n"; - echo "\t\t\t\tHtml->link(__(''), array('controller' => '{$details['controller']}', 'action' => 'view', \${$otherSingularVar}['{$details['primaryKey']}']), array('escape' => false)); ?>\n"; - echo "\t\t\t\tHtml->link(__(''), array('controller' => '{$details['controller']}', 'action' => 'edit', \${$otherSingularVar}['{$details['primaryKey']}']), array('escape' => false)); ?>\n"; - echo "\t\t\t\tForm->postLink(__(''), array('controller' => '{$details['controller']}', 'action' => 'delete', \${$otherSingularVar}['{$details['primaryKey']}']), array('escape' => false), __('Are you sure you want to delete # %s?', \${$otherSingularVar}['{$details['primaryKey']}'])); ?>\n"; + echo "\t\t\t\tHtml->link('', array('controller' => '{$details['controller']}', 'action' => 'view', \${$otherSingularVar}['{$details['primaryKey']}']), array('escape' => false)); ?>\n"; + echo "\t\t\t\tHtml->link('', array('controller' => '{$details['controller']}', 'action' => 'edit', \${$otherSingularVar}['{$details['primaryKey']}']), array('escape' => false)); ?>\n"; + echo "\t\t\t\tForm->postLink('', array('controller' => '{$details['controller']}', 'action' => 'delete', \${$otherSingularVar}['{$details['primaryKey']}']), array('escape' => false), __('Are you sure you want to delete # %s?', \${$otherSingularVar}['{$details['primaryKey']}'])); ?>\n"; echo "\t\t\t\n"; echo "\t\t\n"; @@ -164,7 +164,7 @@ echo "\t\n";
\n\n"; ?>
- Html->link(__('  New " . Inflector::humanize(Inflector::underscore($alias)) . "'), array('controller' => '{$details['controller']}', 'action' => 'add'), array('escape' => false, 'class' => 'btn btn-default')); ?>"; ?> + Html->link('  ' . __('New " . Inflector::humanize(Inflector::underscore($alias)) . "'), array('controller' => '{$details['controller']}', 'action' => 'add'), array('escape' => false, 'class' => 'btn btn-default')); ?>"; ?>