Changeset 5292 for trunk/upload.php


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.