mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 01:12:29 +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'],
|
||||
)
|
||||
);
|
||||
|
||||
@@ -317,7 +317,6 @@ $lang['path'] = 'path';
|
||||
$lang['permissions'] = 'Permissions';
|
||||
$lang['permuser_info'] = 'Only private categories are listed. Private/Public category status can be set in screen "Categories > Public / Private"';
|
||||
$lang['permuser_only_private'] = 'Only private categories are shown';
|
||||
$lang['pictures'] = 'pictures';
|
||||
$lang['private'] = 'private';
|
||||
$lang['properties'] = 'Properties';
|
||||
$lang['public'] = 'public';
|
||||
|
||||
@@ -344,4 +344,5 @@ $lang['useful when password forgotten'] = 'useful when password forgotten';
|
||||
$lang['w_month'] = 'Month';
|
||||
$lang['yes'] = 'Yes';
|
||||
$lang['redirect_msg'] = 'Redirection...';
|
||||
$lang['pictures'] = 'pictures';
|
||||
?>
|
||||
|
||||
@@ -320,7 +320,6 @@ $lang['path'] = 'chemin';
|
||||
$lang['permissions'] = 'Permissions';
|
||||
$lang['permuser_info'] = 'Seules les catégories privées sont listées.';
|
||||
$lang['permuser_only_private'] = 'Seules les catégories privées sont listées.';
|
||||
$lang['pictures'] = 'images';
|
||||
$lang['private'] = 'privée';
|
||||
$lang['properties'] = 'Propriétés';
|
||||
$lang['public'] = 'publique';
|
||||
|
||||
@@ -344,4 +344,5 @@ $lang['useful when password forgotten'] = 'utile en cas d\'oubli de mot de passe
|
||||
$lang['w_month'] = 'Mois';
|
||||
$lang['yes'] = 'Oui';
|
||||
$lang['redirect_msg'] = 'Redirection...';
|
||||
$lang['pictures'] = 'images';
|
||||
?>
|
||||
@@ -15,7 +15,7 @@
|
||||
{categories.category.ICON}
|
||||
<a href="{categories.category.URL}">{categories.category.NAME}</a>
|
||||
</h3>
|
||||
<p>{categories.category.NB_IMAGES} {lang:pictures}</p>
|
||||
<p>{categories.category.CAPTION_NB_IMAGES}</p>
|
||||
<p>{categories.category.DESCRIPTION}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user