mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding i18n support to text that lacked it. Refs #5814
This commit is contained in:
parent
d59a2c8de1
commit
a89882581b
1 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue