Changeset 15381


Ignore:
Timestamp:
05/28/12 16:22:19 (7 years ago)
Author:
ddtddt
Message:

[trunk] - l10n page no found message 1

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r13240 r15381  
    343343{ 
    344344  set_status_header(403); 
     345  $forbidden=l10n('Forbidden'); 
    345346  if ($alternate_url==null) 
    346347    $alternate_url = make_index_url(); 
    347348  redirect_html( $alternate_url, 
    348349    '<div style="text-align:left; margin-left:5em;margin-bottom:5em;"> 
    349 <h1 style="text-align:left; font-size:36px;">Forbidden</h1><br>' 
     350<h1 style="text-align:left; font-size:36px;">'.$forbidden.'</h1><br>' 
    350351.$msg.'</div>', 
    351352    5 ); 
     
    360361{ 
    361362  set_status_header(400); 
     363  $bad=l10n('Bad request'); 
    362364  if ($alternate_url==null) 
    363365    $alternate_url = make_index_url(); 
    364366  redirect_html( $alternate_url, 
    365367    '<div style="text-align:left; margin-left:5em;margin-bottom:5em;"> 
    366 <h1 style="text-align:left; font-size:36px;">Bad request</h1><br>' 
     368<h1 style="text-align:left; font-size:36px;">'.$bad.'</h1><br>' 
    367369.$msg.'</div>', 
    368370    5 ); 
     
    377379{ 
    378380  set_status_header(404); 
     381  $found=l10n('Page not found'); 
    379382  if ($alternate_url==null) 
    380383    $alternate_url = make_index_url(); 
    381384  redirect_html( $alternate_url, 
    382385    '<div style="text-align:left; margin-left:5em;margin-bottom:5em;"> 
    383 <h1 style="text-align:left; font-size:36px;">Page not found</h1><br>' 
     386<h1 style="text-align:left; font-size:36px;">'.$found.'</h1><br>' 
    384387.$msg.'</div>', 
    385388    5 ); 
     
    395398  if (empty($title)) 
    396399  { 
    397     $title = 'Piwigo encountered a non recoverable error'; 
     400    $title = l10n('Piwigo encountered a non recoverable error'); 
    398401  } 
    399402 
  • trunk/language/en_UK/common.lang.php

    r14978 r15381  
    405405$lang['Manual sort order'] = 'Manual sort order'; 
    406406$lang['%d rate'] = '%d rate'; 
     407$lang['Page not found'] = 'Page not found'; 
     408$lang['Bad request'] = 'Bad request'; 
     409$lang['Forbidden'] = 'Forbidden'; 
     410$lang['Piwigo encountered a non recoverable error'] = 'Piwigo encountered a non recoverable error'; 
     411$lang['Requested album does not exist'] = 'Requested album does not exist'; 
    407412?> 
  • trunk/language/fr_FR/common.lang.php

    r14978 r15381  
    405405$lang['Visits, low &rarr; high'] = 'Nombre de visites, faible &rarr; élevé'; 
    406406$lang['%d rate'] = '%d note'; 
     407$lang['Page not found'] = 'Page non trouvée'; 
     408$lang['Bad request'] = 'Mauvaise requête'; 
     409$lang['Forbidden'] = 'Interdit'; 
     410$lang['Requested album does not exist'] = 'L\'album demandé n\'existe pas'; 
    407411?> 
Note: See TracChangeset for help on using the changeset viewer.