aboutsummaryrefslogtreecommitdiffstats
path: root/include/menubar.inc.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-02 14:54:22 +0000
committernikrou <nikrou@piwigo.org>2010-03-02 14:54:22 +0000
commit2e890e9597da29346a1fbe0db45f48e4a2be86e7 (patch)
treef189c8320f38340bc3d7a94d799e05e0587d95cb /include/menubar.inc.php
parent35694a636ef34dba5384e1a530b837208b9e55f9 (diff)
Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/menubar.inc.php36
1 files changed, 18 insertions, 18 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php
index 35fdb8750..0a9800d9b 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -148,16 +148,16 @@ function initialize_menu()
$block->data['favorites'] =
array(
'URL' => make_index_url(array('section' => 'favorites')),
- 'TITLE' => l10n('favorite_cat_hint'),
- 'NAME' => l10n('favorite_cat')
+ 'TITLE' => l10n('display my favorites pictures'),
+ 'NAME' => l10n('My favorites')
);
}
$block->data['most_visited'] =
array(
'URL' => make_index_url(array('section' => 'most_visited')),
- 'TITLE' => l10n('most_visited_cat_hint'),
- 'NAME' => l10n('most_visited_cat')
+ 'TITLE' => l10n('display most visited pictures'),
+ 'NAME' => l10n('Most visited')
);
if ($conf['rate'])
@@ -165,31 +165,31 @@ function initialize_menu()
$block->data['best_rated'] =
array(
'URL' => make_index_url(array('section' => 'best_rated')),
- 'TITLE' => l10n('best_rated_cat_hint'),
- 'NAME' => l10n('best_rated_cat')
+ 'TITLE' => l10n('display best rated items'),
+ 'NAME' => l10n('Best rated')
);
}
$block->data['random'] =
array(
'URL' => get_root_url().'random.php',
- 'TITLE' => l10n('random_cat_hint'),
- 'NAME' => l10n('random_cat'),
+ 'TITLE' => l10n('display a set of random pictures'),
+ 'NAME' => l10n('Random pictures'),
'REL'=> 'rel="nofollow"'
);
$block->data['recent_pics'] =
array(
'URL' => make_index_url(array('section' => 'recent_pics')),
- 'TITLE' => l10n('recent_pics_cat_hint'),
- 'NAME' => l10n('recent_pics_cat'),
+ 'TITLE' => l10n('display most recent pictures'),
+ 'NAME' => l10n('Recent pictures'),
);
$block->data['recent_cats'] =
array(
'URL' => make_index_url(array('section' => 'recent_cats')),
- 'TITLE' => l10n('recent_cats_cat_hint'),
- 'NAME' => l10n('recent_cats_cat'),
+ 'TITLE' => l10n('display recently updated categories'),
+ 'NAME' => l10n('Recent categories'),
);
@@ -204,8 +204,8 @@ function initialize_menu()
'chronology_view' => 'calendar'
)
),
- 'TITLE' => l10n('calendar_hint'),
- 'NAME' => l10n('calendar'),
+ 'TITLE' => l10n('display each day with pictures, month per month'),
+ 'NAME' => l10n('Calendar'),
'REL'=> 'rel="nofollow"'
);
$block->template = 'menubar_specials.tpl';
@@ -230,7 +230,7 @@ function initialize_menu()
// search link
$block->data['search'] =
array(
- 'TITLE'=>l10n('hint_search'),
+ 'TITLE'=>l10n('search'),
'NAME'=>l10n('Search'),
'URL'=> get_root_url().'search.php',
'REL'=> 'rel="search"'
@@ -239,15 +239,15 @@ function initialize_menu()
// comments link
$block->data['comments'] =
array(
- 'TITLE'=>l10n('hint_comments'),
- 'NAME'=>l10n('comments'),
+ 'TITLE'=>l10n('See last users comments'),
+ 'NAME'=>l10n('Comments'),
'URL'=> get_root_url().'comments.php',
);
// about link
$block->data['about'] =
array(
- 'TITLE' => l10n('about_page_title'),
+ 'TITLE' => l10n('About Piwigo'),
'NAME' => l10n('About'),
'URL' => get_root_url().'about.php',
);