diff options
author | rvelices <rv-github@modusoptimus.com> | 2010-03-20 20:28:35 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2010-03-20 20:28:35 +0000 |
commit | 251eeb05aba7ddb79afafd4143a5435fc368b0e7 (patch) | |
tree | 2f640a810f3ac3dba678869d8e0e5a4215d2fccc /include/functions_notification.inc.php | |
parent | a70352fae2bd61902a3505e923f7ccdaa7ac9d7a (diff) |
less warnings + language fixes
git-svn-id: http://piwigo.org/svn/trunk@5206 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 2220817d2..9a5afe762 100644 --- a/include/functions_notification.inc.php +++ b/include/functions_notification.inc.php @@ -391,7 +391,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 element', '%d new elements', + nb_new_elements($start, $end), '%d new image', '%d new images', 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 element', '%d new elements', $date_detail['nb_elements']) + .l10n_dec('%d new image', '%d new images', $date_detail['nb_elements']) .' (' .'<a href="'.make_index_url(array('section'=>'recent_pics')).'">' .l10n('Recent pictures').'</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 element', - '%d new elements', $cat['img_count']).')' + l10n_dec('%d new image', + '%d new images', $cat['img_count']).')' .'</li>'; } $description .= '</ul>'; @@ -601,7 +601,7 @@ function get_title_recent_post_date($date_detail) $date = $date_detail['date_available']; $exploded_date = explode_mysqldt($date); - $title = l10n_dec('%d new element', '%d new elements', $date_detail['nb_elements']); + $title = l10n_dec('%d new image', '%d new images', $date_detail['nb_elements']); $title .= ' ('.$lang['month'][(int)$exploded_date['month']].' '.$exploded_date['day'].')'; return $title; |