mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
feature 2102 : rename item/image/picture to photo
git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1434,7 +1434,7 @@ function get_icon($date, $is_child_date = false)
|
||||
if (!isset($cache['get_icon']['title']))
|
||||
{
|
||||
$cache['get_icon']['title'] = sprintf(
|
||||
l10n('images posted during the last %d days'),
|
||||
l10n('photos posted during the last %d days'),
|
||||
$user['recent_period']
|
||||
);
|
||||
}
|
||||
|
||||
@@ -476,7 +476,7 @@ function get_display_images_count($cat_nb_images, $cat_count_images, $cat_count_
|
||||
}
|
||||
|
||||
//at least one image direct or indirect
|
||||
$display_text.= l10n_dec('%d image', '%d images', $cat_count_images);
|
||||
$display_text.= l10n_dec('%d photo', '%d photos', $cat_count_images);
|
||||
|
||||
if ($cat_count_categories == 0 or $cat_nb_images == $cat_count_images)
|
||||
{
|
||||
|
||||
@@ -421,7 +421,7 @@ function get_tags_content_title()
|
||||
)
|
||||
)
|
||||
.'" title="'
|
||||
.l10n('See images linked to this tag only')
|
||||
.l10n('display photos linked to this tag')
|
||||
.'">'
|
||||
.$page['tags'][$i]['name']
|
||||
.'</a>';
|
||||
|
||||
@@ -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;
|
||||
|
||||
+11
-11
@@ -169,15 +169,15 @@ function initialize_menu()
|
||||
$block->data['favorites'] =
|
||||
array(
|
||||
'URL' => make_index_url(array('section' => 'favorites')),
|
||||
'TITLE' => l10n('display my favorites pictures'),
|
||||
'NAME' => l10n('My favorites')
|
||||
'TITLE' => l10n('display your favorites photos'),
|
||||
'NAME' => l10n('Your favorites')
|
||||
);
|
||||
}
|
||||
|
||||
$block->data['most_visited'] =
|
||||
array(
|
||||
'URL' => make_index_url(array('section' => 'most_visited')),
|
||||
'TITLE' => l10n('display most visited pictures'),
|
||||
'TITLE' => l10n('display most visited photos'),
|
||||
'NAME' => l10n('Most visited')
|
||||
);
|
||||
|
||||
@@ -186,7 +186,7 @@ function initialize_menu()
|
||||
$block->data['best_rated'] =
|
||||
array(
|
||||
'URL' => make_index_url(array('section' => 'best_rated')),
|
||||
'TITLE' => l10n('display best rated items'),
|
||||
'TITLE' => l10n('display best rated photos'),
|
||||
'NAME' => l10n('Best rated')
|
||||
);
|
||||
}
|
||||
@@ -194,16 +194,16 @@ function initialize_menu()
|
||||
$block->data['random'] =
|
||||
array(
|
||||
'URL' => get_root_url().'random.php',
|
||||
'TITLE' => l10n('display a set of random pictures'),
|
||||
'NAME' => l10n('Random pictures'),
|
||||
'TITLE' => l10n('display a set of random photos'),
|
||||
'NAME' => l10n('Random photos'),
|
||||
'REL'=> 'rel="nofollow"'
|
||||
);
|
||||
|
||||
$block->data['recent_pics'] =
|
||||
array(
|
||||
'URL' => make_index_url(array('section' => 'recent_pics')),
|
||||
'TITLE' => l10n('display most recent pictures'),
|
||||
'NAME' => l10n('Recent pictures'),
|
||||
'TITLE' => l10n('display most recent photos'),
|
||||
'NAME' => l10n('Recent photos'),
|
||||
);
|
||||
|
||||
$block->data['recent_cats'] =
|
||||
@@ -225,7 +225,7 @@ function initialize_menu()
|
||||
'chronology_view' => 'calendar'
|
||||
)
|
||||
),
|
||||
'TITLE' => l10n('display each day with pictures, month per month'),
|
||||
'TITLE' => l10n('display each day with photos, month per month'),
|
||||
'NAME' => l10n('Calendar'),
|
||||
'REL'=> 'rel="nofollow"'
|
||||
);
|
||||
@@ -243,7 +243,7 @@ function initialize_menu()
|
||||
// tags link
|
||||
$block->data['tags'] =
|
||||
array(
|
||||
'TITLE' => l10n('See available tags'),
|
||||
'TITLE' => l10n('display available tags'),
|
||||
'NAME' => l10n('Tags'),
|
||||
'URL'=> get_root_url().'tags.php',
|
||||
);
|
||||
@@ -260,7 +260,7 @@ function initialize_menu()
|
||||
// comments link
|
||||
$block->data['comments'] =
|
||||
array(
|
||||
'TITLE'=>l10n('See last users comments'),
|
||||
'TITLE'=>l10n('display last user comments'),
|
||||
'NAME'=>l10n('Comments'),
|
||||
'URL'=> get_root_url().'comments.php',
|
||||
);
|
||||
|
||||
@@ -455,7 +455,7 @@ SELECT DISTINCT(id)
|
||||
$page,
|
||||
array(
|
||||
'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">'
|
||||
.l10n('Recent pictures').'</a>',
|
||||
.l10n('Recent photos').'</a>',
|
||||
'items' => array_from_query($query, 'id'),
|
||||
)
|
||||
);
|
||||
@@ -542,7 +542,7 @@ SELECT DISTINCT(id)
|
||||
$page,
|
||||
array(
|
||||
'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">'
|
||||
.l10n('Random pictures').'</a>',
|
||||
.l10n('Random photos').'</a>',
|
||||
'items' => array_from_query($query, 'id'),
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user