Changeset 5292


Ignore:
Timestamp:
Mar 23, 2010, 10:18:38 PM (14 years ago)
Author:
plg
Message:

bug fixed: the language keys used end with a whitespace, but it was removed
in the language file.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/site_manager.tpl

    r5195 r5292  
    1414
    1515{if isset($local_listing)}
    16 {'A local listing.xml file has been found for '|@translate} {$local_listing.URL}
     16{'A local listing.xml file has been found for'|@translate} {$local_listing.URL}
    1717{if isset($local_listing.CREATE)}
    1818<form action="{$F_ACTION}" method="post">
  • trunk/themes/default/template/header.tpl

    r5190 r5292  
    1818{/if}
    1919
    20 {if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('home'))}
     20{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('Home'))}
    2121<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
    2222<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
  • trunk/themes/default/template/mail/text/html/notification_by_mail.tpl

    r5287 r5292  
    4343{'To unsubscribe'|@translate}{', click on '|@translate}<a href="{$UNSUBSCRIBE_LINK}">{$UNSUBSCRIBE_LINK}</a><br>
    4444{'To subscribe '|@translate}{', click on '|@translate}<a href="{$SUBSCRIBE_LINK}">{$SUBSCRIBE_LINK}</a><br>
    45 {'If you encounter problems or have any question, please send a message to '|@translate}<a href="mailto:{$CONTACT_EMAIL}?subject={'[NBM] Problems or questions'|@translate}">{$CONTACT_EMAIL}</a><br>
     45{'If you encounter problems or have any question, please send a message to'|@translate} <a href="mailto:{$CONTACT_EMAIL}?subject={'[NBM] Problems or questions'|@translate}">{$CONTACT_EMAIL}</a><br>
    4646<hr><br>
    4747</p>
  • trunk/themes/default/template/mail/text/plain/notification_by_mail.tpl

    r5287 r5292  
    3838{'To unsubscribe'|@translate}{', click on '|@translate}{$UNSUBSCRIBE_LINK}
    3939{'To subscribe'|@translate}{', click on '|@translate}{$SUBSCRIBE_LINK}
    40 {'If you encounter problems or have any question, please send a message to '|@translate}{$CONTACT_EMAIL}
     40{'If you encounter problems or have any question, please send a message to'|@translate} {$CONTACT_EMAIL}
    4141______________________________________________________________________________
  • trunk/upload.php

    r5196 r5292  
    7373  {
    7474    array_push( $result['error'],
    75                 l10n('the filesize of the picture must not exceed : ').$my_max_file_size.' KB' );
     75                l10n('the filesize of the picture must not exceed :').$my_max_file_size.' KB' );
    7676  }
    7777  else
     
    9191      {
    9292        array_push( $result['error'],
    93                     l10n('the width of the picture must not exceed : ').$image_max_width.' px' );
     93                    l10n('the width of the picture must not exceed :').$image_max_width.' px' );
    9494      }
    9595      if ( isset( $image_max_height )
     
    9898      {
    9999        array_push( $result['error'],
    100                     l10n('the height of the picture must not exceed : ').$image_max_height.' px' );
     100                    l10n('the height of the picture must not exceed :').$image_max_height.' px' );
    101101      }
    102102      // $size[2] == 1 means GIF
     
    351351if ( isset( $page['waiting_id'] ) )
    352352{
    353   $advise_title = l10n('Optional, but recommended : choose a thumbnail to associate to ').$_FILES['picture']['name'];
     353  $advise_title = l10n('Optional, but recommended : choose a thumbnail to associate to').' '.$_FILES['picture']['name'];
    354354}
    355355else
     
    382382  if ( !empty($conf['upload_maxfilesize']) )
    383383  {
    384     $content = l10n('the filesize of the picture must not exceed : ');
     384    $content = l10n('the filesize of the picture must not exceed :');
    385385    $content.= $conf['upload_maxfilesize'].' KB';
    386386    $template->append('advises', $content);
     
    391391    if ( $conf['upload_maxwidth_thumbnail'] != '' )
    392392    {
    393       $content = l10n('the width of the picture must not exceed : ');
     393      $content = l10n('the width of the picture must not exceed :');
    394394      $content.= $conf['upload_maxwidth_thumbnail'].' px';
    395395      $template->append('advises', $content);
     
    397397    if ( $conf['upload_maxheight_thumbnail'] != '' )
    398398    {
    399       $content = l10n('the height of the picture must not exceed : ');
     399      $content = l10n('the height of the picture must not exceed :');
    400400      $content.= $conf['upload_maxheight_thumbnail'].' px';
    401401      $template->append('advises', $content);
     
    406406    if ( $conf['upload_maxwidth'] != '' )
    407407    {
    408       $content = l10n('the width of the picture must not exceed : ');
     408      $content = l10n('the width of the picture must not exceed :');
    409409      $content.= $conf['upload_maxwidth'].' px';
    410410      $template->append('advises', $content);
     
    412412    if ( $conf['upload_maxheight'] != '' )
    413413    {
    414       $content = l10n('the height of the picture must not exceed : ');
     414      $content = l10n('the height of the picture must not exceed :');
    415415      $content.= $conf['upload_maxheight'].' px';
    416416      $template->append('advises', $content);
Note: See TracChangeset for help on using the changeset viewer.