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
This commit is contained in:
rub
2006-04-14 21:11:56 +00:00
parent 0d1eb2ecf3
commit e1c0fd7f4c
7 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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,
)
);
+1 -1
View File
@@ -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'],
)
);