Skip to content

Commit

Permalink
Adding i18n support to text that lacked it. Refs #5814
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 10, 2009
1 parent d59a2c8 commit a898825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/libs/view/scaffolds/index.ctp
Expand Up @@ -27,7 +27,7 @@
<h2><?php echo $pluralHumanName;?></h2>
<p><?php
echo $paginator->counter(array(
'format' => 'Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%'
'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
));
?></p>
<table cellpadding="0" cellspacing="0">
Expand Down Expand Up @@ -81,7 +81,7 @@ echo "\n";
</div>
<div class="actions">
<ul>
<li><?php echo $html->link('New '.$singularHumanName, array('action' => 'add')); ?></li>
<li><?php echo $html->link(sprintf(__('New %s', true), $singularHumanName), array('action' => 'add')); ?></li>
<?php
$done = array();
foreach ($associations as $_type => $_data) {
Expand Down

0 comments on commit a898825

Please sign in to comment.