Use ngettext.
This commit is contained in:
@@ -219,7 +219,7 @@ else {
|
|||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<th align="center">
|
<th align="center">
|
||||||
<?php echo sprintf(__('%s table(s)'), PMA_formatNumber($num_tables, 0)); ?>
|
<?php echo sprintf(_ngettext('%s table', '%s tables', $num_tables), PMA_formatNumber($num_tables, 0)); ?>
|
||||||
</th>
|
</th>
|
||||||
<th align="right" nowrap="nowrap">
|
<th align="right" nowrap="nowrap">
|
||||||
<?php echo PMA_formatNumber($sum_entries, 0); ?>
|
<?php echo PMA_formatNumber($sum_entries, 0); ?>
|
||||||
|
@@ -477,7 +477,7 @@ if ($is_show_stats) {
|
|||||||
if ($num_tables == 0)
|
if ($num_tables == 0)
|
||||||
$tableReductionCount = 0;
|
$tableReductionCount = 0;
|
||||||
|
|
||||||
echo sprintf(__('%s table(s)'), PMA_formatNumber($num_tables - $tableReductionCount, 0));
|
echo sprintf(_ngettext('%s table', '%s tables', $num_tables - $tableReductionCount), PMA_formatNumber($num_tables - $tableReductionCount, 0));
|
||||||
?>
|
?>
|
||||||
</th>
|
</th>
|
||||||
<?php
|
<?php
|
||||||
|
Reference in New Issue
Block a user