aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_html.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/functions_html.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 'include/functions_html.inc.php')
-rw-r--r--include/functions_html.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 4be5ef077..70ffe48a5 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -292,9 +292,9 @@ function access_denied()
if ( isset($user) and !is_a_guest() )
{
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
- echo '<div style="text-align:center;">'.l10n('access_forbiden').'<br>';
- echo '<a href="'.get_root_url().'identification.php">'.l10n('identification').'</a>&nbsp;';
- echo '<a href="'.make_index_url().'">'.l10n('home').'</a></div>';
+ echo '<div style="text-align:center;">'.l10n('You are not authorized to access the requested page').'<br>';
+ echo '<a href="'.get_root_url().'Identification.php">'.l10n('Identification').'</a>&nbsp;';
+ echo '<a href="'.make_index_url().'">'.l10n('Home').'</a></div>';
echo str_repeat( ' ', 512); //IE6 doesn't error output if below a size
exit();
}
@@ -399,7 +399,7 @@ $btrace_msg
function get_tags_content_title()
{
global $page;
- $title = count($page['tags']) > 1 ? l10n('Tags') : l10n('Tag');
+ $title = count($page['tags']) > 1 ? l10n('Tag') : l10n('Tag');
$title.= ' ';
for ($i=0; $i<count($page['tags']); $i++)
@@ -414,7 +414,7 @@ function get_tags_content_title()
)
)
.'" title="'
- .l10n('See elements linked to this tag only')
+ .l10n('See images linked to this tag only')
.'">'
.$page['tags'][$i]['name']
.'</a>';
@@ -431,7 +431,7 @@ function get_tags_content_title()
)
)
.'" style="border:none;" title="'
- .l10n('remove this tag')
+ .l10n('remove this tag from the list')
.'"><img src="'
.get_root_url().get_themeconf('icon_dir').'/remove_s.png'
.'" alt="x" style="vertical-align:bottom;" class="button">'