Changeset 11966


Ignore:
Timestamp:
Aug 18, 2011, 5:19:03 PM (13 years ago)
Author:
plg
Message:

feature 2407 added: display upload limitations before file selection (file
maximum size, maximum dimensions, allowed file types). The maximum dimensions
are calculated for GD only (because Imagick and External ImageMagick are not
using PHP memory as far as I could find on the web).

bug 2408 fixed: change term "old style form" into "browser uploader" and
"multiple file form" into "Flash Uploader" (based on WordPress user interface)

Location:
trunk
Files:
36 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/photos_add_direct_prepare.inc.php

    r9586 r11966  
    5656$uploadify_path = PHPWG_ROOT_PATH.'admin/include/uploadify';
    5757
     58$upload_max_filesize = min(
     59  get_ini_size('upload_max_filesize'),
     60  get_ini_size('post_max_size')
     61  );
     62
     63if ($upload_max_filesize == get_ini_size('upload_max_filesize'))
     64{
     65  $upload_max_filesize_shorthand = get_ini_size('upload_max_filesize', false);
     66}
     67else
     68{
     69  $upload_max_filesize_shorthand = get_ini_size('post_max_filesize', false);
     70}
     71
    5872$template->assign(
    5973    array(
    6074      'F_ADD_ACTION'=> PHOTOS_ADD_BASE_URL,
    6175      'uploadify_path' => $uploadify_path,
    62       'upload_max_filesize' => min(
    63         get_ini_size('upload_max_filesize'),
    64         get_ini_size('post_max_size')
    65         ),
    66     )
    67   );
     76      'upload_max_filesize' => $upload_max_filesize,
     77      'upload_max_filesize_shorthand' => $upload_max_filesize_shorthand,
     78    )
     79  );
     80
     81// what is the maximum number of pixels permitted by the memory_limit?
     82if (pwg_image::get_library() == 'gd')
     83{
     84  $fudge_factor = 1.7;
     85  $available_memory = get_ini_size('memory_limit') - memory_get_usage();
     86  $max_upload_width = round(sqrt($available_memory/(2 * $fudge_factor)));
     87  $max_upload_height = round(2 * $max_upload_width / 3);
     88  $max_upload_resolution = floor($max_upload_width * $max_upload_height / (1024 * 1024));
     89
     90  // no need to display a limitation warning if the limitation is huge like 20MP
     91  if ($max_upload_resolution < 25)
     92  {
     93    $template->assign(
     94      array(
     95        'max_upload_width' => $max_upload_width,
     96        'max_upload_height' => $max_upload_height,
     97        'max_upload_resolution' => $max_upload_resolution,
     98        )
     99      );
     100  }
     101}
    68102
    69103$upload_modes = array('html', 'multiple');
     
    90124      'pwg_token' => get_pwg_token(),
    91125      'another_upload_link' => PHOTOS_ADD_BASE_URL.'&amp;upload_mode='.$upload_mode,
     126    )
     127  );
     128
     129$upload_file_types = 'jpeg, png, gif';
     130if ('html' == $upload_mode)
     131{
     132  $upload_file_types.= ', zip';
     133}
     134$template->assign(
     135  array(
     136    'upload_file_types' => $upload_file_types,
    92137    )
    93138  );
  • trunk/admin/include/uploadify/uploadify.css

    r5089 r11966  
    2727        max-height: 300px;
    2828        overflow: auto;
    29         border: 1px solid #333;
    3029        margin: 0 auto 10px auto;
    3130        padding: 5px 0 10px 0;
  • trunk/admin/themes/default/template/photos_add_direct.tpl

    r11962 r11966  
    143143  });
    144144
     145  jQuery("#uploadWarningsSummary a.showInfo").click(function() {
     146    jQuery("#uploadWarningsSummary").hide();
     147    jQuery("#uploadWarnings").show();
     148  });
     149
    145150{/literal}
    146151{if $upload_mode eq 'html'}
     
    187192    'fileExt'        : '*.jpg;*.JPG;*.jpeg;*.JPEG;*.png;*.PNG',
    188193    'sizeLimit'      : sizeLimit,
     194    'onSelect'       : function(event,ID,fileObj) {
     195      jQuery("#fileQueue").show();
     196    },
    189197    'onAllComplete'  : function(event, data) {
    190198      if (data.errors) {
     
    338346  <p id="batchLink"><a href="{$batch_link}">{$batch_label}</a></p>
    339347</fieldset>
    340 <p><a href="{$another_upload_link}">{'Add another set of photos'|@translate}</a></p>
     348<p style="margin:10px"><a href="{$another_upload_link}">{'Add another set of photos'|@translate}</a></p>
    341349{else}
    342350
     
    389397      <legend>{'Select files'|@translate}</legend>
    390398
     399    <p id="uploadWarningsSummary">{$upload_max_filesize_shorthand}B. {$upload_file_types}. {if isset($max_upload_resolution)}{$max_upload_resolution}Mpx{/if} <a class="showInfo" title="{'Learn more'|@translate}">i</a></p>
     400
     401    <p id="uploadWarnings">
     402{'Maximum file size: %sB.'|@translate|@sprintf:$upload_max_filesize_shorthand}
     403{'Allowed file types: %s.'|@translate|@sprintf:$upload_file_types}
     404  {if isset($max_upload_resolution)}
     405{'Approximate maximum resolution: %dM pixels (that\'s %dx%d pixels).'|@translate|@sprintf:$max_upload_resolution:$max_upload_width:$max_upload_height}
     406  {/if}
     407    </p>
     408
    391409{if $upload_mode eq 'html'}
    392     <p><a href="{$switch_url}">{'... or switch to the multiple files form'|@translate}</a></p>
    393 
    394       <p>{'JPEG files or ZIP archives with JPEG files inside please.'|@translate}</p>
    395 
    396410      <div id="uploadBoxes"></div>
    397411      <div id="addUploadBox">
    398412        <a href="javascript:">{'+ Add an upload box'|@translate}</a>
    399413      </div>
     414
     415    <p id="uploadModeInfos">{'You are using the Browser uploader. Try the <a href="%s">Flash uploader</a> instead.'|@translate|@sprintf:$switch_url}</p>
    400416   
    401417    </fieldset>
    402418
    403419    <p>
    404       <input class="submit" type="submit" name="submit_upload" value="{'Upload'|@translate}">
     420      <input class="submit" type="submit" name="submit_upload" value="{'Start Upload'|@translate}">
    405421    </p>
    406422{elseif $upload_mode eq 'multiple'}
     423
    407424    <p>
    408425      <input type="file" name="uploadify" id="uploadify">
    409426    </p>
    410427
    411     <p><a href="{$switch_url}">{'... or switch to the old style form'|@translate}</a></p>
    412 
    413     <div id="fileQueue"></div>
     428    <div id="fileQueue" style="display:none"></div>
     429
     430    <p id="uploadModeInfos">{'You are using the Flash uploader. Problems? Try the <a href="%s">Browser uploader</a> instead.'|@translate|@sprintf:$switch_url}</p>
    414431
    415432    </fieldset>
  • trunk/admin/themes/default/theme.css

    r11962 r11966  
    923923.pluginActions DIV {display: table-cell; vertical-align: middle; line-height:18px; }
    924924.showInfo {display:block;position:absolute;top:0;right:5px;width:15px;font-style:italic;font-family:"Georgia",serif;background-color:#464646;font-size:0.9em;border-radius:10px;-moz-border-radius:10px;}
     925.showInfo:hover {cursor:pointer}
    925926
    926927.warning:before {content:url(icon/warning.png);vertical-align:top;}
     
    10601061#mainConfCheck .transparent {opacity:0.5;filter:alpha(opacity=50);}
    10611062#mainConfCheck .order_by_is_custom {display:block;font-weight:normal;font-style:italic;margin-left:20px;}
     1063
     1064/* Upload Form */
     1065#uploadBoxes .file {margin-bottom:5px;text-align:left;}
     1066#uploadBoxes {margin-top:20px;}
     1067#addUploadBox {margin-bottom:2em;}
     1068
     1069p#uploadWarningsSummary {text-align:left;margin-bottom:1em;font-size:90%;color:#999;}
     1070p#uploadWarningsSummary .showInfo {position:static;display:inline;padding:1px 6px;margin-left:3px;}
     1071p#uploadWarnings {display:none;text-align:left;margin-bottom:1em;font-size:90%;color:#999;}
     1072p#uploadModeInfos {text-align:left;margin-top:1em;font-size:90%;color:#999;}
  • trunk/language/ar_SA/admin.lang.php

    r11743 r11966  
    620620$lang['Manage this set of %d photos'] = '%d إدارة اعدادت صور';
    621621$lang['Select files'] = 'اختيار الملفات';
    622 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'ملفات صور JPEG النقطيبة و ملفات مضغوطةZIP فقط';
    623622$lang['Everybody'] = 'الجميع';
    624623$lang['Who can see these photos?'] = 'من يمكنه رؤية هذه الصور';
    625624$lang['Who can see this photo?'] = 'من يمكنه رؤية هذه الصورة؟';
    626 $lang['... or switch to the old style form'] = '... أو اظهر الواجهة القديمة ';
    627 $lang['... or switch to the multiple files form'] = '... أو التحول إلى شكل ملفات متعددة';
    628625$lang['The websize maximum width must be a number between %d and %d'] = '%d و %d الحد الأعلى لعرض صورة الويب يجب أن تكون';
    629626$lang['The websize maximum height must be a number between %d and %d'] = '%d و %d الحد الأعلى لطول صورة الويب يجب أن تكون بين ';
  • trunk/language/ca_ES/admin.lang.php

    r11585 r11966  
    621621$lang['%d photos uploaded'] = '%d fotos penjades';
    622622$lang['+ Add an upload box'] = '+ Afegeix un quadre de càrrega';
    623 $lang['... or switch to the multiple files form'] = '... o canvia pel formulari de fitxers múltiples';
    624 $lang['... or switch to the old style form'] = '... o canvia pel formulari d\'estil antic';
    625623$lang['Action'] = 'Acció';
    626624$lang['Activate field "%s"'] = 'Afegeix camp "%s"';
     
    689687$lang['Installed Languages'] = 'Installed Languages';
    690688$lang['Invert'] = 'Invert';
    691 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG files or ZIP archives with JPEG files inside please.';
    692689$lang['Keep high definition'] = 'Keep high definition';
    693690$lang['Language has been successfully installed'] = 'Language has been successfully installed';
  • trunk/language/cs_CZ/admin.lang.php

    r11915 r11966  
    593593$lang['Manage this set of %d photos'] = 'Spravovat tento soubor %d fotografií';
    594594$lang['Select files'] = 'Výběr souborů';
    595 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG soubory nebo ZIP archivy s JPEG soubory prosím.';
    596595$lang['Operation in progress'] = 'Provádím údržbu.';
    597596$lang['Please wait...'] = 'Prosím počkejte...';
     
    624623$lang['Who can see this photo?'] = 'Kdo může vidět tuto fotografii?';
    625624$lang['Pending Comments'] = 'Nevyřízené komentáře';
    626 $lang['... or switch to the old style form'] = '... nebo přepněte na původní styl';
    627 $lang['... or switch to the multiple files form'] = '... nebo přepněte na formát vícenásobných souborů';
    628625$lang['The websize maximum width must be a number between %d and %d'] = 'Maximální šířka webovské stránky musí být číslo mezi %d a %d';
    629626$lang['The websize maximum height must be a number between %d and %d'] = 'Maximální výška webovské stránky musí být číslo mezi %d a %d';
  • trunk/language/da_DK/admin.lang.php

    r11492 r11966  
    617617$lang['Manage this set of %d photos']     =     'Administrer dette sæt af %d billeder ';
    618618$lang['Select files']     =     'Vælg filer';
    619 $lang['JPEG files or ZIP archives with JPEG files inside please.']     =     'JPEG-filer eller ZIP arkiver med JPEG-filer inde tak. ';
    620619$lang['Everybody']     =     'Alle';
    621620$lang['Who can see these photos?']     =     'Hvem kan se disse billeder? ';
    622 $lang['... or switch to the old style form']     =     '... eller skifte til den gamle stil form ';
    623 $lang['... or switch to the multiple files form']     =     '... eller skifte til flere filer form';
    624621$lang['The websize maximum width must be a number between %d and %d']     =     'Det websize maksimale bredde skal være et tal mellem %d og %d ';
    625622$lang['The websize maximum height must be a number between %d and %d']     =     'Det websize maksimale højde skal være et nummer mellem %d og %d ';
  • trunk/language/de_DE/admin.lang.php

    r11954 r11966  
    618618$lang['Manage this set of %d photos'] = 'Verwalte dieses Set von %d Fotos';
    619619$lang['Select files'] = 'Wähle Dateien aus';
    620 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG Dateien oder ZIP Archive, die JPEG Dateien enthalten bitte.';
    621620$lang['Everybody'] = 'Jedermann';
    622621$lang['Who can see these photos?'] = 'Wer soll die Fotos sehen können?';
    623622$lang['Who can see this photo?'] = 'Wer soll dieses Foto sehen können?';
    624 $lang['... or switch to the old style form'] = '... oder schalte um auf das alte Formular';
    625 $lang['... or switch to the multiple files form'] = '... oder schalte um auf Mehrfachauswahl';
    626623$lang['The websize maximum width must be a number between %d and %d'] = 'Die maximale Breite muss eine Zahl zwischen %d und %d sein';
    627624$lang['The websize maximum height must be a number between %d and %d'] = 'Die maximale Höhe muss eine Zahl zwischen %d und %d sein';
  • trunk/language/en_UK/admin.lang.php

    r11962 r11966  
    8080$lang['+ Add an upload box'] = '+ Add an upload box';
    8181$lang[', click on'] = ", click on";
    82 $lang['... or switch to the multiple files form'] = '... or switch to the multiple files form';
    83 $lang['... or switch to the old style form'] = '... or switch to the old style form';
    8482$lang['A local listing.xml file has been found for'] = "A local listing.xml file has been found for";
    8583$lang['A new version of Piwigo is available.'] = "A new version of Piwigo is available.";
     
    365363$lang['Invert'] = 'Invert';
    366364$lang['IP'] = "IP";
    367 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG files or ZIP archives with JPEG files inside please.';
    368365$lang['jump to album'] = "jump to album";
    369366$lang['jump to photo'] = "jump to photo";
     
    847844$lang['Create'] = 'Create';
    848845$lang['Start Upload'] = 'Start Upload';
     846$lang['You are using the Flash uploader. Problems? Try the <a href="%s">Browser uploader</a> instead.'] = 'You are using the Flash uploader. Problems? Try the <a href="%s">Browser uploader</a> instead.';
     847$lang['You are using the Browser uploader. Try the <a href="%s">Flash uploader</a> instead.'] = 'You are using the Browser uploader. Try the <a href="%s">Flash uploader</a> instead.';
     848$lang['Maximum file size: %sB.'] = 'Maximum file size: %sB.';
     849$lang['Allowed file types: %s.'] = 'Allowed file types: %s.';
     850$lang['Approximate maximum resolution: %dM pixels (that\'s %dx%d pixels).'] = 'Approximate maximum resolution: %dM pixels (that\'s %dx%d pixels).';
    849851?>
  • trunk/language/es_ES/admin.lang.php

    r11707 r11966  
    616616$lang['Manage this set of %d photos'] = 'Administrar este lote de %d fotos';
    617617$lang['Select files'] = 'Escoger ficheros';
    618 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'Ficheros JPEG o archivas ZIP que contiene ficheros JPEG por favor.';
    619618$lang['Everybody'] = 'Todo el mundo';
    620619$lang['Who can see these photos?'] = '¿ Quién puede ver estas fotos?';
    621 $lang['... or switch to the old style form'] = '... o utilizar el antiguo formulario';
    622 $lang['... or switch to the multiple files form'] = '... o utilizar el formulario multificheros';
    623620$lang['The websize maximum width must be a number between %d and %d'] = 'La ancho máxima para la medidas de las fotos debe ser una cifra comprendida entra  %d y %d';
    624621$lang['The websize maximum height must be a number between %d and %d'] = 'La altura máxima para la medidas de las fotos debe ser una cifra comprendida entra  %d y %d';
  • trunk/language/fa_IR/admin.lang.php

    r11274 r11966  
    619619$lang['Manage this set of %d photos'] = 'Manage this set of %d photos';
    620620$lang['Select files'] = 'انتخاب فایل‌ها';
    621 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'فایل‌های JPEG یا آرشیو ZIP که دارای فایل JPEG است را وارد نمایید';
    622621$lang['Everybody'] = 'همه';
    623622$lang['Who can see these photos?'] = 'چه کسی قادر به مشاهده این تصاویر باشد؟';
    624623$lang['Who can see this photo?'] = 'چه کسی قادر به مشاهده این تصویر باشد';
    625 $lang['... or switch to the old style form'] = 'تعویض به فرم آپلود قدیمی...';
    626 $lang['... or switch to the multiple files form'] = 'تعویض به حالت جدید ....';
    627624$lang['The websize maximum width must be a number between %d and %d'] = 'حداکثر عرض برای تصویر پیش‌فرض باید عددی بین %d و %d باشد';
    628625$lang['The websize maximum height must be a number between %d and %d'] = 'حداکثر طول تصویر پیش‌فرض باید عددی بین %d و %d باشد';
  • trunk/language/fr_CA/admin.lang.php

    r11641 r11966  
    627627$lang['Manage this set of %d photos'] = 'Gérer ce lot de %d photos';
    628628$lang['Select files'] = 'Choisir des fichiers';
    629 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'Fichiers JPEG ou archives ZIP contenant des fichiers JPEG s\'il vous plaît.';
    630629$lang['Everybody'] = 'Tout le monde';
    631630$lang['Who can see these photos?'] = 'Qui peut voir ces photos ?';
    632631$lang['Who can see this photo?'] = 'Qui peut voir cette photo ?';
    633 $lang['... or switch to the old style form'] = '... ou utiliser le formulaire "à l\'ancienne"';
    634 $lang['... or switch to the multiple files form'] = '... ou utiliser le formulaire multi-fichiers';
    635632$lang['The websize maximum width must be a number between %d and %d'] = 'La largeur maximum pour la photo taille web doit être un chiffre compris entre %d et %d';
    636633$lang['The websize maximum height must be a number between %d and %d'] = 'La hauteur maximum pour la photo taille web doit être un chiffre compris entre %d et %d';
  • trunk/language/fr_FR/admin.lang.php

    r11962 r11966  
    622622$lang['Manage this set of %d photos'] = 'Gérer ce lot de %d photos';
    623623$lang['Select files'] = 'Choisir des fichiers';
    624 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'Fichiers JPEG ou archives ZIP contenant des fichiers JPEG s\'il vous plaît.';
    625624$lang['Everybody'] = 'Tout le monde';
    626625$lang['Who can see these photos?'] = 'Qui peut voir ces photos ?';
    627626$lang['Who can see this photo?'] = 'Qui peut voir cette photo ?';
    628 $lang['... or switch to the old style form'] = '... ou utiliser le formulaire "à l\'ancienne"';
    629 $lang['... or switch to the multiple files form'] = '... ou utiliser le formulaire multi-fichiers';
    630627
    631628$lang['The websize maximum width must be a number between %d and %d'] = 'La largeur maximum pour la photo taille web doit être un chiffre compris entre %d et %d';
     
    856853$lang['Create'] = 'Créer';
    857854$lang['Start Upload'] = 'Démarrer le transfert';
     855$lang['You are using the Flash uploader. Problems? Try the <a href="%s">Browser uploader</a> instead.'] = 'Vous utilisez le formulaire Flash. Des problèmes ? Essayez le <a href="%s">formulaire HTML</a> à la place.';
     856$lang['You are using the Browser uploader. Try the <a href="%s">Flash uploader</a> instead.'] = 'Vous utilisez le formulaire HTML. Essayez le <a href="%s">formulaire Flash</a> à la place.';
     857$lang['Maximum file size: %sB.'] = 'Poids maximum des fichiers : %sB.';
     858$lang['Allowed file types: %s.'] = 'Types de fichiers autorisés : %s.';
     859$lang['Approximate maximum resolution: %dM pixels (that\'s %dx%d pixels).'] = 'Résolution maximum approximative : %dM pixels (soit %dx%d pixels).';
    858860?>
  • trunk/language/he_IL/admin.lang.php

    r11641 r11966  
    616616$lang['Manage this set of %d photos'] = 'נהל את קבוצת התמונות הזאת (%d תמונות)';
    617617$lang['Select files'] = 'בחר קבצים';
    618 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'קבצי JPEG או בארכיון ZIP עם קבצי JPEG בתוך בבקשה.';
    619618$lang['Everybody'] = 'כולם';
    620619$lang['Who can see these photos?'] = 'מי יכול לראות את התמונות?';
    621620$lang['Who can see this photo?'] = 'מי יכול לראות את התמונה?';
    622 $lang['... or switch to the old style form'] = '... או לעבור בצורה בסגנון הישן ';
    623 $lang['... or switch to the multiple files form'] = '... או לעבור בצורת קבצים מרובים ';
    624621$lang['The websize maximum width must be a number between %d and %d'] = 'רוחב מרבי websize חייב להיות מספר בין% d% d ';
    625622$lang['The websize maximum height must be a number between %d and %d'] = 'הגובה המרבי של האתר חייב להיות מספר בין %d ו %d';
  • trunk/language/hr_HR/admin.lang.php

    r11545 r11966  
    616616$lang['Manage this set of %d photos'] = 'Upravljanje ovim skupom od %d slika';
    617617$lang['Select files'] = 'Odaberi zapise';
    618 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG zapisi ili ZIP arhive sa JPEG zapisima unutra molim.';
    619618$lang['Everybody'] = 'Svi';
    620619$lang['Who can see these photos?'] = 'Tko može pregledavati ove slike?';
    621 $lang['... or switch to the old style form'] = '... ili prebaci na oblik starog stila';
    622 $lang['... or switch to the multiple files form'] = '... ili prebaci na oblik višestrukih zapisa';
    623620$lang['The websize maximum width must be a number between %d and %d'] = 'Najveća širina web prozora mora biti broj između %d i %d';
    624621$lang['The websize maximum height must be a number between %d and %d'] = 'Najveća visina web prozora mora biti broj između %d i %d';
  • trunk/language/hu_HU/admin.lang.php

    r11932 r11966  
    604604$lang['Manage this set of %d photos'] = 'Szerkessze a készlet (%d elem) képeit';
    605605$lang['Select files'] = 'Képek kiválasztása';
    606 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG kiterjesztésű képeket, vagy JPEG képeket tartalmazó ZIP archivumot kérek.';
    607606$lang['Everybody'] = 'Mindenki';
    608607$lang['Who can see these photos?'] = 'Ki láthatja a képeket?';
    609 $lang['... or switch to the old style form'] = '... vagy váltson át a hagyományos feltöltésre';
    610 $lang['... or switch to the multiple files form'] = '... vagy váltson át flash alapú feltöltésre';
    611608$lang['The websize maximum width must be a number between %d and %d'] = 'Meg kell adni a kép legnagyobb szélességét pixelben %d és %d között';
    612609$lang['The websize maximum height must be a number between %d and %d'] = 'Meg kell adni a kép legnagyobb magasságát pixelben %d és %d között';
  • trunk/language/it_IT/admin.lang.php

    r11955 r11966  
    622622$lang['Manage this set of %d photos'] = 'Gestire questo set di %d foto';
    623623$lang['Select files'] = 'Scegliere i file';
    624 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'File JPEG o archivi ZIP con dentro dei file JPEG per cortesia.';
    625624$lang['Everybody'] = 'Tutti';
    626625$lang['Who can see these photos?'] = 'Chi può vedere queste foto?';
    627626$lang['Who can see this photo?'] = 'Chi può vedere questa foto?';
    628 $lang['... or switch to the old style form'] = '... o passare sul modulo "vecchio stile"';
    629 $lang['... or switch to the multiple files form'] = '... o passare sul modulo multi-file';
    630627
    631628$lang['The websize maximum width must be a number between %d and %d'] = 'La larghezza massima della foto con dimenzioni per il web deve essere un numero tra %d e %d';
  • trunk/language/ja_JP/admin.lang.php

    r11587 r11966  
    620620$lang['Manage this set of %d photos'] = ' %d 枚の写真を管理する';
    621621$lang['Select files'] = 'ファイルを選択する';
    622 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEGファイル又は、ZIPファイルフォーマットに入っているJPEGファイル下さい。';
    623622$lang['Everybody'] = '全員';
    624623$lang['Who can see these photos?'] = 'どなたがこの写真を見られますか?';
    625 $lang['... or switch to the old style form'] = '... 又は、旧形式に変更する';
    626 $lang['... or switch to the multiple files form'] = '... 又は、複数ファイル式に変更する';
    627624$lang['The websize maximum width must be a number between %d and %d'] = 'ウェッブサイズの最大幅は %d と %dの中に設定する必要があります。';
    628625$lang['The websize maximum height must be a number between %d and %d'] = 'ウェッブサイズの最大の高さは%d と %dの中に設定する必要があります。';
  • trunk/language/ka_GE/admin.lang.php

    r11137 r11966  
    626626$lang['Manage this set of %d photos'] = 'ამ კრებულის რედაქტირება, შემცველობით %d Fოტო';
    627627$lang['Select files'] = 'ავირჩიოთ ფაილები';
    628 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG ფაილები ან ZIP არქივი JPEG ფაილებით შიგნით.';
    629628$lang['Everybody'] = 'ყველა';
    630629$lang['Who can see these photos?'] = 'ვის შეუძლია ნახოს ეს ფოტოები?';
    631 $lang['... or switch to the old style form'] = '... ან გადართეთ ფორმის ძველ სახეზე';
    632 $lang['... or switch to the multiple files form'] = '... ან გადართეთ მულტი ატვირთვის ფორმაზე';
    633630$lang['The websize maximum width must be a number between %d and %d'] = 'ფოტოს მაქსიმალური სიგანე უნდა იყოს რიცხვი %d და %d შორის';
    634631$lang['The websize maximum height must be a number between %d and %d'] = 'ფოტოს მაქსიმალური სიმაღლე უნდა იყოს რიცხვი %d და %d შორის';
  • trunk/language/lv_LV/admin.lang.php

    r11879 r11966  
    612612$lang['Manage this set of %d photos'] = 'Rediģēt šo %d attēlu kopumu.';
    613613$lang['Select files'] = 'Izvēlēties failus';
    614 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'Lūdzu JPEG failus vai ZIP arhīvus no JPEG failiem.';
    615614$lang['Everybody'] = 'Visi';
    616615$lang['Who can see these photos?'] = 'Kas var skatīties šos attēlus?';
    617616$lang['Who can see this photo?'] = 'Kas var skatīties šo attēlu?';
    618 $lang['... or switch to the old style form'] = '... vai lietojiet vecā stila formu';
    619 $lang['... or switch to the multiple files form'] = '... vai lietojiet multiielādes formu';
    620617$lang['The websize maximum width must be a number between %d and %d'] = 'Maksimālajam attēla platumam jābūt skaitlim starp %d and %d';
    621618$lang['The websize maximum height must be a number between %d and %d'] = 'Maksimālajam attēla augstumam jābūt skaitlim starp %d and %d';
  • trunk/language/nl_NL/admin.lang.php

    r11882 r11966  
    616616$lang['Manage this set of %d photos'] = 'Beheer deze reeks van %d foto\'s';
    617617$lang['Select files'] = 'Selecteer bestanden';
    618 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG bestanden of ZIP bestanden die JPEG bestanden bevatten aub.';
    619618$lang['Everybody'] = 'Iedereen';
    620619$lang['Who can see these photos?'] = 'Wie mag deze foto\'s zien?';
    621 $lang['... or switch to the old style form'] = '... of schakel om naar het oude-stijl formulier';
    622 $lang['... or switch to the multiple files form'] = '... of schakel om naar het meervoudige bestanden formulier';
    623620$lang['The websize maximum width must be a number between %d and %d'] = 'De webgrootte maximum breedte moet liggen tussen %d en %d';
    624621$lang['The websize maximum height must be a number between %d and %d'] = 'De webgrootte maximum hoogte moet liggen tussen %d en %d';
  • trunk/language/no_NO/admin.lang.php

    r9615 r11966  
    612612$lang['Manage this set of %d photos'] = 'Behandle disse %d bildene';
    613613$lang['Select files'] = 'Velg filer';
    614 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG filer eller ZIP arkiv med JPEG filer inni.';
    615614$lang['Everybody'] = 'Alle';
    616615$lang['Who can see these photos?'] = 'Hvem kan se disse bildene?';
    617616$lang['Who can see this photo?'] = 'Hvem kan se dette bildet?';
    618 $lang['... or switch to the old style form'] = '... eller bytt til gammel stil format';
    619 $lang['... or switch to the multiple files form'] = '... eller bytt til flere filer format';
    620617$lang['The websize maximum width must be a number between %d and %d'] = 'Websidens maksimums bredde må være et nummer mellom %d og %d';
    621618$lang['The websize maximum height must be a number between %d and %d'] = 'Websidens maksimums høyde må være et nummer mellom %d og %d';
  • trunk/language/pl_PL/admin.lang.php

    r11641 r11966  
    620620$lang['Manage this set of %d photos'] = 'Zarządzaj tym zbiorem %d zdjęć';
    621621$lang['Select files'] = 'Wybierz pliki';
    622 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'Pliki JPEG lub archiwa ZIP z plikami JPEG w środku.';
    623622$lang['Everybody'] = 'Każdy';
    624623$lang['Who can see these photos?'] = 'Kto może oglądać te zdjęcia?';
    625 $lang['... or switch to the old style form'] = '... lub przełącz do starego stylu formularza';
    626 $lang['... or switch to the multiple files form'] = '... lub przełącz do formularza wielu plików';
    627624$lang['The websize maximum width must be a number between %d and %d'] = 'Maksymalna szerokość dla www musi być liczbą pomiędzy %d i %d';
    628625$lang['The websize maximum height must be a number between %d and %d'] = 'Maksymalna wysokość dla www musi być liczbą pomiędzy %d i %d';
  • trunk/language/pt_PT/admin.lang.php

    r11272 r11966  
    587587$lang['%d photos uploaded'] = '%d fotos enviadas';
    588588$lang['+ Add an upload box'] = '+ Adicionar uma caixa de envio';
    589 $lang['... or switch to the multiple files form'] = '... ou mudar para o formulário de ficheiros múltiplos';
    590 $lang['... or switch to the old style form'] = '... ou mudar para o formulário antigo';
    591589$lang['Action'] = 'Acção';
    592590$lang['Activate field "%s"'] = 'Activar campo "%s"';
     
    666664$lang['Instructions to use Piwigo'] = 'Instruções para usar Piwigo';
    667665$lang['Invert'] = 'Inverter';
    668 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'Ficheiros JPEG ou ficheiros ZIP com ficheiros JPEG dentro, por favor.';
    669666$lang['Keep high definition'] = 'Manter Alta Definição';
    670667$lang['Language has been successfully installed'] = 'Linguagem instalada com sucesso';
  • trunk/language/ro_RO/admin.lang.php

    r11673 r11966  
    263263$lang['+ Add an upload box'] = '+ Adauga o cutie de încărcare';
    264264$lang[', click on'] = ', apasă pe';
    265 $lang['... or switch to the multiple files form'] = '... sau schimbă în formularul pentru fişiere multiple';
    266 $lang['... or switch to the old style form'] = '... sau schimbă în formularul în stilul vechi';
    267265$lang['A local listing.xml file has been found for'] = 'A fost găsit un fişier listing.xml local pentru';
    268266$lang['A new version of Piwigo is available.'] = 'O nouă versiune a lui Piwigo este disponibilă.';
  • trunk/language/ru_RU/admin.lang.php

    r11792 r11966  
    616616$lang['Manage this set of %d photos'] = 'Редактировать этот набор из %d фотографий';
    617617$lang['Select files'] = 'Выбрать файлы';
    618 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG файлы или ZIP архивы с JPEG файлами внутри, пожалуйста.';
    619618$lang['Everybody'] = 'Все';
    620619$lang['Who can see these photos?'] = 'Кто может смотреть эти фотографии?';
    621 $lang['... or switch to the old style form'] = '... или переключитесь на старый вид формы';
    622 $lang['... or switch to the multiple files form'] = '... или переключитесь на форму мультизагрузки';
    623620$lang['The websize maximum width must be a number between %d and %d'] = 'Максимальная ширина изображения должна быть числом между %d и %d';
    624621$lang['The websize maximum height must be a number between %d and %d'] = 'Максимальная высота изображения должна быть числом между %d и %d';
  • trunk/language/sh_RS/admin.lang.php

    r9494 r11966  
    619619$lang['Manage this set of %d photos'] = 'Uredi ovaj set %d fotografija';
    620620$lang['Select files'] = 'Izaberi datoteke';
    621 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG datoteke ili ZIP arhive sa JPEG datotekama u sebi molim.';
    622621$lang['Everybody'] = 'Svi';
    623622$lang['Who can see these photos?'] = 'Ko može da vidi fotografije?';
    624 $lang['... or switch to the old style form'] = '... ili promeni na stari stil obrazac';
    625 $lang['... or switch to the multiple files form'] = '...ili promeni na višestruke datoteke obrazac';
    626623$lang['The websize maximum width must be a number between %d and %d'] = 'Maksimalna širina fotografije mora biti broj između %d i %d';
    627624$lang['The websize maximum height must be a number between %d and %d'] = 'Maksimalna visina fotografije mora biti broj između %d i %d';
  • trunk/language/sk_SK/admin.lang.php

    r11883 r11966  
    591591$lang['Manage this set of %d photos'] = 'Spravovať tento súbor %d fotografií';
    592592$lang['Select files'] = 'Výber súborov';
    593 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG súbory alebo ZIP archívy s JPEG súbormi prosím.';
    594593
    595594// missing translations 2.1.0
     
    624623$lang['Who can see this photo?'] = 'Kto môže vidieť túto fotografiu?';
    625624$lang['Pending Comments'] = 'Nevybavené komentáre';
    626 $lang['... or switch to the old style form'] = '... alebo prepnite na pôvodné štýly';
    627 $lang['... or switch to the multiple files form'] = '... alebo prepnite na formát viacnásobných súborov';
    628625$lang['The websize maximum width must be a number between %d and %d'] = 'Maximálna šírka webovej stránky musí byť číslo medzi %d a %d';
    629626$lang['The websize maximum height must be a number between %d and %d'] = 'Maximálna výška webovej stránky musí byť číslo medzi %d a %d';
  • trunk/language/sr_RS/admin.lang.php

    r11960 r11966  
    619619$lang['Manage this set of %d photos'] = 'Уреди овај сет %d фотографија';
    620620$lang['Select files'] = 'Изабери датотеке';
    621 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG датотеке или ZIP архиве са JPEG датотекама у себи молим.';
    622621$lang['Everybody'] = 'Сви';
    623622$lang['Who can see these photos?'] = 'Ко може да види фотографије?';
    624 $lang['... or switch to the old style form'] = '... или промени на стари стил образац';
    625 $lang['... or switch to the multiple files form'] = '...или промени на вишеструке датотеке образац';
    626623$lang['The websize maximum width must be a number between %d and %d'] = 'Максимална ширина фотографије мора бити број између %d и %d';
    627624$lang['The websize maximum height must be a number between %d and %d'] = 'Максимална висина фотографије мора бити број између %d и %d';
  • trunk/language/sv_SE/admin.lang.php

    r11860 r11966  
    613613$lang['Manage this set of %d photos'] = 'Hantera settet om %d foton';
    614614$lang['Select files'] = 'Markerade filer';
    615 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG filer eller ZIP arkiv med JPEG filer innuti tack.';
    616615$lang['Everybody'] = 'Alla';
    617616$lang['Who can see these photos?'] = 'Vem kan se dessa foton?';
    618617$lang['Who can see this photo?'] = 'Vem kan se detta foto?';
    619618
    620 $lang['... or switch to the old style form'] = '... eller byt till gamla versionen av formuläret';
    621 $lang['... or switch to the multiple files form'] = '... eller byt till formuläret för att ladda upp många bilder';
    622619
    623620$lang['The websize maximum width must be a number between %d and %d'] = 'Webstorlekens maximala bredd måste vara ett nummer mellan %d och %d';
  • trunk/language/tr_TR/admin.lang.php

    r11641 r11966  
    612612$lang['Manage this set of %d photos'] = 'Düzenle bu dizi %d resimleri';
    613613$lang['Select files'] = 'Dosyaları seçin';
    614 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG dosyaları ya da ZIP arşivleri içinde JPEG dosyaları olan.';
    615614$lang['Everybody'] = 'Herkes';
    616615$lang['Who can see these photos?'] = 'Kim bu resimleri görebilir?';
    617616$lang['Who can see this photo?'] = 'Kim bu resimi görebilir?';
    618 $lang['... or switch to the old style form'] = '... veya eski stil form geç';
    619 $lang['... or switch to the multiple files form'] = '... veya birden fazla dosya geçiş formu';
    620617$lang['The websize maximum width must be a number between %d and %d'] = 'En fazla genişlik %d ve %d sayıları arasında olmalı';
    621618$lang['The websize maximum height must be a number between %d and %d'] = 'En fazla yükseklik %d be %d sayıları arasında olmalı';
  • trunk/language/uk_UA/admin.lang.php

    r11906 r11966  
    9595$lang['+ Add an upload box'] = '+ Додати вікно завантаження';
    9696$lang[', click on'] = ', натисніть на';
    97 $lang['... or switch to the multiple files form'] = '... або переключитися на форму завантаження кількох файлів';
    98 $lang['... or switch to the old style form'] = '... або переключитися на старий стиль форми';
    9997$lang['A local listing.xml file has been found for'] = 'Знайдено локальний файл listing.xml для';
    10098$lang['A new version of Piwigo is available.'] = 'Доступна нова версія Piwigo.';
  • trunk/language/vi_VN/admin.lang.php

    r11898 r11966  
    621621$lang['Manage this set of %d photos'] = 'Quản lý bộ gồm %d ảnh';
    622622$lang['Select files'] = 'Chọn tệp tin';
    623 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'Chỉ chấp nhận tệp tin JPEG hoặc định dạng lưu trữ ZIP chứa tệp JPEG bên trong.';
    624623$lang['Everybody'] = 'Mọi người';
    625624$lang['Who can see these photos?'] = 'Ai có thể xem được những bức ảnh này?';
    626625$lang['Who can see this photo?'] = 'Ai có thể xem được bức ảnh này?';
    627 $lang['... or switch to the old style form'] = '... hoặc chuyển sang fomr kiểu cũ';
    628 $lang['... or switch to the multiple files form'] = '... hoặc chuyển sang fomr kiểu đa tệp tin';
    629626$lang['The websize maximum width must be a number between %d and %d'] = 'Chiều rộng lớn nhất của trang web phải là số nằm giữa %d và %d';
    630627$lang['The websize maximum height must be a number between %d and %d'] = 'Chiều cao lớn nhất của trang web phải là số nằm giữa %d và %d';
  • trunk/language/zh_CN/admin.lang.php

    r11908 r11966  
    611611$lang['Manage this set of %d photos'] = '管理此设置的 %d 张照片 ';
    612612$lang['Select files'] = '选择文件';
    613 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG 文件或者将 JPEG 文件放到一个 ZIP 档案里';
    614613$lang['Everybody'] = '每个人';
    615614$lang['Who can see these photos?'] = '哪些人可以看到这些相片?';
    616 $lang['... or switch to the old style form'] = '... 或者使用旧式的表单';
    617 $lang['... or switch to the multiple files form'] = '... 或者使用多文件上传表单';
    618615$lang['The websize maximum width must be a number between %d and %d'] = '最大宽度的网页尺寸必须在 %d 和 %d 之间';
    619616$lang['The websize maximum height must be a number between %d and %d'] = '最大高度的网页尺寸必须在 %d 和 %d 之间';
  • trunk/language/zh_TW/admin.lang.php

    r11271 r11966  
    611611$lang['Manage this set of %d photos'] = '管理此設置的 %d 張照片 ';
    612612$lang['Select files'] = '選擇文件';
    613 $lang['JPEG files or ZIP archives with JPEG files inside please.'] = 'JPEG 文件或者將 JPEG 文件放到一個 ZIP 檔案裡';
    614613$lang['Everybody'] = '每個人';
    615614$lang['Who can see these photos?'] = '哪些人可以看到這些相片?';
    616 $lang['... or switch to the old style form'] = '... 或者使用舊式的表單';
    617 $lang['... or switch to the multiple files form'] = '... 或者使用多文件上傳表單';
    618615$lang['The websize maximum width must be a number between %d and %d'] = '最大寬度的網頁尺寸必須在 %d 和 %d 之間';
    619616$lang['The websize maximum height must be a number between %d and %d'] = '最大高度的網頁尺寸必須在 %d 和 %d 之間';
Note: See TracChangeset for help on using the changeset viewer.