From 4e8f0f583fc7254500e9d765853e30db4f9e5b01 Mon Sep 17 00:00:00 2001 From: rub Date: Fri, 14 Apr 2006 21:12:26 +0000 Subject: Issue ID 326: o Fix none translations "pictures" o Fix display 0 pictures Report of svn:1172 git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1173 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_subcats.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/category_subcats.inc.php') diff --git a/include/category_subcats.inc.php b/include/category_subcats.inc.php index 3e31ecc80..1fc6b2ac4 100644 --- a/include/category_subcats.inc.php +++ b/include/category_subcats.inc.php @@ -160,7 +160,7 @@ SELECT id, path, tn_ext ) ), 'NAME' => $category['name'], - 'NB_IMAGES' => $category['nb_images'], + 'CAPTION_NB_IMAGES' => (($category['nb_images'] == 0) ? '' : sprintf("%d ".l10n('pictures'), $category['nb_images'])), 'DESCRIPTION' => @$category['comment'], ) ); -- cgit v1.2.3