aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-01-14 21:19:15 +0000
committerrvelices <rv-github@modusoptimus.com>2011-01-14 21:19:15 +0000
commit6eea9f9e08f5d823484d2c76c81d3a1bca69b682 (patch)
treeedeab3054277daed17d0d4710b415f0b7de51fef /include
parent4d3aa6331efa96ddaede756e1d91693c76ecfc2d (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')
-rw-r--r--include/functions.inc.php2
-rw-r--r--include/functions_category.inc.php2
-rw-r--r--include/functions_html.inc.php2
-rw-r--r--include/functions_notification.inc.php10
-rw-r--r--include/menubar.inc.php22
-rw-r--r--include/section_init.inc.php4
6 files changed, 21 insertions, 21 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 460c32cdf..653031ab6 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -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']
);
}
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 675b310d5..65e2b9304 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -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)
{
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 72a80c049..cd997c9a3 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -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>';
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;
diff --git a/include/menubar.inc.php b/include/menubar.inc.php
index a138e8786..2d64f6902 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -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',
);
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index 03acb12bd..02b1f83ab 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.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'),
)
);