[trunk] - l10n page no found message 2

git-svn-id: http://piwigo.org/svn/trunk@15383 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
ddtddt
2012-05-28 14:56:21 +00:00
parent fcd83e7839
commit 6239d54d08
3 changed files with 7 additions and 3 deletions
+3 -3
View File
@@ -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] )
+1
View File
@@ -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';
?>
+3
View File
@@ -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';
?>