diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-01-14 21:19:15 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-01-14 21:19:15 +0000 |
commit | 6eea9f9e08f5d823484d2c76c81d3a1bca69b682 (patch) | |
tree | edeab3054277daed17d0d4710b415f0b7de51fef /include/functions_notification.inc.php | |
parent | 4d3aa6331efa96ddaede756e1d91693c76ecfc2d (diff) |
feature 2102 : rename item/image/picture to photo
git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_notification.inc.php')
-rw-r--r-- | include/functions_notification.inc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php index f4789470b..d67e55b54 100644 --- a/include/functions_notification.inc.php +++ b/include/functions_notification.inc.php @@ -395,7 +395,7 @@ function news($start, $end, $exclude_img_cats=false, $add_url=false) if (!$exclude_img_cats) { add_news_line( $news, - nb_new_elements($start, $end), '%d new image', '%d new images', + nb_new_elements($start, $end), '%d new photo', '%d new photos', make_index_url(array('section'=>'recent_pics')), $add_url ); } @@ -526,7 +526,7 @@ function get_html_description_recent_post_date($date_detail) $description .= '<li>' - .l10n_dec('%d new image', '%d new images', $date_detail['nb_elements']) + .l10n_dec('%d new photo', '%d new photos', $date_detail['nb_elements']) .' (' .'<a href="'.make_index_url(array('section'=>'recent_pics')).'">' .l10n('Recent photos').'</a>' @@ -558,8 +558,8 @@ function get_html_description_recent_post_date($date_detail) '<li>' .get_cat_display_name_cache($cat['uppercats']) .' ('. - l10n_dec('%d new image', - '%d new images', $cat['img_count']).')' + l10n_dec('%d new photo', + '%d new photos', $cat['img_count']).')' .'</li>'; } $description .= '</ul>'; @@ -580,7 +580,7 @@ function get_title_recent_post_date($date_detail) $date = $date_detail['date_available']; $exploded_date = strptime($date, '%Y-%m-%d %H:%M:%S'); - $title = l10n_dec('%d new image', '%d new images', $date_detail['nb_elements']); + $title = l10n_dec('%d new photo', '%d new photos', $date_detail['nb_elements']); $title .= ' ('.$lang['month'][1+$exploded_date['tm_mon']].' '.$exploded_date['tm_mday'].')'; return $title; |