From e1c0fd7f4c76ae6c343b21dcf904ad4ef0b87ece Mon Sep 17 00:00:00 2001 From: rub Date: Fri, 14 Apr 2006 21:11:56 +0000 Subject: Issue ID 326: o Fix none translations "pictures" o Fix display 0 pictures git-svn-id: http://piwigo.org/svn/trunk@1172 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_recent_cats.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/category_recent_cats.inc.php') diff --git a/include/category_recent_cats.inc.php b/include/category_recent_cats.inc.php index ae98426bd..b9aebcf2c 100644 --- a/include/category_recent_cats.inc.php +++ b/include/category_recent_cats.inc.php @@ -99,7 +99,7 @@ if ($conf['subcatify']) ) ), 'NAME' => get_cat_display_name_cache($row['uppercats'], null, false), - 'NB_IMAGES' => $row['nb_images'], + 'CAPTION_NB_IMAGES' => (($row['nb_images'] == 0) ? '' : sprintf("%d ".l10n('pictures'), $row['nb_images'])), 'DESCRIPTION' => $comment, ) ); -- cgit v1.2.3