Changeset 23383 for extensions
- Timestamp:
- Jun 20, 2013, 2:10:51 AM (11 years ago)
- Location:
- extensions/BatchDownloader
- Files:
-
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/admin/config.php
r23288 r23383 15 15 'max_elements' => intval($_POST['max_elements']), 16 16 'max_size' => intval($_POST['max_size']), 17 'one_archive' => isset($_POST['one_archive']), 18 'force_pclzip' => isset($_POST['force_pclzip']), 19 'direct' => isset($_POST['direct']), 17 20 'last_clean' => $conf['batch_download']['last_clean'], 18 21 ); … … 21 24 conf_update_param('batch_download', serialize($conf['batch_download'])); 22 25 conf_update_param('batch_download_comment', $conf['batch_download_comment']); 26 27 array_push($page['infos'], l10n('Information data registered in database')); 23 28 } 24 29 … … 36 41 37 42 // sizes 38 $enabled = ImageStdParams::get_defined_type_map(); 39 $disabled = @unserialize(@$conf['disabled_derivatives']); 40 if ($disabled === false) $disabled = array(); 41 42 $sizes_keys = array_diff(array_keys($enabled), array_keys($disabled)); 43 $type_map = ImageStdParams::get_defined_type_map(); 44 $sizes_keys = array_keys($type_map); 43 45 $sizes_names = array_map(create_function('$s', 'return l10n($s);'), $sizes_keys); 44 46 … … 58 60 'batch_download' => $conf['batch_download'], 59 61 'batch_download_comment' => stripslashes($conf['batch_download_comment']), 60 'use_ziparchive' => class_exists('ZipArchive') && ! isset($conf['batch_downloader_force_pclzip']),62 'use_ziparchive' => class_exists('ZipArchive') && !$conf['batch_download']['force_pclzip'], 61 63 'PHP_VERSION' => PHP_VERSION, 62 64 'ADVANCED_CONF' => load_language('advanced.html', BATCH_DOWNLOAD_PATH, array('return'=>true)) -
extensions/BatchDownloader/admin/sets.php
r23318 r23383 15 15 $set->updateParam('nb_zip', $set->getEstimatedArchiveNumber()); 16 16 $set->updateParam('status', 'done'); 17 $set->delete LastArchive();17 $set->deleteArchives(); 18 18 $set->clearImages(); 19 19 unset($set); -
extensions/BatchDownloader/admin/template/config.tpl
r23288 r23383 62 62 <label> 63 63 {if $group_options} 64 < span class="property">{'User groups'|@translate}</span>64 <b>{'User groups'|@translate}</b> 65 65 <select name="groups[]" data-placeholder="{'Everybody'|@translate}" class="chzn-select" multiple="multiple" style="width:370px;"> 66 66 {html_options options=$group_options selected=$batch_download.groups} … … 73 73 <li> 74 74 <label> 75 < span class="property">{'Privacy level'|@translate}</span>75 <b>{'Privacy level'|@translate}</b> 76 76 <select name="level"> 77 77 {html_options options=$level_options selected=$batch_download.level} … … 80 80 </li> 81 81 <li> 82 <span class="property">{'What can be downloaded?'|@translate}</span> 82 <i>{'Warning: Only registered users can use Batch Downloader.'|@translate}</i> 83 </li> 84 <li> 85 <b>{'What can be downloaded?'|@translate}</b> 83 86 <label><input type="checkbox" name="what[categories]" {if in_array('categories',$batch_download.what)}checked="checked"{/if}/> {'Albums'|@translate}</label> 84 87 {if $USER_COLLEC_LOADED}<label><input type="checkbox" name="what[collections]" {if in_array('collections',$batch_download.what)}checked="checked"{/if}/> {'Collections'|@translate}</label>{/if} 85 88 <label><input type="checkbox" name="what[specials]" {if in_array('specials',$batch_download.what)}checked="checked"{/if}/> {'Specials'|@translate}</label> 86 89 <a class="showInfo" title="{'Most visited'|@translate}, {'Random photos'|@translate}, {'Best rated'|@translate}...">i</a> 87 90 </li> 88 91 <li> 89 <i>{'Warning: Only registered users can use Batch Downloader.'|@translate}</i> 92 <label> 93 <b>{'Maximum photo size'|@translate}</b> 94 <select name="photo_size"> 95 {html_options options=$sizes_options selected=$batch_download.photo_size} 96 </select> 97 </label> 90 98 </li> 91 99 </ul> … … 96 104 97 105 <ul> 98 <li style="display:none;">99 <label>100 <span class="property">{'Maximum photo size'|@translate}</span>101 <select name="photo_size">102 {html_options options=$sizes_options selected=$batch_download.photo_size}103 </select>104 NOT IMPLEMENTED105 </label>106 </li>107 106 <li> 108 107 <label> 109 < span class="property">{'Delete downloads after'|@translate}</span>108 <b>{'Delete downloads after'|@translate}</b> 110 109 <input type="text" name="archive_timeout" value="{$batch_download.archive_timeout}" size="3"> {'hours'|@translate} 111 110 </label> … … 113 112 <li> 114 113 <label> 115 < span class="property">{'Maximum number of photos per download set'|@translate}</span>114 <b>{'Maximum number of photos per download set'|@translate}</b> 116 115 <div id="max_elements"></div> 117 116 <input type="text" name="max_elements" value="{$batch_download.max_elements}" size="5"> … … 120 119 <li> 121 120 <label> 122 < span class="property">{'Maximum size of each archive (in Megabytes)'|@translate}</span>121 <b>{'Maximum size of each archive (in Megabytes)'|@translate}</b> 123 122 <div id="max_size"></div> 124 123 <input type="text" name="max_size" value="{$batch_download.max_size}" size="5"> … … 127 126 <li> 128 127 <label> 129 < span class="property">{'Archive prefix'|@translate}</span>128 <b>{'Archive prefix'|@translate}</b> 130 129 <input type="text" name="archive_prefix" value="{$batch_download.archive_prefix}"> 131 130 </label> 131 </li> 132 <li> 133 <label> 134 <input type="checkbox" name="one_archive" {if $batch_download.one_archive}checked{/if}> 135 <b>{'Delete previous archive when starting to download another one'|@translate}</b> 136 </label> 137 <a class="showInfo" title="{'It saves space on the server but doesn\'t allow to restart failed downloads.'|@translate}">i</a> 138 </li> 139 <li> 140 <label> 141 <input type="checkbox" name="force_pclzip" {if $batch_download.force_pclzip}checked{/if}> 142 <b>{'Force the usage of PclZip instead of ZipArchive as ZIP library'|@translate}</b> 143 </label> 144 <a class="showInfo" title="{'Only check if you are experiencing corrupted archives with ZipArchive.'|@translate}">i</a> 145 </li> 146 <li> 147 <label> 148 <input type="checkbox" name="direct" {if $batch_download.direct}checked{/if}> 149 <b>{'Don\'t download archives through PHP'|@translate}</b> 150 </label> 151 <a class="showInfo" title="{'Only check if your host complains about high PHP usage.'|@translate}">i</a> 132 152 </li> 133 153 {if $use_ziparchive} 134 154 <li> 135 155 <label> 136 < span class="property">{'Archive comment'|@translate} :</span><br>156 <b>{'Archive comment'|@translate} :</b><br> 137 157 <textarea name="archive_comment" rows="5" style="width:450px;">{$batch_download_comment}</textarea> 138 158 </label> -
extensions/BatchDownloader/admin/template/style.css
r23318 r23383 1 1 .chzn-choices li { 2 2 clear:none !important; 3 }4 5 .property {6 width:auto !important;7 3 } 8 4 -
extensions/BatchDownloader/download.php
r23291 r23383 7 7 try { 8 8 $BatchDownloader = new BatchDownloader($_GET['set_id']); 9 $file = $BatchDownloader->getArchivePath();10 9 11 if (!file_exists($file)) 10 if ($conf['batch_download']['one_archive'] and $_GET['zip'] == $BatchDownloader->getParam('last_zip')) 11 { 12 $file = $BatchDownloader->getArchivePath(); 13 } 14 else if (!$conf['batch_download']['one_archive']) 15 { 16 $file = $BatchDownloader->getArchivePath($_GET['zip']); 17 } 18 19 if (empty($file) || !file_exists($file)) 12 20 { 13 21 throw new Exception('Unable to locate file.'); 14 22 } 15 23 16 if ( isset($conf['batch_download_direct']) and $conf['batch_download_direct'])24 if ($conf['batch_download']['direct']) 17 25 { 18 26 header('Location: '.$file); -
extensions/BatchDownloader/include/BatchDownloader.class.php
r23360 r23383 381 381 382 382 /** 383 * deleteLastArchive 384 */ 385 function deleteLastArchive() 386 { 387 $zip_path = $this->getArchivePath(); 388 if (file_exists($zip_path)) 389 { 390 unlink($zip_path); 383 * deleteArchives 384 */ 385 function deleteArchives() 386 { 387 $zip_path = glob($this->getArchivePath('*')); 388 389 if (is_array($zip_path)) 390 { 391 foreach ($zip_path as $file) 392 { 393 unlink($file); 394 } 391 395 } 392 396 } … … 458 462 $this->updateParam('last_zip', $this->data['last_zip']+1); 459 463 $zip_path = $this->getArchivePath(); 460 $zip = new myZip($zip_path, isset($conf['batch_download_force_pclzip']));464 $zip = new myZip($zip_path, $this->conf['force_pclzip']); 461 465 462 466 // add images until size limit is reach, or all images are added … … 533 537 if (count($images_to_add) == count($images_added)) 534 538 { 535 $this->updateParam('status', 'done'); 536 } 537 538 // over estimed 539 if ($this->data['status'] == 'done') 540 { 539 if ($this->conf['one_archive']) $this->updateParam('status', 'done'); 540 $done = true; 541 542 // over estimed 541 543 $this->updateParam('nb_zip', $this->data['last_zip']); 542 544 } 545 543 546 // under estimed 544 else if ($this->data['last_zip'] == $this->data['nb_zip'])547 if (!isset($done) && $this->data['status'] != 'done' && $this->data['last_zip'] == $this->data['nb_zip']) 545 548 { 546 549 $this->updateParam('nb_zip', $this->data['last_zip']+1); … … 619 622 $out.= '<li id="zip-'.$i.'">'; 620 623 621 if ($this->data['status'] == 'done' or $i < $this->data['last_zip']+1)624 if ($this->data['status']=='done' or ($this->conf['one_archive'] and $i<$this->data['last_zip']+1)) 622 625 { 623 626 $out.= '<img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive_error.png"> '.sprintf(l10n('Archive #%d (already downloaded)'), $i); 624 627 } 625 else if ($i == $this->data['last_zip']+1)628 else if ($i==$this->data['last_zip']+1 or (!$this->conf['one_archive'] and $i<$this->data['last_zip']+1)) 626 629 { 627 630 $out.= '<a href="'.add_url_params($url, array('set_id'=>$this->data['id'],'zip'=>$i)).'" rel="nofollow" style="font-weight:bold;"' 628 .( $i!=1? ' onClick="return confirm(\''.addslashes(sprintf(l10n('Starting download Archive #%d will destroy Archive #%d, be sure you finish the download. Continue ?'), $i, $i-1)).'\');"' : null).629 '><img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive_go.png"> 631 .(($i!=1 and $this->conf['one_archive']) ? ' onClick="return confirm(\''.addslashes(sprintf(l10n('Starting download Archive #%d will destroy Archive #%d, be sure you finish the download. Continue ?'), $i, $i-1)).'\');"' : null). 632 '><img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive_go.png"> '.sprintf(l10n('Archive #%d (ready)'), $i).'</a>'; 630 633 } 631 634 else 632 635 { 633 $out.= '<img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive.png"> 636 $out.= '<img src="'.$root_url.BATCH_DOWNLOAD_PATH.'template/images/drive.png"> '.sprintf(l10n('Archive #%d (pending)'), $i); 634 637 } 635 638 … … 882 885 function delete() 883 886 { 884 $this->delete LastArchive();887 $this->deleteArchives(); 885 888 $this->clearImages(); 886 889 pwg_query('DELETE FROM '.BATCH_DOWNLOAD_TSETS.' WHERE id = '.$this->data['id'].';'); -
extensions/BatchDownloader/include/download.inc.php
r23323 r23383 20 20 if ( isset($_GET['cancel']) ) 21 21 { 22 $BatchDownloader->delete LastArchive();22 $BatchDownloader->deleteArchives(); 23 23 $BatchDownloader->clearImages(); 24 24 pwg_query('DELETE FROM '.BATCH_DOWNLOAD_TSETS.' WHERE id = '.$_GET['set_id'].';'); … … 28 28 29 29 // prepare next zip 30 if ( isset($_GET['zip']) and $BatchDownloader->getParam('status') != 'new' and $BatchDownloader->getParam('status') != 'done' and $_GET['zip'] > $BatchDownloader->getParam('last_zip'))30 if ( isset($_GET['zip']) and $BatchDownloader->getParam('status') != 'new' and $BatchDownloader->getParam('status') != 'done' ) 31 31 { 32 $BatchDownloader->deleteLastArchive(); 33 $next_file = $BatchDownloader->createNextArchive(); 32 if ($_GET['zip'] > $BatchDownloader->getParam('last_zip')) 33 { 34 if ($conf['batch_download']['one_archive']) $BatchDownloader->deleteArchives(); 35 $BatchDownloader->createNextArchive(); 36 } 37 38 if ($conf['batch_download']['one_archive']) 39 { 40 $next_file = $BatchDownloader->getParam('last_zip')+1; 41 } 42 else 43 { 44 $next_file = $_GET['zip']; 45 } 34 46 } 35 47 … … 74 86 if (isset($next_file)) 75 87 { 76 $set['U_DOWNLOAD'] = get_root_url().BATCH_DOWNLOAD_PATH . 'download.php?set_id='.$_GET['set_id'].'& amp;zip='.$_GET['zip'];88 $set['U_DOWNLOAD'] = get_root_url().BATCH_DOWNLOAD_PATH . 'download.php?set_id='.$_GET['set_id'].'&zip='.$_GET['zip']; 77 89 $page['infos'][] = sprintf(l10n('The archive is downloading, if the download doesn\'t start automatically please <a href="%s">click here</a>'), $set['U_DOWNLOAD']); 78 90 } … … 85 97 86 98 // cancel link 87 if ($BatchDownloader->getParam(' status') != 'done')99 if ($BatchDownloader->getParam('last_zip') != $BatchDownloader->getParam('nb_zip')) 88 100 { 89 101 $set['U_CANCEL'] = add_url_params(BATCH_DOWNLOAD_PUBLIC . 'init_zip', array('set_id'=>$_GET['set_id'], 'cancel'=>'true')); -
extensions/BatchDownloader/include/events.inc.php
r23362 r23383 155 155 ) 156 156 ); 157 } 158 $template->append( 159 'BATCH_DOWNLOAD_SIZES', 160 array( 161 'TYPE' => 'original', 162 'DISPLAY' => l10n('Original'), 163 'SIZE' => null, 164 ) 165 ); 157 if ($params->type == $conf['batch_download']['photo_size']) break; 158 } 159 if ($conf['batch_download']['photo_size'] == 'original') 160 { 161 $template->append( 162 'BATCH_DOWNLOAD_SIZES', 163 array( 164 'TYPE' => 'original', 165 'DISPLAY' => l10n('Original'), 166 'SIZE' => null, 167 ) 168 ); 169 } 166 170 167 171 $template->set_filename('batchdwn_button', realpath(BATCH_DOWNLOAD_PATH.'template/download_button.tpl')); … … 241 245 global $conf; 242 246 247 $time = time(); 248 243 249 // we only search for old downloads every hour, nevermind which user is connected 244 if ($conf['batch_download']['last_clean'] > time()- 3600) return;245 246 $conf['batch_download']['last_clean'] = time();250 if ($conf['batch_download']['last_clean'] > $time - 3600) return; 251 252 $conf['batch_download']['last_clean'] = $time; 247 253 conf_update_param('batch_download', serialize($conf['batch_download'])); 248 254 … … 275 281 foreach ($zips as $zip) 276 282 { 277 if (filemtime($zip) < time()-$conf['batch_download']['archive_timeout']*3600)283 if (filemtime($zip) < $time-$conf['batch_download']['archive_timeout']*3600) 278 284 { 279 285 unlink($zip); -
extensions/BatchDownloader/include/install.inc.php
r23290 r23383 13 13 'level' => 0, 14 14 'what' => array('categories','specials','collections'), 15 'photo_size' => 'original', // not used15 'photo_size' => 'original', 16 16 'archive_prefix' => 'piwigo', 17 17 'archive_timeout' => 48, /* hours */ … … 19 19 'max_size' => 100, /* MB */ 20 20 'last_clean' => time(), 21 'one_archive' => false, 22 'force_pclzip' => false, 23 'direct' => false, 21 24 ); 22 25 … … 31 34 $new_conf = is_string($conf['batch_download']) ? unserialize($conf['batch_download']) : $conf['batch_download']; 32 35 33 if ( empty($new_conf['what']))36 if (!isset($new_conf['what'])) 34 37 { 35 38 $new_conf['what'] = array('categories','specials','collections'); 36 37 $conf['batch_download'] = serialize($new_conf);38 conf_update_param('batch_download', $conf['batch_download']);39 39 } 40 if (!isset($new_conf['one_archive'])) 41 { 42 $new_conf['one_archive'] = false; 43 $new_conf['force_pclzip'] = isset($conf['batch_download_force_pclzip']) && $conf['batch_download_force_pclzip']; 44 $new_conf['direct'] = isset($conf['batch_download_direct']) && $conf['batch_download_direct']; 45 } 46 47 $conf['batch_download'] = serialize($new_conf); 48 conf_update_param('batch_download', $conf['batch_download']); 40 49 } 41 50 -
extensions/BatchDownloader/language/da_DK/advanced.html
r23294 r23383 5 5 <dd>Maksimal værdi på <b>Maksimal størrelse på hvert arkiv</b>-skyderen. <i>Standardværdien er <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Hvis <span>true</span>, gennemtvinges anvendelse af <b>PclZip</b> i stedet for <b>ZipArchive</b> som ZIP-bibliotek. <i>Standardværdien er <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Hvis <span>true</span>, leveres ZIP-filer med HTTP-omdirigering i stedet for PHP-forløb. <i>Standardværdien er <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Array indeholdende downloadbare filendelser (forskel på små og store bogstaver). <i>Standardværdien er <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/da_DK/plugin.lang.php
r23359 r23383 77 77 $lang['Preparation'] = 'Forberedelse'; 78 78 $lang['Unknown'] = 'Ukendt'; 79 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Gennemtvinges anvendelse af PclZip i stedet for ZipArchive som ZIP-bibliotek'; 79 80 ?> -
extensions/BatchDownloader/language/de_DE/advanced.html
r23327 r23383 5 5 <dd>Maximalwert des Schiebereglers <b>Maximale Größe des Archivs</b>. <i>Standardwert <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Falls <span>true</span>, wird <b>PclZip</b> anstelle von <b>ZipArchive</b> als ZIP Bibliothek verwendet. <i>Standardwert <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Falls <span>true</span>, wird die ZIP Datei per HTTP redirection anstelle PHP flow geliefert. <i>Standardwert <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Array der Dateiendungen zum Herunterladen (Groß/Kleinschreibung beachten). <i>Standardwert <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/de_DE/plugin.lang.php
r23369 r23383 79 79 $lang['Archive #%d (pending)'] = 'Archiv #%d (ausstehend)'; 80 80 $lang['Archive #%d (ready)'] = 'Archiv #%d (verfügbar)'; 81 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Wird PclZip anstelle von ZipArchive als ZIP Bibliothek verwendet'; 81 82 ?> -
extensions/BatchDownloader/language/el_GR/advanced.html
r23328 r23383 5 5 <dd>Μέγιστη τιμή του <b>Μέγιστο μέγεθος κάθε αρχείου</b> slider. <i>Η προεπιλογή είναι <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Εαν <span>true</span>, εξαναγκάζει τη χρήση του <b>PclZip</b> αντι του <b>ZipArchive</b> ως βιβλιοθήκη ZIP. <i>Η προεπιλογή είναι <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Εαν <span>true</span>, διαμοιράζει τα αρχεία ZIP με ανακατεύθυνση HTTP αντί της ροής PHP. <i>Η προεπιλογή είναι <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Πίνακα περιέχει επεκτάσεις αρχείων κατάληλων για κατέβασμα (case sensitive). <i>Η προεπιλογή είναι <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/el_GR/plugin.lang.php
r23367 r23383 77 77 $lang['Archive #%d (already downloaded)'] = 'Το αρχείο #%d (ήδη κατεβασμένο)'; 78 78 $lang['%d MB'] = '%d MB'; 79 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'εξαναγκάζει τη χρήση του PclZip αντι του ZipArchive ως βιβλιοθήκη ZIP'; 79 80 ?> -
extensions/BatchDownloader/language/en_UK/advanced.html
r23288 r23383 5 5 <dd>Maximum value of the <b>Maximum size of each archive</b> slider. <i>Default is <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>If <span>true</span>, forces the usage of <b>PclZip</b> instead of <b>ZipArchive</b> as ZIP library. <i>Default is <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>If <span>true</span>, delivers ZIP files with HTTP redirection instead of PHP flow. <i>Default is <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Array containing downloadable file extensions (case sensitive). <i>Default is <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/en_UK/plugin.lang.php
r23359 r23383 23 23 $lang['Archives'] = 'Archives'; 24 24 $lang['Maximum photo size'] = 'Maximum photo size'; 25 $lang['Delete downloads after'] = 'Delete downloads after';25 $lang['Delete downloads after'] = 'Delete archives after'; 26 26 $lang['Maximum number of photos per download set'] = 'Maximum number of photos per download set'; 27 27 $lang['Maximum size of each archive (in Megabytes)'] = 'Maximum size of each archive (in Megabytes)'; … … 57 57 $lang['Archive #%d (ready)'] = 'Archive #%d (ready)'; 58 58 $lang['Archive #%d (pending)'] = 'Archive #%d (pending)'; 59 $lang['Delete previous archive when starting to download another one'] = 'Delete previous archive when starting to download another one'; 60 $lang['It saves space on the server but doesn\'t allow to restart failed downloads.'] = 'It saves space on the server but doesn\'t allow to restart failed downloads.'; 61 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Force the usage of PclZip instead of ZipArchive as ZIP library'; 62 $lang['Only check if you are experiencing corrupted archives with ZipArchive.'] = 'Only check if you are experiencing corrupted archives with ZipArchive.'; 63 $lang['Don\'t download archives through PHP'] = 'Don\'t download archives through PHP'; 64 $lang['Only check if your host complains about high PHP usage.'] = 'Only check if your host complains about high PHP usage.'; 59 65 60 66 ?> -
extensions/BatchDownloader/language/et_EE/advanced.html
r23354 r23383 5 5 <dd>Maksimaalse väärtuse <b>Maksimaalne iga arhiivi suurus</b> riba. <i>Vaikimisi on <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Kui <span>true</span>, kasuta <b>PclZip</b> ja mitte <b>ZipArchive</b> ZIP arhiivina. <i>Vaikimisi on <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Kui <span>true</span>, tagastab ZIP failid HTTP ümbersuunamisega, mitte PHP voona. <i>Vaikimisi on <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Massiiv sisaldab allalaaditavaid faililaiendeid (tõstutundlikud). <i>Vaikimisi on <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/et_EE/plugin.lang.php
r23359 r23383 77 77 $lang['Sorry, there is nothing to download. Some files may have been excluded because of <i title="Authorized types are : %s">filetype restrictions</i>.'] = 'Vabandame, ei ole midagi alla laadida. Mõned failid võivad olla välja arvatud järgmisel põhjusel: <i title="Lubatud tüübid on : %s">failitüüpide kitsendused</i>.'; 78 78 $lang['Unknown'] = 'Teadmata'; 79 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Kasuta PclZip ja mitte ZipArchive ZIP arhiivina'; 79 80 ?> -
extensions/BatchDownloader/language/fr_FR/advanced.html
r23288 r23383 5 5 <dd>Valeur maximale du paramètre <b>Taille maximale de chaque archive</b>. <i><span>500</span> par défaut.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Si <span>true</span>, force l'utilisation de <b>PclZip</b> à la place de <b>ZipArchive</b> comme librairie ZIP. <i><span>false</span> par défaut.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Si <span>true</span>, fournit les fichiers ZIP par redirection HTTP plutôt que par téléchargement PHP. <i><span>false</span> par défaut.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Tableau contenant les extensions de fichier qui peuvent être téléchargés (sensible à la casse). <i><span>$conf['picture_ext']</span> par défaut.</i></dd> -
extensions/BatchDownloader/language/fr_FR/plugin.lang.php
r23359 r23383 22 22 $lang['User groups'] = 'Groupes d\'utilisateurs'; 23 23 $lang['Archives'] = 'Archives'; 24 $lang['Maximum photo size'] = 'Taille maximale des photo ';25 $lang['Delete downloads after'] = 'Supprimer les téléchargements après';24 $lang['Maximum photo size'] = 'Taille maximale des photos'; 25 $lang['Delete downloads after'] = 'Supprimer les archives après'; 26 26 $lang['Maximum number of photos per download set'] = 'Nombre maximal de photos par lot'; 27 27 $lang['Maximum size of each archive (in Megabytes)'] = 'Taille maximale de chaque archive (en Megaoctets)'; … … 57 57 $lang['Archive #%d (ready)'] = 'Archive #%d (prête)'; 58 58 $lang['Archive #%d (pending)'] = 'Archive #%d (en attente)'; 59 $lang['Delete previous archive when starting to download another one'] = 'Supprimer l\'archive précédente avant de commencer le téléchargement de l\'archive suivante'; 60 $lang['It saves space on the server but doesn\'t allow to restart failed downloads.'] = 'Cela permet d\'économiser l\'espace disque mais interdit de recommencer un téléchargement échoué.'; 61 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Forcer l\'utilisation de PclZip à la place de ZipArchive comme librairie ZIP'; 62 $lang['Only check if you are experiencing corrupted archives with ZipArchive.'] = 'Ne cochez uniquement que si vous avez des archives corrompues avec ZipArchive.'; 63 $lang['Don\'t download archives through PHP'] = 'Ne pas télécharger les archives via PHP'; 64 $lang['Only check if your host complains about high PHP usage.'] = 'Ne cochez uniquement que si votre hébergeur se plaint d\'une activité abusive de PHP.'; 59 65 60 66 ?> -
extensions/BatchDownloader/language/it_IT/advanced.html
r23350 r23383 5 5 <dd>Valore massimo del <b>Dimensione massima di ciascun archivo</b> di slider. <i>Predefinito è <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Se <span>true</span>, impone l'utilizzo di <b>PclZip</b> anziché <b>ZipArchive</b> come libreria ZIP. <i>Predefinito è <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Se <span>true</span>, fornisce i file ZIP con reindirizzamento HTTP invece di flusso PHP. <i>Predefinito è <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Array contenente le estensioni dei file scaricabili (differenzia maiuscole e minuscole). <i>Predefinito è <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/it_IT/plugin.lang.php
r23359 r23383 77 77 $lang['Archive #%d (already downloaded)'] = 'Archivio #%d (già scaricato)'; 78 78 $lang['%d MB'] = '%d MB'; 79 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Impone l\'utilizzo di PclZip anziché ZipArchive come libreria ZIP'; 79 80 ?> -
extensions/BatchDownloader/language/lv_LV/advanced.html
r23347 r23383 5 5 <dd>Maksimālā <b>Katra arhīva maksimālais lielums </b> slaidera vērtība.<i>Noklusējuma vērtība ir <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Ja <span>true</span>, lieto piespiedu <b>PclZip</b> <b>ZipArchive</b> vietā kā ZIP bibliotēku. <i>Noklusējuma vērtība ir<span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Ja <span>true</span>, piegādā ZIP failus ar HTTP pāradresāciju PHP plūsmas vietā. <i>Noklusējuma vērtība ir<span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Lejuplādējamu failu paplašinājumu masīvs (reģistrjutīgs). <i>Noklusējuma vērtība ir <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/lv_LV/plugin.lang.php
r23359 r23383 78 78 $lang['Archive #%d (already downloaded)'] = 'Arhīvs #%d (jau lejupielādēts)'; 79 79 $lang['%d MB'] = '%d MB'; 80 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Lieto piespiedu PclZip, ZipArchive vietā kā ZIP bibliotēku'; 80 81 ?> -
extensions/BatchDownloader/language/nl_NL/advanced.html
r23343 r23383 5 5 <dd>Maximale waarde van de <b>Maximale grootte van elk archief</b> schuif. <i>Standaard is <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Indien <span>true</span>, wordt <b>PclZip</b> gebruikt in plaats van <b>ZipArchive</b> als ZIP bibliotheek. <i>Standaard is <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Indien <span>true</span>, geeft ZIP-bestanden met HTTP redirection in plaats van PHP flow. <i>Standaard is <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Reeks met downloadbare bestands-extensies (hoofdlettergevoelig). <i>Standaard is <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/nl_NL/plugin.lang.php
r23359 r23383 77 77 $lang['Unknown'] = 'Onbekend'; 78 78 $lang['%d MB'] = '%d MB'; 79 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Wordt <b>PclZip</b> gebruikt in plaats van <b>ZipArchive</b> als ZIP bibliotheek'; 79 80 ?> -
extensions/BatchDownloader/language/pl_PL/advanced.html
r23341 r23383 5 5 <dd>Maksymalna wartość suwaka: <b>Maksymalny rozmiar każdego archiwum</b>. <i>Domyślnie <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Jeśli <span>true</span>, wymusza użycie <b>PclZip</b> w przeciwnym razie używa <b>ZipArchive</b> jako biblioteki ZIP. <i>Domyślnie <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Jeśli <span>true</span>, dostarcza pliki z przekierowaniem HTTP zamiast przepływu PHP. <i>Domyślnie <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Tablica zawierająca dopuszczone do pobrania rozszerzenia plików (ważna wielkość znaków). <i>Domyślnie <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/pl_PL/plugin.lang.php
r23359 r23383 77 77 $lang['Preparation'] = 'Przygotowanie'; 78 78 $lang['Unknown'] = 'Nieznane'; 79 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Wymusza użycie PclZip w przeciwnym razie używa ZipArchive jako biblioteki ZIP'; 79 80 ?> -
extensions/BatchDownloader/language/pt_BR/advanced.html
r23355 r23383 5 5 <dd>Valor máximo do <b>Tamanho máximo de cada arquivo</b> deslizante. <i>O padrão é <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Se <span>true</span>, obriga à utilização de <b>PclZip</b> no lugar de <b>ZipArchive</b> como biblioteca ZIP. <i>O padrão é <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Se <span>true</span>, entrega será de arquivos ZIP com o redirecionamento de HTTP em vez de fluxo PHP. <i>O padrão é <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Array contendo as extensões de arquivo para download (existe distição entre maiúsculas e minúsculas). <i>O padrão é <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/pt_BR/plugin.lang.php
r23359 r23383 77 77 $lang['Sorry, there is nothing to download. Some files may have been excluded because of <i title="Authorized types are : %s">filetype restrictions</i>.'] = 'Desculpe, não há nada para baixar. Alguns arquivos podem ter sido excluídos por causa de <i title="Tipos authorizados são: %s">restrições de tipo de arquivo</i>.'; 78 78 $lang['Unknown'] = 'Desconhecido'; 79 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Obriga à utilização de PclZip no lugar de ZipArchive como biblioteca ZIP'; 79 80 ?> -
extensions/BatchDownloader/language/pt_PT/advanced.html
r23352 r23383 2 2 <dd>Definir o valor máximo de fotos por descarga. <i>Por defeito é <span>1000</span>.</i></dd> 3 3 4 <dt><span $conf['batch_download_max_size']</span></dt>4 <dt><span>$conf['batch_download_max_size']</span></dt> 5 5 <dd>Valor máximo do tamanho de cada arquivo. <i>Por defeito é <span>500</span>.</i></dd> 6 6 7 <dt><span$conf['batch_download_force_pclzip']</span></dt> 8 <dd>Se <span>true</span>, O uso de <b>PclZip</b> é forçado em vez de <b>ZipArchive</b> da livraria ZIP. <i>Por defeito é <span>false</span>.</i></dd> 9 10 <dt><span$conf['batch_download_direct']</span></dt> 11 <dd>Se <span>true</span>, fornece arquivos ZIP com redirecionamento HTTP em vez de fluxo PHP. <i>Por defeito é <span>false</span>.</i></dd> 12 13 <dt><span$conf['batch_download_additional_ext']</span></dt> 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Matriz contendo extensões de arquivos descarregáveis (maiúsculas e minúsculas). <i>Por defeito é <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/pt_PT/plugin.lang.php
r23359 r23383 68 68 $lang['Warning: Only registered users can use Batch Downloader.'] = 'Aviso: Apenas utilizadores registados podem usar o Batch Downloader'; 69 69 $lang['What can be downloaded?'] = 'O que pode ser descarregado?'; 70 $lang['No result'] = 'Κανένα αποτέλεσμα';71 70 $lang['%d MB'] = '%d MB'; 72 71 $lang['Archive #%d (already downloaded)'] = 'Arquivo #%d (já descarregado)'; … … 77 76 $lang['Sorry, there is nothing to download. Some files may have been excluded because of <i title="Authorized types are : %s">filetype restrictions</i>.'] = 'Desculpe, não existe algo para descarga. Alguns arquivos foram excluídos devido ao <i title="Tipos autorizados são: %s">filetype restrictions</i>.'; 78 77 $lang['Unknown'] = 'Desconhecido'; 78 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'O uso de PclZip é forçado em vez de ZipArchive da livraria ZIP'; 79 79 ?> -
extensions/BatchDownloader/language/ru_RU/advanced.html
r23298 r23383 5 5 <dd>Максимальный уровень <b>Максимальный размер каждого архива</b> slider. <i>По умолчанию <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Если <span>true</span>, то применяется <b>PclZip</b> вместо <b>ZipArchive</b> в качестве Zip-архиватора. <i>По умолчанию <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Если <span>true</span>, то разрешаются ZIP-файлы с перенаправлением HTTP, вместо PHP. <i>По умолчанию <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Массив-перечень расширений файлов, доступных для закачивания (с учетом регистра). <i>По умолчанию <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/ru_RU/plugin.lang.php
r23359 r23383 76 76 $lang['Please wait, your download is being prepared. This page will automatically refresh when it is ready.'] = 'Пожалуйста, подождите. Ваша закачка готовится. Эта страница обновится автоматически по мере готовности.'; 77 77 $lang['Preparation'] = 'Подготовка'; 78 $lang['Unknown'] = 'Неизвестно :('; 78 $lang['Unknown'] = 'Неизвестно'; 79 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'то применяется PclZip вместо ZipArchive в качестве Zip-архиватора'; 79 80 ?> -
extensions/BatchDownloader/language/sk_SK/advanced.html
r23353 r23383 5 5 <dd>Maximálna hodnota <b>Maximálna veľkosť každého archívu</b>. <i>Prednastavené je <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd>Ak je <span>true</span>, použije sa <b>PclZip</b> namiesto <b>ZipArchive</b> ako ZIP knižnica. <i>Prednastavené je <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd>Ak je <span>true</span>, posiela ZIP súbory s presmerovaním HTTP namiesto toku PHP. <i>Prednastavené je <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>Polia obsahujúce prípony súborov na prevzatie (malé a veľké písmená). <i>Prednastavené je <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/sk_SK/plugin.lang.php
r23359 r23383 77 77 $lang['Archive #%d (already downloaded)'] = 'Archív #%d (bol stiahnutý)'; 78 78 $lang['%d MB'] = '%d MB'; 79 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'Použije sa PclZip namiesto ZipArchive ako ZIP knižnica'; 79 80 ?> -
extensions/BatchDownloader/language/tr_TR/advanced.html
r23346 r23383 5 5 <dd><b>Her arşivin azami büyüklüğü</b> slider'ındaki azami değer. <i>Varsayılan <span>500</span>.</i></dd> 6 6 7 <dt><span>$conf['batch_download_force_pclzip']</span></dt>8 <dd><span>true</span> olduğunda, ZIP kütüphanesi olarak <b>ZipArchive</b> yerine <b>PclZip</b> kullanılmasını zorlar. <i>Varsayılan <span>false</span>.</i></dd>9 10 <dt><span>$conf['batch_download_direct']</span></dt>11 <dd><span>true</span> olduğunda ZIP dosyaları PHP akışı yerine HTTP yönlendirmesi ile indirilir. <i>Varsayılan <span>false</span>.</i></dd>12 13 7 <dt><span>$conf['batch_download_additional_ext']</span></dt> 14 8 <dd>İndirilebilir dosya uzantısına sahip dizi (büyük-küçük harfe duyarlı). <i>Varsayılan <span>$conf['picture_ext']</span>.</i></dd> -
extensions/BatchDownloader/language/tr_TR/plugin.lang.php
r23359 r23383 77 77 $lang['Preparation'] = 'Hazırlık'; 78 78 $lang['Unknown'] = 'Bilinmiyor'; 79 $lang['Force the usage of PclZip instead of ZipArchive as ZIP library'] = 'ZIP kütüphanesi olarak ZipArchive yerine PclZip kullanılmasını zorlar'; 79 80 ?>
Note: See TracChangeset
for help on using the changeset viewer.