From 5dd82ed4842d1d1c4df39925554f57405be26ec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 25 May 2010 14:26:05 +0200 Subject: [PATCH] Use ngettext. --- db_printview.php | 2 +- db_structure.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db_printview.php b/db_printview.php index d1ed79c17..e91c04c8f 100644 --- a/db_printview.php +++ b/db_printview.php @@ -219,7 +219,7 @@ else { ?> - + diff --git a/db_structure.php b/db_structure.php index 0fa4873da..65b78b708 100644 --- a/db_structure.php +++ b/db_structure.php @@ -477,7 +477,7 @@ if ($is_show_stats) { if ($num_tables == 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)); ?>