diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 1b86bd562..bf838cfed 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -611,12 +611,12 @@ function get_thumbnail_title($info, $title, $comment='') if (!empty($info['hit'])) { - $details[] = $info['hit'].' '.strtolower(l10n('Visits')); + $details[] = l10n('%d visits', $info['hit']); } if ($conf['rate'] and !empty($info['rating_score'])) { - $details[] = strtolower(l10n('Rating score')).' '.$info['rating_score']; + $details[] = l10n('rating score %s', $info['rating_score']); } if (isset($info['nb_comments']) and $info['nb_comments'] != 0) diff --git a/language/en_UK/common.lang.php b/language/en_UK/common.lang.php index 75d757c4b..365158963 100644 --- a/language/en_UK/common.lang.php +++ b/language/en_UK/common.lang.php @@ -439,4 +439,6 @@ $lang['Albums found'] = 'Albums found'; $lang['Search in this set'] = 'Search in this set'; $lang['Tags listed here match your search by word. Click on one to browse by tag.'] = 'Tags listed here match your search by word. Click on one to browse by tag.'; $lang['Albums listed here match your search by word. Click on one to browse by album.'] = 'Albums listed here match your search by word. Click on one to browse by album.'; +$lang['%d visits'] = '%d visits'; +$lang['rating score %s'] = 'rating score %s'; ?> diff --git a/language/fr_FR/common.lang.php b/language/fr_FR/common.lang.php index 16c6fa7a3..e513d60b3 100644 --- a/language/fr_FR/common.lang.php +++ b/language/fr_FR/common.lang.php @@ -444,3 +444,5 @@ $lang['Albums found'] = 'Albums trouvés'; $lang['Search in this set'] = 'Rechercher dans ce lot'; $lang['Tags listed here match your search by word. Click on one to browse by tag.'] = 'Les tags ci-dessous correspondent à votre recherche par mot. Cliquez sur l\'un d\'eux pour basculer en navigation par tag.'; $lang['Albums listed here match your search by word. Click on one to browse by album.'] = 'Les albums ci-dessous correspondent à votre recherche par mot. Cliquez sur l\'un d\'eux pour basculer en navigation par album.'; +$lang['%d visits'] = '%d visites'; +$lang['rating score %s'] = 'score %s';