diff options
author | rub <rub@piwigo.org> | 2006-04-14 21:12:26 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-04-14 21:12:26 +0000 |
commit | 4e8f0f583fc7254500e9d765853e30db4f9e5b01 (patch) | |
tree | a6c52738093d32b9dcb756b311972458d24e72d8 /include/category_recent_cats.inc.php | |
parent | c5fa25261540a813022699756e3753abad159317 (diff) |
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
Diffstat (limited to 'include/category_recent_cats.inc.php')
-rw-r--r-- | include/category_recent_cats.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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, ) ); |