aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddtddt <ddtddt@piwigo.org>2012-05-28 14:56:21 +0000
committerddtddt <ddtddt@piwigo.org>2012-05-28 14:56:21 +0000
commit6239d54d085e6afe85eeaa83b5cac09c2a8c699e (patch)
tree013439d464a2904944c44ca12629b982b2189bdd
parentfcd83e78399af866fc8501702b1af055b7630898 (diff)
[trunk] - l10n page no found message 2
git-svn-id: http://piwigo.org/svn/trunk@15383 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/functions_url.inc.php6
-rw-r--r--language/en_UK/common.lang.php1
-rw-r--r--language/fr_FR/common.lang.php3
3 files changed, 7 insertions, 3 deletions
diff --git a/include/functions_url.inc.php b/include/functions_url.inc.php
index 34c9bbfbd..8d9dba93e 100644
--- a/include/functions_url.inc.php
+++ b/include/functions_url.inc.php
@@ -485,7 +485,7 @@ function parse_section_url( $tokens, &$next_token)
}
else
{
- page_not_found('Permalink for album not found');
+ page_not_found(l10n('Permalink for album not found'));
}
}
}
@@ -496,7 +496,7 @@ function parse_section_url( $tokens, &$next_token)
$result = get_cat_info($page['category']);
if (empty($result))
{
- page_not_found('Requested category does not exist' );
+ page_not_found(l10n('Requested album does not exist'));
}
$page['category']=$result;
}
@@ -541,7 +541,7 @@ function parse_section_url( $tokens, &$next_token)
$page['tags'] = find_tags($requested_tag_ids, $requested_tag_url_names);
if ( empty($page['tags']) )
{
- page_not_found('Requested tag does not exist', get_root_url().'tags.php' );
+ page_not_found(l10n('Requested tag does not exist'), get_root_url().'tags.php' );
}
}
elseif ( 'favorites' == @$tokens[$next_token] )
diff --git a/language/en_UK/common.lang.php b/language/en_UK/common.lang.php
index dd0d1d27f..985188b64 100644
--- a/language/en_UK/common.lang.php
+++ b/language/en_UK/common.lang.php
@@ -409,4 +409,5 @@ $lang['Bad request'] = 'Bad request';
$lang['Forbidden'] = 'Forbidden';
$lang['Piwigo encountered a non recoverable error'] = 'Piwigo encountered a non recoverable error';
$lang['Requested album does not exist'] = 'Requested album does not exist';
+$lang['Permalink for album not found'] = 'Permalink for album not found';
?> \ No newline at end of file
diff --git a/language/fr_FR/common.lang.php b/language/fr_FR/common.lang.php
index 93aec3b39..ea846c116 100644
--- a/language/fr_FR/common.lang.php
+++ b/language/fr_FR/common.lang.php
@@ -407,5 +407,8 @@ $lang['%d rate'] = '%d note';
$lang['Page not found'] = 'Page non trouvée';
$lang['Bad request'] = 'Mauvaise requête';
$lang['Forbidden'] = 'Interdit';
+$lang['Piwigo encountered a non recoverable error'] = 'Piwigo a rencontré une erreur non récupérable';
$lang['Requested album does not exist'] = 'L\'album demandé n\'existe pas';
+$lang['Permalink for album not found'] = 'Permalink pour l\'album non trouvé';
+$lang['Requested tag does not exist'] = 'Le tag demandée n\'existe pas';
?>