Changeset 15384


Ignore:
Timestamp:
05/28/12 17:00:37 (7 years ago)
Author:
ddtddt
Message:

[trunk] - l10n page no found

Location:
trunk
Files:
2 edited

Legend:

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

    r15381 r15384  
    343343{ 
    344344  set_status_header(403); 
    345   $forbidden=l10n('Forbidden'); 
    346345  if ($alternate_url==null) 
    347346    $alternate_url = make_index_url(); 
    348347  redirect_html( $alternate_url, 
    349348    '<div style="text-align:left; margin-left:5em;margin-bottom:5em;"> 
    350 <h1 style="text-align:left; font-size:36px;">'.$forbidden.'</h1><br>' 
     349<h1 style="text-align:left; font-size:36px;">'.l10n('Forbidden').'</h1><br>' 
    351350.$msg.'</div>', 
    352351    5 ); 
     
    361360{ 
    362361  set_status_header(400); 
    363   $bad=l10n('Bad request'); 
    364362  if ($alternate_url==null) 
    365363    $alternate_url = make_index_url(); 
    366364  redirect_html( $alternate_url, 
    367365    '<div style="text-align:left; margin-left:5em;margin-bottom:5em;"> 
    368 <h1 style="text-align:left; font-size:36px;">'.$bad.'</h1><br>' 
     366<h1 style="text-align:left; font-size:36px;">'.l10n('Bad request').'</h1><br>' 
    369367.$msg.'</div>', 
    370368    5 ); 
     
    379377{ 
    380378  set_status_header(404); 
    381   $found=l10n('Page not found'); 
    382379  if ($alternate_url==null) 
    383380    $alternate_url = make_index_url(); 
    384381  redirect_html( $alternate_url, 
    385382    '<div style="text-align:left; margin-left:5em;margin-bottom:5em;"> 
    386 <h1 style="text-align:left; font-size:36px;">'.$found.'</h1><br>' 
     383<h1 style="text-align:left; font-size:36px;">'.l10n('Page not found').'</h1><br>' 
    387384.$msg.'</div>', 
    388385    5 ); 
  • trunk/language/en_UK/common.lang.php

    r15383 r15384  
    411411$lang['Requested album does not exist'] = 'Requested album does not exist'; 
    412412$lang['Permalink for album not found'] = 'Permalink for album not found'; 
     413$lang['Requested tag does not exist'] = 'Requested tag does not exist'; 
    413414?> 
Note: See TracChangeset for help on using the changeset viewer.