aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-17 20:11:57 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-17 20:11:57 +0000
commit4ea1d5ced3dd51180df2a42b31a2929fa3cb80a8 (patch)
tree3a6ab373556c2bb54d0e81760fd3414dfb531150
parent0245e00a7670a0c76962a95d2152c0962634bef1 (diff)
Internationalization of the "comments" for the number of comments under each
picture. git-svn-id: http://piwigo.org/svn/trunk@128 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--category.php3
-rw-r--r--language/francais.php1
-rw-r--r--template/default/category.vtp2
3 files changed, 4 insertions, 2 deletions
diff --git a/category.php b/category.php
index 127d133bc..285c69d68 100644
--- a/category.php
+++ b/category.php
@@ -99,7 +99,8 @@ $tpl = array(
'title_menu','nb_image_category','send_mail','title_send_mail',
'generation_time','connected_user','recent_image','days','generation_time',
'favorite_cat_hint','favorite_cat','stats','most_visited_cat_hint',
- 'most_visited_cat','recent_cat','recent_cat_hint','upload_picture' );
+ 'most_visited_cat','recent_cat','recent_cat_hint','upload_picture',
+ 'comments' );
templatize_array( $tpl, 'lang', $handle );
$tpl = array( 'mail_webmaster','webmaster','top_number','version','site_url' );
diff --git a/language/francais.php b/language/francais.php
index ebc6fefcc..e3572546f 100644
--- a/language/francais.php
+++ b/language/francais.php
@@ -32,6 +32,7 @@ $lang['keywords'] = 'mots-clefs';
$lang['errors_title'] = 'Erreurs';
$lang['infos_title'] = 'Informations';
$lang['default'] = 'défaut';
+$lang['comments'] = 'commentaires';
// end version 1.3
// page diapo
diff --git a/template/default/category.vtp b/template/default/category.vtp
index b14b30f81..29bff309a 100644
--- a/template/default/category.vtp
+++ b/template/default/category.vtp
@@ -59,7 +59,7 @@
</a>
{#icon}
<!--VTP_nb_comments-->
- <br />{#nb} comments
+ <br />{#nb} {#comments}
<!--/VTP_nb_comments-->
</td>
<!--/VTP_thumbnail-->