mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02:00
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:
@@ -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,
|
||||
)
|
||||
);
|
||||
|
||||
@@ -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'],
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user