mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +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>
|
<h2><?php echo $pluralHumanName;?></h2>
|
||||||
<p><?php
|
<p><?php
|
||||||
echo $paginator->counter(array(
|
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>
|
?></p>
|
||||||
<table cellpadding="0" cellspacing="0">
|
<table cellpadding="0" cellspacing="0">
|
||||||
|
@ -81,7 +81,7 @@ echo "\n";
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<ul>
|
<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
|
<?php
|
||||||
$done = array();
|
$done = array();
|
||||||
foreach ($associations as $_type => $_data) {
|
foreach ($associations as $_type => $_data) {
|
||||||
|
|
Loading…
Reference in a new issue