ShortPixel Image Optimizer - Version 4.2.2

Version Description

  • offer to generate the API key directly from ShortPixel settings.
  • alert and explain why is not allowed to specify a size less than 1024 when resizing.
  • fix metadata for missing thumbs while optimizing.
  • button Cleanup&Retry for images that have missing thumbnails.
  • display what thumbnails are missing.
  • for Windows platforms, do not check the local path to start with a slash
  • fix optimization for images that contain '+' in the path
  • use different styles for bulk boxes instead of the notice class
  • properly display from the start the number of images to be optimized on the bulk button, when thumbnails are not selected.
  • fix for sites that have admin urls with a doubled slash like wp-admin//uploads.php
  • fix JS error on bulk finished page and new images optimizing
  • fix bulk hangup when encountering a block of more than 900 wp_postmeta lines that are not image metadata.
  • fix for cases when the wp-content path returned by wordpress contains backpath items (like wp/../wp-content)
  • fix not saving advanced settings on "Save and go to Bulk" button.
Download this release

Release Info

Developer ShortPixel
Plugin Icon 128x128 ShortPixel Image Optimizer
Version 4.2.2
Comparing to
See all releases

Code changes from version 4.2.1 to 4.2.2

class/db/shortpixel-custom-meta-dao.php CHANGED
@@ -189,13 +189,12 @@ class ShortPixelCustomMetaDao {
189
  public function newFolderFromPath($path, $uploadPath, $rootPath) {
190
  WpShortPixelDb::checkCustomTables(); // check if custom tables are created, if not, create them
191
  $addedFolder = ShortPixelFolder::checkFolder($path, $uploadPath);
192
-
193
  if($this->getFolder($addedFolder)) {
194
  return __('Folder already added.','shortpixel-image-optimiser');
195
  }
196
  if(strpos($addedFolder, $rootPath) !== 0) {
197
-
198
- return( sprintf(__('The %s folder cannot be processed as it\'s not inside the root path of your website.','shortpixel-image-optimiser'),$addedFolder));
199
  }
200
  $folder = new ShortPixelFolder(array("path" => $addedFolder));
201
  try {
189
  public function newFolderFromPath($path, $uploadPath, $rootPath) {
190
  WpShortPixelDb::checkCustomTables(); // check if custom tables are created, if not, create them
191
  $addedFolder = ShortPixelFolder::checkFolder($path, $uploadPath);
192
+ $addedFolder = wp_normalize_path($addedFolder); $rootPath = wp_normalize_path($rootPath);
193
  if($this->getFolder($addedFolder)) {
194
  return __('Folder already added.','shortpixel-image-optimiser');
195
  }
196
  if(strpos($addedFolder, $rootPath) !== 0) {
197
+ return( sprintf(__('The %s folder cannot be processed as it\'s not inside the root path of your website (%s).','shortpixel-image-optimiser'),$addedFolder, $rootPath));
 
198
  }
199
  $folder = new ShortPixelFolder(array("path" => $addedFolder));
200
  try {
class/db/shortpixel-meta-facade.php CHANGED
@@ -122,6 +122,7 @@ class ShortPixelMetaFacade {
122
  unset($rawMeta['ShortPixel']['WaitingProcessing']);
123
  }
124
  wp_update_attachment_metadata($this->ID, $rawMeta);
 
125
  }
126
  }
127
  }
@@ -196,7 +197,6 @@ class ShortPixelMetaFacade {
196
  $meta = $this->getMeta();
197
  $urlList[] = str_replace(get_home_path(), network_site_url("/"), $meta->getPath());
198
  $filePaths[] = $meta->getPath();
199
- return array("URLs" => $urlList, "PATHs" => $filePaths);
200
  } else {
201
  if ( !parse_url(WP_CONTENT_URL, PHP_URL_SCHEME) ) {//no absolute URLs used -> we implement a hack
202
  $url = get_site_url() . wp_get_attachment_url($this->ID);//get the file URL
@@ -206,26 +206,26 @@ class ShortPixelMetaFacade {
206
  }
207
  $urlList[] = $url;
208
  $path = get_attached_file($this->ID);//get the full file PATH
209
- $filePath[] = $path;
210
  if($addRetina) {
211
- $this->addRetina($path, $url, $filePath, $urlList);
212
  }
213
 
214
  $meta = $this->getMeta();
215
  $sizes = $meta->getThumbs();
216
 
217
  //it is NOT a PDF file and thumbs are processable
218
- if ( strtolower(substr($filePath[0],strrpos($filePath[0], ".")+1)) != "pdf"
219
  && ($processThumbnails || $onlyThumbs)
220
  && count($sizes))
221
  {
222
  foreach( $sizes as $thumbnailInfo ) {
223
  $tUrl = str_replace(ShortPixelAPI::MB_basename($urlList[0]), $thumbnailInfo['file'], $url);
224
- $tPath = str_replace(ShortPixelAPI::MB_basename($filePath[0]), $thumbnailInfo['file'], $path);
225
  $urlList[] = $tUrl;
226
- $filePath[] = $tPath;
227
  if($addRetina) {
228
- $this->addRetina($tPath, $tUrl, $filePath, $urlList);
229
  }
230
  }
231
  }
@@ -235,10 +235,15 @@ class ShortPixelMetaFacade {
235
 
236
  if($onlyThumbs) { //remove the main image
237
  array_shift($urlList);
238
- array_shift($filePath);
239
  }
240
  }
241
- return array("URLs" => $urlList, "PATHs" => $filePath);
 
 
 
 
 
242
  }
243
 
244
  protected function addRetina($path, $url, &$fileList, &$urlList) {
122
  unset($rawMeta['ShortPixel']['WaitingProcessing']);
123
  }
124
  wp_update_attachment_metadata($this->ID, $rawMeta);
125
+ $this->rawMeta = $rawMeta;
126
  }
127
  }
128
  }
197
  $meta = $this->getMeta();
198
  $urlList[] = str_replace(get_home_path(), network_site_url("/"), $meta->getPath());
199
  $filePaths[] = $meta->getPath();
 
200
  } else {
201
  if ( !parse_url(WP_CONTENT_URL, PHP_URL_SCHEME) ) {//no absolute URLs used -> we implement a hack
202
  $url = get_site_url() . wp_get_attachment_url($this->ID);//get the file URL
206
  }
207
  $urlList[] = $url;
208
  $path = get_attached_file($this->ID);//get the full file PATH
209
+ $filePaths[] = $path;
210
  if($addRetina) {
211
+ $this->addRetina($path, $url, $filePaths, $urlList);
212
  }
213
 
214
  $meta = $this->getMeta();
215
  $sizes = $meta->getThumbs();
216
 
217
  //it is NOT a PDF file and thumbs are processable
218
+ if ( strtolower(substr($filePaths[0],strrpos($filePaths[0], ".")+1)) != "pdf"
219
  && ($processThumbnails || $onlyThumbs)
220
  && count($sizes))
221
  {
222
  foreach( $sizes as $thumbnailInfo ) {
223
  $tUrl = str_replace(ShortPixelAPI::MB_basename($urlList[0]), $thumbnailInfo['file'], $url);
224
+ $tPath = str_replace(ShortPixelAPI::MB_basename($filePaths[0]), $thumbnailInfo['file'], $path);
225
  $urlList[] = $tUrl;
226
+ $filePaths[] = $tPath;
227
  if($addRetina) {
228
+ $this->addRetina($tPath, $tUrl, $filePaths, $urlList);
229
  }
230
  }
231
  }
235
 
236
  if($onlyThumbs) { //remove the main image
237
  array_shift($urlList);
238
+ array_shift($filePaths);
239
  }
240
  }
241
+
242
+ //convert the + which are replaced with spaces by wp_remote_post
243
+ array_walk($urlList, function (&$url) {
244
+ $url = str_replace("+", "%2B", $url);
245
+ });
246
+ return array("URLs" => $urlList, "PATHs" => $filePaths);
247
  }
248
 
249
  protected function addRetina($path, $url, &$fileList, &$urlList) {
class/db/wp-shortpixel-media-library-adapter.php CHANGED
@@ -127,7 +127,30 @@ class WpShortPixelMediaLbraryAdapter {
127
  "mainUnprocessedThumbs" => $mainUnprocessedThumbs,
128
  "filesWithErrors" => $filesWithErrors
129
  );
130
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
 
132
  protected static function getOptimalChunkSize() {
133
  global $wpdb;
127
  "mainUnprocessedThumbs" => $mainUnprocessedThumbs,
128
  "filesWithErrors" => $filesWithErrors
129
  );
130
+ }
131
+
132
+ public static function fixWPMediaMetaMissingThumbs($id) {
133
+ $meta = wp_get_attachment_metadata($id);
134
+
135
+ $path = get_attached_file($id);//get the full file PATH
136
+ $filePath[] = $path;
137
+
138
+ $missing = array();
139
+ //it is NOT a PDF file and thumbs are processable
140
+ if ( strtolower(substr($filePath[0],strrpos($filePath[0], ".")+1)) != "pdf"
141
+ && count($meta['sizes']))
142
+ {
143
+ foreach( $meta['sizes'] as $size => $thumbnailInfo ) {
144
+ if(!file_exists(str_replace(ShortPixelAPI::MB_basename($filePath[0]), $thumbnailInfo['file'], $path))) {
145
+ $missing[] = $size;
146
+ }
147
+ }
148
+ foreach($missing as $size) {
149
+ unset($meta['sizes'][$size]);
150
+ }
151
+ }
152
+ wp_update_attachment_metadata($id, $meta);
153
+ }
154
 
155
  protected static function getOptimalChunkSize() {
156
  global $wpdb;
class/model/shortpixel-folder.php CHANGED
@@ -18,7 +18,7 @@ class ShortPixelFolder extends ShortPixelEntity{
18
  }
19
 
20
  public static function checkFolder($folder, $base) {
21
- if(substr($folder, 0, 1) !== '/') {
22
  $folder = '/' . $folder;
23
  }
24
  if(is_dir($folder)) {
18
  }
19
 
20
  public static function checkFolder($folder, $base) {
21
+ if(strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN' && substr($folder, 0, 1) !== '/') {
22
  $folder = '/' . $folder;
23
  }
24
  if(is_dir($folder)) {
class/view/shortpixel_view.php CHANGED
@@ -98,7 +98,7 @@ class ShortPixelView {
98
  <?php
99
  if ( !$bulkRan ) {
100
  ?>
101
- <div class="notice notice-info sp-floating-block sp-full-width">
102
  <form class='start' action='' method='POST' id='startBulk'>
103
  <input type='hidden' id='mainToProcess' value='<?php echo($quotaData['mainFiles'] - $quotaData['mainProcessedFiles']);?>'/>
104
  <input type='hidden' id='totalToProcess' value='<?php echo($quotaData['totalFiles'] - $quotaData['totalProcessedFiles']);?>'/>
@@ -139,7 +139,9 @@ class ShortPixelView {
139
  </div>
140
  <div class="bulk-btn-txt">
141
  <?php printf(__('<span class="label">Start Optimizing</span><br> <span class="total">%s</span> images','shortpixel-image-optimiser'),
142
- number_format($quotaData['totalFiles'] - $quotaData['totalProcessedFiles']));?>
 
 
143
  </div>
144
  <div class="bulk-btn-img" class="bulk-btn-img">
145
  <img src='<?php echo(plugins_url( 'shortpixel-image-optimiser/res/img/arrow.png' ));?>'/>
@@ -192,7 +194,7 @@ class ShortPixelView {
192
  <?php
193
  } else { ?>
194
  <div class="sp-container">
195
- <div class='notice notice-success sp-floating-block sp-single-width' style="height: 80px;overflow:hidden;">
196
  <div style='float:left;margin:5px 20px 5px 0'><img src="<?php echo(plugins_url( 'shortpixel-image-optimiser/res/img/slider.png' ));?>"></div>
197
  <div class="sp-bulk-summary">
198
  <input type="text" value="<?php echo("" . round($averageCompression))?>" id="sp-total-optimization-dial" class="dial">
@@ -203,7 +205,7 @@ class ShortPixelView {
203
  <span class="sp-bulk-summary"><a href='javascript:void(0);'><?php _e('Summary','shortpixel-image-optimiser');?></a></span>
204
  </p>
205
  </div>
206
- <div class='notice notice-success sp-floating-block sp-single-width' style="height: 80px;overflow:hidden;padding-right: 0;">
207
  <div style="float:left; margin-top:-5px">
208
  <p style='margin-bottom: -2px; font-weight: bold;'>
209
  <?php _e('Share your optimization results:','shortpixel-image-optimiser');?>
@@ -281,7 +283,7 @@ class ShortPixelView {
281
  <?php $this->displayFailed($failed); ?>
282
  </div>
283
  <?php } ?>
284
- <div class="bulk-progress notice notice-info sp-floating-block sp-double-width">
285
  <?php
286
  $todo = $reopt = false;
287
  if($quotaData['totalProcessedFiles'] < $quotaData['totalFiles']) {
@@ -301,7 +303,7 @@ class ShortPixelView {
301
  }
302
  _e('','shortpixel-image-optimiser');
303
  if (count($quotaData['filesWithErrors'])) {
304
- _e('Some have errors:','shortpixel-image-optimiser');
305
  foreach($quotaData['filesWithErrors'] as $id => $data) {
306
  if(ShortPixelMetaFacade::isCustomQueuedId($id)) {
307
  echo('<a href="'.trailingslashit(network_site_url("/")) . ShortPixelMetaFacade::filenameToRootRelative($data['Path']).'" title="'.$data['Message'].'" target="_blank">'.$data['Name'].'</a>,&nbsp;');
@@ -340,7 +342,8 @@ class ShortPixelView {
340
  _e('Restart the optimization process for these images by clicking the button below.','shortpixel-image-optimiser');
341
  } else {
342
  _e('Restart the optimization process for new images added to your library by clicking the button below.','shortpixel-image-optimiser');
343
- }
 
344
  printf(__('Already <strong>%s</strong> optimized images will not be reprocessed.','shortpixel-image-optimiser'), $todo ? ($optType) : '');
345
  if($reopt) { ?>
346
  <br><?php _e('Please note that reoptimizing images as <strong>lossy/lossless</strong> may use additional credits.','shortpixel-image-optimiser')?>
@@ -380,7 +383,7 @@ class ShortPixelView {
380
  </div>
381
  </div>
382
  </div>
383
- <div class="bulk-progress bulk-slider-container notice notice-info sp-floating-block sp-full-width">
384
  <div class="short-pixel-block-title"><span><?php _e('Just optimized:','shortpixel-image-optimiser');?></span><span class="filename"></span></div>
385
  <div class="bulk-slider">
386
  <div class="bulk-slide" id="empty-slide">
@@ -413,7 +416,7 @@ class ShortPixelView {
413
  $percentAfter = $percent . "%";
414
  }
415
  ?>
416
- <div class="notice notice-info bulk-progress sp-floating-block sp-full-width">
417
  <div style="float:right">
418
  <?php if(false) { ?>
419
  <div class="bulk-progress-indicator">
@@ -433,16 +436,16 @@ class ShortPixelView {
433
  </div>
434
  </div>
435
  <?php if($running) { ?>
436
- <h2><?php echo($type & 1 ? __('Media Library','shortpixel-image-optimiser') . " " : "");
437
  echo($type & 3 == 3 ? __('and','shortpixel-image-optimiser') . " " : "");
438
- echo($type & 2 ? __('Custom folders','shortpixel-image-optimiser') . " " : ""); _e('optimization in progress ...','shortpixel-image-optimiser');?></h2>
439
  <p style="margin: 0 0 18px;"><?php _e('Bulk optimization has started.','shortpixel-image-optimiser');?><br>
440
  <?php printf(__('This process will take some time, depending on the number of images in your library. In the meantime, you can continue using
441
  the admin as usual, <a href="%s" target="_blank">in a different browser window or tab</a>.<br>
442
  However, <strong>if you close this window, the bulk processing will pause</strong> until you open the media gallery or the ShortPixel bulk page again.','shortpixel-image-optimiser'), get_admin_url());?>
443
  </p>
444
  <?php } else { ?>
445
- <h2><?php echo(__('Media Library','shortpixel-image-optimiser') . ' ' . ($type & 2 ? __("and Custom folders",'shortpixel-image-optimiser') . ' ' : "") . __('optimization paused','shortpixel-image-optimiser')); ?></h2>
446
  <p style="margin: 0 0 50px;"><?php _e('Bulk processing is paused until you resume the optimization process.','shortpixel-image-optimiser');?></p>
447
  <?php }?>
448
  <div id="bulk-progress" class="progress" >
@@ -589,7 +592,26 @@ class ShortPixelView {
589
  <?php } else {
590
  if($showApiKey) {?>
591
  <h3><?php _e('Step 1:','shortpixel-image-optimiser');?></h3>
592
- <p style='font-size: 14px'><?php printf(__('If you don\'t have an API Key, <a href="https://shortpixel.com/wp-apikey%s" target="_blank">sign up here.</a> It\'s free and it only takes one minute, we promise!','shortpixel-image-optimiser'),$this->ctrl->getAffiliateSufix());?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
593
  <h3><?php _e('Step 2:','shortpixel-image-optimiser');?></h3>
594
  <p style='font-size: 14px'><?php _e('Please enter here the API Key you received by email and press Validate.','shortpixel-image-optimiser');?></p>
595
  <?php }
@@ -679,11 +701,14 @@ class ShortPixelView {
679
  <th scope="row"><label for="resize"><?php _e('Resize large images','shortpixel-image-optimiser');?></label></th>
680
  <td>
681
  <input name="resize" type="checkbox" id="resize" <?php echo( $resize );?>> <?php
682
- _e('to maximum','shortpixel-image-optimiser');?> <input type="text" name="width" id="width" style="width:70px"
683
- value="<?php echo( max($this->ctrl->getResizeWidth(), min(1024, $minSizes['width'])) );?>" <?php echo( $resizeDisabled );?>/> <?php
684
  _e('pixels wide &times;','shortpixel-image-optimiser');?>
685
- <input type="text" name="height" id="height" style="width:70px" value="<?php echo( max($this->ctrl->getResizeHeight(), min(1024, $minSizes['height'])) );?>" <?php echo( $resizeDisabled );?>/> <?php
 
686
  _e('pixels high (original aspect ratio is preserved and image is not cropped)','shortpixel-image-optimiser');?>
 
 
687
  <p class="settings-info">
688
  <?php _e('Recommended for large photos, like the ones taken with your phone. Saved space can go up to 80% or more after resizing.','shortpixel-image-optimiser');?><br/>
689
  </p>
@@ -910,7 +935,7 @@ class ShortPixelView {
910
  <table class="form-table">
911
  <tbody>
912
  <tr>
913
- <th scope="row" bgcolor="#ffffff"><label for="apiQuota"><?php _e('Your ShortPixel plan','shortpixel-image-optimiser');?></label></th>
914
  <td bgcolor="#ffffff">
915
  <?php printf(__('%s/month, renews in %s days, on %s ( <a href="https://shortpixel.com/login/%s" target="_blank">Need More? See the options available</a> )','shortpixel-image-optimiser'),
916
  $quotaData['APICallsQuota'], floor(30 + (strtotime($quotaData['APILastRenewalDate']) - time()) / 86400),
@@ -989,7 +1014,7 @@ class ShortPixelView {
989
  break;
990
  case 'optimizeNow':
991
  if($data['showActions']) { ?>
992
- <a class='button button-smaller button-primary' href="javascript:manualOptimization('<?php echo($id)?>')">
993
  <?php _e('Optimize now','shortpixel-image-optimiser');?>
994
  </a>
995
  <?php }
@@ -998,10 +1023,17 @@ class ShortPixelView {
998
  echo("<br>+" . $data['thumbsTotal'] . " thumbnails");
999
  }
1000
  break;
1001
- case 'retry': ?>
1002
- <?php echo($data['message'])?> <a class='button button-smaller button-primary' href="javascript:manualOptimization('<?php echo($id)?>')">
1003
- <?php _e('Retry','shortpixel-image-optimiser');?>
1004
- </a> <?php
 
 
 
 
 
 
 
1005
  break;
1006
  case 'pdfOptimized':
1007
  case 'imgOptimized':
98
  <?php
99
  if ( !$bulkRan ) {
100
  ?>
101
+ <div class="sp-notice sp-notice-info sp-floating-block sp-full-width">
102
  <form class='start' action='' method='POST' id='startBulk'>
103
  <input type='hidden' id='mainToProcess' value='<?php echo($quotaData['mainFiles'] - $quotaData['mainProcessedFiles']);?>'/>
104
  <input type='hidden' id='totalToProcess' value='<?php echo($quotaData['totalFiles'] - $quotaData['totalProcessedFiles']);?>'/>
139
  </div>
140
  <div class="bulk-btn-txt">
141
  <?php printf(__('<span class="label">Start Optimizing</span><br> <span class="total">%s</span> images','shortpixel-image-optimiser'),
142
+ $this->ctrl->processThumbnails() ?
143
+ number_format($quotaData['totalFiles'] - $quotaData['totalProcessedFiles']) :
144
+ number_format($quotaData['mainFiles'] - $quotaData['mainProcessedFiles']));?>
145
  </div>
146
  <div class="bulk-btn-img" class="bulk-btn-img">
147
  <img src='<?php echo(plugins_url( 'shortpixel-image-optimiser/res/img/arrow.png' ));?>'/>
194
  <?php
195
  } else { ?>
196
  <div class="sp-container">
197
+ <div class='sp-notice sp-notice-success sp-floating-block sp-single-width' style="height: 80px;overflow:hidden;">
198
  <div style='float:left;margin:5px 20px 5px 0'><img src="<?php echo(plugins_url( 'shortpixel-image-optimiser/res/img/slider.png' ));?>"></div>
199
  <div class="sp-bulk-summary">
200
  <input type="text" value="<?php echo("" . round($averageCompression))?>" id="sp-total-optimization-dial" class="dial">
205
  <span class="sp-bulk-summary"><a href='javascript:void(0);'><?php _e('Summary','shortpixel-image-optimiser');?></a></span>
206
  </p>
207
  </div>
208
+ <div class='sp-notice sp-notice-success sp-floating-block sp-single-width' style="height: 80px;overflow:hidden;padding-right: 0;">
209
  <div style="float:left; margin-top:-5px">
210
  <p style='margin-bottom: -2px; font-weight: bold;'>
211
  <?php _e('Share your optimization results:','shortpixel-image-optimiser');?>
283
  <?php $this->displayFailed($failed); ?>
284
  </div>
285
  <?php } ?>
286
+ <div class="bulk-progress sp-notice sp-notice-info sp-floating-block sp-double-width">
287
  <?php
288
  $todo = $reopt = false;
289
  if($quotaData['totalProcessedFiles'] < $quotaData['totalFiles']) {
303
  }
304
  _e('','shortpixel-image-optimiser');
305
  if (count($quotaData['filesWithErrors'])) {
306
+ _e('Some have errors:','shortpixel-image-optimiser'); echo(' ');
307
  foreach($quotaData['filesWithErrors'] as $id => $data) {
308
  if(ShortPixelMetaFacade::isCustomQueuedId($id)) {
309
  echo('<a href="'.trailingslashit(network_site_url("/")) . ShortPixelMetaFacade::filenameToRootRelative($data['Path']).'" title="'.$data['Message'].'" target="_blank">'.$data['Name'].'</a>,&nbsp;');
342
  _e('Restart the optimization process for these images by clicking the button below.','shortpixel-image-optimiser');
343
  } else {
344
  _e('Restart the optimization process for new images added to your library by clicking the button below.','shortpixel-image-optimiser');
345
+ }
346
+ echo(' ');
347
  printf(__('Already <strong>%s</strong> optimized images will not be reprocessed.','shortpixel-image-optimiser'), $todo ? ($optType) : '');
348
  if($reopt) { ?>
349
  <br><?php _e('Please note that reoptimizing images as <strong>lossy/lossless</strong> may use additional credits.','shortpixel-image-optimiser')?>
383
  </div>
384
  </div>
385
  </div>
386
+ <div class="bulk-progress bulk-slider-container sp-notice sp-notice-info sp-floating-block sp-full-width">
387
  <div class="short-pixel-block-title"><span><?php _e('Just optimized:','shortpixel-image-optimiser');?></span><span class="filename"></span></div>
388
  <div class="bulk-slider">
389
  <div class="bulk-slide" id="empty-slide">
416
  $percentAfter = $percent . "%";
417
  }
418
  ?>
419
+ <div class="sp-notice sp-notice-info bulk-progress sp-floating-block sp-full-width">
420
  <div style="float:right">
421
  <?php if(false) { ?>
422
  <div class="bulk-progress-indicator">
436
  </div>
437
  </div>
438
  <?php if($running) { ?>
439
+ <div class="sp-h2"><?php echo($type & 1 ? __('Media Library','shortpixel-image-optimiser') . " " : "");
440
  echo($type & 3 == 3 ? __('and','shortpixel-image-optimiser') . " " : "");
441
+ echo($type & 2 ? __('Custom folders','shortpixel-image-optimiser') . " " : ""); _e('optimization in progress ...','shortpixel-image-optimiser');?></div>
442
  <p style="margin: 0 0 18px;"><?php _e('Bulk optimization has started.','shortpixel-image-optimiser');?><br>
443
  <?php printf(__('This process will take some time, depending on the number of images in your library. In the meantime, you can continue using
444
  the admin as usual, <a href="%s" target="_blank">in a different browser window or tab</a>.<br>
445
  However, <strong>if you close this window, the bulk processing will pause</strong> until you open the media gallery or the ShortPixel bulk page again.','shortpixel-image-optimiser'), get_admin_url());?>
446
  </p>
447
  <?php } else { ?>
448
+ <div class="sp-h2"><?php echo(__('Media Library','shortpixel-image-optimiser') . ' ' . ($type & 2 ? __("and Custom folders",'shortpixel-image-optimiser') . ' ' : "") . __('optimization paused','shortpixel-image-optimiser')); ?></div>
449
  <p style="margin: 0 0 50px;"><?php _e('Bulk processing is paused until you resume the optimization process.','shortpixel-image-optimiser');?></p>
450
  <?php }?>
451
  <div id="bulk-progress" class="progress" >
592
  <?php } else {
593
  if($showApiKey) {?>
594
  <h3><?php _e('Step 1:','shortpixel-image-optimiser');?></h3>
595
+ <p style='font-size: 14px'><?php _e('If you don\'t have an API Key, you can request one for free. Just press the "Request Key" button after checking that the e-mail is correct.','shortpixel-image-optimiser');?></p>
596
+ <table class="form-table">
597
+ <tbody>
598
+ <tr>
599
+ <th scope="row"><label for="key"><?php _e('E-mail address:','shortpixel-image-optimiser');?></label></th>
600
+ <td>
601
+ <input name="pluginemail" type="text" id="pluginemail" value="<?php echo( get_bloginfo('admin_email') );?>"
602
+ onchange="ShortPixel.updateSignupEmail();" class="regular-text">
603
+ <a type="button" id="request_key" class="button button-primary" title="<?php _e('Request a new API key','shortpixel-image-optimiser');?>"
604
+ href="https://shortpixel.com/free-sign-up?pluginemail=<?php echo( get_bloginfo('admin_email') );?>"
605
+ onmouseenter="ShortPixel.updateSignupEmail();" target="_blank">
606
+ <?php _e('Request Key','shortpixel-image-optimiser');?>
607
+ </a>
608
+ <p class="settings-info">
609
+ <?php printf(__('<b>%s</b> is the e-mail address in your WordPress Settings. You can use it, or change it to any valid e-mail address that you own.','shortpixel-image-optimiser'), get_bloginfo('admin_email'));?>
610
+ </p>
611
+ </td>
612
+ </tr>
613
+ </tbody>
614
+ </table>
615
  <h3><?php _e('Step 2:','shortpixel-image-optimiser');?></h3>
616
  <p style='font-size: 14px'><?php _e('Please enter here the API Key you received by email and press Validate.','shortpixel-image-optimiser');?></p>
617
  <?php }
701
  <th scope="row"><label for="resize"><?php _e('Resize large images','shortpixel-image-optimiser');?></label></th>
702
  <td>
703
  <input name="resize" type="checkbox" id="resize" <?php echo( $resize );?>> <?php
704
+ _e('to maximum','shortpixel-image-optimiser');?> <input type="text" name="width" id="width" style="width:70px" class="resize-sizes"
705
+ value="<?php echo( $this->ctrl->getResizeWidth() > 0 ? $this->ctrl->getResizeWidth() : min(1024, $minSizes['width']) );?>" <?php echo( $resizeDisabled );?>/> <?php
706
  _e('pixels wide &times;','shortpixel-image-optimiser');?>
707
+ <input type="text" name="height" id="height" class="resize-sizes" style="width:70px"
708
+ value="<?php echo( $this->ctrl->getResizeHeight() > 0 ? $this->ctrl->getResizeHeight() : min(1024, $minSizes['height']) );?>" <?php echo( $resizeDisabled );?>/> <?php
709
  _e('pixels high (original aspect ratio is preserved and image is not cropped)','shortpixel-image-optimiser');?>
710
+ <input type="hidden" id="min-width" value="<?php echo($minSizes['width']);?>"/>
711
+ <input type="hidden" id="min-height" value="<?php echo($minSizes['height']);?>"/>
712
  <p class="settings-info">
713
  <?php _e('Recommended for large photos, like the ones taken with your phone. Saved space can go up to 80% or more after resizing.','shortpixel-image-optimiser');?><br/>
714
  </p>
935
  <table class="form-table">
936
  <tbody>
937
  <tr>
938
+ <th scope="row" bgcolor="#ffffff"><label for="apiQuota"><?php _e('Your monthly plan','shortpixel-image-optimiser');?>:</label></th>
939
  <td bgcolor="#ffffff">
940
  <?php printf(__('%s/month, renews in %s days, on %s ( <a href="https://shortpixel.com/login/%s" target="_blank">Need More? See the options available</a> )','shortpixel-image-optimiser'),
941
  $quotaData['APICallsQuota'], floor(30 + (strtotime($quotaData['APILastRenewalDate']) - time()) / 86400),
1014
  break;
1015
  case 'optimizeNow':
1016
  if($data['showActions']) { ?>
1017
+ <a class='button button-smaller button-primary' href="javascript:manualOptimization('<?php echo($id)?>', false)">
1018
  <?php _e('Optimize now','shortpixel-image-optimiser');?>
1019
  </a>
1020
  <?php }
1023
  echo("<br>+" . $data['thumbsTotal'] . " thumbnails");
1024
  }
1025
  break;
1026
+ case 'retry':
1027
+ echo($data['message']);
1028
+ if(isset($data['cleanup'])) {?> <a class='button button-smaller button-primary' href="javascript:manualOptimization('<?php echo($id)?>', true)">
1029
+ <?php _e('Cleanup&Retry','shortpixel-image-optimiser');?>
1030
+ </a> <?php
1031
+ } else {
1032
+ ?>
1033
+ <a class='button button-smaller button-primary' href="javascript:manualOptimization('<?php echo($id)?>', false)">
1034
+ <?php _e('Retry','shortpixel-image-optimiser');?>
1035
+ </a> <?php
1036
+ }
1037
  break;
1038
  case 'pdfOptimized':
1039
  case 'imgOptimized':
lang/shortpixel-image-optimiser-de_DE.mo DELETED
Binary file
lang/shortpixel-image-optimiser-de_DE.po DELETED
@@ -1,1461 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- #, fuzzy
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: PACKAGE VERSION\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2016-11-30 16:23+0100\n"
12
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "Language: \n"
16
- "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=UTF-8\n"
18
- "Content-Transfer-Encoding: 8bit\n"
19
-
20
- #: class/view/shortpixel_view.php:23 class/view/shortpixel_view.php:417
21
- msgid "Average reduction"
22
- msgstr ""
23
-
24
- #. translators: header of the alert box
25
- #: class/view/shortpixel_view.php:33
26
- msgid "Quota Exceeded"
27
- msgstr ""
28
-
29
- #. translators: body of the alert box
30
- #: class/view/shortpixel_view.php:35
31
- #, php-format
32
- msgid ""
33
- "The plugin has optimized <strong>%s images</strong> and stopped because it "
34
- "reached the available quota limit."
35
- msgstr ""
36
-
37
- #: class/view/shortpixel_view.php:39
38
- #, php-format
39
- msgid ""
40
- "<strong>%s images and %s thumbnails</strong> are not yet optimized by "
41
- "ShortPixel."
42
- msgstr ""
43
-
44
- #: class/view/shortpixel_view.php:44
45
- msgid "Upgrade"
46
- msgstr ""
47
-
48
- #: class/view/shortpixel_view.php:45
49
- msgid "Confirm New Quota"
50
- msgstr ""
51
-
52
- #: class/view/shortpixel_view.php:47
53
- msgid "Get more image credits by referring ShortPixel to your friends!"
54
- msgstr ""
55
-
56
- #: class/view/shortpixel_view.php:49
57
- msgid "Check your account"
58
- msgstr ""
59
-
60
- #: class/view/shortpixel_view.php:50
61
- msgid ""
62
- "for your unique referral link. For each user that joins, you will receive "
63
- "+100 additional image credits/month."
64
- msgstr ""
65
-
66
- #: class/view/shortpixel_view.php:58
67
- msgid ""
68
- "In order to start the optimization process, you need to validate your API "
69
- "Key in the <a href=\"options-general.php?page=wp-shortpixel\">ShortPixel "
70
- "Settings</a> page in your WordPress Admin."
71
- msgstr ""
72
-
73
- #: class/view/shortpixel_view.php:61
74
- msgid ""
75
- "If you don’t have an API Key, you can get one delivered to your inbox, for "
76
- "free."
77
- msgstr ""
78
-
79
- #: class/view/shortpixel_view.php:62
80
- msgid ""
81
- "Please <a href=\"https://shortpixel.com/wp-apikey\" target=\"_blank\">sign "
82
- "up to get your API key.</a>"
83
- msgstr ""
84
-
85
- #: class/view/shortpixel_view.php:70
86
- msgid "Dismiss"
87
- msgstr ""
88
-
89
- #: class/view/shortpixel_view.php:72
90
- msgid "ShortPixel Optimization"
91
- msgstr ""
92
-
93
- #: class/view/shortpixel_view.php:75
94
- msgid ""
95
- "Action needed. Please <a href='https://shortpixel.com/wp-apikey' "
96
- "target='_blank'>get your API key</a> to activate your ShortPixel plugin."
97
- msgstr ""
98
-
99
- #: class/view/shortpixel_view.php:78
100
- msgid ""
101
- "Your image gallery is not optimized. It takes 2 minutes to <a href='https://"
102
- "shortpixel.com/wp-apikey' target='_blank'>get your API key</a> and activate "
103
- "your ShortPixel plugin."
104
- msgstr ""
105
-
106
- #: class/view/shortpixel_view.php:102
107
- msgid "Your media library"
108
- msgstr ""
109
-
110
- #: class/view/shortpixel_view.php:103
111
- msgid "Original images"
112
- msgstr ""
113
-
114
- #: class/view/shortpixel_view.php:105
115
- msgid "Smaller thumbnails"
116
- msgstr ""
117
-
118
- #: class/view/shortpixel_view.php:109 class/view/shortpixel_view.php:343
119
- msgid "Include thumbnails"
120
- msgstr ""
121
-
122
- #: class/view/shortpixel_view.php:112
123
- msgid "Total images"
124
- msgstr ""
125
-
126
- #: class/view/shortpixel_view.php:114
127
- msgid "Already optimized originals"
128
- msgstr ""
129
-
130
- #: class/view/shortpixel_view.php:116
131
- msgid "Already optimized thumbnails"
132
- msgstr ""
133
-
134
- #: class/view/shortpixel_view.php:119 class/view/shortpixel_view.php:124
135
- msgid "Total to be optimized"
136
- msgstr ""
137
-
138
- #: class/view/shortpixel_view.php:123
139
- msgid "Your custom folders"
140
- msgstr ""
141
-
142
- #: class/view/shortpixel_view.php:137
143
- #, php-format
144
- msgid ""
145
- "<span class=\"label\">Start Optimizing</span><br> <span class=\"total\">%s</"
146
- "span> images"
147
- msgstr ""
148
-
149
- #: class/view/shortpixel_view.php:148
150
- msgid ""
151
- "Nothing to optimize! The images that you add to Media Gallery will be "
152
- "automatically optimized after upload."
153
- msgstr ""
154
-
155
- #: class/view/shortpixel_view.php:157
156
- msgid ""
157
- "After you start the bulk process, in order for the optimization to run, you "
158
- "must keep this page open and your computer running. If you close the page "
159
- "for whatever reason, just turn back to it and the bulk process will resume."
160
- msgstr ""
161
-
162
- #: class/view/shortpixel_view.php:163
163
- msgid "What are Thumbnails?"
164
- msgstr ""
165
-
166
- #: class/view/shortpixel_view.php:164
167
- msgid ""
168
- "Thumbnails are smaller images usually generated by your WP theme. Most "
169
- "themes generate between 3 and 6 thumbnails for each Media Library image."
170
- msgstr ""
171
-
172
- #: class/view/shortpixel_view.php:165
173
- msgid ""
174
- "The thumbnails also generate traffic on your website pages and they "
175
- "influence your website's speed."
176
- msgstr ""
177
-
178
- #: class/view/shortpixel_view.php:166
179
- msgid ""
180
- "It's highly recommended that you include thumbnails in the optimization as "
181
- "well."
182
- msgstr ""
183
-
184
- #: class/view/shortpixel_view.php:169
185
- msgid "How does it work?"
186
- msgstr ""
187
-
188
- #: class/view/shortpixel_view.php:170
189
- msgid ""
190
- "The plugin processes images starting with the newest ones you uploaded in "
191
- "your Media Library."
192
- msgstr ""
193
-
194
- #: class/view/shortpixel_view.php:171
195
- msgid "You will be able to pause the process anytime."
196
- msgstr ""
197
-
198
- #: class/view/shortpixel_view.php:172
199
- msgid ""
200
- "<p>Your original images will be stored in a separate back-up folder.</p>"
201
- msgstr ""
202
-
203
- #: class/view/shortpixel_view.php:173
204
- msgid ""
205
- "You can watch the images being processed live, right here, after you start "
206
- "optimizing."
207
- msgstr ""
208
-
209
- #. bulk is paused
210
- #: class/view/shortpixel_view.php:179
211
- msgid "Please see below the optimization status so far:"
212
- msgstr ""
213
-
214
- #: class/view/shortpixel_view.php:182
215
- #, php-format
216
- msgid "%d images and %d thumbnails are not yet optimized by ShortPixel."
217
- msgstr ""
218
-
219
- #: class/view/shortpixel_view.php:187
220
- msgid ""
221
- "You can continue optimizing your Media Gallery from where you left, by "
222
- "clicking the Resume processing button. Already optimized images will not be "
223
- "reprocessed."
224
- msgstr ""
225
-
226
- #: class/view/shortpixel_view.php:197
227
- msgid "Congratulations!"
228
- msgstr ""
229
-
230
- #: class/view/shortpixel_view.php:198
231
- msgid "Your media library has been successfully optimized!"
232
- msgstr ""
233
-
234
- #: class/view/shortpixel_view.php:199
235
- msgid "Summary"
236
- msgstr ""
237
-
238
- #: class/view/shortpixel_view.php:205
239
- msgid "Share your optimization results:"
240
- msgstr ""
241
-
242
- #: class/view/shortpixel_view.php:225
243
- msgid "I just optimized my images by "
244
- msgstr ""
245
-
246
- #: class/view/shortpixel_view.php:227
247
- msgid "I just optimized my images "
248
- msgstr ""
249
-
250
- #: class/view/shortpixel_view.php:230
251
- msgid "with @ShortPixel, a great plugin for increasing #WordPress page speed:"
252
- msgstr ""
253
-
254
- #: class/view/shortpixel_view.php:231
255
- msgid "Tweet"
256
- msgstr ""
257
-
258
- #: class/view/shortpixel_view.php:257
259
- msgid "Please rate us!"
260
- msgstr ""
261
-
262
- #: class/view/shortpixel_view.php:267
263
- #, php-format
264
- msgid ""
265
- "Go to the ShortPixel <a href=\"%soptions-general.php?page=wp-shortpixel#stats"
266
- "\">Stats</a> and see all your websites' optimized stats. Download your "
267
- "detailed <a href=\"https://api.shortpixel.com/v2/report.php?key=%s"
268
- "\">Optimization Report</a> to check your image optimization statistics for "
269
- "the last 40 days."
270
- msgstr ""
271
-
272
- #: class/view/shortpixel_view.php:275
273
- msgid ""
274
- "The following images could not be processed because of their limited write "
275
- "rights. This usually happens if you have changed your hosting provider. "
276
- "Please restart the optimization process after you granted write rights to "
277
- "all the files below."
278
- msgstr ""
279
-
280
- #: class/view/shortpixel_view.php:290 wp-shortpixel.php:1755
281
- #: wp-shortpixel.php:1756 wp-shortpixel.php:1757 wp-shortpixel.php:1758
282
- msgid " images"
283
- msgstr ""
284
-
285
- #: class/view/shortpixel_view.php:291
286
- msgid " and"
287
- msgstr ""
288
-
289
- #: class/view/shortpixel_view.php:292
290
- msgid " thumbnails"
291
- msgstr ""
292
-
293
- #: class/view/shortpixel_view.php:293
294
- msgid " are not yet optimized by ShortPixel."
295
- msgstr ""
296
-
297
- #: class/view/shortpixel_view.php:295
298
- msgid "Some have errors:"
299
- msgstr ""
300
-
301
- #: class/view/shortpixel_view.php:318
302
- #, php-format
303
- msgid ""
304
- "%s images and %s thumbnails were optimized <strong>%s</strong>. You can re-"
305
- "optimize <strong>%s</strong> the ones that have backup."
306
- msgstr ""
307
-
308
- #: class/view/shortpixel_view.php:323
309
- #, php-format
310
- msgid ""
311
- "%s images were optimized <strong>%s</strong>. You can re-optimize <strong>"
312
- "%s</strong> the ones that have backup. "
313
- msgstr ""
314
-
315
- #: class/view/shortpixel_view.php:326
316
- msgid " thumbnails will be restored to originals."
317
- msgstr ""
318
-
319
- #: class/view/shortpixel_view.php:331
320
- msgid ""
321
- "Restart the optimization process for these images by clicking the button "
322
- "below."
323
- msgstr ""
324
-
325
- #: class/view/shortpixel_view.php:333
326
- msgid ""
327
- "Restart the optimization process for new images added to your library by "
328
- "clicking the button below."
329
- msgstr ""
330
-
331
- #: class/view/shortpixel_view.php:335
332
- #, php-format
333
- msgid "Already <strong>%s</strong> optimized images will not be reprocessed."
334
- msgstr ""
335
-
336
- #: class/view/shortpixel_view.php:337
337
- msgid ""
338
- "Please note that reoptimizing images as <strong>lossy/lossless</strong> may "
339
- "use additional credits."
340
- msgstr ""
341
-
342
- #: class/view/shortpixel_view.php:338
343
- msgid "More info"
344
- msgstr ""
345
-
346
- #: class/view/shortpixel_view.php:344
347
- msgid "Restart Optimizing"
348
- msgstr ""
349
-
350
- #: class/view/shortpixel_view.php:355
351
- msgid "Bulk Image Optimization by ShortPixel"
352
- msgstr ""
353
-
354
- #: class/view/shortpixel_view.php:361
355
- msgid "Lengthy operation in progress:"
356
- msgstr ""
357
-
358
- #: class/view/shortpixel_view.php:362
359
- msgid "Optimizing image"
360
- msgstr ""
361
-
362
- #: class/view/shortpixel_view.php:369
363
- msgid "Error processing file:"
364
- msgstr ""
365
-
366
- #: class/view/shortpixel_view.php:375
367
- msgid "Just optimized:"
368
- msgstr ""
369
-
370
- #: class/view/shortpixel_view.php:381
371
- msgid "Original image"
372
- msgstr ""
373
-
374
- #: class/view/shortpixel_view.php:385
375
- msgid "Optimized image"
376
- msgstr ""
377
-
378
- #. translators: percent follows
379
- #: class/view/shortpixel_view.php:389
380
- msgid "Optimized by:"
381
- msgstr ""
382
-
383
- #: class/view/shortpixel_view.php:411
384
- msgid "Remaining credits"
385
- msgstr ""
386
-
387
- #: class/view/shortpixel_view.php:427 class/view/shortpixel_view.php:436
388
- msgid "Media Library"
389
- msgstr ""
390
-
391
- #: class/view/shortpixel_view.php:428
392
- msgid "and"
393
- msgstr ""
394
-
395
- #: class/view/shortpixel_view.php:429
396
- msgid "Custom folders"
397
- msgstr ""
398
-
399
- #: class/view/shortpixel_view.php:429
400
- msgid "optimization in progress ..."
401
- msgstr ""
402
-
403
- #: class/view/shortpixel_view.php:430
404
- msgid "Bulk optimization has started."
405
- msgstr ""
406
-
407
- #: class/view/shortpixel_view.php:431
408
- #, php-format
409
- msgid ""
410
- "This process will take some time, depending on the number of images in your "
411
- "library. In the meantime, you can continue using \n"
412
- " the admin as usual, <a href=\"%s\" target=\"_blank\">in "
413
- "a different browser window or tab</a>.<br>\n"
414
- " However, <strong>if you close this window, the bulk "
415
- "processing will pause</strong> until you open the media gallery or the "
416
- "ShortPixel bulk page again."
417
- msgstr ""
418
-
419
- #: class/view/shortpixel_view.php:436
420
- msgid "and Custom folders"
421
- msgstr ""
422
-
423
- #: class/view/shortpixel_view.php:436
424
- msgid "optimization paused"
425
- msgstr ""
426
-
427
- #: class/view/shortpixel_view.php:437
428
- msgid "Bulk processing is paused until you resume the optimization process."
429
- msgstr ""
430
-
431
- #. now we display the action buttons always when a type of bulk is running
432
- #: class/view/shortpixel_view.php:454
433
- msgid "Pause"
434
- msgstr ""
435
-
436
- #: class/view/shortpixel_view.php:454
437
- msgid "Resume processing"
438
- msgstr ""
439
-
440
- #: class/view/shortpixel_view.php:457
441
- msgid "Only other media"
442
- msgstr ""
443
-
444
- #: class/view/shortpixel_view.php:457
445
- msgid "Process only the other media, skipping the Media Library"
446
- msgstr ""
447
-
448
- #: class/view/shortpixel_view.php:461
449
- msgid "Manage custom folders"
450
- msgstr ""
451
-
452
- #: class/view/shortpixel_view.php:469
453
- msgid "Processed Images and PDFs:"
454
- msgstr ""
455
-
456
- #: class/view/shortpixel_view.php:470
457
- msgid "Processed Thumbnails:"
458
- msgstr ""
459
-
460
- #: class/view/shortpixel_view.php:471
461
- msgid "Total files processed:"
462
- msgstr ""
463
-
464
- #: class/view/shortpixel_view.php:472
465
- #, php-format
466
- msgid "Minus files with <5% optimization (free):"
467
- msgstr ""
468
-
469
- #: class/view/shortpixel_view.php:473
470
- msgid "Used quota:"
471
- msgstr ""
472
-
473
- #: class/view/shortpixel_view.php:475
474
- msgid "Average optimization:"
475
- msgstr ""
476
-
477
- #: class/view/shortpixel_view.php:476
478
- msgid "Saved space:"
479
- msgstr ""
480
-
481
- #. wp_enqueue_script('jquery.idTabs.js', plugins_url('/js/jquery.idTabs.js',__FILE__) );
482
- #: class/view/shortpixel_view.php:502
483
- msgid "ShortPixel Plugin Settings"
484
- msgstr ""
485
-
486
- #: class/view/shortpixel_view.php:505
487
- msgid "Upgrade now"
488
- msgstr ""
489
-
490
- #: class/view/shortpixel_view.php:507
491
- msgid "Support"
492
- msgstr ""
493
-
494
- #: class/view/shortpixel_view.php:525
495
- msgid "General"
496
- msgstr ""
497
-
498
- #: class/view/shortpixel_view.php:530
499
- msgid "Advanced"
500
- msgstr ""
501
-
502
- #. the span is a trick to keep the sections ordered as nth-child in styles: 1,2,3,4 (otherwise the third section would be nth-child(2) too, because of the form)
503
- #: class/view/shortpixel_view.php:537
504
- msgid "Statistics"
505
- msgstr ""
506
-
507
- #: class/view/shortpixel_view.php:545
508
- msgid "WP Resources"
509
- msgstr ""
510
-
511
- #: class/view/shortpixel_view.php:546
512
- msgid "Please reload"
513
- msgstr ""
514
-
515
- #: class/view/shortpixel_view.php:579
516
- #, php-format
517
- msgid ""
518
- "New images uploaded to the Media Library will be optimized automatically.<br/"
519
- ">If you have existing images you would like to optimize, you can use the <a "
520
- "href=\"%supload.php?page=wp-short-pixel-bulk\">Bulk Optimization Tool</a>."
521
- msgstr ""
522
-
523
- #: class/view/shortpixel_view.php:582
524
- msgid "Step 1:"
525
- msgstr ""
526
-
527
- #: class/view/shortpixel_view.php:583
528
- #, php-format
529
- msgid ""
530
- "If you don't have an API Key, <a href=\"https://shortpixel.com/wp-apikey%s\" "
531
- "target=\"_blank\">sign up here.</a> It's free and it only takes one minute, "
532
- "we promise!"
533
- msgstr ""
534
-
535
- #: class/view/shortpixel_view.php:584
536
- msgid "Step 2:"
537
- msgstr ""
538
-
539
- #: class/view/shortpixel_view.php:585
540
- msgid "Please enter here the API Key you received by email and press Validate."
541
- msgstr ""
542
-
543
- #: class/view/shortpixel_view.php:591
544
- msgid "API Key:"
545
- msgstr ""
546
-
547
- #: class/view/shortpixel_view.php:601
548
- msgid "Multisite API Key"
549
- msgstr ""
550
-
551
- #: class/view/shortpixel_view.php:604
552
- msgid "Validate the provided API key"
553
- msgstr ""
554
-
555
- #: class/view/shortpixel_view.php:605
556
- msgid "Validate"
557
- msgstr ""
558
-
559
- #: class/view/shortpixel_view.php:607
560
- msgid "Key defined in wp-config.php."
561
- msgstr ""
562
-
563
- #. if invalid key we display the link to the API Key
564
- #. if valid key we display the rest of the options
565
- #: class/view/shortpixel_view.php:618
566
- msgid "Compression type:"
567
- msgstr ""
568
-
569
- #: class/view/shortpixel_view.php:622
570
- msgid "Lossy (recommended)"
571
- msgstr ""
572
-
573
- #: class/view/shortpixel_view.php:623
574
- msgid ""
575
- "<b>Lossy compression: </b>lossy has a better compression rate than lossless "
576
- "compression.</br>The resulting image is identical with the original to the "
577
- "human eye. You can run a test for free "
578
- msgstr ""
579
-
580
- #: class/view/shortpixel_view.php:624 wp-shortpixel.php:1458
581
- msgid "here"
582
- msgstr ""
583
-
584
- #: class/view/shortpixel_view.php:626 class/view/shortpixel-list-table.php:111
585
- msgid "Lossless"
586
- msgstr ""
587
-
588
- #: class/view/shortpixel_view.php:628
589
- msgid ""
590
- "<b>Lossless compression: </b> the shrunk image will be identical with the "
591
- "original and smaller in size.</br>In some rare cases you will need to use \n"
592
- " this type of compression. Some technical drawings or "
593
- "images from vector graphics are possible situations."
594
- msgstr ""
595
-
596
- #: class/view/shortpixel_view.php:638
597
- msgid "Also include thumbnails:"
598
- msgstr ""
599
-
600
- #: class/view/shortpixel_view.php:640
601
- msgid "Apply compression also to <strong>image thumbnails.</strong> "
602
- msgstr ""
603
-
604
- #: class/view/shortpixel_view.php:641
605
- msgid "thumbnails to optimize"
606
- msgstr ""
607
-
608
- #: class/view/shortpixel_view.php:643
609
- msgid ""
610
- "It is highly recommended that you optimize the thumbnails as they are "
611
- "usually the images most viewed by end users and can generate most traffic."
612
- "<br>Please note that thumbnails count up to your total quota."
613
- msgstr ""
614
-
615
- #: class/view/shortpixel_view.php:648
616
- msgid "Image backup"
617
- msgstr ""
618
-
619
- #: class/view/shortpixel_view.php:650
620
- msgid "Save and keep a backup of your original images in a separate folder."
621
- msgstr ""
622
-
623
- #: class/view/shortpixel_view.php:651
624
- msgid ""
625
- "You <strong>need to have backup active</strong> in order to be able to "
626
- "restore images to originals or to convert from Lossy to Lossless and back."
627
- msgstr ""
628
-
629
- #: class/view/shortpixel_view.php:655
630
- msgid "CMYK to RGB conversion"
631
- msgstr ""
632
-
633
- #: class/view/shortpixel_view.php:657
634
- msgid "Adjust your images for computer and mobile screen display."
635
- msgstr ""
636
-
637
- #: class/view/shortpixel_view.php:658
638
- msgid ""
639
- "Images for the web only need RGB format and converting them from CMYK to RGB "
640
- "makes them smaller."
641
- msgstr ""
642
-
643
- #: class/view/shortpixel_view.php:662
644
- msgid "Remove EXIF"
645
- msgstr ""
646
-
647
- #: class/view/shortpixel_view.php:664
648
- msgid "Remove the EXIF tag of the image (recommended)."
649
- msgstr ""
650
-
651
- #: class/view/shortpixel_view.php:665
652
- msgid ""
653
- "EXIF is a set of various pieces of information that are automatically "
654
- "embedded into the image upon creation. This can include GPS position, camera "
655
- "manufacturer, date and time, etc. \n"
656
- " Unless you really need that data to be "
657
- "preserved, we recommend removing it as it can lead to <a href=\"http://blog."
658
- "shortpixel.com/how-much-smaller-can-be-images-without-exif-icc\" target="
659
- "\"_blank\">better compression rates</a>."
660
- msgstr ""
661
-
662
- #: class/view/shortpixel_view.php:670
663
- msgid "Resize large images"
664
- msgstr ""
665
-
666
- #: class/view/shortpixel_view.php:673
667
- msgid "to maximum"
668
- msgstr ""
669
-
670
- #: class/view/shortpixel_view.php:675
671
- msgid "pixels wide &times;"
672
- msgstr ""
673
-
674
- #: class/view/shortpixel_view.php:677
675
- msgid ""
676
- "pixels high (original aspect ratio is preserved and image is not cropped)"
677
- msgstr ""
678
-
679
- #: class/view/shortpixel_view.php:679
680
- #, php-format
681
- msgid ""
682
- "Recommended for large photos, like the ones taken with your phone. Saved "
683
- "space can go up to 80% or more after resizing."
684
- msgstr ""
685
-
686
- #: class/view/shortpixel_view.php:683
687
- msgid ""
688
- "Sizes will be greater or equal to the corresponding value. For example, if "
689
- "you set the resize dimensions at 1000x1200, an image of 2000x3000px will be "
690
- "resized to 1000x1500px while an image of 3000x2000px will be resized to "
691
- "1800x1200px"
692
- msgstr ""
693
-
694
- #: class/view/shortpixel_view.php:685
695
- msgid ""
696
- "Sizes will be smaller or equal to the corresponding value. For example, if "
697
- "you set the resize dimensions at 1000x1200, an image of 2000x3000px will be "
698
- "resized to 800x1200px while an image of 3000x2000px will be resized to "
699
- "1000x667px"
700
- msgstr ""
701
-
702
- #: class/view/shortpixel_view.php:692 class/view/shortpixel_view.php:847
703
- msgid "Save Changes"
704
- msgstr ""
705
-
706
- #: class/view/shortpixel_view.php:693 class/view/shortpixel_view.php:848
707
- msgid "Save and go to the Bulk Processing page"
708
- msgstr ""
709
-
710
- #: class/view/shortpixel_view.php:693 class/view/shortpixel_view.php:848
711
- #: wp-shortpixel.php:1517 wp-shortpixel.php:1518
712
- msgid "Save and Go to Bulk Process"
713
- msgstr ""
714
-
715
- #: class/view/shortpixel_view.php:716
716
- msgid "Please enter your API key in the General tab first."
717
- msgstr ""
718
-
719
- #. if valid key we display the rest of the options
720
- #: class/view/shortpixel_view.php:721
721
- msgid "Additional media folders"
722
- msgstr ""
723
-
724
- #: class/view/shortpixel_view.php:726
725
- msgid "Folder name"
726
- msgstr ""
727
-
728
- #: class/view/shortpixel_view.php:727
729
- msgid "Type &amp;<br>Status"
730
- msgstr ""
731
-
732
- #: class/view/shortpixel_view.php:728
733
- msgid "Files"
734
- msgstr ""
735
-
736
- #: class/view/shortpixel_view.php:729
737
- msgid "Last change"
738
- msgstr ""
739
-
740
- #: class/view/shortpixel_view.php:738 class/view/shortpixel_view.php:743
741
- #: class/view/shortpixel_view.php:745 class/view/shortpixel_view.php:747
742
- msgid "Empty"
743
- msgstr ""
744
-
745
- #: class/view/shortpixel_view.php:740 class/view/shortpixel_view.php:745
746
- #: class/view/shortpixel_view.php:747
747
- msgid "Optimized"
748
- msgstr ""
749
-
750
- #: class/view/shortpixel_view.php:741 class/view/shortpixel_view.php:748
751
- #: class/view/shortpixel-list-table.php:97
752
- msgid "Pending"
753
- msgstr ""
754
-
755
- #: class/view/shortpixel_view.php:741 class/view/shortpixel_view.php:748
756
- #: class/view/shortpixel-list-table.php:99
757
- msgid "Waiting"
758
- msgstr ""
759
-
760
- #: class/view/shortpixel_view.php:745
761
- msgid "Stop monitoring"
762
- msgstr ""
763
-
764
- #: class/view/shortpixel_view.php:745
765
- msgid "Stop optimizing"
766
- msgstr ""
767
-
768
- #: class/view/shortpixel_view.php:749
769
- msgid "Failed"
770
- msgstr ""
771
-
772
- #: class/view/shortpixel_view.php:771
773
- msgid ""
774
- "Full folder refresh, check each file of the folder if it changed since it "
775
- "was optimized. Might take up to 1 min. for big folders."
776
- msgstr ""
777
-
778
- #: class/view/shortpixel_view.php:772
779
- msgid "Refresh"
780
- msgstr ""
781
-
782
- #: class/view/shortpixel_view.php:783
783
- msgid "Select the images folder on your server."
784
- msgstr ""
785
-
786
- #: class/view/shortpixel_view.php:784
787
- msgid "Select ..."
788
- msgstr ""
789
-
790
- #: class/view/shortpixel_view.php:786
791
- msgid "Add Folder"
792
- msgstr ""
793
-
794
- #: class/view/shortpixel_view.php:788
795
- msgid ""
796
- "Use the Select... button to select site folders. ShortPixel will optimize "
797
- "images and PDFs from the specified folders and their subfolders. The "
798
- "optimization status for each image or PDF in these folders can be seen in "
799
- "the <a href=\"upload.php?page=wp-short-pixel-custom\">Other Media list</a>, "
800
- "under the Media menu."
801
- msgstr ""
802
-
803
- #: class/view/shortpixel_view.php:792
804
- msgid "Select the images folder"
805
- msgstr ""
806
-
807
- #: class/view/shortpixel_view.php:794
808
- msgid "Cancel"
809
- msgstr ""
810
-
811
- #: class/view/shortpixel_view.php:795
812
- msgid "Select"
813
- msgstr ""
814
-
815
- #: class/view/shortpixel_view.php:807
816
- msgid "Optimize NextGen galleries"
817
- msgstr ""
818
-
819
- #: class/view/shortpixel_view.php:809
820
- msgid "Optimize NextGen galleries."
821
- msgstr ""
822
-
823
- #: class/view/shortpixel_view.php:811
824
- msgid ""
825
- "Check this to add all your current NextGen galleries to the custom folders "
826
- "list and to also have all the future NextGen galleries and images optimized "
827
- "automatically by ShortPixel."
828
- msgstr ""
829
-
830
- #: class/view/shortpixel_view.php:817
831
- msgid "WebP versions"
832
- msgstr ""
833
-
834
- #: class/view/shortpixel_view.php:819
835
- msgid ""
836
- "Create also <a href=\"http://blog.shortpixel.com/how-webp-images-can-speed-"
837
- "up-your-site/\" target=\"_blank\">WebP versions</a> of the images "
838
- "<strong>for free</strong>."
839
- msgstr ""
840
-
841
- #: class/view/shortpixel_view.php:821
842
- #, php-format
843
- msgid ""
844
- "WebP images can be up to three times smaller than PNGs and 25% smaller than "
845
- "JPGs. Choosing this option <strong>does not use up additional credits</"
846
- "strong>."
847
- msgstr ""
848
-
849
- #: class/view/shortpixel_view.php:826
850
- msgid "HTTP AUTH credentials"
851
- msgstr ""
852
-
853
- #: class/view/shortpixel_view.php:828
854
- msgid "User"
855
- msgstr ""
856
-
857
- #: class/view/shortpixel_view.php:829
858
- msgid "Password"
859
- msgstr ""
860
-
861
- #: class/view/shortpixel_view.php:831
862
- msgid ""
863
- "Only fill in these fields if your site (front-end) is not publicly "
864
- "accessible and visitors need a user/pass to connect to it. If you don't know "
865
- "what is this then just <strong>leave the fields empty</strong>."
866
- msgstr ""
867
-
868
- #: class/view/shortpixel_view.php:836
869
- msgid "Process in front-end"
870
- msgstr ""
871
-
872
- #: class/view/shortpixel_view.php:838
873
- msgid "Automatically optimize images added by users in front end."
874
- msgstr ""
875
-
876
- #: class/view/shortpixel_view.php:840
877
- msgid ""
878
- "Check this if you have users that add images or PDF documents from custom "
879
- "forms in the front-end. This could increase the load on your server if you "
880
- "have a lot of users simultaneously connected."
881
- msgstr ""
882
-
883
- #: class/view/shortpixel_view.php:860
884
- msgid "Your ShortPixel Stats"
885
- msgstr ""
886
-
887
- #: class/view/shortpixel_view.php:864
888
- msgid "Average compression of your files:"
889
- msgstr ""
890
-
891
- #: class/view/shortpixel_view.php:868
892
- msgid "Saved disk space by ShortPixel"
893
- msgstr ""
894
-
895
- #: class/view/shortpixel_view.php:872
896
- msgid "Bandwith* saved with ShortPixel:"
897
- msgstr ""
898
-
899
- #: class/view/shortpixel_view.php:878
900
- msgid "* Saved bandwidth is calculated at 10,000 impressions/image"
901
- msgstr ""
902
-
903
- #: class/view/shortpixel_view.php:880
904
- msgid "Your ShortPixel Plan"
905
- msgstr ""
906
-
907
- #: class/view/shortpixel_view.php:884
908
- msgid "Your ShortPixel plan"
909
- msgstr ""
910
-
911
- #: class/view/shortpixel_view.php:886
912
- #, php-format
913
- msgid ""
914
- "%s/month, renews in %s days, on %s ( <a href=\"https://shortpixel.com/login/"
915
- "%s\" target=\"_blank\">Need More? See the options available</a> )"
916
- msgstr ""
917
-
918
- #: class/view/shortpixel_view.php:889
919
- #, php-format
920
- msgid ""
921
- "<a href=\"https://shortpixel.com/login/%s/tell-a-friend\" target=\"_blank"
922
- "\">Join our friend referral system</a> to win more credits. For each user "
923
- "that joins, you receive +100 images credits/month."
924
- msgstr ""
925
-
926
- #: class/view/shortpixel_view.php:894
927
- msgid "One time credits:"
928
- msgstr ""
929
-
930
- #: class/view/shortpixel_view.php:898
931
- msgid "Number of images processed this month:"
932
- msgstr ""
933
-
934
- #: class/view/shortpixel_view.php:900
935
- msgid "see report"
936
- msgstr ""
937
-
938
- #: class/view/shortpixel_view.php:905
939
- msgid "Remaining** images in your plan:"
940
- msgstr ""
941
-
942
- #: class/view/shortpixel_view.php:906
943
- msgid "images"
944
- msgstr ""
945
-
946
- #: class/view/shortpixel_view.php:912
947
- #, php-format
948
- msgid ""
949
- "** Increase your image quota by <a href=\"https://shortpixel.com/login/%s\" "
950
- "target=\"_blank\">upgrading your ShortPixel plan.</a>"
951
- msgstr ""
952
-
953
- #: class/view/shortpixel_view.php:919
954
- msgid "Total number of processed files:"
955
- msgstr ""
956
-
957
- #: class/view/shortpixel_view.php:924
958
- msgid ""
959
- "Original images are stored in a backup folder. Your backup folder size is "
960
- "now:"
961
- msgstr ""
962
-
963
- #: class/view/shortpixel_view.php:928
964
- msgid "Empty backups"
965
- msgstr ""
966
-
967
- #. not a file that we can process
968
- #: class/view/shortpixel_view.php:945 wp-shortpixel.php:348
969
- #: wp-shortpixel.php:374 wp-shortpixel.php:1813
970
- msgid "Optimization N/A"
971
- msgstr ""
972
-
973
- #: class/view/shortpixel_view.php:948
974
- msgid "Image does not exist."
975
- msgstr ""
976
-
977
- #. multisite key - need to be validated on each site but it's not invalid
978
- #: class/view/shortpixel_view.php:952
979
- msgid ""
980
- "Please <a href=\"options-general.php?page=wp-shortpixel\">go to Settings</a> "
981
- "to validate the API Key."
982
- msgstr ""
983
-
984
- #: class/view/shortpixel_view.php:954
985
- msgid ""
986
- "Invalid API Key. <a href=\"options-general.php?page=wp-shortpixel\">Check "
987
- "your Settings</a>"
988
- msgstr ""
989
-
990
- #: class/view/shortpixel_view.php:963
991
- msgid "Optimize now"
992
- msgstr ""
993
-
994
- #: class/view/shortpixel_view.php:973 class/view/shortpixel-list-table.php:55
995
- #: wp-shortpixel.php:282
996
- msgid "Retry"
997
- msgstr ""
998
-
999
- #: class/view/shortpixel_view.php:990 class/view/shortpixel-list-table.php:93
1000
- #: wp-shortpixel.php:273
1001
- msgid "Reduced by"
1002
- msgstr ""
1003
-
1004
- #: class/view/shortpixel_view.php:993 class/view/shortpixel-list-table.php:92
1005
- #: class/view/shortpixel-list-table.php:94 wp-shortpixel.php:274
1006
- msgid "Bonus processing"
1007
- msgstr ""
1008
-
1009
- #: class/view/shortpixel_view.php:996
1010
- #, php-format
1011
- msgid "+%s of %s thumbnails optimized"
1012
- msgstr ""
1013
-
1014
- #: class/view/shortpixel_view.php:997
1015
- #, php-format
1016
- msgid "+%s thumbnails optimized"
1017
- msgstr ""
1018
-
1019
- #: class/view/shortpixel_view.php:1005
1020
- #, php-format
1021
- msgid "Optimize %s thumbnails"
1022
- msgstr ""
1023
-
1024
- #: class/view/shortpixel_view.php:1012
1025
- msgid "Reoptimize from the backed-up image"
1026
- msgstr ""
1027
-
1028
- #: class/view/shortpixel_view.php:1013
1029
- msgid "Re-optimize"
1030
- msgstr ""
1031
-
1032
- #: class/view/shortpixel_view.php:1017 wp-shortpixel.php:278
1033
- msgid "Restore backup"
1034
- msgstr ""
1035
-
1036
- #: class/view/shortpixel_view.php:1030 wp-shortpixel.php:280
1037
- msgid "Extend Quota"
1038
- msgstr ""
1039
-
1040
- #: class/view/shortpixel_view.php:1033 wp-shortpixel.php:281
1041
- msgid "Check&nbsp;&nbsp;Quota"
1042
- msgstr ""
1043
-
1044
- #: class/view/shortpixel-list-table.php:15
1045
- msgid "Image"
1046
- msgstr ""
1047
-
1048
- #. singular name of the listed records
1049
- #: class/view/shortpixel-list-table.php:16
1050
- msgid "Images"
1051
- msgstr ""
1052
-
1053
- #. pe viitor. $columns['cb'] = '<input type="checkbox" />';
1054
- #: class/view/shortpixel-list-table.php:29
1055
- msgid "Filename"
1056
- msgstr ""
1057
-
1058
- #: class/view/shortpixel-list-table.php:30
1059
- msgid "Folder"
1060
- msgstr ""
1061
-
1062
- #: class/view/shortpixel-list-table.php:31
1063
- msgid "Type"
1064
- msgstr ""
1065
-
1066
- #: class/view/shortpixel-list-table.php:32
1067
- msgid "Status"
1068
- msgstr ""
1069
-
1070
- #: class/view/shortpixel-list-table.php:33
1071
- msgid "Options"
1072
- msgstr ""
1073
-
1074
- #: class/view/shortpixel-list-table.php:52
1075
- msgid "Optimize"
1076
- msgstr ""
1077
-
1078
- #: class/view/shortpixel-list-table.php:58
1079
- msgid "Restore"
1080
- msgstr ""
1081
-
1082
- #: class/view/shortpixel-list-table.php:61
1083
- msgid "Re-optimize lossless"
1084
- msgstr ""
1085
-
1086
- #: class/view/shortpixel-list-table.php:64
1087
- msgid "Re-optimize lossy"
1088
- msgstr ""
1089
-
1090
- #: class/view/shortpixel-list-table.php:67
1091
- msgid "Check quota"
1092
- msgstr ""
1093
-
1094
- #: class/view/shortpixel-list-table.php:68
1095
- msgid "View"
1096
- msgstr ""
1097
-
1098
- #: class/view/shortpixel-list-table.php:89
1099
- msgid "Restored"
1100
- msgstr ""
1101
-
1102
- #: class/view/shortpixel-list-table.php:103
1103
- msgid "code"
1104
- msgstr ""
1105
-
1106
- #: class/view/shortpixel-list-table.php:111
1107
- msgid "Lossy"
1108
- msgstr ""
1109
-
1110
- #: class/view/shortpixel-list-table.php:112
1111
- msgid "Keep EXIF"
1112
- msgstr ""
1113
-
1114
- #: class/view/shortpixel-list-table.php:113
1115
- msgid "Preserve CMYK"
1116
- msgstr ""
1117
-
1118
- #: class/view/shortpixel-list-table.php:122
1119
- msgid ""
1120
- "No images avaliable. Go to <a href=\"options-general.php?page=wp-"
1121
- "shortpixel#adv-settings\">Advanced Settings</a> to configure additional "
1122
- "folders to be optimized."
1123
- msgstr ""
1124
-
1125
- #: class/view/shortpixel-list-table.php:255
1126
- msgid "Show more details"
1127
- msgstr ""
1128
-
1129
- #: class/db/shortpixel-meta-facade.php:165
1130
- msgid "Error"
1131
- msgstr ""
1132
-
1133
- #: class/db/shortpixel-custom-meta-dao.php:187
1134
- msgid "Folder already added."
1135
- msgstr ""
1136
-
1137
- #: class/db/shortpixel-custom-meta-dao.php:191
1138
- #, php-format
1139
- msgid ""
1140
- "The %s folder cannot be processed as it's not inside the root path of your "
1141
- "website."
1142
- msgstr ""
1143
-
1144
- #: class/db/shortpixel-custom-meta-dao.php:200
1145
- msgid ""
1146
- "This folder contains Media Library images. To optimize Media Library images "
1147
- "please go to <a href=\"upload.php?mode=list\">Media Library list view</a> or "
1148
- "to <a href=\"upload.php?page=wp-short-pixel-bulk\">SortPixel Bulk page</a>."
1149
- msgstr ""
1150
-
1151
- #: class/db/shortpixel-custom-meta-dao.php:204
1152
- msgid "Inserted folder doesn't have an ID!"
1153
- msgstr ""
1154
-
1155
- #: class/db/shortpixel-custom-meta-dao.php:224
1156
- msgid ""
1157
- "This folder contains the ShortPixel Backups. Please select a different "
1158
- "folder."
1159
- msgstr ""
1160
-
1161
- #. var_dump($allFolders);
1162
- #: class/db/shortpixel-custom-meta-dao.php:247
1163
- #, php-format
1164
- msgid "Folder already included in %s."
1165
- msgstr ""
1166
-
1167
- #: class/db/shortpixel-custom-meta-dao.php:250
1168
- msgid "Folder does not exist."
1169
- msgstr ""
1170
-
1171
- #: class/model/shortpixel-folder.php:76 class/model/shortpixel-folder.php:149
1172
- #, php-format
1173
- msgid "Folder %s is not writeable. Please check permissions and try again."
1174
- msgstr ""
1175
-
1176
- #: wp-shortpixel.php:160
1177
- msgid "ShortPixel Settings"
1178
- msgstr ""
1179
-
1180
- #. translators: title and menu name for the Other media page
1181
- #: wp-shortpixel.php:166
1182
- msgid "Other Media Optimized by ShortPixel"
1183
- msgstr ""
1184
-
1185
- #: wp-shortpixel.php:166
1186
- msgid "Other Media"
1187
- msgstr ""
1188
-
1189
- #. translators: title and menu name for the Bulk Processing page
1190
- #: wp-shortpixel.php:169
1191
- msgid "ShortPixel Bulk Process"
1192
- msgstr ""
1193
-
1194
- #: wp-shortpixel.php:169
1195
- msgid "Bulk ShortPixel"
1196
- msgstr ""
1197
-
1198
- #: wp-shortpixel.php:216
1199
- msgid "Media alert dismissed"
1200
- msgstr ""
1201
-
1202
- #: wp-shortpixel.php:269
1203
- msgid "Optimize with ShortPixel"
1204
- msgstr ""
1205
-
1206
- #: wp-shortpixel.php:270
1207
- msgid ""
1208
- "In order to access the ShortPixel Optimization actions and info, please "
1209
- "change to {0}List View{1}List View{2}Dismiss{3}"
1210
- msgstr ""
1211
-
1212
- #: wp-shortpixel.php:271
1213
- msgid ""
1214
- "This type of optimization will apply to new uploaded images.\\nImages that "
1215
- "were already processed will not be re-optimized unless you restart the bulk "
1216
- "process."
1217
- msgstr ""
1218
-
1219
- #: wp-shortpixel.php:272
1220
- msgid "Are you sure you want to stop optimizing the folder {0}?"
1221
- msgstr ""
1222
-
1223
- #: wp-shortpixel.php:275
1224
- msgid "+{0} thumbnails optimized"
1225
- msgstr ""
1226
-
1227
- #: wp-shortpixel.php:276
1228
- msgid "Optimize {0} thumbnails"
1229
- msgstr ""
1230
-
1231
- #: wp-shortpixel.php:277
1232
- msgid "Reoptimize {0}"
1233
- msgstr ""
1234
-
1235
- #: wp-shortpixel.php:279
1236
- msgid "Get API Key"
1237
- msgstr ""
1238
-
1239
- #: wp-shortpixel.php:283
1240
- msgid "This content is not processable."
1241
- msgstr ""
1242
-
1243
- #: wp-shortpixel.php:284
1244
- msgid "Image waiting to optimize thumbnails"
1245
- msgstr ""
1246
-
1247
- #. translators: toolbar icon tooltip
1248
- #: wp-shortpixel.php:297
1249
- msgid "ShortPixel optimizing..."
1250
- msgstr ""
1251
-
1252
- #. translators: toolbar icon tooltip
1253
- #: wp-shortpixel.php:308
1254
- msgid "ShortPixel quota exceeded. Click for details."
1255
- msgstr ""
1256
-
1257
- #: wp-shortpixel.php:564
1258
- msgid "Missing API Key"
1259
- msgstr ""
1260
-
1261
- #. translators: console message Empty queue 1234 -> 1234
1262
- #: wp-shortpixel.php:614
1263
- msgid "Empty queue "
1264
- msgstr ""
1265
-
1266
- #: wp-shortpixel.php:740
1267
- msgid " Retry limit reached. Skipping file ID "
1268
- msgstr ""
1269
-
1270
- #: wp-shortpixel.php:835
1271
- msgid "NextGen image not found"
1272
- msgstr ""
1273
-
1274
- #: wp-shortpixel.php:1004 wp-shortpixel.php:1018
1275
- msgid "Could not restore from backup: "
1276
- msgstr ""
1277
-
1278
- #: wp-shortpixel.php:1037
1279
- msgid "No thumbnails to optimize for ID: "
1280
- msgstr ""
1281
-
1282
- #: wp-shortpixel.php:1037
1283
- msgid "Please optimize image for ID: "
1284
- msgstr ""
1285
-
1286
- #: wp-shortpixel.php:1142
1287
- msgid "Refresh custom folders content"
1288
- msgstr ""
1289
-
1290
- #: wp-shortpixel.php:1143
1291
- msgid "Refresh folders"
1292
- msgstr ""
1293
-
1294
- #: wp-shortpixel.php:1146
1295
- msgid "Other Media optimized by ShortPixel"
1296
- msgstr ""
1297
-
1298
- #: wp-shortpixel.php:1322 wp-shortpixel.php:1413
1299
- msgid "You do not have sufficient permissions to access this page."
1300
- msgstr ""
1301
-
1302
- #: wp-shortpixel.php:1451
1303
- #, php-format
1304
- msgid ""
1305
- "The key you provided has %s characters. The API key should have 20 "
1306
- "characters, letters and numbers only."
1307
- msgstr ""
1308
-
1309
- #: wp-shortpixel.php:1453
1310
- msgid ""
1311
- "Please check that the API key is the same as the one you received in your "
1312
- "confirmation email."
1313
- msgstr ""
1314
-
1315
- #: wp-shortpixel.php:1455
1316
- msgid "If this problem persists, please contact us at "
1317
- msgstr ""
1318
-
1319
- #: wp-shortpixel.php:1457
1320
- msgid " or "
1321
- msgstr ""
1322
-
1323
- #: wp-shortpixel.php:1475
1324
- msgid ""
1325
- "API Key is valid but your site is not accessible from our servers. Please "
1326
- "make sure that your server is accessible from the Internet before using the "
1327
- "API or otherwise we won't be able to optimize them."
1328
- msgstr ""
1329
-
1330
- #: wp-shortpixel.php:1478
1331
- msgid ""
1332
- "API Key valid! <br>You seem to be running a multisite, please note that API "
1333
- "Key can also be configured in wp-config.php like this:"
1334
- msgstr ""
1335
-
1336
- #: wp-shortpixel.php:1481
1337
- msgid "API Key valid!"
1338
- msgstr ""
1339
-
1340
- #: wp-shortpixel.php:1488
1341
- #, php-format
1342
- msgid ""
1343
- "There is something preventing us to create a new folder for backing up your "
1344
- "original files.<BR>Please make sure that folder <b>%s</b> has the necessary "
1345
- "write and read rights."
1346
- msgstr ""
1347
-
1348
- #: wp-shortpixel.php:1536
1349
- msgid "Folder added successfully."
1350
- msgstr ""
1351
-
1352
- #: wp-shortpixel.php:1712
1353
- msgid ""
1354
- "API Key could not be validated due to a connectivity error.<BR>Your firewall "
1355
- "may be blocking us. Please contact your hosting provider and ask them to "
1356
- "allow connections from your site to IP 176.9.106.46.<BR> If you still cannot "
1357
- "validate your API Key after this, please <a href=\"https://shortpixel.com/"
1358
- "contact\" target=\"_blank\">contact us</a> and we will try to help. "
1359
- msgstr ""
1360
-
1361
- #: wp-shortpixel.php:1713 wp-shortpixel.php:1714
1362
- msgid "Information unavailable. Please check your API key."
1363
- msgstr ""
1364
-
1365
- #: wp-shortpixel.php:1789
1366
- msgid "PDF not processed."
1367
- msgstr ""
1368
-
1369
- #: wp-shortpixel.php:1820 wp-shortpixel.php:1822
1370
- msgid "Cannot write optimized file"
1371
- msgstr ""
1372
-
1373
- #: wp-shortpixel.php:1823
1374
- msgid "Why?"
1375
- msgstr ""
1376
-
1377
- #: wp-shortpixel.php:1831
1378
- msgid "Image does not exist"
1379
- msgstr ""
1380
-
1381
- #: wp-shortpixel.php:1835
1382
- msgid "Image waiting to be processed."
1383
- msgstr ""
1384
-
1385
- #: wp-shortpixel.php:1853
1386
- msgid "ShortPixel Statistics"
1387
- msgstr ""
1388
-
1389
- #: wp-shortpixel.php:1871
1390
- msgid "ShortPixel Compression"
1391
- msgstr ""
1392
-
1393
- #: shortpixel_api.php:142
1394
- msgid "The file(s) do not exist on disk."
1395
- msgstr ""
1396
-
1397
- #: shortpixel_api.php:157 shortpixel_api.php:168
1398
- msgid "Timed out while processing."
1399
- msgstr ""
1400
-
1401
- #: shortpixel_api.php:161
1402
- msgid "Image ID"
1403
- msgstr ""
1404
-
1405
- #: shortpixel_api.php:161
1406
- msgid "Media ID"
1407
- msgstr ""
1408
-
1409
- #: shortpixel_api.php:162
1410
- msgid "Skip this image, try the next one."
1411
- msgstr ""
1412
-
1413
- #. send requests to API
1414
- #. response <> 200 -> there was an error apparently?
1415
- #: shortpixel_api.php:179 shortpixel_api.php:212 shortpixel_api.php:215
1416
- msgid "There was an error and your request was not processed."
1417
- msgstr ""
1418
-
1419
- #: shortpixel_api.php:231
1420
- msgid "Unecognized API response. Please contact support."
1421
- msgstr ""
1422
-
1423
- #: shortpixel_api.php:238
1424
- msgid "Quota exceeded."
1425
- msgstr ""
1426
-
1427
- #: shortpixel_api.php:326
1428
- msgid "Error downloading file"
1429
- msgstr ""
1430
-
1431
- #: shortpixel_api.php:334
1432
- #, php-format
1433
- msgid ""
1434
- "Error downloading file - incorrect file size (downloaded: %s, correct: %s )"
1435
- msgstr ""
1436
-
1437
- #: shortpixel_api.php:337
1438
- msgid "Unable to locate downloaded file"
1439
- msgstr ""
1440
-
1441
- #. array with final paths for these files
1442
- #. creates backup folder if it doesn't exist
1443
- #: shortpixel_api.php:399
1444
- msgid "Backup folder does not exist and it cannot be created"
1445
- msgstr ""
1446
-
1447
- #. file couldn't be saved in backup folder
1448
- #: shortpixel_api.php:419
1449
- #, php-format
1450
- msgid "Cannot save file <i>%s</i> in backup directory"
1451
- msgstr ""
1452
-
1453
- #. cannot write to the backup dir, return with an error
1454
- #: shortpixel_api.php:428
1455
- msgid "Cannot save file in backup directory"
1456
- msgstr ""
1457
-
1458
- #: shortpixel_api.php:491
1459
- #, php-format
1460
- msgid "Optimized version of %s file(s) couldn't be updated."
1461
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/shortpixel-image-optimiser-en_US.mo DELETED
Binary file
lang/shortpixel-image-optimiser-en_US.po DELETED
@@ -1,1461 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- #, fuzzy
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: PACKAGE VERSION\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2016-11-30 16:23+0100\n"
12
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "Language: \n"
16
- "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=UTF-8\n"
18
- "Content-Transfer-Encoding: 8bit\n"
19
-
20
- #: class/view/shortpixel_view.php:23 class/view/shortpixel_view.php:417
21
- msgid "Average reduction"
22
- msgstr ""
23
-
24
- #. translators: header of the alert box
25
- #: class/view/shortpixel_view.php:33
26
- msgid "Quota Exceeded"
27
- msgstr ""
28
-
29
- #. translators: body of the alert box
30
- #: class/view/shortpixel_view.php:35
31
- #, php-format
32
- msgid ""
33
- "The plugin has optimized <strong>%s images</strong> and stopped because it "
34
- "reached the available quota limit."
35
- msgstr ""
36
-
37
- #: class/view/shortpixel_view.php:39
38
- #, php-format
39
- msgid ""
40
- "<strong>%s images and %s thumbnails</strong> are not yet optimized by "
41
- "ShortPixel."
42
- msgstr ""
43
-
44
- #: class/view/shortpixel_view.php:44
45
- msgid "Upgrade"
46
- msgstr ""
47
-
48
- #: class/view/shortpixel_view.php:45
49
- msgid "Confirm New Quota"
50
- msgstr ""
51
-
52
- #: class/view/shortpixel_view.php:47
53
- msgid "Get more image credits by referring ShortPixel to your friends!"
54
- msgstr ""
55
-
56
- #: class/view/shortpixel_view.php:49
57
- msgid "Check your account"
58
- msgstr ""
59
-
60
- #: class/view/shortpixel_view.php:50
61
- msgid ""
62
- "for your unique referral link. For each user that joins, you will receive "
63
- "+100 additional image credits/month."
64
- msgstr ""
65
-
66
- #: class/view/shortpixel_view.php:58
67
- msgid ""
68
- "In order to start the optimization process, you need to validate your API "
69
- "Key in the <a href=\"options-general.php?page=wp-shortpixel\">ShortPixel "
70
- "Settings</a> page in your WordPress Admin."
71
- msgstr ""
72
-
73
- #: class/view/shortpixel_view.php:61
74
- msgid ""
75
- "If you don’t have an API Key, you can get one delivered to your inbox, for "
76
- "free."
77
- msgstr ""
78
-
79
- #: class/view/shortpixel_view.php:62
80
- msgid ""
81
- "Please <a href=\"https://shortpixel.com/wp-apikey\" target=\"_blank\">sign "
82
- "up to get your API key.</a>"
83
- msgstr ""
84
-
85
- #: class/view/shortpixel_view.php:70
86
- msgid "Dismiss"
87
- msgstr ""
88
-
89
- #: class/view/shortpixel_view.php:72
90
- msgid "ShortPixel Optimization"
91
- msgstr ""
92
-
93
- #: class/view/shortpixel_view.php:75
94
- msgid ""
95
- "Action needed. Please <a href='https://shortpixel.com/wp-apikey' "
96
- "target='_blank'>get your API key</a> to activate your ShortPixel plugin."
97
- msgstr ""
98
-
99
- #: class/view/shortpixel_view.php:78
100
- msgid ""
101
- "Your image gallery is not optimized. It takes 2 minutes to <a href='https://"
102
- "shortpixel.com/wp-apikey' target='_blank'>get your API key</a> and activate "
103
- "your ShortPixel plugin."
104
- msgstr ""
105
-
106
- #: class/view/shortpixel_view.php:102
107
- msgid "Your media library"
108
- msgstr ""
109
-
110
- #: class/view/shortpixel_view.php:103
111
- msgid "Original images"
112
- msgstr ""
113
-
114
- #: class/view/shortpixel_view.php:105
115
- msgid "Smaller thumbnails"
116
- msgstr ""
117
-
118
- #: class/view/shortpixel_view.php:109 class/view/shortpixel_view.php:343
119
- msgid "Include thumbnails"
120
- msgstr ""
121
-
122
- #: class/view/shortpixel_view.php:112
123
- msgid "Total images"
124
- msgstr ""
125
-
126
- #: class/view/shortpixel_view.php:114
127
- msgid "Already optimized originals"
128
- msgstr ""
129
-
130
- #: class/view/shortpixel_view.php:116
131
- msgid "Already optimized thumbnails"
132
- msgstr ""
133
-
134
- #: class/view/shortpixel_view.php:119 class/view/shortpixel_view.php:124
135
- msgid "Total to be optimized"
136
- msgstr ""
137
-
138
- #: class/view/shortpixel_view.php:123
139
- msgid "Your custom folders"
140
- msgstr ""
141
-
142
- #: class/view/shortpixel_view.php:137
143
- #, php-format
144
- msgid ""
145
- "<span class=\"label\">Start Optimizing</span><br> <span class=\"total\">%s</"
146
- "span> images"
147
- msgstr ""
148
-
149
- #: class/view/shortpixel_view.php:148
150
- msgid ""
151
- "Nothing to optimize! The images that you add to Media Gallery will be "
152
- "automatically optimized after upload."
153
- msgstr ""
154
-
155
- #: class/view/shortpixel_view.php:157
156
- msgid ""
157
- "After you start the bulk process, in order for the optimization to run, you "
158
- "must keep this page open and your computer running. If you close the page "
159
- "for whatever reason, just turn back to it and the bulk process will resume."
160
- msgstr ""
161
-
162
- #: class/view/shortpixel_view.php:163
163
- msgid "What are Thumbnails?"
164
- msgstr ""
165
-
166
- #: class/view/shortpixel_view.php:164
167
- msgid ""
168
- "Thumbnails are smaller images usually generated by your WP theme. Most "
169
- "themes generate between 3 and 6 thumbnails for each Media Library image."
170
- msgstr ""
171
-
172
- #: class/view/shortpixel_view.php:165
173
- msgid ""
174
- "The thumbnails also generate traffic on your website pages and they "
175
- "influence your website's speed."
176
- msgstr ""
177
-
178
- #: class/view/shortpixel_view.php:166
179
- msgid ""
180
- "It's highly recommended that you include thumbnails in the optimization as "
181
- "well."
182
- msgstr ""
183
-
184
- #: class/view/shortpixel_view.php:169
185
- msgid "How does it work?"
186
- msgstr ""
187
-
188
- #: class/view/shortpixel_view.php:170
189
- msgid ""
190
- "The plugin processes images starting with the newest ones you uploaded in "
191
- "your Media Library."
192
- msgstr ""
193
-
194
- #: class/view/shortpixel_view.php:171
195
- msgid "You will be able to pause the process anytime."
196
- msgstr ""
197
-
198
- #: class/view/shortpixel_view.php:172
199
- msgid ""
200
- "<p>Your original images will be stored in a separate back-up folder.</p>"
201
- msgstr ""
202
-
203
- #: class/view/shortpixel_view.php:173
204
- msgid ""
205
- "You can watch the images being processed live, right here, after you start "
206
- "optimizing."
207
- msgstr ""
208
-
209
- #. bulk is paused
210
- #: class/view/shortpixel_view.php:179
211
- msgid "Please see below the optimization status so far:"
212
- msgstr ""
213
-
214
- #: class/view/shortpixel_view.php:182
215
- #, php-format
216
- msgid "%d images and %d thumbnails are not yet optimized by ShortPixel."
217
- msgstr ""
218
-
219
- #: class/view/shortpixel_view.php:187
220
- msgid ""
221
- "You can continue optimizing your Media Gallery from where you left, by "
222
- "clicking the Resume processing button. Already optimized images will not be "
223
- "reprocessed."
224
- msgstr ""
225
-
226
- #: class/view/shortpixel_view.php:197
227
- msgid "Congratulations!"
228
- msgstr ""
229
-
230
- #: class/view/shortpixel_view.php:198
231
- msgid "Your media library has been successfully optimized!"
232
- msgstr ""
233
-
234
- #: class/view/shortpixel_view.php:199
235
- msgid "Summary"
236
- msgstr ""
237
-
238
- #: class/view/shortpixel_view.php:205
239
- msgid "Share your optimization results:"
240
- msgstr ""
241
-
242
- #: class/view/shortpixel_view.php:225
243
- msgid "I just optimized my images by "
244
- msgstr ""
245
-
246
- #: class/view/shortpixel_view.php:227
247
- msgid "I just optimized my images "
248
- msgstr ""
249
-
250
- #: class/view/shortpixel_view.php:230
251
- msgid "with @ShortPixel, a great plugin for increasing #WordPress page speed:"
252
- msgstr ""
253
-
254
- #: class/view/shortpixel_view.php:231
255
- msgid "Tweet"
256
- msgstr ""
257
-
258
- #: class/view/shortpixel_view.php:257
259
- msgid "Please rate us!"
260
- msgstr ""
261
-
262
- #: class/view/shortpixel_view.php:267
263
- #, php-format
264
- msgid ""
265
- "Go to the ShortPixel <a href=\"%soptions-general.php?page=wp-shortpixel#stats"
266
- "\">Stats</a> and see all your websites' optimized stats. Download your "
267
- "detailed <a href=\"https://api.shortpixel.com/v2/report.php?key=%s"
268
- "\">Optimization Report</a> to check your image optimization statistics for "
269
- "the last 40 days."
270
- msgstr ""
271
-
272
- #: class/view/shortpixel_view.php:275
273
- msgid ""
274
- "The following images could not be processed because of their limited write "
275
- "rights. This usually happens if you have changed your hosting provider. "
276
- "Please restart the optimization process after you granted write rights to "
277
- "all the files below."
278
- msgstr ""
279
-
280
- #: class/view/shortpixel_view.php:290 wp-shortpixel.php:1755
281
- #: wp-shortpixel.php:1756 wp-shortpixel.php:1757 wp-shortpixel.php:1758
282
- msgid " images"
283
- msgstr ""
284
-
285
- #: class/view/shortpixel_view.php:291
286
- msgid " and"
287
- msgstr ""
288
-
289
- #: class/view/shortpixel_view.php:292
290
- msgid " thumbnails"
291
- msgstr ""
292
-
293
- #: class/view/shortpixel_view.php:293
294
- msgid " are not yet optimized by ShortPixel."
295
- msgstr ""
296
-
297
- #: class/view/shortpixel_view.php:295
298
- msgid "Some have errors:"
299
- msgstr ""
300
-
301
- #: class/view/shortpixel_view.php:318
302
- #, php-format
303
- msgid ""
304
- "%s images and %s thumbnails were optimized <strong>%s</strong>. You can re-"
305
- "optimize <strong>%s</strong> the ones that have backup."
306
- msgstr ""
307
-
308
- #: class/view/shortpixel_view.php:323
309
- #, php-format
310
- msgid ""
311
- "%s images were optimized <strong>%s</strong>. You can re-optimize <strong>"
312
- "%s</strong> the ones that have backup. "
313
- msgstr ""
314
-
315
- #: class/view/shortpixel_view.php:326
316
- msgid " thumbnails will be restored to originals."
317
- msgstr ""
318
-
319
- #: class/view/shortpixel_view.php:331
320
- msgid ""
321
- "Restart the optimization process for these images by clicking the button "
322
- "below."
323
- msgstr ""
324
-
325
- #: class/view/shortpixel_view.php:333
326
- msgid ""
327
- "Restart the optimization process for new images added to your library by "
328
- "clicking the button below."
329
- msgstr ""
330
-
331
- #: class/view/shortpixel_view.php:335
332
- #, php-format
333
- msgid "Already <strong>%s</strong> optimized images will not be reprocessed."
334
- msgstr ""
335
-
336
- #: class/view/shortpixel_view.php:337
337
- msgid ""
338
- "Please note that reoptimizing images as <strong>lossy/lossless</strong> may "
339
- "use additional credits."
340
- msgstr ""
341
-
342
- #: class/view/shortpixel_view.php:338
343
- msgid "More info"
344
- msgstr ""
345
-
346
- #: class/view/shortpixel_view.php:344
347
- msgid "Restart Optimizing"
348
- msgstr ""
349
-
350
- #: class/view/shortpixel_view.php:355
351
- msgid "Bulk Image Optimization by ShortPixel"
352
- msgstr ""
353
-
354
- #: class/view/shortpixel_view.php:361
355
- msgid "Lengthy operation in progress:"
356
- msgstr ""
357
-
358
- #: class/view/shortpixel_view.php:362
359
- msgid "Optimizing image"
360
- msgstr ""
361
-
362
- #: class/view/shortpixel_view.php:369
363
- msgid "Error processing file:"
364
- msgstr ""
365
-
366
- #: class/view/shortpixel_view.php:375
367
- msgid "Just optimized:"
368
- msgstr ""
369
-
370
- #: class/view/shortpixel_view.php:381
371
- msgid "Original image"
372
- msgstr ""
373
-
374
- #: class/view/shortpixel_view.php:385
375
- msgid "Optimized image"
376
- msgstr ""
377
-
378
- #. translators: percent follows
379
- #: class/view/shortpixel_view.php:389
380
- msgid "Optimized by:"
381
- msgstr ""
382
-
383
- #: class/view/shortpixel_view.php:411
384
- msgid "Remaining credits"
385
- msgstr ""
386
-
387
- #: class/view/shortpixel_view.php:427 class/view/shortpixel_view.php:436
388
- msgid "Media Library"
389
- msgstr ""
390
-
391
- #: class/view/shortpixel_view.php:428
392
- msgid "and"
393
- msgstr ""
394
-
395
- #: class/view/shortpixel_view.php:429
396
- msgid "Custom folders"
397
- msgstr ""
398
-
399
- #: class/view/shortpixel_view.php:429
400
- msgid "optimization in progress ..."
401
- msgstr ""
402
-
403
- #: class/view/shortpixel_view.php:430
404
- msgid "Bulk optimization has started."
405
- msgstr ""
406
-
407
- #: class/view/shortpixel_view.php:431
408
- #, php-format
409
- msgid ""
410
- "This process will take some time, depending on the number of images in your "
411
- "library. In the meantime, you can continue using \n"
412
- " the admin as usual, <a href=\"%s\" target=\"_blank\">in "
413
- "a different browser window or tab</a>.<br>\n"
414
- " However, <strong>if you close this window, the bulk "
415
- "processing will pause</strong> until you open the media gallery or the "
416
- "ShortPixel bulk page again."
417
- msgstr ""
418
-
419
- #: class/view/shortpixel_view.php:436
420
- msgid "and Custom folders"
421
- msgstr ""
422
-
423
- #: class/view/shortpixel_view.php:436
424
- msgid "optimization paused"
425
- msgstr ""
426
-
427
- #: class/view/shortpixel_view.php:437
428
- msgid "Bulk processing is paused until you resume the optimization process."
429
- msgstr ""
430
-
431
- #. now we display the action buttons always when a type of bulk is running
432
- #: class/view/shortpixel_view.php:454
433
- msgid "Pause"
434
- msgstr ""
435
-
436
- #: class/view/shortpixel_view.php:454
437
- msgid "Resume processing"
438
- msgstr ""
439
-
440
- #: class/view/shortpixel_view.php:457
441
- msgid "Only other media"
442
- msgstr ""
443
-
444
- #: class/view/shortpixel_view.php:457
445
- msgid "Process only the other media, skipping the Media Library"
446
- msgstr ""
447
-
448
- #: class/view/shortpixel_view.php:461
449
- msgid "Manage custom folders"
450
- msgstr ""
451
-
452
- #: class/view/shortpixel_view.php:469
453
- msgid "Processed Images and PDFs:"
454
- msgstr ""
455
-
456
- #: class/view/shortpixel_view.php:470
457
- msgid "Processed Thumbnails:"
458
- msgstr ""
459
-
460
- #: class/view/shortpixel_view.php:471
461
- msgid "Total files processed:"
462
- msgstr ""
463
-
464
- #: class/view/shortpixel_view.php:472
465
- #, php-format
466
- msgid "Minus files with <5% optimization (free):"
467
- msgstr ""
468
-
469
- #: class/view/shortpixel_view.php:473
470
- msgid "Used quota:"
471
- msgstr ""
472
-
473
- #: class/view/shortpixel_view.php:475
474
- msgid "Average optimization:"
475
- msgstr ""
476
-
477
- #: class/view/shortpixel_view.php:476
478
- msgid "Saved space:"
479
- msgstr ""
480
-
481
- #. wp_enqueue_script('jquery.idTabs.js', plugins_url('/js/jquery.idTabs.js',__FILE__) );
482
- #: class/view/shortpixel_view.php:502
483
- msgid "ShortPixel Plugin Settings"
484
- msgstr ""
485
-
486
- #: class/view/shortpixel_view.php:505
487
- msgid "Upgrade now"
488
- msgstr ""
489
-
490
- #: class/view/shortpixel_view.php:507
491
- msgid "Support"
492
- msgstr ""
493
-
494
- #: class/view/shortpixel_view.php:525
495
- msgid "General"
496
- msgstr ""
497
-
498
- #: class/view/shortpixel_view.php:530
499
- msgid "Advanced"
500
- msgstr ""
501
-
502
- #. the span is a trick to keep the sections ordered as nth-child in styles: 1,2,3,4 (otherwise the third section would be nth-child(2) too, because of the form)
503
- #: class/view/shortpixel_view.php:537
504
- msgid "Statistics"
505
- msgstr ""
506
-
507
- #: class/view/shortpixel_view.php:545
508
- msgid "WP Resources"
509
- msgstr ""
510
-
511
- #: class/view/shortpixel_view.php:546
512
- msgid "Please reload"
513
- msgstr ""
514
-
515
- #: class/view/shortpixel_view.php:579
516
- #, php-format
517
- msgid ""
518
- "New images uploaded to the Media Library will be optimized automatically.<br/"
519
- ">If you have existing images you would like to optimize, you can use the <a "
520
- "href=\"%supload.php?page=wp-short-pixel-bulk\">Bulk Optimization Tool</a>."
521
- msgstr ""
522
-
523
- #: class/view/shortpixel_view.php:582
524
- msgid "Step 1:"
525
- msgstr ""
526
-
527
- #: class/view/shortpixel_view.php:583
528
- #, php-format
529
- msgid ""
530
- "If you don't have an API Key, <a href=\"https://shortpixel.com/wp-apikey%s\" "
531
- "target=\"_blank\">sign up here.</a> It's free and it only takes one minute, "
532
- "we promise!"
533
- msgstr ""
534
-
535
- #: class/view/shortpixel_view.php:584
536
- msgid "Step 2:"
537
- msgstr ""
538
-
539
- #: class/view/shortpixel_view.php:585
540
- msgid "Please enter here the API Key you received by email and press Validate."
541
- msgstr ""
542
-
543
- #: class/view/shortpixel_view.php:591
544
- msgid "API Key:"
545
- msgstr ""
546
-
547
- #: class/view/shortpixel_view.php:601
548
- msgid "Multisite API Key"
549
- msgstr ""
550
-
551
- #: class/view/shortpixel_view.php:604
552
- msgid "Validate the provided API key"
553
- msgstr ""
554
-
555
- #: class/view/shortpixel_view.php:605
556
- msgid "Validate"
557
- msgstr ""
558
-
559
- #: class/view/shortpixel_view.php:607
560
- msgid "Key defined in wp-config.php."
561
- msgstr ""
562
-
563
- #. if invalid key we display the link to the API Key
564
- #. if valid key we display the rest of the options
565
- #: class/view/shortpixel_view.php:618
566
- msgid "Compression type:"
567
- msgstr ""
568
-
569
- #: class/view/shortpixel_view.php:622
570
- msgid "Lossy (recommended)"
571
- msgstr ""
572
-
573
- #: class/view/shortpixel_view.php:623
574
- msgid ""
575
- "<b>Lossy compression: </b>lossy has a better compression rate than lossless "
576
- "compression.</br>The resulting image is identical with the original to the "
577
- "human eye. You can run a test for free "
578
- msgstr ""
579
-
580
- #: class/view/shortpixel_view.php:624 wp-shortpixel.php:1458
581
- msgid "here"
582
- msgstr ""
583
-
584
- #: class/view/shortpixel_view.php:626 class/view/shortpixel-list-table.php:111
585
- msgid "Lossless"
586
- msgstr ""
587
-
588
- #: class/view/shortpixel_view.php:628
589
- msgid ""
590
- "<b>Lossless compression: </b> the shrunk image will be identical with the "
591
- "original and smaller in size.</br>In some rare cases you will need to use \n"
592
- " this type of compression. Some technical drawings or "
593
- "images from vector graphics are possible situations."
594
- msgstr ""
595
-
596
- #: class/view/shortpixel_view.php:638
597
- msgid "Also include thumbnails:"
598
- msgstr ""
599
-
600
- #: class/view/shortpixel_view.php:640
601
- msgid "Apply compression also to <strong>image thumbnails.</strong> "
602
- msgstr ""
603
-
604
- #: class/view/shortpixel_view.php:641
605
- msgid "thumbnails to optimize"
606
- msgstr ""
607
-
608
- #: class/view/shortpixel_view.php:643
609
- msgid ""
610
- "It is highly recommended that you optimize the thumbnails as they are "
611
- "usually the images most viewed by end users and can generate most traffic."
612
- "<br>Please note that thumbnails count up to your total quota."
613
- msgstr ""
614
-
615
- #: class/view/shortpixel_view.php:648
616
- msgid "Image backup"
617
- msgstr ""
618
-
619
- #: class/view/shortpixel_view.php:650
620
- msgid "Save and keep a backup of your original images in a separate folder."
621
- msgstr ""
622
-
623
- #: class/view/shortpixel_view.php:651
624
- msgid ""
625
- "You <strong>need to have backup active</strong> in order to be able to "
626
- "restore images to originals or to convert from Lossy to Lossless and back."
627
- msgstr ""
628
-
629
- #: class/view/shortpixel_view.php:655
630
- msgid "CMYK to RGB conversion"
631
- msgstr ""
632
-
633
- #: class/view/shortpixel_view.php:657
634
- msgid "Adjust your images for computer and mobile screen display."
635
- msgstr ""
636
-
637
- #: class/view/shortpixel_view.php:658
638
- msgid ""
639
- "Images for the web only need RGB format and converting them from CMYK to RGB "
640
- "makes them smaller."
641
- msgstr ""
642
-
643
- #: class/view/shortpixel_view.php:662
644
- msgid "Remove EXIF"
645
- msgstr ""
646
-
647
- #: class/view/shortpixel_view.php:664
648
- msgid "Remove the EXIF tag of the image (recommended)."
649
- msgstr ""
650
-
651
- #: class/view/shortpixel_view.php:665
652
- msgid ""
653
- "EXIF is a set of various pieces of information that are automatically "
654
- "embedded into the image upon creation. This can include GPS position, camera "
655
- "manufacturer, date and time, etc. \n"
656
- " Unless you really need that data to be "
657
- "preserved, we recommend removing it as it can lead to <a href=\"http://blog."
658
- "shortpixel.com/how-much-smaller-can-be-images-without-exif-icc\" target="
659
- "\"_blank\">better compression rates</a>."
660
- msgstr ""
661
-
662
- #: class/view/shortpixel_view.php:670
663
- msgid "Resize large images"
664
- msgstr ""
665
-
666
- #: class/view/shortpixel_view.php:673
667
- msgid "to maximum"
668
- msgstr ""
669
-
670
- #: class/view/shortpixel_view.php:675
671
- msgid "pixels wide &times;"
672
- msgstr ""
673
-
674
- #: class/view/shortpixel_view.php:677
675
- msgid ""
676
- "pixels high (original aspect ratio is preserved and image is not cropped)"
677
- msgstr ""
678
-
679
- #: class/view/shortpixel_view.php:679
680
- #, php-format
681
- msgid ""
682
- "Recommended for large photos, like the ones taken with your phone. Saved "
683
- "space can go up to 80% or more after resizing."
684
- msgstr ""
685
-
686
- #: class/view/shortpixel_view.php:683
687
- msgid ""
688
- "Sizes will be greater or equal to the corresponding value. For example, if "
689
- "you set the resize dimensions at 1000x1200, an image of 2000x3000px will be "
690
- "resized to 1000x1500px while an image of 3000x2000px will be resized to "
691
- "1800x1200px"
692
- msgstr ""
693
-
694
- #: class/view/shortpixel_view.php:685
695
- msgid ""
696
- "Sizes will be smaller or equal to the corresponding value. For example, if "
697
- "you set the resize dimensions at 1000x1200, an image of 2000x3000px will be "
698
- "resized to 800x1200px while an image of 3000x2000px will be resized to "
699
- "1000x667px"
700
- msgstr ""
701
-
702
- #: class/view/shortpixel_view.php:692 class/view/shortpixel_view.php:847
703
- msgid "Save Changes"
704
- msgstr ""
705
-
706
- #: class/view/shortpixel_view.php:693 class/view/shortpixel_view.php:848
707
- msgid "Save and go to the Bulk Processing page"
708
- msgstr ""
709
-
710
- #: class/view/shortpixel_view.php:693 class/view/shortpixel_view.php:848
711
- #: wp-shortpixel.php:1517 wp-shortpixel.php:1518
712
- msgid "Save and Go to Bulk Process"
713
- msgstr ""
714
-
715
- #: class/view/shortpixel_view.php:716
716
- msgid "Please enter your API key in the General tab first."
717
- msgstr ""
718
-
719
- #. if valid key we display the rest of the options
720
- #: class/view/shortpixel_view.php:721
721
- msgid "Additional media folders"
722
- msgstr ""
723
-
724
- #: class/view/shortpixel_view.php:726
725
- msgid "Folder name"
726
- msgstr ""
727
-
728
- #: class/view/shortpixel_view.php:727
729
- msgid "Type &amp;<br>Status"
730
- msgstr ""
731
-
732
- #: class/view/shortpixel_view.php:728
733
- msgid "Files"
734
- msgstr ""
735
-
736
- #: class/view/shortpixel_view.php:729
737
- msgid "Last change"
738
- msgstr ""
739
-
740
- #: class/view/shortpixel_view.php:738 class/view/shortpixel_view.php:743
741
- #: class/view/shortpixel_view.php:745 class/view/shortpixel_view.php:747
742
- msgid "Empty"
743
- msgstr ""
744
-
745
- #: class/view/shortpixel_view.php:740 class/view/shortpixel_view.php:745
746
- #: class/view/shortpixel_view.php:747
747
- msgid "Optimized"
748
- msgstr ""
749
-
750
- #: class/view/shortpixel_view.php:741 class/view/shortpixel_view.php:748
751
- #: class/view/shortpixel-list-table.php:97
752
- msgid "Pending"
753
- msgstr ""
754
-
755
- #: class/view/shortpixel_view.php:741 class/view/shortpixel_view.php:748
756
- #: class/view/shortpixel-list-table.php:99
757
- msgid "Waiting"
758
- msgstr ""
759
-
760
- #: class/view/shortpixel_view.php:745
761
- msgid "Stop monitoring"
762
- msgstr ""
763
-
764
- #: class/view/shortpixel_view.php:745
765
- msgid "Stop optimizing"
766
- msgstr ""
767
-
768
- #: class/view/shortpixel_view.php:749
769
- msgid "Failed"
770
- msgstr ""
771
-
772
- #: class/view/shortpixel_view.php:771
773
- msgid ""
774
- "Full folder refresh, check each file of the folder if it changed since it "
775
- "was optimized. Might take up to 1 min. for big folders."
776
- msgstr ""
777
-
778
- #: class/view/shortpixel_view.php:772
779
- msgid "Refresh"
780
- msgstr ""
781
-
782
- #: class/view/shortpixel_view.php:783
783
- msgid "Select the images folder on your server."
784
- msgstr ""
785
-
786
- #: class/view/shortpixel_view.php:784
787
- msgid "Select ..."
788
- msgstr ""
789
-
790
- #: class/view/shortpixel_view.php:786
791
- msgid "Add Folder"
792
- msgstr ""
793
-
794
- #: class/view/shortpixel_view.php:788
795
- msgid ""
796
- "Use the Select... button to select site folders. ShortPixel will optimize "
797
- "images and PDFs from the specified folders and their subfolders. The "
798
- "optimization status for each image or PDF in these folders can be seen in "
799
- "the <a href=\"upload.php?page=wp-short-pixel-custom\">Other Media list</a>, "
800
- "under the Media menu."
801
- msgstr ""
802
-
803
- #: class/view/shortpixel_view.php:792
804
- msgid "Select the images folder"
805
- msgstr ""
806
-
807
- #: class/view/shortpixel_view.php:794
808
- msgid "Cancel"
809
- msgstr ""
810
-
811
- #: class/view/shortpixel_view.php:795
812
- msgid "Select"
813
- msgstr ""
814
-
815
- #: class/view/shortpixel_view.php:807
816
- msgid "Optimize NextGen galleries"
817
- msgstr ""
818
-
819
- #: class/view/shortpixel_view.php:809
820
- msgid "Optimize NextGen galleries."
821
- msgstr ""
822
-
823
- #: class/view/shortpixel_view.php:811
824
- msgid ""
825
- "Check this to add all your current NextGen galleries to the custom folders "
826
- "list and to also have all the future NextGen galleries and images optimized "
827
- "automatically by ShortPixel."
828
- msgstr ""
829
-
830
- #: class/view/shortpixel_view.php:817
831
- msgid "WebP versions"
832
- msgstr ""
833
-
834
- #: class/view/shortpixel_view.php:819
835
- msgid ""
836
- "Create also <a href=\"http://blog.shortpixel.com/how-webp-images-can-speed-"
837
- "up-your-site/\" target=\"_blank\">WebP versions</a> of the images "
838
- "<strong>for free</strong>."
839
- msgstr ""
840
-
841
- #: class/view/shortpixel_view.php:821
842
- #, php-format
843
- msgid ""
844
- "WebP images can be up to three times smaller than PNGs and 25% smaller than "
845
- "JPGs. Choosing this option <strong>does not use up additional credits</"
846
- "strong>."
847
- msgstr ""
848
-
849
- #: class/view/shortpixel_view.php:826
850
- msgid "HTTP AUTH credentials"
851
- msgstr ""
852
-
853
- #: class/view/shortpixel_view.php:828
854
- msgid "User"
855
- msgstr ""
856
-
857
- #: class/view/shortpixel_view.php:829
858
- msgid "Password"
859
- msgstr ""
860
-
861
- #: class/view/shortpixel_view.php:831
862
- msgid ""
863
- "Only fill in these fields if your site (front-end) is not publicly "
864
- "accessible and visitors need a user/pass to connect to it. If you don't know "
865
- "what is this then just <strong>leave the fields empty</strong>."
866
- msgstr ""
867
-
868
- #: class/view/shortpixel_view.php:836
869
- msgid "Process in front-end"
870
- msgstr ""
871
-
872
- #: class/view/shortpixel_view.php:838
873
- msgid "Automatically optimize images added by users in front end."
874
- msgstr ""
875
-
876
- #: class/view/shortpixel_view.php:840
877
- msgid ""
878
- "Check this if you have users that add images or PDF documents from custom "
879
- "forms in the front-end. This could increase the load on your server if you "
880
- "have a lot of users simultaneously connected."
881
- msgstr ""
882
-
883
- #: class/view/shortpixel_view.php:860
884
- msgid "Your ShortPixel Stats"
885
- msgstr ""
886
-
887
- #: class/view/shortpixel_view.php:864
888
- msgid "Average compression of your files:"
889
- msgstr ""
890
-
891
- #: class/view/shortpixel_view.php:868
892
- msgid "Saved disk space by ShortPixel"
893
- msgstr ""
894
-
895
- #: class/view/shortpixel_view.php:872
896
- msgid "Bandwith* saved with ShortPixel:"
897
- msgstr ""
898
-
899
- #: class/view/shortpixel_view.php:878
900
- msgid "* Saved bandwidth is calculated at 10,000 impressions/image"
901
- msgstr ""
902
-
903
- #: class/view/shortpixel_view.php:880
904
- msgid "Your ShortPixel Plan"
905
- msgstr ""
906
-
907
- #: class/view/shortpixel_view.php:884
908
- msgid "Your ShortPixel plan"
909
- msgstr ""
910
-
911
- #: class/view/shortpixel_view.php:886
912
- #, php-format
913
- msgid ""
914
- "%s/month, renews in %s days, on %s ( <a href=\"https://shortpixel.com/login/"
915
- "%s\" target=\"_blank\">Need More? See the options available</a> )"
916
- msgstr ""
917
-
918
- #: class/view/shortpixel_view.php:889
919
- #, php-format
920
- msgid ""
921
- "<a href=\"https://shortpixel.com/login/%s/tell-a-friend\" target=\"_blank"
922
- "\">Join our friend referral system</a> to win more credits. For each user "
923
- "that joins, you receive +100 images credits/month."
924
- msgstr ""
925
-
926
- #: class/view/shortpixel_view.php:894
927
- msgid "One time credits:"
928
- msgstr ""
929
-
930
- #: class/view/shortpixel_view.php:898
931
- msgid "Number of images processed this month:"
932
- msgstr ""
933
-
934
- #: class/view/shortpixel_view.php:900
935
- msgid "see report"
936
- msgstr ""
937
-
938
- #: class/view/shortpixel_view.php:905
939
- msgid "Remaining** images in your plan:"
940
- msgstr ""
941
-
942
- #: class/view/shortpixel_view.php:906
943
- msgid "images"
944
- msgstr ""
945
-
946
- #: class/view/shortpixel_view.php:912
947
- #, php-format
948
- msgid ""
949
- "** Increase your image quota by <a href=\"https://shortpixel.com/login/%s\" "
950
- "target=\"_blank\">upgrading your ShortPixel plan.</a>"
951
- msgstr ""
952
-
953
- #: class/view/shortpixel_view.php:919
954
- msgid "Total number of processed files:"
955
- msgstr ""
956
-
957
- #: class/view/shortpixel_view.php:924
958
- msgid ""
959
- "Original images are stored in a backup folder. Your backup folder size is "
960
- "now:"
961
- msgstr ""
962
-
963
- #: class/view/shortpixel_view.php:928
964
- msgid "Empty backups"
965
- msgstr ""
966
-
967
- #. not a file that we can process
968
- #: class/view/shortpixel_view.php:945 wp-shortpixel.php:348
969
- #: wp-shortpixel.php:374 wp-shortpixel.php:1813
970
- msgid "Optimization N/A"
971
- msgstr ""
972
-
973
- #: class/view/shortpixel_view.php:948
974
- msgid "Image does not exist."
975
- msgstr ""
976
-
977
- #. multisite key - need to be validated on each site but it's not invalid
978
- #: class/view/shortpixel_view.php:952
979
- msgid ""
980
- "Please <a href=\"options-general.php?page=wp-shortpixel\">go to Settings</a> "
981
- "to validate the API Key."
982
- msgstr ""
983
-
984
- #: class/view/shortpixel_view.php:954
985
- msgid ""
986
- "Invalid API Key. <a href=\"options-general.php?page=wp-shortpixel\">Check "
987
- "your Settings</a>"
988
- msgstr ""
989
-
990
- #: class/view/shortpixel_view.php:963
991
- msgid "Optimize now"
992
- msgstr ""
993
-
994
- #: class/view/shortpixel_view.php:973 class/view/shortpixel-list-table.php:55
995
- #: wp-shortpixel.php:282
996
- msgid "Retry"
997
- msgstr ""
998
-
999
- #: class/view/shortpixel_view.php:990 class/view/shortpixel-list-table.php:93
1000
- #: wp-shortpixel.php:273
1001
- msgid "Reduced by"
1002
- msgstr ""
1003
-
1004
- #: class/view/shortpixel_view.php:993 class/view/shortpixel-list-table.php:92
1005
- #: class/view/shortpixel-list-table.php:94 wp-shortpixel.php:274
1006
- msgid "Bonus processing"
1007
- msgstr ""
1008
-
1009
- #: class/view/shortpixel_view.php:996
1010
- #, php-format
1011
- msgid "+%s of %s thumbnails optimized"
1012
- msgstr ""
1013
-
1014
- #: class/view/shortpixel_view.php:997
1015
- #, php-format
1016
- msgid "+%s thumbnails optimized"
1017
- msgstr ""
1018
-
1019
- #: class/view/shortpixel_view.php:1005
1020
- #, php-format
1021
- msgid "Optimize %s thumbnails"
1022
- msgstr ""
1023
-
1024
- #: class/view/shortpixel_view.php:1012
1025
- msgid "Reoptimize from the backed-up image"
1026
- msgstr ""
1027
-
1028
- #: class/view/shortpixel_view.php:1013
1029
- msgid "Re-optimize"
1030
- msgstr ""
1031
-
1032
- #: class/view/shortpixel_view.php:1017 wp-shortpixel.php:278
1033
- msgid "Restore backup"
1034
- msgstr ""
1035
-
1036
- #: class/view/shortpixel_view.php:1030 wp-shortpixel.php:280
1037
- msgid "Extend Quota"
1038
- msgstr ""
1039
-
1040
- #: class/view/shortpixel_view.php:1033 wp-shortpixel.php:281
1041
- msgid "Check&nbsp;&nbsp;Quota"
1042
- msgstr ""
1043
-
1044
- #: class/view/shortpixel-list-table.php:15
1045
- msgid "Image"
1046
- msgstr ""
1047
-
1048
- #. singular name of the listed records
1049
- #: class/view/shortpixel-list-table.php:16
1050
- msgid "Images"
1051
- msgstr ""
1052
-
1053
- #. pe viitor. $columns['cb'] = '<input type="checkbox" />';
1054
- #: class/view/shortpixel-list-table.php:29
1055
- msgid "Filename"
1056
- msgstr ""
1057
-
1058
- #: class/view/shortpixel-list-table.php:30
1059
- msgid "Folder"
1060
- msgstr ""
1061
-
1062
- #: class/view/shortpixel-list-table.php:31
1063
- msgid "Type"
1064
- msgstr ""
1065
-
1066
- #: class/view/shortpixel-list-table.php:32
1067
- msgid "Status"
1068
- msgstr ""
1069
-
1070
- #: class/view/shortpixel-list-table.php:33
1071
- msgid "Options"
1072
- msgstr ""
1073
-
1074
- #: class/view/shortpixel-list-table.php:52
1075
- msgid "Optimize"
1076
- msgstr ""
1077
-
1078
- #: class/view/shortpixel-list-table.php:58
1079
- msgid "Restore"
1080
- msgstr ""
1081
-
1082
- #: class/view/shortpixel-list-table.php:61
1083
- msgid "Re-optimize lossless"
1084
- msgstr ""
1085
-
1086
- #: class/view/shortpixel-list-table.php:64
1087
- msgid "Re-optimize lossy"
1088
- msgstr ""
1089
-
1090
- #: class/view/shortpixel-list-table.php:67
1091
- msgid "Check quota"
1092
- msgstr ""
1093
-
1094
- #: class/view/shortpixel-list-table.php:68
1095
- msgid "View"
1096
- msgstr ""
1097
-
1098
- #: class/view/shortpixel-list-table.php:89
1099
- msgid "Restored"
1100
- msgstr ""
1101
-
1102
- #: class/view/shortpixel-list-table.php:103
1103
- msgid "code"
1104
- msgstr ""
1105
-
1106
- #: class/view/shortpixel-list-table.php:111
1107
- msgid "Lossy"
1108
- msgstr ""
1109
-
1110
- #: class/view/shortpixel-list-table.php:112
1111
- msgid "Keep EXIF"
1112
- msgstr ""
1113
-
1114
- #: class/view/shortpixel-list-table.php:113
1115
- msgid "Preserve CMYK"
1116
- msgstr ""
1117
-
1118
- #: class/view/shortpixel-list-table.php:122
1119
- msgid ""
1120
- "No images avaliable. Go to <a href=\"options-general.php?page=wp-"
1121
- "shortpixel#adv-settings\">Advanced Settings</a> to configure additional "
1122
- "folders to be optimized."
1123
- msgstr ""
1124
-
1125
- #: class/view/shortpixel-list-table.php:255
1126
- msgid "Show more details"
1127
- msgstr ""
1128
-
1129
- #: class/db/shortpixel-meta-facade.php:165
1130
- msgid "Error"
1131
- msgstr ""
1132
-
1133
- #: class/db/shortpixel-custom-meta-dao.php:187
1134
- msgid "Folder already added."
1135
- msgstr ""
1136
-
1137
- #: class/db/shortpixel-custom-meta-dao.php:191
1138
- #, php-format
1139
- msgid ""
1140
- "The %s folder cannot be processed as it's not inside the root path of your "
1141
- "website."
1142
- msgstr ""
1143
-
1144
- #: class/db/shortpixel-custom-meta-dao.php:200
1145
- msgid ""
1146
- "This folder contains Media Library images. To optimize Media Library images "
1147
- "please go to <a href=\"upload.php?mode=list\">Media Library list view</a> or "
1148
- "to <a href=\"upload.php?page=wp-short-pixel-bulk\">SortPixel Bulk page</a>."
1149
- msgstr ""
1150
-
1151
- #: class/db/shortpixel-custom-meta-dao.php:204
1152
- msgid "Inserted folder doesn't have an ID!"
1153
- msgstr ""
1154
-
1155
- #: class/db/shortpixel-custom-meta-dao.php:224
1156
- msgid ""
1157
- "This folder contains the ShortPixel Backups. Please select a different "
1158
- "folder."
1159
- msgstr ""
1160
-
1161
- #. var_dump($allFolders);
1162
- #: class/db/shortpixel-custom-meta-dao.php:247
1163
- #, php-format
1164
- msgid "Folder already included in %s."
1165
- msgstr ""
1166
-
1167
- #: class/db/shortpixel-custom-meta-dao.php:250
1168
- msgid "Folder does not exist."
1169
- msgstr ""
1170
-
1171
- #: class/model/shortpixel-folder.php:76 class/model/shortpixel-folder.php:149
1172
- #, php-format
1173
- msgid "Folder %s is not writeable. Please check permissions and try again."
1174
- msgstr ""
1175
-
1176
- #: wp-shortpixel.php:160
1177
- msgid "ShortPixel Settings"
1178
- msgstr ""
1179
-
1180
- #. translators: title and menu name for the Other media page
1181
- #: wp-shortpixel.php:166
1182
- msgid "Other Media Optimized by ShortPixel"
1183
- msgstr ""
1184
-
1185
- #: wp-shortpixel.php:166
1186
- msgid "Other Media"
1187
- msgstr ""
1188
-
1189
- #. translators: title and menu name for the Bulk Processing page
1190
- #: wp-shortpixel.php:169
1191
- msgid "ShortPixel Bulk Process"
1192
- msgstr ""
1193
-
1194
- #: wp-shortpixel.php:169
1195
- msgid "Bulk ShortPixel"
1196
- msgstr ""
1197
-
1198
- #: wp-shortpixel.php:216
1199
- msgid "Media alert dismissed"
1200
- msgstr ""
1201
-
1202
- #: wp-shortpixel.php:269
1203
- msgid "Optimize with ShortPixel"
1204
- msgstr ""
1205
-
1206
- #: wp-shortpixel.php:270
1207
- msgid ""
1208
- "In order to access the ShortPixel Optimization actions and info, please "
1209
- "change to {0}List View{1}List View{2}Dismiss{3}"
1210
- msgstr ""
1211
-
1212
- #: wp-shortpixel.php:271
1213
- msgid ""
1214
- "This type of optimization will apply to new uploaded images.\\nImages that "
1215
- "were already processed will not be re-optimized unless you restart the bulk "
1216
- "process."
1217
- msgstr ""
1218
-
1219
- #: wp-shortpixel.php:272
1220
- msgid "Are you sure you want to stop optimizing the folder {0}?"
1221
- msgstr ""
1222
-
1223
- #: wp-shortpixel.php:275
1224
- msgid "+{0} thumbnails optimized"
1225
- msgstr ""
1226
-
1227
- #: wp-shortpixel.php:276
1228
- msgid "Optimize {0} thumbnails"
1229
- msgstr ""
1230
-
1231
- #: wp-shortpixel.php:277
1232
- msgid "Reoptimize {0}"
1233
- msgstr ""
1234
-
1235
- #: wp-shortpixel.php:279
1236
- msgid "Get API Key"
1237
- msgstr ""
1238
-
1239
- #: wp-shortpixel.php:283
1240
- msgid "This content is not processable."
1241
- msgstr ""
1242
-
1243
- #: wp-shortpixel.php:284
1244
- msgid "Image waiting to optimize thumbnails"
1245
- msgstr ""
1246
-
1247
- #. translators: toolbar icon tooltip
1248
- #: wp-shortpixel.php:297
1249
- msgid "ShortPixel optimizing..."
1250
- msgstr ""
1251
-
1252
- #. translators: toolbar icon tooltip
1253
- #: wp-shortpixel.php:308
1254
- msgid "ShortPixel quota exceeded. Click for details."
1255
- msgstr ""
1256
-
1257
- #: wp-shortpixel.php:564
1258
- msgid "Missing API Key"
1259
- msgstr ""
1260
-
1261
- #. translators: console message Empty queue 1234 -> 1234
1262
- #: wp-shortpixel.php:614
1263
- msgid "Empty queue "
1264
- msgstr ""
1265
-
1266
- #: wp-shortpixel.php:740
1267
- msgid " Retry limit reached. Skipping file ID "
1268
- msgstr ""
1269
-
1270
- #: wp-shortpixel.php:835
1271
- msgid "NextGen image not found"
1272
- msgstr ""
1273
-
1274
- #: wp-shortpixel.php:1004 wp-shortpixel.php:1018
1275
- msgid "Could not restore from backup: "
1276
- msgstr ""
1277
-
1278
- #: wp-shortpixel.php:1037
1279
- msgid "No thumbnails to optimize for ID: "
1280
- msgstr ""
1281
-
1282
- #: wp-shortpixel.php:1037
1283
- msgid "Please optimize image for ID: "
1284
- msgstr ""
1285
-
1286
- #: wp-shortpixel.php:1142
1287
- msgid "Refresh custom folders content"
1288
- msgstr ""
1289
-
1290
- #: wp-shortpixel.php:1143
1291
- msgid "Refresh folders"
1292
- msgstr ""
1293
-
1294
- #: wp-shortpixel.php:1146
1295
- msgid "Other Media optimized by ShortPixel"
1296
- msgstr ""
1297
-
1298
- #: wp-shortpixel.php:1322 wp-shortpixel.php:1413
1299
- msgid "You do not have sufficient permissions to access this page."
1300
- msgstr ""
1301
-
1302
- #: wp-shortpixel.php:1451
1303
- #, php-format
1304
- msgid ""
1305
- "The key you provided has %s characters. The API key should have 20 "
1306
- "characters, letters and numbers only."
1307
- msgstr ""
1308
-
1309
- #: wp-shortpixel.php:1453
1310
- msgid ""
1311
- "Please check that the API key is the same as the one you received in your "
1312
- "confirmation email."
1313
- msgstr ""
1314
-
1315
- #: wp-shortpixel.php:1455
1316
- msgid "If this problem persists, please contact us at "
1317
- msgstr ""
1318
-
1319
- #: wp-shortpixel.php:1457
1320
- msgid " or "
1321
- msgstr ""
1322
-
1323
- #: wp-shortpixel.php:1475
1324
- msgid ""
1325
- "API Key is valid but your site is not accessible from our servers. Please "
1326
- "make sure that your server is accessible from the Internet before using the "
1327
- "API or otherwise we won't be able to optimize them."
1328
- msgstr ""
1329
-
1330
- #: wp-shortpixel.php:1478
1331
- msgid ""
1332
- "API Key valid! <br>You seem to be running a multisite, please note that API "
1333
- "Key can also be configured in wp-config.php like this:"
1334
- msgstr ""
1335
-
1336
- #: wp-shortpixel.php:1481
1337
- msgid "API Key valid!"
1338
- msgstr ""
1339
-
1340
- #: wp-shortpixel.php:1488
1341
- #, php-format
1342
- msgid ""
1343
- "There is something preventing us to create a new folder for backing up your "
1344
- "original files.<BR>Please make sure that folder <b>%s</b> has the necessary "
1345
- "write and read rights."
1346
- msgstr ""
1347
-
1348
- #: wp-shortpixel.php:1536
1349
- msgid "Folder added successfully."
1350
- msgstr ""
1351
-
1352
- #: wp-shortpixel.php:1712
1353
- msgid ""
1354
- "API Key could not be validated due to a connectivity error.<BR>Your firewall "
1355
- "may be blocking us. Please contact your hosting provider and ask them to "
1356
- "allow connections from your site to IP 176.9.106.46.<BR> If you still cannot "
1357
- "validate your API Key after this, please <a href=\"https://shortpixel.com/"
1358
- "contact\" target=\"_blank\">contact us</a> and we will try to help. "
1359
- msgstr ""
1360
-
1361
- #: wp-shortpixel.php:1713 wp-shortpixel.php:1714
1362
- msgid "Information unavailable. Please check your API key."
1363
- msgstr ""
1364
-
1365
- #: wp-shortpixel.php:1789
1366
- msgid "PDF not processed."
1367
- msgstr ""
1368
-
1369
- #: wp-shortpixel.php:1820 wp-shortpixel.php:1822
1370
- msgid "Cannot write optimized file"
1371
- msgstr ""
1372
-
1373
- #: wp-shortpixel.php:1823
1374
- msgid "Why?"
1375
- msgstr ""
1376
-
1377
- #: wp-shortpixel.php:1831
1378
- msgid "Image does not exist"
1379
- msgstr ""
1380
-
1381
- #: wp-shortpixel.php:1835
1382
- msgid "Image waiting to be processed."
1383
- msgstr ""
1384
-
1385
- #: wp-shortpixel.php:1853
1386
- msgid "ShortPixel Statistics"
1387
- msgstr ""
1388
-
1389
- #: wp-shortpixel.php:1871
1390
- msgid "ShortPixel Compression"
1391
- msgstr ""
1392
-
1393
- #: shortpixel_api.php:142
1394
- msgid "The file(s) do not exist on disk."
1395
- msgstr ""
1396
-
1397
- #: shortpixel_api.php:157 shortpixel_api.php:168
1398
- msgid "Timed out while processing."
1399
- msgstr ""
1400
-
1401
- #: shortpixel_api.php:161
1402
- msgid "Image ID"
1403
- msgstr ""
1404
-
1405
- #: shortpixel_api.php:161
1406
- msgid "Media ID"
1407
- msgstr ""
1408
-
1409
- #: shortpixel_api.php:162
1410
- msgid "Skip this image, try the next one."
1411
- msgstr ""
1412
-
1413
- #. send requests to API
1414
- #. response <> 200 -> there was an error apparently?
1415
- #: shortpixel_api.php:179 shortpixel_api.php:212 shortpixel_api.php:215
1416
- msgid "There was an error and your request was not processed."
1417
- msgstr ""
1418
-
1419
- #: shortpixel_api.php:231
1420
- msgid "Unecognized API response. Please contact support."
1421
- msgstr ""
1422
-
1423
- #: shortpixel_api.php:238
1424
- msgid "Quota exceeded."
1425
- msgstr ""
1426
-
1427
- #: shortpixel_api.php:326
1428
- msgid "Error downloading file"
1429
- msgstr ""
1430
-
1431
- #: shortpixel_api.php:334
1432
- #, php-format
1433
- msgid ""
1434
- "Error downloading file - incorrect file size (downloaded: %s, correct: %s )"
1435
- msgstr ""
1436
-
1437
- #: shortpixel_api.php:337
1438
- msgid "Unable to locate downloaded file"
1439
- msgstr ""
1440
-
1441
- #. array with final paths for these files
1442
- #. creates backup folder if it doesn't exist
1443
- #: shortpixel_api.php:399
1444
- msgid "Backup folder does not exist and it cannot be created"
1445
- msgstr ""
1446
-
1447
- #. file couldn't be saved in backup folder
1448
- #: shortpixel_api.php:419
1449
- #, php-format
1450
- msgid "Cannot save file <i>%s</i> in backup directory"
1451
- msgstr ""
1452
-
1453
- #. cannot write to the backup dir, return with an error
1454
- #: shortpixel_api.php:428
1455
- msgid "Cannot save file in backup directory"
1456
- msgstr ""
1457
-
1458
- #: shortpixel_api.php:491
1459
- #, php-format
1460
- msgid "Optimized version of %s file(s) couldn't be updated."
1461
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/shortpixel-image-optimiser-fr_FR.mo DELETED
Binary file
lang/shortpixel-image-optimiser-fr_FR.po DELETED
@@ -1,1461 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- #, fuzzy
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: PACKAGE VERSION\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2016-11-30 16:23+0100\n"
12
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "Language: \n"
16
- "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=UTF-8\n"
18
- "Content-Transfer-Encoding: 8bit\n"
19
-
20
- #: class/view/shortpixel_view.php:23 class/view/shortpixel_view.php:417
21
- msgid "Average reduction"
22
- msgstr ""
23
-
24
- #. translators: header of the alert box
25
- #: class/view/shortpixel_view.php:33
26
- msgid "Quota Exceeded"
27
- msgstr ""
28
-
29
- #. translators: body of the alert box
30
- #: class/view/shortpixel_view.php:35
31
- #, php-format
32
- msgid ""
33
- "The plugin has optimized <strong>%s images</strong> and stopped because it "
34
- "reached the available quota limit."
35
- msgstr ""
36
-
37
- #: class/view/shortpixel_view.php:39
38
- #, php-format
39
- msgid ""
40
- "<strong>%s images and %s thumbnails</strong> are not yet optimized by "
41
- "ShortPixel."
42
- msgstr ""
43
-
44
- #: class/view/shortpixel_view.php:44
45
- msgid "Upgrade"
46
- msgstr ""
47
-
48
- #: class/view/shortpixel_view.php:45
49
- msgid "Confirm New Quota"
50
- msgstr ""
51
-
52
- #: class/view/shortpixel_view.php:47
53
- msgid "Get more image credits by referring ShortPixel to your friends!"
54
- msgstr ""
55
-
56
- #: class/view/shortpixel_view.php:49
57
- msgid "Check your account"
58
- msgstr ""
59
-
60
- #: class/view/shortpixel_view.php:50
61
- msgid ""
62
- "for your unique referral link. For each user that joins, you will receive "
63
- "+100 additional image credits/month."
64
- msgstr ""
65
-
66
- #: class/view/shortpixel_view.php:58
67
- msgid ""
68
- "In order to start the optimization process, you need to validate your API "
69
- "Key in the <a href=\"options-general.php?page=wp-shortpixel\">ShortPixel "
70
- "Settings</a> page in your WordPress Admin."
71
- msgstr ""
72
-
73
- #: class/view/shortpixel_view.php:61
74
- msgid ""
75
- "If you don’t have an API Key, you can get one delivered to your inbox, for "
76
- "free."
77
- msgstr ""
78
-
79
- #: class/view/shortpixel_view.php:62
80
- msgid ""
81
- "Please <a href=\"https://shortpixel.com/wp-apikey\" target=\"_blank\">sign "
82
- "up to get your API key.</a>"
83
- msgstr ""
84
-
85
- #: class/view/shortpixel_view.php:70
86
- msgid "Dismiss"
87
- msgstr ""
88
-
89
- #: class/view/shortpixel_view.php:72
90
- msgid "ShortPixel Optimization"
91
- msgstr ""
92
-
93
- #: class/view/shortpixel_view.php:75
94
- msgid ""
95
- "Action needed. Please <a href='https://shortpixel.com/wp-apikey' "
96
- "target='_blank'>get your API key</a> to activate your ShortPixel plugin."
97
- msgstr ""
98
-
99
- #: class/view/shortpixel_view.php:78
100
- msgid ""
101
- "Your image gallery is not optimized. It takes 2 minutes to <a href='https://"
102
- "shortpixel.com/wp-apikey' target='_blank'>get your API key</a> and activate "
103
- "your ShortPixel plugin."
104
- msgstr ""
105
-
106
- #: class/view/shortpixel_view.php:102
107
- msgid "Your media library"
108
- msgstr ""
109
-
110
- #: class/view/shortpixel_view.php:103
111
- msgid "Original images"
112
- msgstr ""
113
-
114
- #: class/view/shortpixel_view.php:105
115
- msgid "Smaller thumbnails"
116
- msgstr ""
117
-
118
- #: class/view/shortpixel_view.php:109 class/view/shortpixel_view.php:343
119
- msgid "Include thumbnails"
120
- msgstr ""
121
-
122
- #: class/view/shortpixel_view.php:112
123
- msgid "Total images"
124
- msgstr ""
125
-
126
- #: class/view/shortpixel_view.php:114
127
- msgid "Already optimized originals"
128
- msgstr ""
129
-
130
- #: class/view/shortpixel_view.php:116
131
- msgid "Already optimized thumbnails"
132
- msgstr ""
133
-
134
- #: class/view/shortpixel_view.php:119 class/view/shortpixel_view.php:124
135
- msgid "Total to be optimized"
136
- msgstr ""
137
-
138
- #: class/view/shortpixel_view.php:123
139
- msgid "Your custom folders"
140
- msgstr ""
141
-
142
- #: class/view/shortpixel_view.php:137
143
- #, php-format
144
- msgid ""
145
- "<span class=\"label\">Start Optimizing</span><br> <span class=\"total\">%s</"
146
- "span> images"
147
- msgstr ""
148
-
149
- #: class/view/shortpixel_view.php:148
150
- msgid ""
151
- "Nothing to optimize! The images that you add to Media Gallery will be "
152
- "automatically optimized after upload."
153
- msgstr ""
154
-
155
- #: class/view/shortpixel_view.php:157
156
- msgid ""
157
- "After you start the bulk process, in order for the optimization to run, you "
158
- "must keep this page open and your computer running. If you close the page "
159
- "for whatever reason, just turn back to it and the bulk process will resume."
160
- msgstr ""
161
-
162
- #: class/view/shortpixel_view.php:163
163
- msgid "What are Thumbnails?"
164
- msgstr ""
165
-
166
- #: class/view/shortpixel_view.php:164
167
- msgid ""
168
- "Thumbnails are smaller images usually generated by your WP theme. Most "
169
- "themes generate between 3 and 6 thumbnails for each Media Library image."
170
- msgstr ""
171
-
172
- #: class/view/shortpixel_view.php:165
173
- msgid ""
174
- "The thumbnails also generate traffic on your website pages and they "
175
- "influence your website's speed."
176
- msgstr ""
177
-
178
- #: class/view/shortpixel_view.php:166
179
- msgid ""
180
- "It's highly recommended that you include thumbnails in the optimization as "
181
- "well."
182
- msgstr ""
183
-
184
- #: class/view/shortpixel_view.php:169
185
- msgid "How does it work?"
186
- msgstr ""
187
-
188
- #: class/view/shortpixel_view.php:170
189
- msgid ""
190
- "The plugin processes images starting with the newest ones you uploaded in "
191
- "your Media Library."
192
- msgstr ""
193
-
194
- #: class/view/shortpixel_view.php:171
195
- msgid "You will be able to pause the process anytime."
196
- msgstr ""
197
-
198
- #: class/view/shortpixel_view.php:172
199
- msgid ""
200
- "<p>Your original images will be stored in a separate back-up folder.</p>"
201
- msgstr ""
202
-
203
- #: class/view/shortpixel_view.php:173
204
- msgid ""
205
- "You can watch the images being processed live, right here, after you start "
206
- "optimizing."
207
- msgstr ""
208
-
209
- #. bulk is paused
210
- #: class/view/shortpixel_view.php:179
211
- msgid "Please see below the optimization status so far:"
212
- msgstr ""
213
-
214
- #: class/view/shortpixel_view.php:182
215
- #, php-format
216
- msgid "%d images and %d thumbnails are not yet optimized by ShortPixel."
217
- msgstr ""
218
-
219
- #: class/view/shortpixel_view.php:187
220
- msgid ""
221
- "You can continue optimizing your Media Gallery from where you left, by "
222
- "clicking the Resume processing button. Already optimized images will not be "
223
- "reprocessed."
224
- msgstr ""
225
-
226
- #: class/view/shortpixel_view.php:197
227
- msgid "Congratulations!"
228
- msgstr ""
229
-
230
- #: class/view/shortpixel_view.php:198
231
- msgid "Your media library has been successfully optimized!"
232
- msgstr ""
233
-
234
- #: class/view/shortpixel_view.php:199
235
- msgid "Summary"
236
- msgstr ""
237
-
238
- #: class/view/shortpixel_view.php:205
239
- msgid "Share your optimization results:"
240
- msgstr ""
241
-
242
- #: class/view/shortpixel_view.php:225
243
- msgid "I just optimized my images by "
244
- msgstr ""
245
-
246
- #: class/view/shortpixel_view.php:227
247
- msgid "I just optimized my images "
248
- msgstr ""
249
-
250
- #: class/view/shortpixel_view.php:230
251
- msgid "with @ShortPixel, a great plugin for increasing #WordPress page speed:"
252
- msgstr ""
253
-
254
- #: class/view/shortpixel_view.php:231
255
- msgid "Tweet"
256
- msgstr ""
257
-
258
- #: class/view/shortpixel_view.php:257
259
- msgid "Please rate us!"
260
- msgstr ""
261
-
262
- #: class/view/shortpixel_view.php:267
263
- #, php-format
264
- msgid ""
265
- "Go to the ShortPixel <a href=\"%soptions-general.php?page=wp-shortpixel#stats"
266
- "\">Stats</a> and see all your websites' optimized stats. Download your "
267
- "detailed <a href=\"https://api.shortpixel.com/v2/report.php?key=%s"
268
- "\">Optimization Report</a> to check your image optimization statistics for "
269
- "the last 40 days."
270
- msgstr ""
271
-
272
- #: class/view/shortpixel_view.php:275
273
- msgid ""
274
- "The following images could not be processed because of their limited write "
275
- "rights. This usually happens if you have changed your hosting provider. "
276
- "Please restart the optimization process after you granted write rights to "
277
- "all the files below."
278
- msgstr ""
279
-
280
- #: class/view/shortpixel_view.php:290 wp-shortpixel.php:1755
281
- #: wp-shortpixel.php:1756 wp-shortpixel.php:1757 wp-shortpixel.php:1758
282
- msgid " images"
283
- msgstr ""
284
-
285
- #: class/view/shortpixel_view.php:291
286
- msgid " and"
287
- msgstr ""
288
-
289
- #: class/view/shortpixel_view.php:292
290
- msgid " thumbnails"
291
- msgstr ""
292
-
293
- #: class/view/shortpixel_view.php:293
294
- msgid " are not yet optimized by ShortPixel."
295
- msgstr ""
296
-
297
- #: class/view/shortpixel_view.php:295
298
- msgid "Some have errors:"
299
- msgstr ""
300
-
301
- #: class/view/shortpixel_view.php:318
302
- #, php-format
303
- msgid ""
304
- "%s images and %s thumbnails were optimized <strong>%s</strong>. You can re-"
305
- "optimize <strong>%s</strong> the ones that have backup."
306
- msgstr ""
307
-
308
- #: class/view/shortpixel_view.php:323
309
- #, php-format
310
- msgid ""
311
- "%s images were optimized <strong>%s</strong>. You can re-optimize <strong>"
312
- "%s</strong> the ones that have backup. "
313
- msgstr ""
314
-
315
- #: class/view/shortpixel_view.php:326
316
- msgid " thumbnails will be restored to originals."
317
- msgstr ""
318
-
319
- #: class/view/shortpixel_view.php:331
320
- msgid ""
321
- "Restart the optimization process for these images by clicking the button "
322
- "below."
323
- msgstr ""
324
-
325
- #: class/view/shortpixel_view.php:333
326
- msgid ""
327
- "Restart the optimization process for new images added to your library by "
328
- "clicking the button below."
329
- msgstr ""
330
-
331
- #: class/view/shortpixel_view.php:335
332
- #, php-format
333
- msgid "Already <strong>%s</strong> optimized images will not be reprocessed."
334
- msgstr ""
335
-
336
- #: class/view/shortpixel_view.php:337
337
- msgid ""
338
- "Please note that reoptimizing images as <strong>lossy/lossless</strong> may "
339
- "use additional credits."
340
- msgstr ""
341
-
342
- #: class/view/shortpixel_view.php:338
343
- msgid "More info"
344
- msgstr ""
345
-
346
- #: class/view/shortpixel_view.php:344
347
- msgid "Restart Optimizing"
348
- msgstr ""
349
-
350
- #: class/view/shortpixel_view.php:355
351
- msgid "Bulk Image Optimization by ShortPixel"
352
- msgstr ""
353
-
354
- #: class/view/shortpixel_view.php:361
355
- msgid "Lengthy operation in progress:"
356
- msgstr ""
357
-
358
- #: class/view/shortpixel_view.php:362
359
- msgid "Optimizing image"
360
- msgstr ""
361
-
362
- #: class/view/shortpixel_view.php:369
363
- msgid "Error processing file:"
364
- msgstr ""
365
-
366
- #: class/view/shortpixel_view.php:375
367
- msgid "Just optimized:"
368
- msgstr ""
369
-
370
- #: class/view/shortpixel_view.php:381
371
- msgid "Original image"
372
- msgstr ""
373
-
374
- #: class/view/shortpixel_view.php:385
375
- msgid "Optimized image"
376
- msgstr ""
377
-
378
- #. translators: percent follows
379
- #: class/view/shortpixel_view.php:389
380
- msgid "Optimized by:"
381
- msgstr ""
382
-
383
- #: class/view/shortpixel_view.php:411
384
- msgid "Remaining credits"
385
- msgstr ""
386
-
387
- #: class/view/shortpixel_view.php:427 class/view/shortpixel_view.php:436
388
- msgid "Media Library"
389
- msgstr ""
390
-
391
- #: class/view/shortpixel_view.php:428
392
- msgid "and"
393
- msgstr ""
394
-
395
- #: class/view/shortpixel_view.php:429
396
- msgid "Custom folders"
397
- msgstr ""
398
-
399
- #: class/view/shortpixel_view.php:429
400
- msgid "optimization in progress ..."
401
- msgstr ""
402
-
403
- #: class/view/shortpixel_view.php:430
404
- msgid "Bulk optimization has started."
405
- msgstr ""
406
-
407
- #: class/view/shortpixel_view.php:431
408
- #, php-format
409
- msgid ""
410
- "This process will take some time, depending on the number of images in your "
411
- "library. In the meantime, you can continue using \n"
412
- " the admin as usual, <a href=\"%s\" target=\"_blank\">in "
413
- "a different browser window or tab</a>.<br>\n"
414
- " However, <strong>if you close this window, the bulk "
415
- "processing will pause</strong> until you open the media gallery or the "
416
- "ShortPixel bulk page again."
417
- msgstr ""
418
-
419
- #: class/view/shortpixel_view.php:436
420
- msgid "and Custom folders"
421
- msgstr ""
422
-
423
- #: class/view/shortpixel_view.php:436
424
- msgid "optimization paused"
425
- msgstr ""
426
-
427
- #: class/view/shortpixel_view.php:437
428
- msgid "Bulk processing is paused until you resume the optimization process."
429
- msgstr ""
430
-
431
- #. now we display the action buttons always when a type of bulk is running
432
- #: class/view/shortpixel_view.php:454
433
- msgid "Pause"
434
- msgstr ""
435
-
436
- #: class/view/shortpixel_view.php:454
437
- msgid "Resume processing"
438
- msgstr ""
439
-
440
- #: class/view/shortpixel_view.php:457
441
- msgid "Only other media"
442
- msgstr ""
443
-
444
- #: class/view/shortpixel_view.php:457
445
- msgid "Process only the other media, skipping the Media Library"
446
- msgstr ""
447
-
448
- #: class/view/shortpixel_view.php:461
449
- msgid "Manage custom folders"
450
- msgstr ""
451
-
452
- #: class/view/shortpixel_view.php:469
453
- msgid "Processed Images and PDFs:"
454
- msgstr ""
455
-
456
- #: class/view/shortpixel_view.php:470
457
- msgid "Processed Thumbnails:"
458
- msgstr ""
459
-
460
- #: class/view/shortpixel_view.php:471
461
- msgid "Total files processed:"
462
- msgstr ""
463
-
464
- #: class/view/shortpixel_view.php:472
465
- #, php-format
466
- msgid "Minus files with <5% optimization (free):"
467
- msgstr ""
468
-
469
- #: class/view/shortpixel_view.php:473
470
- msgid "Used quota:"
471
- msgstr ""
472
-
473
- #: class/view/shortpixel_view.php:475
474
- msgid "Average optimization:"
475
- msgstr ""
476
-
477
- #: class/view/shortpixel_view.php:476
478
- msgid "Saved space:"
479
- msgstr ""
480
-
481
- #. wp_enqueue_script('jquery.idTabs.js', plugins_url('/js/jquery.idTabs.js',__FILE__) );
482
- #: class/view/shortpixel_view.php:502
483
- msgid "ShortPixel Plugin Settings"
484
- msgstr ""
485
-
486
- #: class/view/shortpixel_view.php:505
487
- msgid "Upgrade now"
488
- msgstr ""
489
-
490
- #: class/view/shortpixel_view.php:507
491
- msgid "Support"
492
- msgstr ""
493
-
494
- #: class/view/shortpixel_view.php:525
495
- msgid "General"
496
- msgstr ""
497
-
498
- #: class/view/shortpixel_view.php:530
499
- msgid "Advanced"
500
- msgstr ""
501
-
502
- #. the span is a trick to keep the sections ordered as nth-child in styles: 1,2,3,4 (otherwise the third section would be nth-child(2) too, because of the form)
503
- #: class/view/shortpixel_view.php:537
504
- msgid "Statistics"
505
- msgstr ""
506
-
507
- #: class/view/shortpixel_view.php:545
508
- msgid "WP Resources"
509
- msgstr ""
510
-
511
- #: class/view/shortpixel_view.php:546
512
- msgid "Please reload"
513
- msgstr ""
514
-
515
- #: class/view/shortpixel_view.php:579
516
- #, php-format
517
- msgid ""
518
- "New images uploaded to the Media Library will be optimized automatically.<br/"
519
- ">If you have existing images you would like to optimize, you can use the <a "
520
- "href=\"%supload.php?page=wp-short-pixel-bulk\">Bulk Optimization Tool</a>."
521
- msgstr ""
522
-
523
- #: class/view/shortpixel_view.php:582
524
- msgid "Step 1:"
525
- msgstr ""
526
-
527
- #: class/view/shortpixel_view.php:583
528
- #, php-format
529
- msgid ""
530
- "If you don't have an API Key, <a href=\"https://shortpixel.com/wp-apikey%s\" "
531
- "target=\"_blank\">sign up here.</a> It's free and it only takes one minute, "
532
- "we promise!"
533
- msgstr ""
534
-
535
- #: class/view/shortpixel_view.php:584
536
- msgid "Step 2:"
537
- msgstr ""
538
-
539
- #: class/view/shortpixel_view.php:585
540
- msgid "Please enter here the API Key you received by email and press Validate."
541
- msgstr ""
542
-
543
- #: class/view/shortpixel_view.php:591
544
- msgid "API Key:"
545
- msgstr ""
546
-
547
- #: class/view/shortpixel_view.php:601
548
- msgid "Multisite API Key"
549
- msgstr ""
550
-
551
- #: class/view/shortpixel_view.php:604
552
- msgid "Validate the provided API key"
553
- msgstr ""
554
-
555
- #: class/view/shortpixel_view.php:605
556
- msgid "Validate"
557
- msgstr ""
558
-
559
- #: class/view/shortpixel_view.php:607
560
- msgid "Key defined in wp-config.php."
561
- msgstr ""
562
-
563
- #. if invalid key we display the link to the API Key
564
- #. if valid key we display the rest of the options
565
- #: class/view/shortpixel_view.php:618
566
- msgid "Compression type:"
567
- msgstr ""
568
-
569
- #: class/view/shortpixel_view.php:622
570
- msgid "Lossy (recommended)"
571
- msgstr ""
572
-
573
- #: class/view/shortpixel_view.php:623
574
- msgid ""
575
- "<b>Lossy compression: </b>lossy has a better compression rate than lossless "
576
- "compression.</br>The resulting image is identical with the original to the "
577
- "human eye. You can run a test for free "
578
- msgstr ""
579
-
580
- #: class/view/shortpixel_view.php:624 wp-shortpixel.php:1458
581
- msgid "here"
582
- msgstr ""
583
-
584
- #: class/view/shortpixel_view.php:626 class/view/shortpixel-list-table.php:111
585
- msgid "Lossless"
586
- msgstr ""
587
-
588
- #: class/view/shortpixel_view.php:628
589
- msgid ""
590
- "<b>Lossless compression: </b> the shrunk image will be identical with the "
591
- "original and smaller in size.</br>In some rare cases you will need to use \n"
592
- " this type of compression. Some technical drawings or "
593
- "images from vector graphics are possible situations."
594
- msgstr ""
595
-
596
- #: class/view/shortpixel_view.php:638
597
- msgid "Also include thumbnails:"
598
- msgstr ""
599
-
600
- #: class/view/shortpixel_view.php:640
601
- msgid "Apply compression also to <strong>image thumbnails.</strong> "
602
- msgstr ""
603
-
604
- #: class/view/shortpixel_view.php:641
605
- msgid "thumbnails to optimize"
606
- msgstr ""
607
-
608
- #: class/view/shortpixel_view.php:643
609
- msgid ""
610
- "It is highly recommended that you optimize the thumbnails as they are "
611
- "usually the images most viewed by end users and can generate most traffic."
612
- "<br>Please note that thumbnails count up to your total quota."
613
- msgstr ""
614
-
615
- #: class/view/shortpixel_view.php:648
616
- msgid "Image backup"
617
- msgstr ""
618
-
619
- #: class/view/shortpixel_view.php:650
620
- msgid "Save and keep a backup of your original images in a separate folder."
621
- msgstr ""
622
-
623
- #: class/view/shortpixel_view.php:651
624
- msgid ""
625
- "You <strong>need to have backup active</strong> in order to be able to "
626
- "restore images to originals or to convert from Lossy to Lossless and back."
627
- msgstr ""
628
-
629
- #: class/view/shortpixel_view.php:655
630
- msgid "CMYK to RGB conversion"
631
- msgstr ""
632
-
633
- #: class/view/shortpixel_view.php:657
634
- msgid "Adjust your images for computer and mobile screen display."
635
- msgstr ""
636
-
637
- #: class/view/shortpixel_view.php:658
638
- msgid ""
639
- "Images for the web only need RGB format and converting them from CMYK to RGB "
640
- "makes them smaller."
641
- msgstr ""
642
-
643
- #: class/view/shortpixel_view.php:662
644
- msgid "Remove EXIF"
645
- msgstr ""
646
-
647
- #: class/view/shortpixel_view.php:664
648
- msgid "Remove the EXIF tag of the image (recommended)."
649
- msgstr ""
650
-
651
- #: class/view/shortpixel_view.php:665
652
- msgid ""
653
- "EXIF is a set of various pieces of information that are automatically "
654
- "embedded into the image upon creation. This can include GPS position, camera "
655
- "manufacturer, date and time, etc. \n"
656
- " Unless you really need that data to be "
657
- "preserved, we recommend removing it as it can lead to <a href=\"http://blog."
658
- "shortpixel.com/how-much-smaller-can-be-images-without-exif-icc\" target="
659
- "\"_blank\">better compression rates</a>."
660
- msgstr ""
661
-
662
- #: class/view/shortpixel_view.php:670
663
- msgid "Resize large images"
664
- msgstr ""
665
-
666
- #: class/view/shortpixel_view.php:673
667
- msgid "to maximum"
668
- msgstr ""
669
-
670
- #: class/view/shortpixel_view.php:675
671
- msgid "pixels wide &times;"
672
- msgstr ""
673
-
674
- #: class/view/shortpixel_view.php:677
675
- msgid ""
676
- "pixels high (original aspect ratio is preserved and image is not cropped)"
677
- msgstr ""
678
-
679
- #: class/view/shortpixel_view.php:679
680
- #, php-format
681
- msgid ""
682
- "Recommended for large photos, like the ones taken with your phone. Saved "
683
- "space can go up to 80% or more after resizing."
684
- msgstr ""
685
-
686
- #: class/view/shortpixel_view.php:683
687
- msgid ""
688
- "Sizes will be greater or equal to the corresponding value. For example, if "
689
- "you set the resize dimensions at 1000x1200, an image of 2000x3000px will be "
690
- "resized to 1000x1500px while an image of 3000x2000px will be resized to "
691
- "1800x1200px"
692
- msgstr ""
693
-
694
- #: class/view/shortpixel_view.php:685
695
- msgid ""
696
- "Sizes will be smaller or equal to the corresponding value. For example, if "
697
- "you set the resize dimensions at 1000x1200, an image of 2000x3000px will be "
698
- "resized to 800x1200px while an image of 3000x2000px will be resized to "
699
- "1000x667px"
700
- msgstr ""
701
-
702
- #: class/view/shortpixel_view.php:692 class/view/shortpixel_view.php:847
703
- msgid "Save Changes"
704
- msgstr ""
705
-
706
- #: class/view/shortpixel_view.php:693 class/view/shortpixel_view.php:848
707
- msgid "Save and go to the Bulk Processing page"
708
- msgstr ""
709
-
710
- #: class/view/shortpixel_view.php:693 class/view/shortpixel_view.php:848
711
- #: wp-shortpixel.php:1517 wp-shortpixel.php:1518
712
- msgid "Save and Go to Bulk Process"
713
- msgstr ""
714
-
715
- #: class/view/shortpixel_view.php:716
716
- msgid "Please enter your API key in the General tab first."
717
- msgstr ""
718
-
719
- #. if valid key we display the rest of the options
720
- #: class/view/shortpixel_view.php:721
721
- msgid "Additional media folders"
722
- msgstr ""
723
-
724
- #: class/view/shortpixel_view.php:726
725
- msgid "Folder name"
726
- msgstr ""
727
-
728
- #: class/view/shortpixel_view.php:727
729
- msgid "Type &amp;<br>Status"
730
- msgstr ""
731
-
732
- #: class/view/shortpixel_view.php:728
733
- msgid "Files"
734
- msgstr ""
735
-
736
- #: class/view/shortpixel_view.php:729
737
- msgid "Last change"
738
- msgstr ""
739
-
740
- #: class/view/shortpixel_view.php:738 class/view/shortpixel_view.php:743
741
- #: class/view/shortpixel_view.php:745 class/view/shortpixel_view.php:747
742
- msgid "Empty"
743
- msgstr ""
744
-
745
- #: class/view/shortpixel_view.php:740 class/view/shortpixel_view.php:745
746
- #: class/view/shortpixel_view.php:747
747
- msgid "Optimized"
748
- msgstr ""
749
-
750
- #: class/view/shortpixel_view.php:741 class/view/shortpixel_view.php:748
751
- #: class/view/shortpixel-list-table.php:97
752
- msgid "Pending"
753
- msgstr ""
754
-
755
- #: class/view/shortpixel_view.php:741 class/view/shortpixel_view.php:748
756
- #: class/view/shortpixel-list-table.php:99
757
- msgid "Waiting"
758
- msgstr ""
759
-
760
- #: class/view/shortpixel_view.php:745
761
- msgid "Stop monitoring"
762
- msgstr ""
763
-
764
- #: class/view/shortpixel_view.php:745
765
- msgid "Stop optimizing"
766
- msgstr ""
767
-
768
- #: class/view/shortpixel_view.php:749
769
- msgid "Failed"
770
- msgstr ""
771
-
772
- #: class/view/shortpixel_view.php:771
773
- msgid ""
774
- "Full folder refresh, check each file of the folder if it changed since it "
775
- "was optimized. Might take up to 1 min. for big folders."
776
- msgstr ""
777
-
778
- #: class/view/shortpixel_view.php:772
779
- msgid "Refresh"
780
- msgstr ""
781
-
782
- #: class/view/shortpixel_view.php:783
783
- msgid "Select the images folder on your server."
784
- msgstr ""
785
-
786
- #: class/view/shortpixel_view.php:784
787
- msgid "Select ..."
788
- msgstr ""
789
-
790
- #: class/view/shortpixel_view.php:786
791
- msgid "Add Folder"
792
- msgstr ""
793
-
794
- #: class/view/shortpixel_view.php:788
795
- msgid ""
796
- "Use the Select... button to select site folders. ShortPixel will optimize "
797
- "images and PDFs from the specified folders and their subfolders. The "
798
- "optimization status for each image or PDF in these folders can be seen in "
799
- "the <a href=\"upload.php?page=wp-short-pixel-custom\">Other Media list</a>, "
800
- "under the Media menu."
801
- msgstr ""
802
-
803
- #: class/view/shortpixel_view.php:792
804
- msgid "Select the images folder"
805
- msgstr ""
806
-
807
- #: class/view/shortpixel_view.php:794
808
- msgid "Cancel"
809
- msgstr ""
810
-
811
- #: class/view/shortpixel_view.php:795
812
- msgid "Select"
813
- msgstr ""
814
-
815
- #: class/view/shortpixel_view.php:807
816
- msgid "Optimize NextGen galleries"
817
- msgstr ""
818
-
819
- #: class/view/shortpixel_view.php:809
820
- msgid "Optimize NextGen galleries."
821
- msgstr ""
822
-
823
- #: class/view/shortpixel_view.php:811
824
- msgid ""
825
- "Check this to add all your current NextGen galleries to the custom folders "
826
- "list and to also have all the future NextGen galleries and images optimized "
827
- "automatically by ShortPixel."
828
- msgstr ""
829
-
830
- #: class/view/shortpixel_view.php:817
831
- msgid "WebP versions"
832
- msgstr ""
833
-
834
- #: class/view/shortpixel_view.php:819
835
- msgid ""
836
- "Create also <a href=\"http://blog.shortpixel.com/how-webp-images-can-speed-"
837
- "up-your-site/\" target=\"_blank\">WebP versions</a> of the images "
838
- "<strong>for free</strong>."
839
- msgstr ""
840
-
841
- #: class/view/shortpixel_view.php:821
842
- #, php-format
843
- msgid ""
844
- "WebP images can be up to three times smaller than PNGs and 25% smaller than "
845
- "JPGs. Choosing this option <strong>does not use up additional credits</"
846
- "strong>."
847
- msgstr ""
848
-
849
- #: class/view/shortpixel_view.php:826
850
- msgid "HTTP AUTH credentials"
851
- msgstr ""
852
-
853
- #: class/view/shortpixel_view.php:828
854
- msgid "User"
855
- msgstr ""
856
-
857
- #: class/view/shortpixel_view.php:829
858
- msgid "Password"
859
- msgstr ""
860
-
861
- #: class/view/shortpixel_view.php:831
862
- msgid ""
863
- "Only fill in these fields if your site (front-end) is not publicly "
864
- "accessible and visitors need a user/pass to connect to it. If you don't know "
865
- "what is this then just <strong>leave the fields empty</strong>."
866
- msgstr ""
867
-
868
- #: class/view/shortpixel_view.php:836
869
- msgid "Process in front-end"
870
- msgstr ""
871
-
872
- #: class/view/shortpixel_view.php:838
873
- msgid "Automatically optimize images added by users in front end."
874
- msgstr ""
875
-
876
- #: class/view/shortpixel_view.php:840
877
- msgid ""
878
- "Check this if you have users that add images or PDF documents from custom "
879
- "forms in the front-end. This could increase the load on your server if you "
880
- "have a lot of users simultaneously connected."
881
- msgstr ""
882
-
883
- #: class/view/shortpixel_view.php:860
884
- msgid "Your ShortPixel Stats"
885
- msgstr ""
886
-
887
- #: class/view/shortpixel_view.php:864
888
- msgid "Average compression of your files:"
889
- msgstr ""
890
-
891
- #: class/view/shortpixel_view.php:868
892
- msgid "Saved disk space by ShortPixel"
893
- msgstr ""
894
-
895
- #: class/view/shortpixel_view.php:872
896
- msgid "Bandwith* saved with ShortPixel:"
897
- msgstr ""
898
-
899
- #: class/view/shortpixel_view.php:878
900
- msgid "* Saved bandwidth is calculated at 10,000 impressions/image"
901
- msgstr ""
902
-
903
- #: class/view/shortpixel_view.php:880
904
- msgid "Your ShortPixel Plan"
905
- msgstr ""
906
-
907
- #: class/view/shortpixel_view.php:884
908
- msgid "Your ShortPixel plan"
909
- msgstr ""
910
-
911
- #: class/view/shortpixel_view.php:886
912
- #, php-format
913
- msgid ""
914
- "%s/month, renews in %s days, on %s ( <a href=\"https://shortpixel.com/login/"
915
- "%s\" target=\"_blank\">Need More? See the options available</a> )"
916
- msgstr ""
917
-
918
- #: class/view/shortpixel_view.php:889
919
- #, php-format
920
- msgid ""
921
- "<a href=\"https://shortpixel.com/login/%s/tell-a-friend\" target=\"_blank"
922
- "\">Join our friend referral system</a> to win more credits. For each user "
923
- "that joins, you receive +100 images credits/month."
924
- msgstr ""
925
-
926
- #: class/view/shortpixel_view.php:894
927
- msgid "One time credits:"
928
- msgstr ""
929
-
930
- #: class/view/shortpixel_view.php:898
931
- msgid "Number of images processed this month:"
932
- msgstr ""
933
-
934
- #: class/view/shortpixel_view.php:900
935
- msgid "see report"
936
- msgstr ""
937
-
938
- #: class/view/shortpixel_view.php:905
939
- msgid "Remaining** images in your plan:"
940
- msgstr ""
941
-
942
- #: class/view/shortpixel_view.php:906
943
- msgid "images"
944
- msgstr ""
945
-
946
- #: class/view/shortpixel_view.php:912
947
- #, php-format
948
- msgid ""
949
- "** Increase your image quota by <a href=\"https://shortpixel.com/login/%s\" "
950
- "target=\"_blank\">upgrading your ShortPixel plan.</a>"
951
- msgstr ""
952
-
953
- #: class/view/shortpixel_view.php:919
954
- msgid "Total number of processed files:"
955
- msgstr ""
956
-
957
- #: class/view/shortpixel_view.php:924
958
- msgid ""
959
- "Original images are stored in a backup folder. Your backup folder size is "
960
- "now:"
961
- msgstr ""
962
-
963
- #: class/view/shortpixel_view.php:928
964
- msgid "Empty backups"
965
- msgstr ""
966
-
967
- #. not a file that we can process
968
- #: class/view/shortpixel_view.php:945 wp-shortpixel.php:348
969
- #: wp-shortpixel.php:374 wp-shortpixel.php:1813
970
- msgid "Optimization N/A"
971
- msgstr ""
972
-
973
- #: class/view/shortpixel_view.php:948
974
- msgid "Image does not exist."
975
- msgstr ""
976
-
977
- #. multisite key - need to be validated on each site but it's not invalid
978
- #: class/view/shortpixel_view.php:952
979
- msgid ""
980
- "Please <a href=\"options-general.php?page=wp-shortpixel\">go to Settings</a> "
981
- "to validate the API Key."
982
- msgstr ""
983
-
984
- #: class/view/shortpixel_view.php:954
985
- msgid ""
986
- "Invalid API Key. <a href=\"options-general.php?page=wp-shortpixel\">Check "
987
- "your Settings</a>"
988
- msgstr ""
989
-
990
- #: class/view/shortpixel_view.php:963
991
- msgid "Optimize now"
992
- msgstr ""
993
-
994
- #: class/view/shortpixel_view.php:973 class/view/shortpixel-list-table.php:55
995
- #: wp-shortpixel.php:282
996
- msgid "Retry"
997
- msgstr ""
998
-
999
- #: class/view/shortpixel_view.php:990 class/view/shortpixel-list-table.php:93
1000
- #: wp-shortpixel.php:273
1001
- msgid "Reduced by"
1002
- msgstr ""
1003
-
1004
- #: class/view/shortpixel_view.php:993 class/view/shortpixel-list-table.php:92
1005
- #: class/view/shortpixel-list-table.php:94 wp-shortpixel.php:274
1006
- msgid "Bonus processing"
1007
- msgstr ""
1008
-
1009
- #: class/view/shortpixel_view.php:996
1010
- #, php-format
1011
- msgid "+%s of %s thumbnails optimized"
1012
- msgstr ""
1013
-
1014
- #: class/view/shortpixel_view.php:997
1015
- #, php-format
1016
- msgid "+%s thumbnails optimized"
1017
- msgstr ""
1018
-
1019
- #: class/view/shortpixel_view.php:1005
1020
- #, php-format
1021
- msgid "Optimize %s thumbnails"
1022
- msgstr ""
1023
-
1024
- #: class/view/shortpixel_view.php:1012
1025
- msgid "Reoptimize from the backed-up image"
1026
- msgstr ""
1027
-
1028
- #: class/view/shortpixel_view.php:1013
1029
- msgid "Re-optimize"
1030
- msgstr ""
1031
-
1032
- #: class/view/shortpixel_view.php:1017 wp-shortpixel.php:278
1033
- msgid "Restore backup"
1034
- msgstr ""
1035
-
1036
- #: class/view/shortpixel_view.php:1030 wp-shortpixel.php:280
1037
- msgid "Extend Quota"
1038
- msgstr ""
1039
-
1040
- #: class/view/shortpixel_view.php:1033 wp-shortpixel.php:281
1041
- msgid "Check&nbsp;&nbsp;Quota"
1042
- msgstr ""
1043
-
1044
- #: class/view/shortpixel-list-table.php:15
1045
- msgid "Image"
1046
- msgstr ""
1047
-
1048
- #. singular name of the listed records
1049
- #: class/view/shortpixel-list-table.php:16
1050
- msgid "Images"
1051
- msgstr ""
1052
-
1053
- #. pe viitor. $columns['cb'] = '<input type="checkbox" />';
1054
- #: class/view/shortpixel-list-table.php:29
1055
- msgid "Filename"
1056
- msgstr ""
1057
-
1058
- #: class/view/shortpixel-list-table.php:30
1059
- msgid "Folder"
1060
- msgstr ""
1061
-
1062
- #: class/view/shortpixel-list-table.php:31
1063
- msgid "Type"
1064
- msgstr ""
1065
-
1066
- #: class/view/shortpixel-list-table.php:32
1067
- msgid "Status"
1068
- msgstr ""
1069
-
1070
- #: class/view/shortpixel-list-table.php:33
1071
- msgid "Options"
1072
- msgstr ""
1073
-
1074
- #: class/view/shortpixel-list-table.php:52
1075
- msgid "Optimize"
1076
- msgstr ""
1077
-
1078
- #: class/view/shortpixel-list-table.php:58
1079
- msgid "Restore"
1080
- msgstr ""
1081
-
1082
- #: class/view/shortpixel-list-table.php:61
1083
- msgid "Re-optimize lossless"
1084
- msgstr ""
1085
-
1086
- #: class/view/shortpixel-list-table.php:64
1087
- msgid "Re-optimize lossy"
1088
- msgstr ""
1089
-
1090
- #: class/view/shortpixel-list-table.php:67
1091
- msgid "Check quota"
1092
- msgstr ""
1093
-
1094
- #: class/view/shortpixel-list-table.php:68
1095
- msgid "View"
1096
- msgstr ""
1097
-
1098
- #: class/view/shortpixel-list-table.php:89
1099
- msgid "Restored"
1100
- msgstr ""
1101
-
1102
- #: class/view/shortpixel-list-table.php:103
1103
- msgid "code"
1104
- msgstr ""
1105
-
1106
- #: class/view/shortpixel-list-table.php:111
1107
- msgid "Lossy"
1108
- msgstr ""
1109
-
1110
- #: class/view/shortpixel-list-table.php:112
1111
- msgid "Keep EXIF"
1112
- msgstr ""
1113
-
1114
- #: class/view/shortpixel-list-table.php:113
1115
- msgid "Preserve CMYK"
1116
- msgstr ""
1117
-
1118
- #: class/view/shortpixel-list-table.php:122
1119
- msgid ""
1120
- "No images avaliable. Go to <a href=\"options-general.php?page=wp-"
1121
- "shortpixel#adv-settings\">Advanced Settings</a> to configure additional "
1122
- "folders to be optimized."
1123
- msgstr ""
1124
-
1125
- #: class/view/shortpixel-list-table.php:255
1126
- msgid "Show more details"
1127
- msgstr ""
1128
-
1129
- #: class/db/shortpixel-meta-facade.php:165
1130
- msgid "Error"
1131
- msgstr ""
1132
-
1133
- #: class/db/shortpixel-custom-meta-dao.php:187
1134
- msgid "Folder already added."
1135
- msgstr ""
1136
-
1137
- #: class/db/shortpixel-custom-meta-dao.php:191
1138
- #, php-format
1139
- msgid ""
1140
- "The %s folder cannot be processed as it's not inside the root path of your "
1141
- "website."
1142
- msgstr ""
1143
-
1144
- #: class/db/shortpixel-custom-meta-dao.php:200
1145
- msgid ""
1146
- "This folder contains Media Library images. To optimize Media Library images "
1147
- "please go to <a href=\"upload.php?mode=list\">Media Library list view</a> or "
1148
- "to <a href=\"upload.php?page=wp-short-pixel-bulk\">SortPixel Bulk page</a>."
1149
- msgstr ""
1150
-
1151
- #: class/db/shortpixel-custom-meta-dao.php:204
1152
- msgid "Inserted folder doesn't have an ID!"
1153
- msgstr ""
1154
-
1155
- #: class/db/shortpixel-custom-meta-dao.php:224
1156
- msgid ""
1157
- "This folder contains the ShortPixel Backups. Please select a different "
1158
- "folder."
1159
- msgstr ""
1160
-
1161
- #. var_dump($allFolders);
1162
- #: class/db/shortpixel-custom-meta-dao.php:247
1163
- #, php-format
1164
- msgid "Folder already included in %s."
1165
- msgstr ""
1166
-
1167
- #: class/db/shortpixel-custom-meta-dao.php:250
1168
- msgid "Folder does not exist."
1169
- msgstr ""
1170
-
1171
- #: class/model/shortpixel-folder.php:76 class/model/shortpixel-folder.php:149
1172
- #, php-format
1173
- msgid "Folder %s is not writeable. Please check permissions and try again."
1174
- msgstr ""
1175
-
1176
- #: wp-shortpixel.php:160
1177
- msgid "ShortPixel Settings"
1178
- msgstr ""
1179
-
1180
- #. translators: title and menu name for the Other media page
1181
- #: wp-shortpixel.php:166
1182
- msgid "Other Media Optimized by ShortPixel"
1183
- msgstr ""
1184
-
1185
- #: wp-shortpixel.php:166
1186
- msgid "Other Media"
1187
- msgstr ""
1188
-
1189
- #. translators: title and menu name for the Bulk Processing page
1190
- #: wp-shortpixel.php:169
1191
- msgid "ShortPixel Bulk Process"
1192
- msgstr ""
1193
-
1194
- #: wp-shortpixel.php:169
1195
- msgid "Bulk ShortPixel"
1196
- msgstr ""
1197
-
1198
- #: wp-shortpixel.php:216
1199
- msgid "Media alert dismissed"
1200
- msgstr ""
1201
-
1202
- #: wp-shortpixel.php:269
1203
- msgid "Optimize with ShortPixel"
1204
- msgstr ""
1205
-
1206
- #: wp-shortpixel.php:270
1207
- msgid ""
1208
- "In order to access the ShortPixel Optimization actions and info, please "
1209
- "change to {0}List View{1}List View{2}Dismiss{3}"
1210
- msgstr ""
1211
-
1212
- #: wp-shortpixel.php:271
1213
- msgid ""
1214
- "This type of optimization will apply to new uploaded images.\\nImages that "
1215
- "were already processed will not be re-optimized unless you restart the bulk "
1216
- "process."
1217
- msgstr ""
1218
-
1219
- #: wp-shortpixel.php:272
1220
- msgid "Are you sure you want to stop optimizing the folder {0}?"
1221
- msgstr ""
1222
-
1223
- #: wp-shortpixel.php:275
1224
- msgid "+{0} thumbnails optimized"
1225
- msgstr ""
1226
-
1227
- #: wp-shortpixel.php:276
1228
- msgid "Optimize {0} thumbnails"
1229
- msgstr ""
1230
-
1231
- #: wp-shortpixel.php:277
1232
- msgid "Reoptimize {0}"
1233
- msgstr ""
1234
-
1235
- #: wp-shortpixel.php:279
1236
- msgid "Get API Key"
1237
- msgstr ""
1238
-
1239
- #: wp-shortpixel.php:283
1240
- msgid "This content is not processable."
1241
- msgstr ""
1242
-
1243
- #: wp-shortpixel.php:284
1244
- msgid "Image waiting to optimize thumbnails"
1245
- msgstr ""
1246
-
1247
- #. translators: toolbar icon tooltip
1248
- #: wp-shortpixel.php:297
1249
- msgid "ShortPixel optimizing..."
1250
- msgstr ""
1251
-
1252
- #. translators: toolbar icon tooltip
1253
- #: wp-shortpixel.php:308
1254
- msgid "ShortPixel quota exceeded. Click for details."
1255
- msgstr ""
1256
-
1257
- #: wp-shortpixel.php:564
1258
- msgid "Missing API Key"
1259
- msgstr ""
1260
-
1261
- #. translators: console message Empty queue 1234 -> 1234
1262
- #: wp-shortpixel.php:614
1263
- msgid "Empty queue "
1264
- msgstr ""
1265
-
1266
- #: wp-shortpixel.php:740
1267
- msgid " Retry limit reached. Skipping file ID "
1268
- msgstr ""
1269
-
1270
- #: wp-shortpixel.php:835
1271
- msgid "NextGen image not found"
1272
- msgstr ""
1273
-
1274
- #: wp-shortpixel.php:1004 wp-shortpixel.php:1018
1275
- msgid "Could not restore from backup: "
1276
- msgstr ""
1277
-
1278
- #: wp-shortpixel.php:1037
1279
- msgid "No thumbnails to optimize for ID: "
1280
- msgstr ""
1281
-
1282
- #: wp-shortpixel.php:1037
1283
- msgid "Please optimize image for ID: "
1284
- msgstr ""
1285
-
1286
- #: wp-shortpixel.php:1142
1287
- msgid "Refresh custom folders content"
1288
- msgstr ""
1289
-
1290
- #: wp-shortpixel.php:1143
1291
- msgid "Refresh folders"
1292
- msgstr ""
1293
-
1294
- #: wp-shortpixel.php:1146
1295
- msgid "Other Media optimized by ShortPixel"
1296
- msgstr ""
1297
-
1298
- #: wp-shortpixel.php:1322 wp-shortpixel.php:1413
1299
- msgid "You do not have sufficient permissions to access this page."
1300
- msgstr ""
1301
-
1302
- #: wp-shortpixel.php:1451
1303
- #, php-format
1304
- msgid ""
1305
- "The key you provided has %s characters. The API key should have 20 "
1306
- "characters, letters and numbers only."
1307
- msgstr ""
1308
-
1309
- #: wp-shortpixel.php:1453
1310
- msgid ""
1311
- "Please check that the API key is the same as the one you received in your "
1312
- "confirmation email."
1313
- msgstr ""
1314
-
1315
- #: wp-shortpixel.php:1455
1316
- msgid "If this problem persists, please contact us at "
1317
- msgstr ""
1318
-
1319
- #: wp-shortpixel.php:1457
1320
- msgid " or "
1321
- msgstr ""
1322
-
1323
- #: wp-shortpixel.php:1475
1324
- msgid ""
1325
- "API Key is valid but your site is not accessible from our servers. Please "
1326
- "make sure that your server is accessible from the Internet before using the "
1327
- "API or otherwise we won't be able to optimize them."
1328
- msgstr ""
1329
-
1330
- #: wp-shortpixel.php:1478
1331
- msgid ""
1332
- "API Key valid! <br>You seem to be running a multisite, please note that API "
1333
- "Key can also be configured in wp-config.php like this:"
1334
- msgstr ""
1335
-
1336
- #: wp-shortpixel.php:1481
1337
- msgid "API Key valid!"
1338
- msgstr ""
1339
-
1340
- #: wp-shortpixel.php:1488
1341
- #, php-format
1342
- msgid ""
1343
- "There is something preventing us to create a new folder for backing up your "
1344
- "original files.<BR>Please make sure that folder <b>%s</b> has the necessary "
1345
- "write and read rights."
1346
- msgstr ""
1347
-
1348
- #: wp-shortpixel.php:1536
1349
- msgid "Folder added successfully."
1350
- msgstr ""
1351
-
1352
- #: wp-shortpixel.php:1712
1353
- msgid ""
1354
- "API Key could not be validated due to a connectivity error.<BR>Your firewall "
1355
- "may be blocking us. Please contact your hosting provider and ask them to "
1356
- "allow connections from your site to IP 176.9.106.46.<BR> If you still cannot "
1357
- "validate your API Key after this, please <a href=\"https://shortpixel.com/"
1358
- "contact\" target=\"_blank\">contact us</a> and we will try to help. "
1359
- msgstr ""
1360
-
1361
- #: wp-shortpixel.php:1713 wp-shortpixel.php:1714
1362
- msgid "Information unavailable. Please check your API key."
1363
- msgstr ""
1364
-
1365
- #: wp-shortpixel.php:1789
1366
- msgid "PDF not processed."
1367
- msgstr ""
1368
-
1369
- #: wp-shortpixel.php:1820 wp-shortpixel.php:1822
1370
- msgid "Cannot write optimized file"
1371
- msgstr ""
1372
-
1373
- #: wp-shortpixel.php:1823
1374
- msgid "Why?"
1375
- msgstr ""
1376
-
1377
- #: wp-shortpixel.php:1831
1378
- msgid "Image does not exist"
1379
- msgstr ""
1380
-
1381
- #: wp-shortpixel.php:1835
1382
- msgid "Image waiting to be processed."
1383
- msgstr ""
1384
-
1385
- #: wp-shortpixel.php:1853
1386
- msgid "ShortPixel Statistics"
1387
- msgstr ""
1388
-
1389
- #: wp-shortpixel.php:1871
1390
- msgid "ShortPixel Compression"
1391
- msgstr ""
1392
-
1393
- #: shortpixel_api.php:142
1394
- msgid "The file(s) do not exist on disk."
1395
- msgstr ""
1396
-
1397
- #: shortpixel_api.php:157 shortpixel_api.php:168
1398
- msgid "Timed out while processing."
1399
- msgstr ""
1400
-
1401
- #: shortpixel_api.php:161
1402
- msgid "Image ID"
1403
- msgstr ""
1404
-
1405
- #: shortpixel_api.php:161
1406
- msgid "Media ID"
1407
- msgstr ""
1408
-
1409
- #: shortpixel_api.php:162
1410
- msgid "Skip this image, try the next one."
1411
- msgstr ""
1412
-
1413
- #. send requests to API
1414
- #. response <> 200 -> there was an error apparently?
1415
- #: shortpixel_api.php:179 shortpixel_api.php:212 shortpixel_api.php:215
1416
- msgid "There was an error and your request was not processed."
1417
- msgstr ""
1418
-
1419
- #: shortpixel_api.php:231
1420
- msgid "Unecognized API response. Please contact support."
1421
- msgstr ""
1422
-
1423
- #: shortpixel_api.php:238
1424
- msgid "Quota exceeded."
1425
- msgstr ""
1426
-
1427
- #: shortpixel_api.php:326
1428
- msgid "Error downloading file"
1429
- msgstr ""
1430
-
1431
- #: shortpixel_api.php:334
1432
- #, php-format
1433
- msgid ""
1434
- "Error downloading file - incorrect file size (downloaded: %s, correct: %s )"
1435
- msgstr ""
1436
-
1437
- #: shortpixel_api.php:337
1438
- msgid "Unable to locate downloaded file"
1439
- msgstr ""
1440
-
1441
- #. array with final paths for these files
1442
- #. creates backup folder if it doesn't exist
1443
- #: shortpixel_api.php:399
1444
- msgid "Backup folder does not exist and it cannot be created"
1445
- msgstr ""
1446
-
1447
- #. file couldn't be saved in backup folder
1448
- #: shortpixel_api.php:419
1449
- #, php-format
1450
- msgid "Cannot save file <i>%s</i> in backup directory"
1451
- msgstr ""
1452
-
1453
- #. cannot write to the backup dir, return with an error
1454
- #: shortpixel_api.php:428
1455
- msgid "Cannot save file in backup directory"
1456
- msgstr ""
1457
-
1458
- #: shortpixel_api.php:491
1459
- #, php-format
1460
- msgid "Optimized version of %s file(s) couldn't be updated."
1461
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/shortpixel-image-optimiser-ro_RO.mo DELETED
Binary file
lang/shortpixel-image-optimiser-ro_RO.po DELETED
@@ -1,1478 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- #, fuzzy
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: PACKAGE VERSION\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2016-11-30 16:23+0100\n"
12
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "Language: \n"
16
- "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=UTF-8\n"
18
- "Content-Transfer-Encoding: 8bit\n"
19
-
20
- #: class/view/shortpixel_view.php:23 class/view/shortpixel_view.php:417
21
- msgid "Average reduction"
22
- msgstr "Reducere medie"
23
-
24
- #. translators: header of the alert box
25
- #: class/view/shortpixel_view.php:33
26
- msgid "Quota Exceeded"
27
- msgstr "Credite consumate"
28
-
29
- #. translators: body of the alert box
30
- #: class/view/shortpixel_view.php:35
31
- #, php-format
32
- msgid ""
33
- "The plugin has optimized <strong>%s images</strong> and stopped because it "
34
- "reached the available quota limit."
35
- msgstr "Modulul a optimizat <strong>%s imagini</strong> și s-a oprit pentru că "
36
- "a atins limita creditelor disponibile"
37
-
38
- #: class/view/shortpixel_view.php:39
39
- #, php-format
40
- msgid ""
41
- "<strong>%s images and %s thumbnails</strong> are not yet optimized by "
42
- "ShortPixel."
43
- msgstr "<strong>%s imagini și %s miniaturi</strong> nu sunt inca optimizate de "
44
- "ShortPixel."
45
-
46
- #: class/view/shortpixel_view.php:44
47
- msgid "Upgrade"
48
- msgstr "Actualizează"
49
-
50
- #: class/view/shortpixel_view.php:45
51
- msgid "Confirm New Quota"
52
- msgstr "Confirmă Credite Noi"
53
-
54
- #: class/view/shortpixel_view.php:47
55
- msgid "Get more image credits by referring ShortPixel to your friends!"
56
- msgstr "Obține mai multe credite recomandând ShortPixel prietenilor tăi!"
57
-
58
- #: class/view/shortpixel_view.php:49
59
- msgid "Check your account"
60
- msgstr "Vezi în contul tău"
61
-
62
- #: class/view/shortpixel_view.php:50
63
- msgid ""
64
- "for your unique referral link. For each user that joins, you will receive "
65
- "+100 additional image credits/month."
66
- msgstr "legatura ta personalizată pentru recomandare. Pentru fiecare utilizator nou vei primi"
67
- "+100 credite adiționale/lună"
68
-
69
- #: class/view/shortpixel_view.php:58
70
- msgid ""
71
- "In order to start the optimization process, you need to validate your API "
72
- "Key in the <a href=\"options-general.php?page=wp-shortpixel\">ShortPixel "
73
- "Settings</a> page in your WordPress Admin."
74
- msgstr "Pentru a putea începe să optimizezi, e necesar să validezi Cheia API"
75
- "in <a href=\"options-general.php?page=wp-shortpixel\">Configurările "
76
- "ShortPixel</a> din interfața de administrare WordPress."
77
-
78
- #: class/view/shortpixel_view.php:61
79
- msgid ""
80
- "If you don’t have an API Key, you can get one delivered to your inbox, for "
81
- "free."
82
- msgstr "Dacă n-ai o Cheie API, poți primi una prin e-mail, gratis."
83
-
84
- #: class/view/shortpixel_view.php:62
85
- msgid ""
86
- "Please <a href=\"https://shortpixel.com/wp-apikey\" target=\"_blank\">sign "
87
- "up to get your API key.</a>"
88
- msgstr "Te rugăm <a href=\"https://shortpixel.com/wp-apikey\" target=\"_blank\">înscrie-te "
89
- "pentru a obține Cheia API</a>"
90
-
91
- #: class/view/shortpixel_view.php:70
92
- msgid "Dismiss"
93
- msgstr "Închide"
94
-
95
- #: class/view/shortpixel_view.php:72
96
- msgid "ShortPixel Optimization"
97
- msgstr "Optimizare ShortPixel"
98
-
99
- #: class/view/shortpixel_view.php:75
100
- msgid ""
101
- "Action needed. Please <a href='https://shortpixel.com/wp-apikey' "
102
- "target='_blank'>get your API key</a> to activate your ShortPixel plugin."
103
- msgstr ""
104
- "Acționează acum! <a href='https://shortpixel.com/wp-apikey' "
105
- "target='_blank'>Obține cheia ta API</a> pentru a activa modulul ShortPixel."
106
-
107
- #: class/view/shortpixel_view.php:78
108
- msgid ""
109
- "Your image gallery is not optimized. It takes 2 minutes to <a href='https://"
110
- "shortpixel.com/wp-apikey' target='_blank'>get your API key</a> and activate "
111
- "your ShortPixel plugin."
112
- msgstr ""
113
- "Biblioteca ta media nu e optimizată. Durează mai puțin de 2 minute să <a href='https://"
114
- "shortpixel.com/wp-apikey' target='_blank'>obții cheia ta API</a> și să activezi "
115
- "modulul ShortPixel."
116
-
117
- #: class/view/shortpixel_view.php:102
118
- msgid "Your media library"
119
- msgstr "Biblioteca ta media"
120
-
121
- #: class/view/shortpixel_view.php:103
122
- msgid "Original images"
123
- msgstr "Imagini originale"
124
-
125
- #: class/view/shortpixel_view.php:105
126
- msgid "Smaller thumbnails"
127
- msgstr "Miniaturi"
128
-
129
- #: class/view/shortpixel_view.php:109 class/view/shortpixel_view.php:343
130
- msgid "Include thumbnails"
131
- msgstr "Include miniaturile"
132
-
133
- #: class/view/shortpixel_view.php:112
134
- msgid "Total images"
135
- msgstr "Imagini în total"
136
-
137
- #: class/view/shortpixel_view.php:114
138
- msgid "Already optimized originals"
139
- msgstr "Originale deja optimizate"
140
-
141
- #: class/view/shortpixel_view.php:116
142
- msgid "Already optimized thumbnails"
143
- msgstr "Miniaturi deja optimizate"
144
-
145
- #: class/view/shortpixel_view.php:119 class/view/shortpixel_view.php:124
146
- msgid "Total to be optimized"
147
- msgstr "În total de optimizat"
148
-
149
- #: class/view/shortpixel_view.php:123
150
- msgid "Your custom folders"
151
- msgstr "Dosarele tale personalizate"
152
-
153
- #: class/view/shortpixel_view.php:137
154
- #, php-format
155
- msgid ""
156
- "<span class=\"label\">Start Optimizing</span><br> <span class=\"total\">%s</"
157
- "span> images"
158
- msgstr ""
159
- "<span class=\"label\">Începe să Optimizezi</span><br> <span class=\"total\">%s</"
160
- "span> imagini"
161
-
162
- #: class/view/shortpixel_view.php:148
163
- msgid ""
164
- "Nothing to optimize! The images that you add to Media Gallery will be "
165
- "automatically optimized after upload."
166
- msgstr ""
167
- "Nimic de optimizat! Imaginile pe care le adaugi in Bibiloteca Media vor fi "
168
- "optimizate automat dupa încărcare."
169
-
170
- #: class/view/shortpixel_view.php:157
171
- msgid ""
172
- "After you start the bulk process, in order for the optimization to run, you "
173
- "must keep this page open and your computer running. If you close the page "
174
- "for whatever reason, just turn back to it and the bulk process will resume."
175
- msgstr ""
176
-
177
- #: class/view/shortpixel_view.php:163
178
- msgid "What are Thumbnails?"
179
- msgstr ""
180
-
181
- #: class/view/shortpixel_view.php:164
182
- msgid ""
183
- "Thumbnails are smaller images usually generated by your WP theme. Most "
184
- "themes generate between 3 and 6 thumbnails for each Media Library image."
185
- msgstr ""
186
-
187
- #: class/view/shortpixel_view.php:165
188
- msgid ""
189
- "The thumbnails also generate traffic on your website pages and they "
190
- "influence your website's speed."
191
- msgstr ""
192
-
193
- #: class/view/shortpixel_view.php:166
194
- msgid ""
195
- "It's highly recommended that you include thumbnails in the optimization as "
196
- "well."
197
- msgstr ""
198
-
199
- #: class/view/shortpixel_view.php:169
200
- msgid "How does it work?"
201
- msgstr ""
202
-
203
- #: class/view/shortpixel_view.php:170
204
- msgid ""
205
- "The plugin processes images starting with the newest ones you uploaded in "
206
- "your Media Library."
207
- msgstr ""
208
-
209
- #: class/view/shortpixel_view.php:171
210
- msgid "You will be able to pause the process anytime."
211
- msgstr ""
212
-
213
- #: class/view/shortpixel_view.php:172
214
- msgid ""
215
- "<p>Your original images will be stored in a separate back-up folder.</p>"
216
- msgstr ""
217
-
218
- #: class/view/shortpixel_view.php:173
219
- msgid ""
220
- "You can watch the images being processed live, right here, after you start "
221
- "optimizing."
222
- msgstr ""
223
-
224
- #. bulk is paused
225
- #: class/view/shortpixel_view.php:179
226
- msgid "Please see below the optimization status so far:"
227
- msgstr ""
228
-
229
- #: class/view/shortpixel_view.php:182
230
- #, php-format
231
- msgid "%d images and %d thumbnails are not yet optimized by ShortPixel."
232
- msgstr ""
233
-
234
- #: class/view/shortpixel_view.php:187
235
- msgid ""
236
- "You can continue optimizing your Media Gallery from where you left, by "
237
- "clicking the Resume processing button. Already optimized images will not be "
238
- "reprocessed."
239
- msgstr ""
240
-
241
- #: class/view/shortpixel_view.php:197
242
- msgid "Congratulations!"
243
- msgstr ""
244
-
245
- #: class/view/shortpixel_view.php:198
246
- msgid "Your media library has been successfully optimized!"
247
- msgstr ""
248
-
249
- #: class/view/shortpixel_view.php:199
250
- msgid "Summary"
251
- msgstr ""
252
-
253
- #: class/view/shortpixel_view.php:205
254
- msgid "Share your optimization results:"
255
- msgstr ""
256
-
257
- #: class/view/shortpixel_view.php:225
258
- msgid "I just optimized my images by "
259
- msgstr ""
260
-
261
- #: class/view/shortpixel_view.php:227
262
- msgid "I just optimized my images "
263
- msgstr ""
264
-
265
- #: class/view/shortpixel_view.php:230
266
- msgid "with @ShortPixel, a great plugin for increasing #WordPress page speed:"
267
- msgstr ""
268
-
269
- #: class/view/shortpixel_view.php:231
270
- msgid "Tweet"
271
- msgstr ""
272
-
273
- #: class/view/shortpixel_view.php:257
274
- msgid "Please rate us!"
275
- msgstr ""
276
-
277
- #: class/view/shortpixel_view.php:267
278
- #, php-format
279
- msgid ""
280
- "Go to the ShortPixel <a href=\"%soptions-general.php?page=wp-shortpixel#stats"
281
- "\">Stats</a> and see all your websites' optimized stats. Download your "
282
- "detailed <a href=\"https://api.shortpixel.com/v2/report.php?key=%s"
283
- "\">Optimization Report</a> to check your image optimization statistics for "
284
- "the last 40 days."
285
- msgstr ""
286
-
287
- #: class/view/shortpixel_view.php:275
288
- msgid ""
289
- "The following images could not be processed because of their limited write "
290
- "rights. This usually happens if you have changed your hosting provider. "
291
- "Please restart the optimization process after you granted write rights to "
292
- "all the files below."
293
- msgstr ""
294
-
295
- #: class/view/shortpixel_view.php:290 wp-shortpixel.php:1755
296
- #: wp-shortpixel.php:1756 wp-shortpixel.php:1757 wp-shortpixel.php:1758
297
- msgid " images"
298
- msgstr ""
299
-
300
- #: class/view/shortpixel_view.php:291
301
- msgid " and"
302
- msgstr ""
303
-
304
- #: class/view/shortpixel_view.php:292
305
- msgid " thumbnails"
306
- msgstr ""
307
-
308
- #: class/view/shortpixel_view.php:293
309
- msgid " are not yet optimized by ShortPixel."
310
- msgstr ""
311
-
312
- #: class/view/shortpixel_view.php:295
313
- msgid "Some have errors:"
314
- msgstr ""
315
-
316
- #: class/view/shortpixel_view.php:318
317
- #, php-format
318
- msgid ""
319
- "%s images and %s thumbnails were optimized <strong>%s</strong>. You can re-"
320
- "optimize <strong>%s</strong> the ones that have backup."
321
- msgstr ""
322
-
323
- #: class/view/shortpixel_view.php:323
324
- #, php-format
325
- msgid ""
326
- "%s images were optimized <strong>%s</strong>. You can re-optimize <strong>"
327
- "%s</strong> the ones that have backup. "
328
- msgstr ""
329
-
330
- #: class/view/shortpixel_view.php:326
331
- msgid " thumbnails will be restored to originals."
332
- msgstr ""
333
-
334
- #: class/view/shortpixel_view.php:331
335
- msgid ""
336
- "Restart the optimization process for these images by clicking the button "
337
- "below."
338
- msgstr ""
339
-
340
- #: class/view/shortpixel_view.php:333
341
- msgid ""
342
- "Restart the optimization process for new images added to your library by "
343
- "clicking the button below."
344
- msgstr ""
345
-
346
- #: class/view/shortpixel_view.php:335
347
- #, php-format
348
- msgid "Already <strong>%s</strong> optimized images will not be reprocessed."
349
- msgstr ""
350
-
351
- #: class/view/shortpixel_view.php:337
352
- msgid ""
353
- "Please note that reoptimizing images as <strong>lossy/lossless</strong> may "
354
- "use additional credits."
355
- msgstr ""
356
-
357
- #: class/view/shortpixel_view.php:338
358
- msgid "More info"
359
- msgstr ""
360
-
361
- #: class/view/shortpixel_view.php:344
362
- msgid "Restart Optimizing"
363
- msgstr ""
364
-
365
- #: class/view/shortpixel_view.php:355
366
- msgid "Bulk Image Optimization by ShortPixel"
367
- msgstr ""
368
-
369
- #: class/view/shortpixel_view.php:361
370
- msgid "Lengthy operation in progress:"
371
- msgstr ""
372
-
373
- #: class/view/shortpixel_view.php:362
374
- msgid "Optimizing image"
375
- msgstr ""
376
-
377
- #: class/view/shortpixel_view.php:369
378
- msgid "Error processing file:"
379
- msgstr ""
380
-
381
- #: class/view/shortpixel_view.php:375
382
- msgid "Just optimized:"
383
- msgstr ""
384
-
385
- #: class/view/shortpixel_view.php:381
386
- msgid "Original image"
387
- msgstr ""
388
-
389
- #: class/view/shortpixel_view.php:385
390
- msgid "Optimized image"
391
- msgstr ""
392
-
393
- #. translators: percent follows
394
- #: class/view/shortpixel_view.php:389
395
- msgid "Optimized by:"
396
- msgstr ""
397
-
398
- #: class/view/shortpixel_view.php:411
399
- msgid "Remaining credits"
400
- msgstr ""
401
-
402
- #: class/view/shortpixel_view.php:427 class/view/shortpixel_view.php:436
403
- msgid "Media Library"
404
- msgstr ""
405
-
406
- #: class/view/shortpixel_view.php:428
407
- msgid "and"
408
- msgstr ""
409
-
410
- #: class/view/shortpixel_view.php:429
411
- msgid "Custom folders"
412
- msgstr ""
413
-
414
- #: class/view/shortpixel_view.php:429
415
- msgid "optimization in progress ..."
416
- msgstr ""
417
-
418
- #: class/view/shortpixel_view.php:430
419
- msgid "Bulk optimization has started."
420
- msgstr ""
421
-
422
- #: class/view/shortpixel_view.php:431
423
- #, php-format
424
- msgid ""
425
- "This process will take some time, depending on the number of images in your "
426
- "library. In the meantime, you can continue using \n"
427
- " the admin as usual, <a href=\"%s\" target=\"_blank\">in "
428
- "a different browser window or tab</a>.<br>\n"
429
- " However, <strong>if you close this window, the bulk "
430
- "processing will pause</strong> until you open the media gallery or the "
431
- "ShortPixel bulk page again."
432
- msgstr ""
433
-
434
- #: class/view/shortpixel_view.php:436
435
- msgid "and Custom folders"
436
- msgstr ""
437
-
438
- #: class/view/shortpixel_view.php:436
439
- msgid "optimization paused"
440
- msgstr ""
441
-
442
- #: class/view/shortpixel_view.php:437
443
- msgid "Bulk processing is paused until you resume the optimization process."
444
- msgstr ""
445
-
446
- #. now we display the action buttons always when a type of bulk is running
447
- #: class/view/shortpixel_view.php:454
448
- msgid "Pause"
449
- msgstr ""
450
-
451
- #: class/view/shortpixel_view.php:454
452
- msgid "Resume processing"
453
- msgstr ""
454
-
455
- #: class/view/shortpixel_view.php:457
456
- msgid "Only other media"
457
- msgstr ""
458
-
459
- #: class/view/shortpixel_view.php:457
460
- msgid "Process only the other media, skipping the Media Library"
461
- msgstr ""
462
-
463
- #: class/view/shortpixel_view.php:461
464
- msgid "Manage custom folders"
465
- msgstr ""
466
-
467
- #: class/view/shortpixel_view.php:469
468
- msgid "Processed Images and PDFs:"
469
- msgstr ""
470
-
471
- #: class/view/shortpixel_view.php:470
472
- msgid "Processed Thumbnails:"
473
- msgstr ""
474
-
475
- #: class/view/shortpixel_view.php:471
476
- msgid "Total files processed:"
477
- msgstr ""
478
-
479
- #: class/view/shortpixel_view.php:472
480
- #, php-format
481
- msgid "Minus files with <5% optimization (free):"
482
- msgstr ""
483
-
484
- #: class/view/shortpixel_view.php:473
485
- msgid "Used quota:"
486
- msgstr ""
487
-
488
- #: class/view/shortpixel_view.php:475
489
- msgid "Average optimization:"
490
- msgstr ""
491
-
492
- #: class/view/shortpixel_view.php:476
493
- msgid "Saved space:"
494
- msgstr ""
495
-
496
- #. wp_enqueue_script('jquery.idTabs.js', plugins_url('/js/jquery.idTabs.js',__FILE__) );
497
- #: class/view/shortpixel_view.php:502
498
- msgid "ShortPixel Plugin Settings"
499
- msgstr ""
500
-
501
- #: class/view/shortpixel_view.php:505
502
- msgid "Upgrade now"
503
- msgstr ""
504
-
505
- #: class/view/shortpixel_view.php:507
506
- msgid "Support"
507
- msgstr ""
508
-
509
- #: class/view/shortpixel_view.php:525
510
- msgid "General"
511
- msgstr ""
512
-
513
- #: class/view/shortpixel_view.php:530
514
- msgid "Advanced"
515
- msgstr ""
516
-
517
- #. the span is a trick to keep the sections ordered as nth-child in styles: 1,2,3,4 (otherwise the third section would be nth-child(2) too, because of the form)
518
- #: class/view/shortpixel_view.php:537
519
- msgid "Statistics"
520
- msgstr ""
521
-
522
- #: class/view/shortpixel_view.php:545
523
- msgid "WP Resources"
524
- msgstr ""
525
-
526
- #: class/view/shortpixel_view.php:546
527
- msgid "Please reload"
528
- msgstr ""
529
-
530
- #: class/view/shortpixel_view.php:579
531
- #, php-format
532
- msgid ""
533
- "New images uploaded to the Media Library will be optimized automatically.<br/"
534
- ">If you have existing images you would like to optimize, you can use the <a "
535
- "href=\"%supload.php?page=wp-short-pixel-bulk\">Bulk Optimization Tool</a>."
536
- msgstr ""
537
-
538
- #: class/view/shortpixel_view.php:582
539
- msgid "Step 1:"
540
- msgstr ""
541
-
542
- #: class/view/shortpixel_view.php:583
543
- #, php-format
544
- msgid ""
545
- "If you don't have an API Key, <a href=\"https://shortpixel.com/wp-apikey%s\" "
546
- "target=\"_blank\">sign up here.</a> It's free and it only takes one minute, "
547
- "we promise!"
548
- msgstr ""
549
-
550
- #: class/view/shortpixel_view.php:584
551
- msgid "Step 2:"
552
- msgstr ""
553
-
554
- #: class/view/shortpixel_view.php:585
555
- msgid "Please enter here the API Key you received by email and press Validate."
556
- msgstr ""
557
-
558
- #: class/view/shortpixel_view.php:591
559
- msgid "API Key:"
560
- msgstr ""
561
-
562
- #: class/view/shortpixel_view.php:601
563
- msgid "Multisite API Key"
564
- msgstr ""
565
-
566
- #: class/view/shortpixel_view.php:604
567
- msgid "Validate the provided API key"
568
- msgstr ""
569
-
570
- #: class/view/shortpixel_view.php:605
571
- msgid "Validate"
572
- msgstr ""
573
-
574
- #: class/view/shortpixel_view.php:607
575
- msgid "Key defined in wp-config.php."
576
- msgstr ""
577
-
578
- #. if invalid key we display the link to the API Key
579
- #. if valid key we display the rest of the options
580
- #: class/view/shortpixel_view.php:618
581
- msgid "Compression type:"
582
- msgstr ""
583
-
584
- #: class/view/shortpixel_view.php:622
585
- msgid "Lossy (recommended)"
586
- msgstr ""
587
-
588
- #: class/view/shortpixel_view.php:623
589
- msgid ""
590
- "<b>Lossy compression: </b>lossy has a better compression rate than lossless "
591
- "compression.</br>The resulting image is identical with the original to the "
592
- "human eye. You can run a test for free "
593
- msgstr ""
594
-
595
- #: class/view/shortpixel_view.php:624 wp-shortpixel.php:1458
596
- msgid "here"
597
- msgstr ""
598
-
599
- #: class/view/shortpixel_view.php:626 class/view/shortpixel-list-table.php:111
600
- msgid "Lossless"
601
- msgstr ""
602
-
603
- #: class/view/shortpixel_view.php:628
604
- msgid ""
605
- "<b>Lossless compression: </b> the shrunk image will be identical with the "
606
- "original and smaller in size.</br>In some rare cases you will need to use \n"
607
- " this type of compression. Some technical drawings or "
608
- "images from vector graphics are possible situations."
609
- msgstr ""
610
-
611
- #: class/view/shortpixel_view.php:638
612
- msgid "Also include thumbnails:"
613
- msgstr ""
614
-
615
- #: class/view/shortpixel_view.php:640
616
- msgid "Apply compression also to <strong>image thumbnails.</strong> "
617
- msgstr ""
618
-
619
- #: class/view/shortpixel_view.php:641
620
- msgid "thumbnails to optimize"
621
- msgstr ""
622
-
623
- #: class/view/shortpixel_view.php:643
624
- msgid ""
625
- "It is highly recommended that you optimize the thumbnails as they are "
626
- "usually the images most viewed by end users and can generate most traffic."
627
- "<br>Please note that thumbnails count up to your total quota."
628
- msgstr ""
629
-
630
- #: class/view/shortpixel_view.php:648
631
- msgid "Image backup"
632
- msgstr ""
633
-
634
- #: class/view/shortpixel_view.php:650
635
- msgid "Save and keep a backup of your original images in a separate folder."
636
- msgstr ""
637
-
638
- #: class/view/shortpixel_view.php:651
639
- msgid ""
640
- "You <strong>need to have backup active</strong> in order to be able to "
641
- "restore images to originals or to convert from Lossy to Lossless and back."
642
- msgstr ""
643
-
644
- #: class/view/shortpixel_view.php:655
645
- msgid "CMYK to RGB conversion"
646
- msgstr ""
647
-
648
- #: class/view/shortpixel_view.php:657
649
- msgid "Adjust your images for computer and mobile screen display."
650
- msgstr ""
651
-
652
- #: class/view/shortpixel_view.php:658
653
- msgid ""
654
- "Images for the web only need RGB format and converting them from CMYK to RGB "
655
- "makes them smaller."
656
- msgstr ""
657
-
658
- #: class/view/shortpixel_view.php:662
659
- msgid "Remove EXIF"
660
- msgstr ""
661
-
662
- #: class/view/shortpixel_view.php:664
663
- msgid "Remove the EXIF tag of the image (recommended)."
664
- msgstr ""
665
-
666
- #: class/view/shortpixel_view.php:665
667
- msgid ""
668
- "EXIF is a set of various pieces of information that are automatically "
669
- "embedded into the image upon creation. This can include GPS position, camera "
670
- "manufacturer, date and time, etc. \n"
671
- " Unless you really need that data to be "
672
- "preserved, we recommend removing it as it can lead to <a href=\"http://blog."
673
- "shortpixel.com/how-much-smaller-can-be-images-without-exif-icc\" target="
674
- "\"_blank\">better compression rates</a>."
675
- msgstr ""
676
-
677
- #: class/view/shortpixel_view.php:670
678
- msgid "Resize large images"
679
- msgstr ""
680
-
681
- #: class/view/shortpixel_view.php:673
682
- msgid "to maximum"
683
- msgstr ""
684
-
685
- #: class/view/shortpixel_view.php:675
686
- msgid "pixels wide &times;"
687
- msgstr ""
688
-
689
- #: class/view/shortpixel_view.php:677
690
- msgid ""
691
- "pixels high (original aspect ratio is preserved and image is not cropped)"
692
- msgstr ""
693
-
694
- #: class/view/shortpixel_view.php:679
695
- #, php-format
696
- msgid ""
697
- "Recommended for large photos, like the ones taken with your phone. Saved "
698
- "space can go up to 80% or more after resizing."
699
- msgstr ""
700
-
701
- #: class/view/shortpixel_view.php:683
702
- msgid ""
703
- "Sizes will be greater or equal to the corresponding value. For example, if "
704
- "you set the resize dimensions at 1000x1200, an image of 2000x3000px will be "
705
- "resized to 1000x1500px while an image of 3000x2000px will be resized to "
706
- "1800x1200px"
707
- msgstr ""
708
-
709
- #: class/view/shortpixel_view.php:685
710
- msgid ""
711
- "Sizes will be smaller or equal to the corresponding value. For example, if "
712
- "you set the resize dimensions at 1000x1200, an image of 2000x3000px will be "
713
- "resized to 800x1200px while an image of 3000x2000px will be resized to "
714
- "1000x667px"
715
- msgstr ""
716
-
717
- #: class/view/shortpixel_view.php:692 class/view/shortpixel_view.php:847
718
- msgid "Save Changes"
719
- msgstr ""
720
-
721
- #: class/view/shortpixel_view.php:693 class/view/shortpixel_view.php:848
722
- msgid "Save and go to the Bulk Processing page"
723
- msgstr ""
724
-
725
- #: class/view/shortpixel_view.php:693 class/view/shortpixel_view.php:848
726
- #: wp-shortpixel.php:1517 wp-shortpixel.php:1518
727
- msgid "Save and Go to Bulk Process"
728
- msgstr ""
729
-
730
- #: class/view/shortpixel_view.php:716
731
- msgid "Please enter your API key in the General tab first."
732
- msgstr ""
733
-
734
- #. if valid key we display the rest of the options
735
- #: class/view/shortpixel_view.php:721
736
- msgid "Additional media folders"
737
- msgstr ""
738
-
739
- #: class/view/shortpixel_view.php:726
740
- msgid "Folder name"
741
- msgstr ""
742
-
743
- #: class/view/shortpixel_view.php:727
744
- msgid "Type &amp;<br>Status"
745
- msgstr ""
746
-
747
- #: class/view/shortpixel_view.php:728
748
- msgid "Files"
749
- msgstr ""
750
-
751
- #: class/view/shortpixel_view.php:729
752
- msgid "Last change"
753
- msgstr ""
754
-
755
- #: class/view/shortpixel_view.php:738 class/view/shortpixel_view.php:743
756
- #: class/view/shortpixel_view.php:745 class/view/shortpixel_view.php:747
757
- msgid "Empty"
758
- msgstr ""
759
-
760
- #: class/view/shortpixel_view.php:740 class/view/shortpixel_view.php:745
761
- #: class/view/shortpixel_view.php:747
762
- msgid "Optimized"
763
- msgstr ""
764
-
765
- #: class/view/shortpixel_view.php:741 class/view/shortpixel_view.php:748
766
- #: class/view/shortpixel-list-table.php:97
767
- msgid "Pending"
768
- msgstr ""
769
-
770
- #: class/view/shortpixel_view.php:741 class/view/shortpixel_view.php:748
771
- #: class/view/shortpixel-list-table.php:99
772
- msgid "Waiting"
773
- msgstr ""
774
-
775
- #: class/view/shortpixel_view.php:745
776
- msgid "Stop monitoring"
777
- msgstr ""
778
-
779
- #: class/view/shortpixel_view.php:745
780
- msgid "Stop optimizing"
781
- msgstr ""
782
-
783
- #: class/view/shortpixel_view.php:749
784
- msgid "Failed"
785
- msgstr ""
786
-
787
- #: class/view/shortpixel_view.php:771
788
- msgid ""
789
- "Full folder refresh, check each file of the folder if it changed since it "
790
- "was optimized. Might take up to 1 min. for big folders."
791
- msgstr ""
792
-
793
- #: class/view/shortpixel_view.php:772
794
- msgid "Refresh"
795
- msgstr ""
796
-
797
- #: class/view/shortpixel_view.php:783
798
- msgid "Select the images folder on your server."
799
- msgstr ""
800
-
801
- #: class/view/shortpixel_view.php:784
802
- msgid "Select ..."
803
- msgstr ""
804
-
805
- #: class/view/shortpixel_view.php:786
806
- msgid "Add Folder"
807
- msgstr ""
808
-
809
- #: class/view/shortpixel_view.php:788
810
- msgid ""
811
- "Use the Select... button to select site folders. ShortPixel will optimize "
812
- "images and PDFs from the specified folders and their subfolders. The "
813
- "optimization status for each image or PDF in these folders can be seen in "
814
- "the <a href=\"upload.php?page=wp-short-pixel-custom\">Other Media list</a>, "
815
- "under the Media menu."
816
- msgstr ""
817
-
818
- #: class/view/shortpixel_view.php:792
819
- msgid "Select the images folder"
820
- msgstr ""
821
-
822
- #: class/view/shortpixel_view.php:794
823
- msgid "Cancel"
824
- msgstr ""
825
-
826
- #: class/view/shortpixel_view.php:795
827
- msgid "Select"
828
- msgstr ""
829
-
830
- #: class/view/shortpixel_view.php:807
831
- msgid "Optimize NextGen galleries"
832
- msgstr ""
833
-
834
- #: class/view/shortpixel_view.php:809
835
- msgid "Optimize NextGen galleries."
836
- msgstr ""
837
-
838
- #: class/view/shortpixel_view.php:811
839
- msgid ""
840
- "Check this to add all your current NextGen galleries to the custom folders "
841
- "list and to also have all the future NextGen galleries and images optimized "
842
- "automatically by ShortPixel."
843
- msgstr ""
844
-
845
- #: class/view/shortpixel_view.php:817
846
- msgid "WebP versions"
847
- msgstr ""
848
-
849
- #: class/view/shortpixel_view.php:819
850
- msgid ""
851
- "Create also <a href=\"http://blog.shortpixel.com/how-webp-images-can-speed-"
852
- "up-your-site/\" target=\"_blank\">WebP versions</a> of the images "
853
- "<strong>for free</strong>."
854
- msgstr ""
855
-
856
- #: class/view/shortpixel_view.php:821
857
- #, php-format
858
- msgid ""
859
- "WebP images can be up to three times smaller than PNGs and 25% smaller than "
860
- "JPGs. Choosing this option <strong>does not use up additional credits</"
861
- "strong>."
862
- msgstr ""
863
-
864
- #: class/view/shortpixel_view.php:826
865
- msgid "HTTP AUTH credentials"
866
- msgstr ""
867
-
868
- #: class/view/shortpixel_view.php:828
869
- msgid "User"
870
- msgstr ""
871
-
872
- #: class/view/shortpixel_view.php:829
873
- msgid "Password"
874
- msgstr ""
875
-
876
- #: class/view/shortpixel_view.php:831
877
- msgid ""
878
- "Only fill in these fields if your site (front-end) is not publicly "
879
- "accessible and visitors need a user/pass to connect to it. If you don't know "
880
- "what is this then just <strong>leave the fields empty</strong>."
881
- msgstr ""
882
-
883
- #: class/view/shortpixel_view.php:836
884
- msgid "Process in front-end"
885
- msgstr ""
886
-
887
- #: class/view/shortpixel_view.php:838
888
- msgid "Automatically optimize images added by users in front end."
889
- msgstr ""
890
-
891
- #: class/view/shortpixel_view.php:840
892
- msgid ""
893
- "Check this if you have users that add images or PDF documents from custom "
894
- "forms in the front-end. This could increase the load on your server if you "
895
- "have a lot of users simultaneously connected."
896
- msgstr ""
897
-
898
- #: class/view/shortpixel_view.php:860
899
- msgid "Your ShortPixel Stats"
900
- msgstr ""
901
-
902
- #: class/view/shortpixel_view.php:864
903
- msgid "Average compression of your files:"
904
- msgstr ""
905
-
906
- #: class/view/shortpixel_view.php:868
907
- msgid "Saved disk space by ShortPixel"
908
- msgstr ""
909
-
910
- #: class/view/shortpixel_view.php:872
911
- msgid "Bandwith* saved with ShortPixel:"
912
- msgstr ""
913
-
914
- #: class/view/shortpixel_view.php:878
915
- msgid "* Saved bandwidth is calculated at 10,000 impressions/image"
916
- msgstr ""
917
-
918
- #: class/view/shortpixel_view.php:880
919
- msgid "Your ShortPixel Plan"
920
- msgstr ""
921
-
922
- #: class/view/shortpixel_view.php:884
923
- msgid "Your ShortPixel plan"
924
- msgstr ""
925
-
926
- #: class/view/shortpixel_view.php:886
927
- #, php-format
928
- msgid ""
929
- "%s/month, renews in %s days, on %s ( <a href=\"https://shortpixel.com/login/"
930
- "%s\" target=\"_blank\">Need More? See the options available</a> )"
931
- msgstr ""
932
-
933
- #: class/view/shortpixel_view.php:889
934
- #, php-format
935
- msgid ""
936
- "<a href=\"https://shortpixel.com/login/%s/tell-a-friend\" target=\"_blank"
937
- "\">Join our friend referral system</a> to win more credits. For each user "
938
- "that joins, you receive +100 images credits/month."
939
- msgstr ""
940
-
941
- #: class/view/shortpixel_view.php:894
942
- msgid "One time credits:"
943
- msgstr ""
944
-
945
- #: class/view/shortpixel_view.php:898
946
- msgid "Number of images processed this month:"
947
- msgstr ""
948
-
949
- #: class/view/shortpixel_view.php:900
950
- msgid "see report"
951
- msgstr ""
952
-
953
- #: class/view/shortpixel_view.php:905
954
- msgid "Remaining** images in your plan:"
955
- msgstr ""
956
-
957
- #: class/view/shortpixel_view.php:906
958
- msgid "images"
959
- msgstr ""
960
-
961
- #: class/view/shortpixel_view.php:912
962
- #, php-format
963
- msgid ""
964
- "** Increase your image quota by <a href=\"https://shortpixel.com/login/%s\" "
965
- "target=\"_blank\">upgrading your ShortPixel plan.</a>"
966
- msgstr ""
967
-
968
- #: class/view/shortpixel_view.php:919
969
- msgid "Total number of processed files:"
970
- msgstr ""
971
-
972
- #: class/view/shortpixel_view.php:924
973
- msgid ""
974
- "Original images are stored in a backup folder. Your backup folder size is "
975
- "now:"
976
- msgstr ""
977
-
978
- #: class/view/shortpixel_view.php:928
979
- msgid "Empty backups"
980
- msgstr ""
981
-
982
- #. not a file that we can process
983
- #: class/view/shortpixel_view.php:945 wp-shortpixel.php:348
984
- #: wp-shortpixel.php:374 wp-shortpixel.php:1813
985
- msgid "Optimization N/A"
986
- msgstr ""
987
-
988
- #: class/view/shortpixel_view.php:948
989
- msgid "Image does not exist."
990
- msgstr ""
991
-
992
- #. multisite key - need to be validated on each site but it's not invalid
993
- #: class/view/shortpixel_view.php:952
994
- msgid ""
995
- "Please <a href=\"options-general.php?page=wp-shortpixel\">go to Settings</a> "
996
- "to validate the API Key."
997
- msgstr ""
998
-
999
- #: class/view/shortpixel_view.php:954
1000
- msgid ""
1001
- "Invalid API Key. <a href=\"options-general.php?page=wp-shortpixel\">Check "
1002
- "your Settings</a>"
1003
- msgstr ""
1004
-
1005
- #: class/view/shortpixel_view.php:963
1006
- msgid "Optimize now"
1007
- msgstr ""
1008
-
1009
- #: class/view/shortpixel_view.php:973 class/view/shortpixel-list-table.php:55
1010
- #: wp-shortpixel.php:282
1011
- msgid "Retry"
1012
- msgstr ""
1013
-
1014
- #: class/view/shortpixel_view.php:990 class/view/shortpixel-list-table.php:93
1015
- #: wp-shortpixel.php:273
1016
- msgid "Reduced by"
1017
- msgstr ""
1018
-
1019
- #: class/view/shortpixel_view.php:993 class/view/shortpixel-list-table.php:92
1020
- #: class/view/shortpixel-list-table.php:94 wp-shortpixel.php:274
1021
- msgid "Bonus processing"
1022
- msgstr ""
1023
-
1024
- #: class/view/shortpixel_view.php:996
1025
- #, php-format
1026
- msgid "+%s of %s thumbnails optimized"
1027
- msgstr ""
1028
-
1029
- #: class/view/shortpixel_view.php:997
1030
- #, php-format
1031
- msgid "+%s thumbnails optimized"
1032
- msgstr ""
1033
-
1034
- #: class/view/shortpixel_view.php:1005
1035
- #, php-format
1036
- msgid "Optimize %s thumbnails"
1037
- msgstr ""
1038
-
1039
- #: class/view/shortpixel_view.php:1012
1040
- msgid "Reoptimize from the backed-up image"
1041
- msgstr ""
1042
-
1043
- #: class/view/shortpixel_view.php:1013
1044
- msgid "Re-optimize"
1045
- msgstr ""
1046
-
1047
- #: class/view/shortpixel_view.php:1017 wp-shortpixel.php:278
1048
- msgid "Restore backup"
1049
- msgstr ""
1050
-
1051
- #: class/view/shortpixel_view.php:1030 wp-shortpixel.php:280
1052
- msgid "Extend Quota"
1053
- msgstr ""
1054
-
1055
- #: class/view/shortpixel_view.php:1033 wp-shortpixel.php:281
1056
- msgid "Check&nbsp;&nbsp;Quota"
1057
- msgstr ""
1058
-
1059
- #: class/view/shortpixel-list-table.php:15
1060
- msgid "Image"
1061
- msgstr ""
1062
-
1063
- #. singular name of the listed records
1064
- #: class/view/shortpixel-list-table.php:16
1065
- msgid "Images"
1066
- msgstr ""
1067
-
1068
- #. pe viitor. $columns['cb'] = '<input type="checkbox" />';
1069
- #: class/view/shortpixel-list-table.php:29
1070
- msgid "Filename"
1071
- msgstr ""
1072
-
1073
- #: class/view/shortpixel-list-table.php:30
1074
- msgid "Folder"
1075
- msgstr ""
1076
-
1077
- #: class/view/shortpixel-list-table.php:31
1078
- msgid "Type"
1079
- msgstr ""
1080
-
1081
- #: class/view/shortpixel-list-table.php:32
1082
- msgid "Status"
1083
- msgstr ""
1084
-
1085
- #: class/view/shortpixel-list-table.php:33
1086
- msgid "Options"
1087
- msgstr ""
1088
-
1089
- #: class/view/shortpixel-list-table.php:52
1090
- msgid "Optimize"
1091
- msgstr ""
1092
-
1093
- #: class/view/shortpixel-list-table.php:58
1094
- msgid "Restore"
1095
- msgstr ""
1096
-
1097
- #: class/view/shortpixel-list-table.php:61
1098
- msgid "Re-optimize lossless"
1099
- msgstr ""
1100
-
1101
- #: class/view/shortpixel-list-table.php:64
1102
- msgid "Re-optimize lossy"
1103
- msgstr ""
1104
-
1105
- #: class/view/shortpixel-list-table.php:67
1106
- msgid "Check quota"
1107
- msgstr ""
1108
-
1109
- #: class/view/shortpixel-list-table.php:68
1110
- msgid "View"
1111
- msgstr ""
1112
-
1113
- #: class/view/shortpixel-list-table.php:89
1114
- msgid "Restored"
1115
- msgstr ""
1116
-
1117
- #: class/view/shortpixel-list-table.php:103
1118
- msgid "code"
1119
- msgstr ""
1120
-
1121
- #: class/view/shortpixel-list-table.php:111
1122
- msgid "Lossy"
1123
- msgstr ""
1124
-
1125
- #: class/view/shortpixel-list-table.php:112
1126
- msgid "Keep EXIF"
1127
- msgstr ""
1128
-
1129
- #: class/view/shortpixel-list-table.php:113
1130
- msgid "Preserve CMYK"
1131
- msgstr ""
1132
-
1133
- #: class/view/shortpixel-list-table.php:122
1134
- msgid ""
1135
- "No images avaliable. Go to <a href=\"options-general.php?page=wp-"
1136
- "shortpixel#adv-settings\">Advanced Settings</a> to configure additional "
1137
- "folders to be optimized."
1138
- msgstr ""
1139
-
1140
- #: class/view/shortpixel-list-table.php:255
1141
- msgid "Show more details"
1142
- msgstr "Mai multe detalii"
1143
-
1144
- #: class/db/shortpixel-meta-facade.php:165
1145
- msgid "Error"
1146
- msgstr ""
1147
-
1148
- #: class/db/shortpixel-custom-meta-dao.php:187
1149
- msgid "Folder already added."
1150
- msgstr ""
1151
-
1152
- #: class/db/shortpixel-custom-meta-dao.php:191
1153
- #, php-format
1154
- msgid ""
1155
- "The %s folder cannot be processed as it's not inside the root path of your "
1156
- "website."
1157
- msgstr ""
1158
-
1159
- #: class/db/shortpixel-custom-meta-dao.php:200
1160
- msgid ""
1161
- "This folder contains Media Library images. To optimize Media Library images "
1162
- "please go to <a href=\"upload.php?mode=list\">Media Library list view</a> or "
1163
- "to <a href=\"upload.php?page=wp-short-pixel-bulk\">SortPixel Bulk page</a>."
1164
- msgstr ""
1165
-
1166
- #: class/db/shortpixel-custom-meta-dao.php:204
1167
- msgid "Inserted folder doesn't have an ID!"
1168
- msgstr ""
1169
-
1170
- #: class/db/shortpixel-custom-meta-dao.php:224
1171
- msgid ""
1172
- "This folder contains the ShortPixel Backups. Please select a different "
1173
- "folder."
1174
- msgstr ""
1175
-
1176
- #. var_dump($allFolders);
1177
- #: class/db/shortpixel-custom-meta-dao.php:247
1178
- #, php-format
1179
- msgid "Folder already included in %s."
1180
- msgstr ""
1181
-
1182
- #: class/db/shortpixel-custom-meta-dao.php:250
1183
- msgid "Folder does not exist."
1184
- msgstr ""
1185
-
1186
- #: class/model/shortpixel-folder.php:76 class/model/shortpixel-folder.php:149
1187
- #, php-format
1188
- msgid "Folder %s is not writeable. Please check permissions and try again."
1189
- msgstr ""
1190
-
1191
- #: wp-shortpixel.php:160
1192
- msgid "ShortPixel Settings"
1193
- msgstr "Configurări ShortPixel"
1194
-
1195
- #. translators: title and menu name for the Other media page
1196
- #: wp-shortpixel.php:166
1197
- msgid "Other Media Optimized by ShortPixel"
1198
- msgstr "Alte Media Optimizate de ShortPixel"
1199
-
1200
- #: wp-shortpixel.php:166
1201
- msgid "Other Media"
1202
- msgstr "Alte Media"
1203
-
1204
- #. translators: title and menu name for the Bulk Processing page
1205
- #: wp-shortpixel.php:169
1206
- msgid "ShortPixel Bulk Process"
1207
- msgstr "Proceseaza automat cu ShortPixel"
1208
-
1209
- #: wp-shortpixel.php:169
1210
- msgid "Bulk ShortPixel"
1211
- msgstr "Procesor ShortPixel"
1212
-
1213
- #: wp-shortpixel.php:216
1214
- msgid "Media alert dismissed"
1215
- msgstr "Alerta media dezactivată"
1216
-
1217
- #: wp-shortpixel.php:269
1218
- msgid "Optimize with ShortPixel"
1219
- msgstr ""
1220
-
1221
- #: wp-shortpixel.php:270
1222
- msgid ""
1223
- "In order to access the ShortPixel Optimization actions and info, please "
1224
- "change to {0}List View{1}List View{2}Dismiss{3}"
1225
- msgstr ""
1226
- "Pentru a accesa acțiunile și informațiile de optimizare ShortPixel, te rugăm "
1227
- "schimbă în {0}Modul Listă{1}Modul Listă{2}Închide{3}"
1228
-
1229
- #: wp-shortpixel.php:271
1230
- msgid ""
1231
- "This type of optimization will apply to new uploaded images.\\nImages that "
1232
- "were already processed will not be re-optimized unless you restart the bulk "
1233
- "process."
1234
- msgstr ""
1235
-
1236
- #: wp-shortpixel.php:272
1237
- msgid "Are you sure you want to stop optimizing the folder {0}?"
1238
- msgstr ""
1239
-
1240
- #: wp-shortpixel.php:275
1241
- msgid "+{0} thumbnails optimized"
1242
- msgstr ""
1243
-
1244
- #: wp-shortpixel.php:276
1245
- msgid "Optimize {0} thumbnails"
1246
- msgstr ""
1247
-
1248
- #: wp-shortpixel.php:277
1249
- msgid "Reoptimize {0}"
1250
- msgstr ""
1251
-
1252
- #: wp-shortpixel.php:279
1253
- msgid "Get API Key"
1254
- msgstr ""
1255
-
1256
- #: wp-shortpixel.php:283
1257
- msgid "This content is not processable."
1258
- msgstr ""
1259
-
1260
- #: wp-shortpixel.php:284
1261
- msgid "Image waiting to optimize thumbnails"
1262
- msgstr ""
1263
-
1264
- #. translators: toolbar icon tooltip
1265
- #: wp-shortpixel.php:297
1266
- msgid "ShortPixel optimizing..."
1267
- msgstr ""
1268
-
1269
- #. translators: toolbar icon tooltip
1270
- #: wp-shortpixel.php:308
1271
- msgid "ShortPixel quota exceeded. Click for details."
1272
- msgstr ""
1273
-
1274
- #: wp-shortpixel.php:564
1275
- msgid "Missing API Key"
1276
- msgstr ""
1277
-
1278
- #. translators: console message Empty queue 1234 -> 1234
1279
- #: wp-shortpixel.php:614
1280
- msgid "Empty queue "
1281
- msgstr ""
1282
-
1283
- #: wp-shortpixel.php:740
1284
- msgid " Retry limit reached. Skipping file ID "
1285
- msgstr ""
1286
-
1287
- #: wp-shortpixel.php:835
1288
- msgid "NextGen image not found"
1289
- msgstr ""
1290
-
1291
- #: wp-shortpixel.php:1004 wp-shortpixel.php:1018
1292
- msgid "Could not restore from backup: "
1293
- msgstr ""
1294
-
1295
- #: wp-shortpixel.php:1037
1296
- msgid "No thumbnails to optimize for ID: "
1297
- msgstr ""
1298
-
1299
- #: wp-shortpixel.php:1037
1300
- msgid "Please optimize image for ID: "
1301
- msgstr ""
1302
-
1303
- #: wp-shortpixel.php:1142
1304
- msgid "Refresh custom folders content"
1305
- msgstr ""
1306
-
1307
- #: wp-shortpixel.php:1143
1308
- msgid "Refresh folders"
1309
- msgstr ""
1310
-
1311
- #: wp-shortpixel.php:1146
1312
- msgid "Other Media optimized by ShortPixel"
1313
- msgstr ""
1314
-
1315
- #: wp-shortpixel.php:1322 wp-shortpixel.php:1413
1316
- msgid "You do not have sufficient permissions to access this page."
1317
- msgstr ""
1318
-
1319
- #: wp-shortpixel.php:1451
1320
- #, php-format
1321
- msgid ""
1322
- "The key you provided has %s characters. The API key should have 20 "
1323
- "characters, letters and numbers only."
1324
- msgstr ""
1325
-
1326
- #: wp-shortpixel.php:1453
1327
- msgid ""
1328
- "Please check that the API key is the same as the one you received in your "
1329
- "confirmation email."
1330
- msgstr ""
1331
-
1332
- #: wp-shortpixel.php:1455
1333
- msgid "If this problem persists, please contact us at "
1334
- msgstr ""
1335
-
1336
- #: wp-shortpixel.php:1457
1337
- msgid " or "
1338
- msgstr ""
1339
-
1340
- #: wp-shortpixel.php:1475
1341
- msgid ""
1342
- "API Key is valid but your site is not accessible from our servers. Please "
1343
- "make sure that your server is accessible from the Internet before using the "
1344
- "API or otherwise we won't be able to optimize them."
1345
- msgstr ""
1346
-
1347
- #: wp-shortpixel.php:1478
1348
- msgid ""
1349
- "API Key valid! <br>You seem to be running a multisite, please note that API "
1350
- "Key can also be configured in wp-config.php like this:"
1351
- msgstr ""
1352
-
1353
- #: wp-shortpixel.php:1481
1354
- msgid "API Key valid!"
1355
- msgstr ""
1356
-
1357
- #: wp-shortpixel.php:1488
1358
- #, php-format
1359
- msgid ""
1360
- "There is something preventing us to create a new folder for backing up your "
1361
- "original files.<BR>Please make sure that folder <b>%s</b> has the necessary "
1362
- "write and read rights."
1363
- msgstr ""
1364
-
1365
- #: wp-shortpixel.php:1536
1366
- msgid "Folder added successfully."
1367
- msgstr ""
1368
-
1369
- #: wp-shortpixel.php:1712
1370
- msgid ""
1371
- "API Key could not be validated due to a connectivity error.<BR>Your firewall "
1372
- "may be blocking us. Please contact your hosting provider and ask them to "
1373
- "allow connections from your site to IP 176.9.106.46.<BR> If you still cannot "
1374
- "validate your API Key after this, please <a href=\"https://shortpixel.com/"
1375
- "contact\" target=\"_blank\">contact us</a> and we will try to help. "
1376
- msgstr ""
1377
-
1378
- #: wp-shortpixel.php:1713 wp-shortpixel.php:1714
1379
- msgid "Information unavailable. Please check your API key."
1380
- msgstr ""
1381
-
1382
- #: wp-shortpixel.php:1789
1383
- msgid "PDF not processed."
1384
- msgstr ""
1385
-
1386
- #: wp-shortpixel.php:1820 wp-shortpixel.php:1822
1387
- msgid "Cannot write optimized file"
1388
- msgstr ""
1389
-
1390
- #: wp-shortpixel.php:1823
1391
- msgid "Why?"
1392
- msgstr ""
1393
-
1394
- #: wp-shortpixel.php:1831
1395
- msgid "Image does not exist"
1396
- msgstr ""
1397
-
1398
- #: wp-shortpixel.php:1835
1399
- msgid "Image waiting to be processed."
1400
- msgstr ""
1401
-
1402
- #: wp-shortpixel.php:1853
1403
- msgid "ShortPixel Statistics"
1404
- msgstr ""
1405
-
1406
- #: wp-shortpixel.php:1871
1407
- msgid "ShortPixel Compression"
1408
- msgstr ""
1409
-
1410
- #: shortpixel_api.php:142
1411
- msgid "The file(s) do not exist on disk."
1412
- msgstr ""
1413
-
1414
- #: shortpixel_api.php:157 shortpixel_api.php:168
1415
- msgid "Timed out while processing."
1416
- msgstr ""
1417
-
1418
- #: shortpixel_api.php:161
1419
- msgid "Image ID"
1420
- msgstr ""
1421
-
1422
- #: shortpixel_api.php:161
1423
- msgid "Media ID"
1424
- msgstr ""
1425
-
1426
- #: shortpixel_api.php:162
1427
- msgid "Skip this image, try the next one."
1428
- msgstr ""
1429
-
1430
- #. send requests to API
1431
- #. response <> 200 -> there was an error apparently?
1432
- #: shortpixel_api.php:179 shortpixel_api.php:212 shortpixel_api.php:215
1433
- msgid "There was an error and your request was not processed."
1434
- msgstr ""
1435
-
1436
- #: shortpixel_api.php:231
1437
- msgid "Unecognized API response. Please contact support."
1438
- msgstr ""
1439
-
1440
- #: shortpixel_api.php:238
1441
- msgid "Quota exceeded."
1442
- msgstr ""
1443
-
1444
- #: shortpixel_api.php:326
1445
- msgid "Error downloading file"
1446
- msgstr ""
1447
-
1448
- #: shortpixel_api.php:334
1449
- #, php-format
1450
- msgid ""
1451
- "Error downloading file - incorrect file size (downloaded: %s, correct: %s )"
1452
- msgstr ""
1453
-
1454
- #: shortpixel_api.php:337
1455
- msgid "Unable to locate downloaded file"
1456
- msgstr ""
1457
-
1458
- #. array with final paths for these files
1459
- #. creates backup folder if it doesn't exist
1460
- #: shortpixel_api.php:399
1461
- msgid "Backup folder does not exist and it cannot be created"
1462
- msgstr ""
1463
-
1464
- #. file couldn't be saved in backup folder
1465
- #: shortpixel_api.php:419
1466
- #, php-format
1467
- msgid "Cannot save file <i>%s</i> in backup directory"
1468
- msgstr ""
1469
-
1470
- #. cannot write to the backup dir, return with an error
1471
- #: shortpixel_api.php:428
1472
- msgid "Cannot save file in backup directory"
1473
- msgstr ""
1474
-
1475
- #: shortpixel_api.php:491
1476
- #, php-format
1477
- msgid "Optimized version of %s file(s) couldn't be updated."
1478
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/shortpixel-image-optimiser.pot DELETED
@@ -1,1461 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- #, fuzzy
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: PACKAGE VERSION\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2016-11-30 16:23+0100\n"
12
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "Language: \n"
16
- "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=UTF-8\n"
18
- "Content-Transfer-Encoding: 8bit\n"
19
-
20
- #: class/view/shortpixel_view.php:23 class/view/shortpixel_view.php:417
21
- msgid "Average reduction"
22
- msgstr ""
23
-
24
- #. translators: header of the alert box
25
- #: class/view/shortpixel_view.php:33
26
- msgid "Quota Exceeded"
27
- msgstr ""
28
-
29
- #. translators: body of the alert box
30
- #: class/view/shortpixel_view.php:35
31
- #, php-format
32
- msgid ""
33
- "The plugin has optimized <strong>%s images</strong> and stopped because it "
34
- "reached the available quota limit."
35
- msgstr ""
36
-
37
- #: class/view/shortpixel_view.php:39
38
- #, php-format
39
- msgid ""
40
- "<strong>%s images and %s thumbnails</strong> are not yet optimized by "
41
- "ShortPixel."
42
- msgstr ""
43
-
44
- #: class/view/shortpixel_view.php:44
45
- msgid "Upgrade"
46
- msgstr ""
47
-
48
- #: class/view/shortpixel_view.php:45
49
- msgid "Confirm New Quota"
50
- msgstr ""
51
-
52
- #: class/view/shortpixel_view.php:47
53
- msgid "Get more image credits by referring ShortPixel to your friends!"
54
- msgstr ""
55
-
56
- #: class/view/shortpixel_view.php:49
57
- msgid "Check your account"
58
- msgstr ""
59
-
60
- #: class/view/shortpixel_view.php:50
61
- msgid ""
62
- "for your unique referral link. For each user that joins, you will receive "
63
- "+100 additional image credits/month."
64
- msgstr ""
65
-
66
- #: class/view/shortpixel_view.php:58
67
- msgid ""
68
- "In order to start the optimization process, you need to validate your API "
69
- "Key in the <a href=\"options-general.php?page=wp-shortpixel\">ShortPixel "
70
- "Settings</a> page in your WordPress Admin."
71
- msgstr ""
72
-
73
- #: class/view/shortpixel_view.php:61
74
- msgid ""
75
- "If you don’t have an API Key, you can get one delivered to your inbox, for "
76
- "free."
77
- msgstr ""
78
-
79
- #: class/view/shortpixel_view.php:62
80
- msgid ""
81
- "Please <a href=\"https://shortpixel.com/wp-apikey\" target=\"_blank\">sign "
82
- "up to get your API key.</a>"
83
- msgstr ""
84
-
85
- #: class/view/shortpixel_view.php:70
86
- msgid "Dismiss"
87
- msgstr ""
88
-
89
- #: class/view/shortpixel_view.php:72
90
- msgid "ShortPixel Optimization"
91
- msgstr ""
92
-
93
- #: class/view/shortpixel_view.php:75
94
- msgid ""
95
- "Action needed. Please <a href='https://shortpixel.com/wp-apikey' "
96
- "target='_blank'>get your API key</a> to activate your ShortPixel plugin."
97
- msgstr ""
98
-
99
- #: class/view/shortpixel_view.php:78
100
- msgid ""
101
- "Your image gallery is not optimized. It takes 2 minutes to <a href='https://"
102
- "shortpixel.com/wp-apikey' target='_blank'>get your API key</a> and activate "
103
- "your ShortPixel plugin."
104
- msgstr ""
105
-
106
- #: class/view/shortpixel_view.php:102
107
- msgid "Your media library"
108
- msgstr ""
109
-
110
- #: class/view/shortpixel_view.php:103
111
- msgid "Original images"
112
- msgstr ""
113
-
114
- #: class/view/shortpixel_view.php:105
115
- msgid "Smaller thumbnails"
116
- msgstr ""
117
-
118
- #: class/view/shortpixel_view.php:109 class/view/shortpixel_view.php:343
119
- msgid "Include thumbnails"
120
- msgstr ""
121
-
122
- #: class/view/shortpixel_view.php:112
123
- msgid "Total images"
124
- msgstr ""
125
-
126
- #: class/view/shortpixel_view.php:114
127
- msgid "Already optimized originals"
128
- msgstr ""
129
-
130
- #: class/view/shortpixel_view.php:116
131
- msgid "Already optimized thumbnails"
132
- msgstr ""
133
-
134
- #: class/view/shortpixel_view.php:119 class/view/shortpixel_view.php:124
135
- msgid "Total to be optimized"
136
- msgstr ""
137
-
138
- #: class/view/shortpixel_view.php:123
139
- msgid "Your custom folders"
140
- msgstr ""
141
-
142
- #: class/view/shortpixel_view.php:137
143
- #, php-format
144
- msgid ""
145
- "<span class=\"label\">Start Optimizing</span><br> <span class=\"total\">%s</"
146
- "span> images"
147
- msgstr ""
148
-
149
- #: class/view/shortpixel_view.php:148
150
- msgid ""
151
- "Nothing to optimize! The images that you add to Media Gallery will be "
152
- "automatically optimized after upload."
153
- msgstr ""
154
-
155
- #: class/view/shortpixel_view.php:157
156
- msgid ""
157
- "After you start the bulk process, in order for the optimization to run, you "
158
- "must keep this page open and your computer running. If you close the page "
159
- "for whatever reason, just turn back to it and the bulk process will resume."
160
- msgstr ""
161
-
162
- #: class/view/shortpixel_view.php:163
163
- msgid "What are Thumbnails?"
164
- msgstr ""
165
-
166
- #: class/view/shortpixel_view.php:164
167
- msgid ""
168
- "Thumbnails are smaller images usually generated by your WP theme. Most "
169
- "themes generate between 3 and 6 thumbnails for each Media Library image."
170
- msgstr ""
171
-
172
- #: class/view/shortpixel_view.php:165
173
- msgid ""
174
- "The thumbnails also generate traffic on your website pages and they "
175
- "influence your website's speed."
176
- msgstr ""
177
-
178
- #: class/view/shortpixel_view.php:166
179
- msgid ""
180
- "It's highly recommended that you include thumbnails in the optimization as "
181
- "well."
182
- msgstr ""
183
-
184
- #: class/view/shortpixel_view.php:169
185
- msgid "How does it work?"
186
- msgstr ""
187
-
188
- #: class/view/shortpixel_view.php:170
189
- msgid ""
190
- "The plugin processes images starting with the newest ones you uploaded in "
191
- "your Media Library."
192
- msgstr ""
193
-
194
- #: class/view/shortpixel_view.php:171
195
- msgid "You will be able to pause the process anytime."
196
- msgstr ""
197
-
198
- #: class/view/shortpixel_view.php:172
199
- msgid ""
200
- "<p>Your original images will be stored in a separate back-up folder.</p>"
201
- msgstr ""
202
-
203
- #: class/view/shortpixel_view.php:173
204
- msgid ""
205
- "You can watch the images being processed live, right here, after you start "
206
- "optimizing."
207
- msgstr ""
208
-
209
- #. bulk is paused
210
- #: class/view/shortpixel_view.php:179
211
- msgid "Please see below the optimization status so far:"
212
- msgstr ""
213
-
214
- #: class/view/shortpixel_view.php:182
215
- #, php-format
216
- msgid "%d images and %d thumbnails are not yet optimized by ShortPixel."
217
- msgstr ""
218
-
219
- #: class/view/shortpixel_view.php:187
220
- msgid ""
221
- "You can continue optimizing your Media Gallery from where you left, by "
222
- "clicking the Resume processing button. Already optimized images will not be "
223
- "reprocessed."
224
- msgstr ""
225
-
226
- #: class/view/shortpixel_view.php:197
227
- msgid "Congratulations!"
228
- msgstr ""
229
-
230
- #: class/view/shortpixel_view.php:198
231
- msgid "Your media library has been successfully optimized!"
232
- msgstr ""
233
-
234
- #: class/view/shortpixel_view.php:199
235
- msgid "Summary"
236
- msgstr ""
237
-
238
- #: class/view/shortpixel_view.php:205
239
- msgid "Share your optimization results:"
240
- msgstr ""
241
-
242
- #: class/view/shortpixel_view.php:225
243
- msgid "I just optimized my images by "
244
- msgstr ""
245
-
246
- #: class/view/shortpixel_view.php:227
247
- msgid "I just optimized my images "
248
- msgstr ""
249
-
250
- #: class/view/shortpixel_view.php:230
251
- msgid "with @ShortPixel, a great plugin for increasing #WordPress page speed:"
252
- msgstr ""
253
-
254
- #: class/view/shortpixel_view.php:231
255
- msgid "Tweet"
256
- msgstr ""
257
-
258
- #: class/view/shortpixel_view.php:257
259
- msgid "Please rate us!"
260
- msgstr ""
261
-
262
- #: class/view/shortpixel_view.php:267
263
- #, php-format
264
- msgid ""
265
- "Go to the ShortPixel <a href=\"%soptions-general.php?page=wp-shortpixel#stats"
266
- "\">Stats</a> and see all your websites' optimized stats. Download your "
267
- "detailed <a href=\"https://api.shortpixel.com/v2/report.php?key=%s"
268
- "\">Optimization Report</a> to check your image optimization statistics for "
269
- "the last 40 days."
270
- msgstr ""
271
-
272
- #: class/view/shortpixel_view.php:275
273
- msgid ""
274
- "The following images could not be processed because of their limited write "
275
- "rights. This usually happens if you have changed your hosting provider. "
276
- "Please restart the optimization process after you granted write rights to "
277
- "all the files below."
278
- msgstr ""
279
-
280
- #: class/view/shortpixel_view.php:290 wp-shortpixel.php:1755
281
- #: wp-shortpixel.php:1756 wp-shortpixel.php:1757 wp-shortpixel.php:1758
282
- msgid " images"
283
- msgstr ""
284
-
285
- #: class/view/shortpixel_view.php:291
286
- msgid " and"
287
- msgstr ""
288
-
289
- #: class/view/shortpixel_view.php:292
290
- msgid " thumbnails"
291
- msgstr ""
292
-
293
- #: class/view/shortpixel_view.php:293
294
- msgid " are not yet optimized by ShortPixel."
295
- msgstr ""
296
-
297
- #: class/view/shortpixel_view.php:295
298
- msgid "Some have errors:"
299
- msgstr ""
300
-
301
- #: class/view/shortpixel_view.php:318
302
- #, php-format
303
- msgid ""
304
- "%s images and %s thumbnails were optimized <strong>%s</strong>. You can re-"
305
- "optimize <strong>%s</strong> the ones that have backup."
306
- msgstr ""
307
-
308
- #: class/view/shortpixel_view.php:323
309
- #, php-format
310
- msgid ""
311
- "%s images were optimized <strong>%s</strong>. You can re-optimize <strong>"
312
- "%s</strong> the ones that have backup. "
313
- msgstr ""
314
-
315
- #: class/view/shortpixel_view.php:326
316
- msgid " thumbnails will be restored to originals."
317
- msgstr ""
318
-
319
- #: class/view/shortpixel_view.php:331
320
- msgid ""
321
- "Restart the optimization process for these images by clicking the button "
322
- "below."
323
- msgstr ""
324
-
325
- #: class/view/shortpixel_view.php:333
326
- msgid ""
327
- "Restart the optimization process for new images added to your library by "
328
- "clicking the button below."
329
- msgstr ""
330
-
331
- #: class/view/shortpixel_view.php:335
332
- #, php-format
333
- msgid "Already <strong>%s</strong> optimized images will not be reprocessed."
334
- msgstr ""
335
-
336
- #: class/view/shortpixel_view.php:337
337
- msgid ""
338
- "Please note that reoptimizing images as <strong>lossy/lossless</strong> may "
339
- "use additional credits."
340
- msgstr ""
341
-
342
- #: class/view/shortpixel_view.php:338
343
- msgid "More info"
344
- msgstr ""
345
-
346
- #: class/view/shortpixel_view.php:344
347
- msgid "Restart Optimizing"
348
- msgstr ""
349
-
350
- #: class/view/shortpixel_view.php:355
351
- msgid "Bulk Image Optimization by ShortPixel"
352
- msgstr ""
353
-
354
- #: class/view/shortpixel_view.php:361
355
- msgid "Lengthy operation in progress:"
356
- msgstr ""
357
-
358
- #: class/view/shortpixel_view.php:362
359
- msgid "Optimizing image"
360
- msgstr ""
361
-
362
- #: class/view/shortpixel_view.php:369
363
- msgid "Error processing file:"
364
- msgstr ""
365
-
366
- #: class/view/shortpixel_view.php:375
367
- msgid "Just optimized:"
368
- msgstr ""
369
-
370
- #: class/view/shortpixel_view.php:381
371
- msgid "Original image"
372
- msgstr ""
373
-
374
- #: class/view/shortpixel_view.php:385
375
- msgid "Optimized image"
376
- msgstr ""
377
-
378
- #. translators: percent follows
379
- #: class/view/shortpixel_view.php:389
380
- msgid "Optimized by:"
381
- msgstr ""
382
-
383
- #: class/view/shortpixel_view.php:411
384
- msgid "Remaining credits"
385
- msgstr ""
386
-
387
- #: class/view/shortpixel_view.php:427 class/view/shortpixel_view.php:436
388
- msgid "Media Library"
389
- msgstr ""
390
-
391
- #: class/view/shortpixel_view.php:428
392
- msgid "and"
393
- msgstr ""
394
-
395
- #: class/view/shortpixel_view.php:429
396
- msgid "Custom folders"
397
- msgstr ""
398
-
399
- #: class/view/shortpixel_view.php:429
400
- msgid "optimization in progress ..."
401
- msgstr ""
402
-
403
- #: class/view/shortpixel_view.php:430
404
- msgid "Bulk optimization has started."
405
- msgstr ""
406
-
407
- #: class/view/shortpixel_view.php:431
408
- #, php-format
409
- msgid ""
410
- "This process will take some time, depending on the number of images in your "
411
- "library. In the meantime, you can continue using \n"
412
- " the admin as usual, <a href=\"%s\" target=\"_blank\">in "
413
- "a different browser window or tab</a>.<br>\n"
414
- " However, <strong>if you close this window, the bulk "
415
- "processing will pause</strong> until you open the media gallery or the "
416
- "ShortPixel bulk page again."
417
- msgstr ""
418
-
419
- #: class/view/shortpixel_view.php:436
420
- msgid "and Custom folders"
421
- msgstr ""
422
-
423
- #: class/view/shortpixel_view.php:436
424
- msgid "optimization paused"
425
- msgstr ""
426
-
427
- #: class/view/shortpixel_view.php:437
428
- msgid "Bulk processing is paused until you resume the optimization process."
429
- msgstr ""
430
-
431
- #. now we display the action buttons always when a type of bulk is running
432
- #: class/view/shortpixel_view.php:454
433
- msgid "Pause"
434
- msgstr ""
435
-
436
- #: class/view/shortpixel_view.php:454
437
- msgid "Resume processing"
438
- msgstr ""
439
-
440
- #: class/view/shortpixel_view.php:457
441
- msgid "Only other media"
442
- msgstr ""
443
-
444
- #: class/view/shortpixel_view.php:457
445
- msgid "Process only the other media, skipping the Media Library"
446
- msgstr ""
447
-
448
- #: class/view/shortpixel_view.php:461
449
- msgid "Manage custom folders"
450
- msgstr ""
451
-
452
- #: class/view/shortpixel_view.php:469
453
- msgid "Processed Images and PDFs:"
454
- msgstr ""
455
-
456
- #: class/view/shortpixel_view.php:470
457
- msgid "Processed Thumbnails:"
458
- msgstr ""
459
-
460
- #: class/view/shortpixel_view.php:471
461
- msgid "Total files processed:"
462
- msgstr ""
463
-
464
- #: class/view/shortpixel_view.php:472
465
- #, php-format
466
- msgid "Minus files with <5% optimization (free):"
467
- msgstr ""
468
-
469
- #: class/view/shortpixel_view.php:473
470
- msgid "Used quota:"
471
- msgstr ""
472
-
473
- #: class/view/shortpixel_view.php:475
474
- msgid "Average optimization:"
475
- msgstr ""
476
-
477
- #: class/view/shortpixel_view.php:476
478
- msgid "Saved space:"
479
- msgstr ""
480
-
481
- #. wp_enqueue_script('jquery.idTabs.js', plugins_url('/js/jquery.idTabs.js',__FILE__) );
482
- #: class/view/shortpixel_view.php:502
483
- msgid "ShortPixel Plugin Settings"
484
- msgstr ""
485
-
486
- #: class/view/shortpixel_view.php:505
487
- msgid "Upgrade now"
488
- msgstr ""
489
-
490
- #: class/view/shortpixel_view.php:507
491
- msgid "Support"
492
- msgstr ""
493
-
494
- #: class/view/shortpixel_view.php:525
495
- msgid "General"
496
- msgstr ""
497
-
498
- #: class/view/shortpixel_view.php:530
499
- msgid "Advanced"
500
- msgstr ""
501
-
502
- #. the span is a trick to keep the sections ordered as nth-child in styles: 1,2,3,4 (otherwise the third section would be nth-child(2) too, because of the form)
503
- #: class/view/shortpixel_view.php:537
504
- msgid "Statistics"
505
- msgstr ""
506
-
507
- #: class/view/shortpixel_view.php:545
508
- msgid "WP Resources"
509
- msgstr ""
510
-
511
- #: class/view/shortpixel_view.php:546
512
- msgid "Please reload"
513
- msgstr ""
514
-
515
- #: class/view/shortpixel_view.php:579
516
- #, php-format
517
- msgid ""
518
- "New images uploaded to the Media Library will be optimized automatically.<br/"
519
- ">If you have existing images you would like to optimize, you can use the <a "
520
- "href=\"%supload.php?page=wp-short-pixel-bulk\">Bulk Optimization Tool</a>."
521
- msgstr ""
522
-
523
- #: class/view/shortpixel_view.php:582
524
- msgid "Step 1:"
525
- msgstr ""
526
-
527
- #: class/view/shortpixel_view.php:583
528
- #, php-format
529
- msgid ""
530
- "If you don't have an API Key, <a href=\"https://shortpixel.com/wp-apikey%s\" "
531
- "target=\"_blank\">sign up here.</a> It's free and it only takes one minute, "
532
- "we promise!"
533
- msgstr ""
534
-
535
- #: class/view/shortpixel_view.php:584
536
- msgid "Step 2:"
537
- msgstr ""
538
-
539
- #: class/view/shortpixel_view.php:585
540
- msgid "Please enter here the API Key you received by email and press Validate."
541
- msgstr ""
542
-
543
- #: class/view/shortpixel_view.php:591
544
- msgid "API Key:"
545
- msgstr ""
546
-
547
- #: class/view/shortpixel_view.php:601
548
- msgid "Multisite API Key"
549
- msgstr ""
550
-
551
- #: class/view/shortpixel_view.php:604
552
- msgid "Validate the provided API key"
553
- msgstr ""
554
-
555
- #: class/view/shortpixel_view.php:605
556
- msgid "Validate"
557
- msgstr ""
558
-
559
- #: class/view/shortpixel_view.php:607
560
- msgid "Key defined in wp-config.php."
561
- msgstr ""
562
-
563
- #. if invalid key we display the link to the API Key
564
- #. if valid key we display the rest of the options
565
- #: class/view/shortpixel_view.php:618
566
- msgid "Compression type:"
567
- msgstr ""
568
-
569
- #: class/view/shortpixel_view.php:622
570
- msgid "Lossy (recommended)"
571
- msgstr ""
572
-
573
- #: class/view/shortpixel_view.php:623
574
- msgid ""
575
- "<b>Lossy compression: </b>lossy has a better compression rate than lossless "
576
- "compression.</br>The resulting image is identical with the original to the "
577
- "human eye. You can run a test for free "
578
- msgstr ""
579
-
580
- #: class/view/shortpixel_view.php:624 wp-shortpixel.php:1458
581
- msgid "here"
582
- msgstr ""
583
-
584
- #: class/view/shortpixel_view.php:626 class/view/shortpixel-list-table.php:111
585
- msgid "Lossless"
586
- msgstr ""
587
-
588
- #: class/view/shortpixel_view.php:628
589
- msgid ""
590
- "<b>Lossless compression: </b> the shrunk image will be identical with the "
591
- "original and smaller in size.</br>In some rare cases you will need to use \n"
592
- " this type of compression. Some technical drawings or "
593
- "images from vector graphics are possible situations."
594
- msgstr ""
595
-
596
- #: class/view/shortpixel_view.php:638
597
- msgid "Also include thumbnails:"
598
- msgstr ""
599
-
600
- #: class/view/shortpixel_view.php:640
601
- msgid "Apply compression also to <strong>image thumbnails.</strong> "
602
- msgstr ""
603
-
604
- #: class/view/shortpixel_view.php:641
605
- msgid "thumbnails to optimize"
606
- msgstr ""
607
-
608
- #: class/view/shortpixel_view.php:643
609
- msgid ""
610
- "It is highly recommended that you optimize the thumbnails as they are "
611
- "usually the images most viewed by end users and can generate most traffic."
612
- "<br>Please note that thumbnails count up to your total quota."
613
- msgstr ""
614
-
615
- #: class/view/shortpixel_view.php:648
616
- msgid "Image backup"
617
- msgstr ""
618
-
619
- #: class/view/shortpixel_view.php:650
620
- msgid "Save and keep a backup of your original images in a separate folder."
621
- msgstr ""
622
-
623
- #: class/view/shortpixel_view.php:651
624
- msgid ""
625
- "You <strong>need to have backup active</strong> in order to be able to "
626
- "restore images to originals or to convert from Lossy to Lossless and back."
627
- msgstr ""
628
-
629
- #: class/view/shortpixel_view.php:655
630
- msgid "CMYK to RGB conversion"
631
- msgstr ""
632
-
633
- #: class/view/shortpixel_view.php:657
634
- msgid "Adjust your images for computer and mobile screen display."
635
- msgstr ""
636
-
637
- #: class/view/shortpixel_view.php:658
638
- msgid ""
639
- "Images for the web only need RGB format and converting them from CMYK to RGB "
640
- "makes them smaller."
641
- msgstr ""
642
-
643
- #: class/view/shortpixel_view.php:662
644
- msgid "Remove EXIF"
645
- msgstr ""
646
-
647
- #: class/view/shortpixel_view.php:664
648
- msgid "Remove the EXIF tag of the image (recommended)."
649
- msgstr ""
650
-
651
- #: class/view/shortpixel_view.php:665
652
- msgid ""
653
- "EXIF is a set of various pieces of information that are automatically "
654
- "embedded into the image upon creation. This can include GPS position, camera "
655
- "manufacturer, date and time, etc. \n"
656
- " Unless you really need that data to be "
657
- "preserved, we recommend removing it as it can lead to <a href=\"http://blog."
658
- "shortpixel.com/how-much-smaller-can-be-images-without-exif-icc\" target="
659
- "\"_blank\">better compression rates</a>."
660
- msgstr ""
661
-
662
- #: class/view/shortpixel_view.php:670
663
- msgid "Resize large images"
664
- msgstr ""
665
-
666
- #: class/view/shortpixel_view.php:673
667
- msgid "to maximum"
668
- msgstr ""
669
-
670
- #: class/view/shortpixel_view.php:675
671
- msgid "pixels wide &times;"
672
- msgstr ""
673
-
674
- #: class/view/shortpixel_view.php:677
675
- msgid ""
676
- "pixels high (original aspect ratio is preserved and image is not cropped)"
677
- msgstr ""
678
-
679
- #: class/view/shortpixel_view.php:679
680
- #, php-format
681
- msgid ""
682
- "Recommended for large photos, like the ones taken with your phone. Saved "
683
- "space can go up to 80% or more after resizing."
684
- msgstr ""
685
-
686
- #: class/view/shortpixel_view.php:683
687
- msgid ""
688
- "Sizes will be greater or equal to the corresponding value. For example, if "
689
- "you set the resize dimensions at 1000x1200, an image of 2000x3000px will be "
690
- "resized to 1000x1500px while an image of 3000x2000px will be resized to "
691
- "1800x1200px"
692
- msgstr ""
693
-
694
- #: class/view/shortpixel_view.php:685
695
- msgid ""
696
- "Sizes will be smaller or equal to the corresponding value. For example, if "
697
- "you set the resize dimensions at 1000x1200, an image of 2000x3000px will be "
698
- "resized to 800x1200px while an image of 3000x2000px will be resized to "
699
- "1000x667px"
700
- msgstr ""
701
-
702
- #: class/view/shortpixel_view.php:692 class/view/shortpixel_view.php:847
703
- msgid "Save Changes"
704
- msgstr ""
705
-
706
- #: class/view/shortpixel_view.php:693 class/view/shortpixel_view.php:848
707
- msgid "Save and go to the Bulk Processing page"
708
- msgstr ""
709
-
710
- #: class/view/shortpixel_view.php:693 class/view/shortpixel_view.php:848
711
- #: wp-shortpixel.php:1517 wp-shortpixel.php:1518
712
- msgid "Save and Go to Bulk Process"
713
- msgstr ""
714
-
715
- #: class/view/shortpixel_view.php:716
716
- msgid "Please enter your API key in the General tab first."
717
- msgstr ""
718
-
719
- #. if valid key we display the rest of the options
720
- #: class/view/shortpixel_view.php:721
721
- msgid "Additional media folders"
722
- msgstr ""
723
-
724
- #: class/view/shortpixel_view.php:726
725
- msgid "Folder name"
726
- msgstr ""
727
-
728
- #: class/view/shortpixel_view.php:727
729
- msgid "Type &amp;<br>Status"
730
- msgstr ""
731
-
732
- #: class/view/shortpixel_view.php:728
733
- msgid "Files"
734
- msgstr ""
735
-
736
- #: class/view/shortpixel_view.php:729
737
- msgid "Last change"
738
- msgstr ""
739
-
740
- #: class/view/shortpixel_view.php:738 class/view/shortpixel_view.php:743
741
- #: class/view/shortpixel_view.php:745 class/view/shortpixel_view.php:747
742
- msgid "Empty"
743
- msgstr ""
744
-
745
- #: class/view/shortpixel_view.php:740 class/view/shortpixel_view.php:745
746
- #: class/view/shortpixel_view.php:747
747
- msgid "Optimized"
748
- msgstr ""
749
-
750
- #: class/view/shortpixel_view.php:741 class/view/shortpixel_view.php:748
751
- #: class/view/shortpixel-list-table.php:97
752
- msgid "Pending"
753
- msgstr ""
754
-
755
- #: class/view/shortpixel_view.php:741 class/view/shortpixel_view.php:748
756
- #: class/view/shortpixel-list-table.php:99
757
- msgid "Waiting"
758
- msgstr ""
759
-
760
- #: class/view/shortpixel_view.php:745
761
- msgid "Stop monitoring"
762
- msgstr ""
763
-
764
- #: class/view/shortpixel_view.php:745
765
- msgid "Stop optimizing"
766
- msgstr ""
767
-
768
- #: class/view/shortpixel_view.php:749
769
- msgid "Failed"
770
- msgstr ""
771
-
772
- #: class/view/shortpixel_view.php:771
773
- msgid ""
774
- "Full folder refresh, check each file of the folder if it changed since it "
775
- "was optimized. Might take up to 1 min. for big folders."
776
- msgstr ""
777
-
778
- #: class/view/shortpixel_view.php:772
779
- msgid "Refresh"
780
- msgstr ""
781
-
782
- #: class/view/shortpixel_view.php:783
783
- msgid "Select the images folder on your server."
784
- msgstr ""
785
-
786
- #: class/view/shortpixel_view.php:784
787
- msgid "Select ..."
788
- msgstr ""
789
-
790
- #: class/view/shortpixel_view.php:786
791
- msgid "Add Folder"
792
- msgstr ""
793
-
794
- #: class/view/shortpixel_view.php:788
795
- msgid ""
796
- "Use the Select... button to select site folders. ShortPixel will optimize "
797
- "images and PDFs from the specified folders and their subfolders. The "
798
- "optimization status for each image or PDF in these folders can be seen in "
799
- "the <a href=\"upload.php?page=wp-short-pixel-custom\">Other Media list</a>, "
800
- "under the Media menu."
801
- msgstr ""
802
-
803
- #: class/view/shortpixel_view.php:792
804
- msgid "Select the images folder"
805
- msgstr ""
806
-
807
- #: class/view/shortpixel_view.php:794
808
- msgid "Cancel"
809
- msgstr ""
810
-
811
- #: class/view/shortpixel_view.php:795
812
- msgid "Select"
813
- msgstr ""
814
-
815
- #: class/view/shortpixel_view.php:807
816
- msgid "Optimize NextGen galleries"
817
- msgstr ""
818
-
819
- #: class/view/shortpixel_view.php:809
820
- msgid "Optimize NextGen galleries."
821
- msgstr ""
822
-
823
- #: class/view/shortpixel_view.php:811
824
- msgid ""
825
- "Check this to add all your current NextGen galleries to the custom folders "
826
- "list and to also have all the future NextGen galleries and images optimized "
827
- "automatically by ShortPixel."
828
- msgstr ""
829
-
830
- #: class/view/shortpixel_view.php:817
831
- msgid "WebP versions"
832
- msgstr ""
833
-
834
- #: class/view/shortpixel_view.php:819
835
- msgid ""
836
- "Create also <a href=\"http://blog.shortpixel.com/how-webp-images-can-speed-"
837
- "up-your-site/\" target=\"_blank\">WebP versions</a> of the images "
838
- "<strong>for free</strong>."
839
- msgstr ""
840
-
841
- #: class/view/shortpixel_view.php:821
842
- #, php-format
843
- msgid ""
844
- "WebP images can be up to three times smaller than PNGs and 25% smaller than "
845
- "JPGs. Choosing this option <strong>does not use up additional credits</"
846
- "strong>."
847
- msgstr ""
848
-
849
- #: class/view/shortpixel_view.php:826
850
- msgid "HTTP AUTH credentials"
851
- msgstr ""
852
-
853
- #: class/view/shortpixel_view.php:828
854
- msgid "User"
855
- msgstr ""
856
-
857
- #: class/view/shortpixel_view.php:829
858
- msgid "Password"
859
- msgstr ""
860
-
861
- #: class/view/shortpixel_view.php:831
862
- msgid ""
863
- "Only fill in these fields if your site (front-end) is not publicly "
864
- "accessible and visitors need a user/pass to connect to it. If you don't know "
865
- "what is this then just <strong>leave the fields empty</strong>."
866
- msgstr ""
867
-
868
- #: class/view/shortpixel_view.php:836
869
- msgid "Process in front-end"
870
- msgstr ""
871
-
872
- #: class/view/shortpixel_view.php:838
873
- msgid "Automatically optimize images added by users in front end."
874
- msgstr ""
875
-
876
- #: class/view/shortpixel_view.php:840
877
- msgid ""
878
- "Check this if you have users that add images or PDF documents from custom "
879
- "forms in the front-end. This could increase the load on your server if you "
880
- "have a lot of users simultaneously connected."
881
- msgstr ""
882
-
883
- #: class/view/shortpixel_view.php:860
884
- msgid "Your ShortPixel Stats"
885
- msgstr ""
886
-
887
- #: class/view/shortpixel_view.php:864
888
- msgid "Average compression of your files:"
889
- msgstr ""
890
-
891
- #: class/view/shortpixel_view.php:868
892
- msgid "Saved disk space by ShortPixel"
893
- msgstr ""
894
-
895
- #: class/view/shortpixel_view.php:872
896
- msgid "Bandwith* saved with ShortPixel:"
897
- msgstr ""
898
-
899
- #: class/view/shortpixel_view.php:878
900
- msgid "* Saved bandwidth is calculated at 10,000 impressions/image"
901
- msgstr ""
902
-
903
- #: class/view/shortpixel_view.php:880
904
- msgid "Your ShortPixel Plan"
905
- msgstr ""
906
-
907
- #: class/view/shortpixel_view.php:884
908
- msgid "Your ShortPixel plan"
909
- msgstr ""
910
-
911
- #: class/view/shortpixel_view.php:886
912
- #, php-format
913
- msgid ""
914
- "%s/month, renews in %s days, on %s ( <a href=\"https://shortpixel.com/login/"
915
- "%s\" target=\"_blank\">Need More? See the options available</a> )"
916
- msgstr ""
917
-
918
- #: class/view/shortpixel_view.php:889
919
- #, php-format
920
- msgid ""
921
- "<a href=\"https://shortpixel.com/login/%s/tell-a-friend\" target=\"_blank"
922
- "\">Join our friend referral system</a> to win more credits. For each user "
923
- "that joins, you receive +100 images credits/month."
924
- msgstr ""
925
-
926
- #: class/view/shortpixel_view.php:894
927
- msgid "One time credits:"
928
- msgstr ""
929
-
930
- #: class/view/shortpixel_view.php:898
931
- msgid "Number of images processed this month:"
932
- msgstr ""
933
-
934
- #: class/view/shortpixel_view.php:900
935
- msgid "see report"
936
- msgstr ""
937
-
938
- #: class/view/shortpixel_view.php:905
939
- msgid "Remaining** images in your plan:"
940
- msgstr ""
941
-
942
- #: class/view/shortpixel_view.php:906
943
- msgid "images"
944
- msgstr ""
945
-
946
- #: class/view/shortpixel_view.php:912
947
- #, php-format
948
- msgid ""
949
- "** Increase your image quota by <a href=\"https://shortpixel.com/login/%s\" "
950
- "target=\"_blank\">upgrading your ShortPixel plan.</a>"
951
- msgstr ""
952
-
953
- #: class/view/shortpixel_view.php:919
954
- msgid "Total number of processed files:"
955
- msgstr ""
956
-
957
- #: class/view/shortpixel_view.php:924
958
- msgid ""
959
- "Original images are stored in a backup folder. Your backup folder size is "
960
- "now:"
961
- msgstr ""
962
-
963
- #: class/view/shortpixel_view.php:928
964
- msgid "Empty backups"
965
- msgstr ""
966
-
967
- #. not a file that we can process
968
- #: class/view/shortpixel_view.php:945 wp-shortpixel.php:348
969
- #: wp-shortpixel.php:374 wp-shortpixel.php:1813
970
- msgid "Optimization N/A"
971
- msgstr ""
972
-
973
- #: class/view/shortpixel_view.php:948
974
- msgid "Image does not exist."
975
- msgstr ""
976
-
977
- #. multisite key - need to be validated on each site but it's not invalid
978
- #: class/view/shortpixel_view.php:952
979
- msgid ""
980
- "Please <a href=\"options-general.php?page=wp-shortpixel\">go to Settings</a> "
981
- "to validate the API Key."
982
- msgstr ""
983
-
984
- #: class/view/shortpixel_view.php:954
985
- msgid ""
986
- "Invalid API Key. <a href=\"options-general.php?page=wp-shortpixel\">Check "
987
- "your Settings</a>"
988
- msgstr ""
989
-
990
- #: class/view/shortpixel_view.php:963
991
- msgid "Optimize now"
992
- msgstr ""
993
-
994
- #: class/view/shortpixel_view.php:973 class/view/shortpixel-list-table.php:55
995
- #: wp-shortpixel.php:282
996
- msgid "Retry"
997
- msgstr ""
998
-
999
- #: class/view/shortpixel_view.php:990 class/view/shortpixel-list-table.php:93
1000
- #: wp-shortpixel.php:273
1001
- msgid "Reduced by"
1002
- msgstr ""
1003
-
1004
- #: class/view/shortpixel_view.php:993 class/view/shortpixel-list-table.php:92
1005
- #: class/view/shortpixel-list-table.php:94 wp-shortpixel.php:274
1006
- msgid "Bonus processing"
1007
- msgstr ""
1008
-
1009
- #: class/view/shortpixel_view.php:996
1010
- #, php-format
1011
- msgid "+%s of %s thumbnails optimized"
1012
- msgstr ""
1013
-
1014
- #: class/view/shortpixel_view.php:997
1015
- #, php-format
1016
- msgid "+%s thumbnails optimized"
1017
- msgstr ""
1018
-
1019
- #: class/view/shortpixel_view.php:1005
1020
- #, php-format
1021
- msgid "Optimize %s thumbnails"
1022
- msgstr ""
1023
-
1024
- #: class/view/shortpixel_view.php:1012
1025
- msgid "Reoptimize from the backed-up image"
1026
- msgstr ""
1027
-
1028
- #: class/view/shortpixel_view.php:1013
1029
- msgid "Re-optimize"
1030
- msgstr ""
1031
-
1032
- #: class/view/shortpixel_view.php:1017 wp-shortpixel.php:278
1033
- msgid "Restore backup"
1034
- msgstr ""
1035
-
1036
- #: class/view/shortpixel_view.php:1030 wp-shortpixel.php:280
1037
- msgid "Extend Quota"
1038
- msgstr ""
1039
-
1040
- #: class/view/shortpixel_view.php:1033 wp-shortpixel.php:281
1041
- msgid "Check&nbsp;&nbsp;Quota"
1042
- msgstr ""
1043
-
1044
- #: class/view/shortpixel-list-table.php:15
1045
- msgid "Image"
1046
- msgstr ""
1047
-
1048
- #. singular name of the listed records
1049
- #: class/view/shortpixel-list-table.php:16
1050
- msgid "Images"
1051
- msgstr ""
1052
-
1053
- #. pe viitor. $columns['cb'] = '<input type="checkbox" />';
1054
- #: class/view/shortpixel-list-table.php:29
1055
- msgid "Filename"
1056
- msgstr ""
1057
-
1058
- #: class/view/shortpixel-list-table.php:30
1059
- msgid "Folder"
1060
- msgstr ""
1061
-
1062
- #: class/view/shortpixel-list-table.php:31
1063
- msgid "Type"
1064
- msgstr ""
1065
-
1066
- #: class/view/shortpixel-list-table.php:32
1067
- msgid "Status"
1068
- msgstr ""
1069
-
1070
- #: class/view/shortpixel-list-table.php:33
1071
- msgid "Options"
1072
- msgstr ""
1073
-
1074
- #: class/view/shortpixel-list-table.php:52
1075
- msgid "Optimize"
1076
- msgstr ""
1077
-
1078
- #: class/view/shortpixel-list-table.php:58
1079
- msgid "Restore"
1080
- msgstr ""
1081
-
1082
- #: class/view/shortpixel-list-table.php:61
1083
- msgid "Re-optimize lossless"
1084
- msgstr ""
1085
-
1086
- #: class/view/shortpixel-list-table.php:64
1087
- msgid "Re-optimize lossy"
1088
- msgstr ""
1089
-
1090
- #: class/view/shortpixel-list-table.php:67
1091
- msgid "Check quota"
1092
- msgstr ""
1093
-
1094
- #: class/view/shortpixel-list-table.php:68
1095
- msgid "View"
1096
- msgstr ""
1097
-
1098
- #: class/view/shortpixel-list-table.php:89
1099
- msgid "Restored"
1100
- msgstr ""
1101
-
1102
- #: class/view/shortpixel-list-table.php:103
1103
- msgid "code"
1104
- msgstr ""
1105
-
1106
- #: class/view/shortpixel-list-table.php:111
1107
- msgid "Lossy"
1108
- msgstr ""
1109
-
1110
- #: class/view/shortpixel-list-table.php:112
1111
- msgid "Keep EXIF"
1112
- msgstr ""
1113
-
1114
- #: class/view/shortpixel-list-table.php:113
1115
- msgid "Preserve CMYK"
1116
- msgstr ""
1117
-
1118
- #: class/view/shortpixel-list-table.php:122
1119
- msgid ""
1120
- "No images avaliable. Go to <a href=\"options-general.php?page=wp-"
1121
- "shortpixel#adv-settings\">Advanced Settings</a> to configure additional "
1122
- "folders to be optimized."
1123
- msgstr ""
1124
-
1125
- #: class/view/shortpixel-list-table.php:255
1126
- msgid "Show more details"
1127
- msgstr ""
1128
-
1129
- #: class/db/shortpixel-meta-facade.php:165
1130
- msgid "Error"
1131
- msgstr ""
1132
-
1133
- #: class/db/shortpixel-custom-meta-dao.php:187
1134
- msgid "Folder already added."
1135
- msgstr ""
1136
-
1137
- #: class/db/shortpixel-custom-meta-dao.php:191
1138
- #, php-format
1139
- msgid ""
1140
- "The %s folder cannot be processed as it's not inside the root path of your "
1141
- "website."
1142
- msgstr ""
1143
-
1144
- #: class/db/shortpixel-custom-meta-dao.php:200
1145
- msgid ""
1146
- "This folder contains Media Library images. To optimize Media Library images "
1147
- "please go to <a href=\"upload.php?mode=list\">Media Library list view</a> or "
1148
- "to <a href=\"upload.php?page=wp-short-pixel-bulk\">SortPixel Bulk page</a>."
1149
- msgstr ""
1150
-
1151
- #: class/db/shortpixel-custom-meta-dao.php:204
1152
- msgid "Inserted folder doesn't have an ID!"
1153
- msgstr ""
1154
-
1155
- #: class/db/shortpixel-custom-meta-dao.php:224
1156
- msgid ""
1157
- "This folder contains the ShortPixel Backups. Please select a different "
1158
- "folder."
1159
- msgstr ""
1160
-
1161
- #. var_dump($allFolders);
1162
- #: class/db/shortpixel-custom-meta-dao.php:247
1163
- #, php-format
1164
- msgid "Folder already included in %s."
1165
- msgstr ""
1166
-
1167
- #: class/db/shortpixel-custom-meta-dao.php:250
1168
- msgid "Folder does not exist."
1169
- msgstr ""
1170
-
1171
- #: class/model/shortpixel-folder.php:76 class/model/shortpixel-folder.php:149
1172
- #, php-format
1173
- msgid "Folder %s is not writeable. Please check permissions and try again."
1174
- msgstr ""
1175
-
1176
- #: wp-shortpixel.php:160
1177
- msgid "ShortPixel Settings"
1178
- msgstr ""
1179
-
1180
- #. translators: title and menu name for the Other media page
1181
- #: wp-shortpixel.php:166
1182
- msgid "Other Media Optimized by ShortPixel"
1183
- msgstr ""
1184
-
1185
- #: wp-shortpixel.php:166
1186
- msgid "Other Media"
1187
- msgstr ""
1188
-
1189
- #. translators: title and menu name for the Bulk Processing page
1190
- #: wp-shortpixel.php:169
1191
- msgid "ShortPixel Bulk Process"
1192
- msgstr ""
1193
-
1194
- #: wp-shortpixel.php:169
1195
- msgid "Bulk ShortPixel"
1196
- msgstr ""
1197
-
1198
- #: wp-shortpixel.php:216
1199
- msgid "Media alert dismissed"
1200
- msgstr ""
1201
-
1202
- #: wp-shortpixel.php:269
1203
- msgid "Optimize with ShortPixel"
1204
- msgstr ""
1205
-
1206
- #: wp-shortpixel.php:270
1207
- msgid ""
1208
- "In order to access the ShortPixel Optimization actions and info, please "
1209
- "change to {0}List View{1}List View{2}Dismiss{3}"
1210
- msgstr ""
1211
-
1212
- #: wp-shortpixel.php:271
1213
- msgid ""
1214
- "This type of optimization will apply to new uploaded images.\\nImages that "
1215
- "were already processed will not be re-optimized unless you restart the bulk "
1216
- "process."
1217
- msgstr ""
1218
-
1219
- #: wp-shortpixel.php:272
1220
- msgid "Are you sure you want to stop optimizing the folder {0}?"
1221
- msgstr ""
1222
-
1223
- #: wp-shortpixel.php:275
1224
- msgid "+{0} thumbnails optimized"
1225
- msgstr ""
1226
-
1227
- #: wp-shortpixel.php:276
1228
- msgid "Optimize {0} thumbnails"
1229
- msgstr ""
1230
-
1231
- #: wp-shortpixel.php:277
1232
- msgid "Reoptimize {0}"
1233
- msgstr ""
1234
-
1235
- #: wp-shortpixel.php:279
1236
- msgid "Get API Key"
1237
- msgstr ""
1238
-
1239
- #: wp-shortpixel.php:283
1240
- msgid "This content is not processable."
1241
- msgstr ""
1242
-
1243
- #: wp-shortpixel.php:284
1244
- msgid "Image waiting to optimize thumbnails"
1245
- msgstr ""
1246
-
1247
- #. translators: toolbar icon tooltip
1248
- #: wp-shortpixel.php:297
1249
- msgid "ShortPixel optimizing..."
1250
- msgstr ""
1251
-
1252
- #. translators: toolbar icon tooltip
1253
- #: wp-shortpixel.php:308
1254
- msgid "ShortPixel quota exceeded. Click for details."
1255
- msgstr ""
1256
-
1257
- #: wp-shortpixel.php:564
1258
- msgid "Missing API Key"
1259
- msgstr ""
1260
-
1261
- #. translators: console message Empty queue 1234 -> 1234
1262
- #: wp-shortpixel.php:614
1263
- msgid "Empty queue "
1264
- msgstr ""
1265
-
1266
- #: wp-shortpixel.php:740
1267
- msgid " Retry limit reached. Skipping file ID "
1268
- msgstr ""
1269
-
1270
- #: wp-shortpixel.php:835
1271
- msgid "NextGen image not found"
1272
- msgstr ""
1273
-
1274
- #: wp-shortpixel.php:1004 wp-shortpixel.php:1018
1275
- msgid "Could not restore from backup: "
1276
- msgstr ""
1277
-
1278
- #: wp-shortpixel.php:1037
1279
- msgid "No thumbnails to optimize for ID: "
1280
- msgstr ""
1281
-
1282
- #: wp-shortpixel.php:1037
1283
- msgid "Please optimize image for ID: "
1284
- msgstr ""
1285
-
1286
- #: wp-shortpixel.php:1142
1287
- msgid "Refresh custom folders content"
1288
- msgstr ""
1289
-
1290
- #: wp-shortpixel.php:1143
1291
- msgid "Refresh folders"
1292
- msgstr ""
1293
-
1294
- #: wp-shortpixel.php:1146
1295
- msgid "Other Media optimized by ShortPixel"
1296
- msgstr ""
1297
-
1298
- #: wp-shortpixel.php:1322 wp-shortpixel.php:1413
1299
- msgid "You do not have sufficient permissions to access this page."
1300
- msgstr ""
1301
-
1302
- #: wp-shortpixel.php:1451
1303
- #, php-format
1304
- msgid ""
1305
- "The key you provided has %s characters. The API key should have 20 "
1306
- "characters, letters and numbers only."
1307
- msgstr ""
1308
-
1309
- #: wp-shortpixel.php:1453
1310
- msgid ""
1311
- "Please check that the API key is the same as the one you received in your "
1312
- "confirmation email."
1313
- msgstr ""
1314
-
1315
- #: wp-shortpixel.php:1455
1316
- msgid "If this problem persists, please contact us at "
1317
- msgstr ""
1318
-
1319
- #: wp-shortpixel.php:1457
1320
- msgid " or "
1321
- msgstr ""
1322
-
1323
- #: wp-shortpixel.php:1475
1324
- msgid ""
1325
- "API Key is valid but your site is not accessible from our servers. Please "
1326
- "make sure that your server is accessible from the Internet before using the "
1327
- "API or otherwise we won't be able to optimize them."
1328
- msgstr ""
1329
-
1330
- #: wp-shortpixel.php:1478
1331
- msgid ""
1332
- "API Key valid! <br>You seem to be running a multisite, please note that API "
1333
- "Key can also be configured in wp-config.php like this:"
1334
- msgstr ""
1335
-
1336
- #: wp-shortpixel.php:1481
1337
- msgid "API Key valid!"
1338
- msgstr ""
1339
-
1340
- #: wp-shortpixel.php:1488
1341
- #, php-format
1342
- msgid ""
1343
- "There is something preventing us to create a new folder for backing up your "
1344
- "original files.<BR>Please make sure that folder <b>%s</b> has the necessary "
1345
- "write and read rights."
1346
- msgstr ""
1347
-
1348
- #: wp-shortpixel.php:1536
1349
- msgid "Folder added successfully."
1350
- msgstr ""
1351
-
1352
- #: wp-shortpixel.php:1712
1353
- msgid ""
1354
- "API Key could not be validated due to a connectivity error.<BR>Your firewall "
1355
- "may be blocking us. Please contact your hosting provider and ask them to "
1356
- "allow connections from your site to IP 176.9.106.46.<BR> If you still cannot "
1357
- "validate your API Key after this, please <a href=\"https://shortpixel.com/"
1358
- "contact\" target=\"_blank\">contact us</a> and we will try to help. "
1359
- msgstr ""
1360
-
1361
- #: wp-shortpixel.php:1713 wp-shortpixel.php:1714
1362
- msgid "Information unavailable. Please check your API key."
1363
- msgstr ""
1364
-
1365
- #: wp-shortpixel.php:1789
1366
- msgid "PDF not processed."
1367
- msgstr ""
1368
-
1369
- #: wp-shortpixel.php:1820 wp-shortpixel.php:1822
1370
- msgid "Cannot write optimized file"
1371
- msgstr ""
1372
-
1373
- #: wp-shortpixel.php:1823
1374
- msgid "Why?"
1375
- msgstr ""
1376
-
1377
- #: wp-shortpixel.php:1831
1378
- msgid "Image does not exist"
1379
- msgstr ""
1380
-
1381
- #: wp-shortpixel.php:1835
1382
- msgid "Image waiting to be processed."
1383
- msgstr ""
1384
-
1385
- #: wp-shortpixel.php:1853
1386
- msgid "ShortPixel Statistics"
1387
- msgstr ""
1388
-
1389
- #: wp-shortpixel.php:1871
1390
- msgid "ShortPixel Compression"
1391
- msgstr ""
1392
-
1393
- #: shortpixel_api.php:142
1394
- msgid "The file(s) do not exist on disk."
1395
- msgstr ""
1396
-
1397
- #: shortpixel_api.php:157 shortpixel_api.php:168
1398
- msgid "Timed out while processing."
1399
- msgstr ""
1400
-
1401
- #: shortpixel_api.php:161
1402
- msgid "Image ID"
1403
- msgstr ""
1404
-
1405
- #: shortpixel_api.php:161
1406
- msgid "Media ID"
1407
- msgstr ""
1408
-
1409
- #: shortpixel_api.php:162
1410
- msgid "Skip this image, try the next one."
1411
- msgstr ""
1412
-
1413
- #. send requests to API
1414
- #. response <> 200 -> there was an error apparently?
1415
- #: shortpixel_api.php:179 shortpixel_api.php:212 shortpixel_api.php:215
1416
- msgid "There was an error and your request was not processed."
1417
- msgstr ""
1418
-
1419
- #: shortpixel_api.php:231
1420
- msgid "Unecognized API response. Please contact support."
1421
- msgstr ""
1422
-
1423
- #: shortpixel_api.php:238
1424
- msgid "Quota exceeded."
1425
- msgstr ""
1426
-
1427
- #: shortpixel_api.php:326
1428
- msgid "Error downloading file"
1429
- msgstr ""
1430
-
1431
- #: shortpixel_api.php:334
1432
- #, php-format
1433
- msgid ""
1434
- "Error downloading file - incorrect file size (downloaded: %s, correct: %s )"
1435
- msgstr ""
1436
-
1437
- #: shortpixel_api.php:337
1438
- msgid "Unable to locate downloaded file"
1439
- msgstr ""
1440
-
1441
- #. array with final paths for these files
1442
- #. creates backup folder if it doesn't exist
1443
- #: shortpixel_api.php:399
1444
- msgid "Backup folder does not exist and it cannot be created"
1445
- msgstr ""
1446
-
1447
- #. file couldn't be saved in backup folder
1448
- #: shortpixel_api.php:419
1449
- #, php-format
1450
- msgid "Cannot save file <i>%s</i> in backup directory"
1451
- msgstr ""
1452
-
1453
- #. cannot write to the backup dir, return with an error
1454
- #: shortpixel_api.php:428
1455
- msgid "Cannot save file in backup directory"
1456
- msgstr ""
1457
-
1458
- #: shortpixel_api.php:491
1459
- #, php-format
1460
- msgid "Optimized version of %s file(s) couldn't be updated."
1461
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: image optimizer, image optimization, compress pdf, compress jpeg, compress
5
 
6
  Requires at least: 3.2.0
7
  Tested up to: 4.7
8
- Stable tag: 4.2.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -26,7 +26,7 @@ Make an instant <a rel="friend" href="http://shortpixel.com/image-compression-te
26
 
27
  **Why is ShortPixel the best choice when it comes to image optimization or PDF compression?**
28
 
29
- * popular plugin with over 20,000 active installations according to WordPress
30
  * compress JPG, PNG, GIF (still or animated) images and also PDF documents
31
  * no file size limit
32
  * option to freely convert any JPEG, PNG or GIF (even animated ones!) to **WebP** for more Google love. <a rel="friend" href="http://blog.shortpixel.com/how-webp-images-can-speed-up-your-site/" target="_blank">How to enable WebP?</a>
@@ -192,6 +192,23 @@ The ShortPixel team is here to help. <a href="https://shortpixel.com/contact">Co
192
 
193
  == Changelog ==
194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  = 4.2.1 =
196
 
197
  * meta box in Media Library image editing form with informations about optimization status and results
5
 
6
  Requires at least: 3.2.0
7
  Tested up to: 4.7
8
+ Stable tag: 4.2.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
26
 
27
  **Why is ShortPixel the best choice when it comes to image optimization or PDF compression?**
28
 
29
+ * popular plugin with over 30,000 active installations according to WordPress
30
  * compress JPG, PNG, GIF (still or animated) images and also PDF documents
31
  * no file size limit
32
  * option to freely convert any JPEG, PNG or GIF (even animated ones!) to **WebP** for more Google love. <a rel="friend" href="http://blog.shortpixel.com/how-webp-images-can-speed-up-your-site/" target="_blank">How to enable WebP?</a>
192
 
193
  == Changelog ==
194
 
195
+ = 4.2.2 =
196
+
197
+ * offer to generate the API key directly from ShortPixel settings.
198
+ * alert and explain why is not allowed to specify a size less than 1024 when resizing.
199
+ * fix metadata for missing thumbs while optimizing.
200
+ * button Cleanup&Retry for images that have missing thumbnails.
201
+ * display what thumbnails are missing.
202
+ * for Windows platforms, do not check the local path to start with a slash
203
+ * fix optimization for images that contain '+' in the path
204
+ * use different styles for bulk boxes instead of the notice class
205
+ * properly display from the start the number of images to be optimized on the bulk button, when thumbnails are not selected.
206
+ * fix for sites that have admin urls with a doubled slash like wp-admin//uploads.php
207
+ * fix JS error on bulk finished page and new images optimizing
208
+ * fix bulk hangup when encountering a block of more than 900 wp_postmeta lines that are not image metadata.
209
+ * fix for cases when the wp-content path returned by wordpress contains backpath items (like wp/../wp-content)
210
+ * fix not saving advanced settings on "Save and go to Bulk" button.
211
+
212
  = 4.2.1 =
213
 
214
  * meta box in Media Library image editing form with informations about optimization status and results
res/css/short-pixel.css CHANGED
@@ -16,15 +16,37 @@ div.fb-like {
16
  .wp-core-ui .button.remove-folder-button {
17
  min-width: 120px;
18
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  div.short-pixel-bulk-page input.dial {
20
  font-size: 16px !important;
21
  }
22
  div.short-pixel-bulk-page h1 {
23
  margin-bottom:20px;
24
  }
25
- div.bulk-progress h2 {
26
  margin-top:0;
27
  margin-bottom: 10px;
 
 
 
 
28
  }
29
  div.bulk-progress .bulk-progress-indicator,
30
  div.sp-quota-exceeded-alert .bulk-progress-indicator {
16
  .wp-core-ui .button.remove-folder-button {
17
  min-width: 120px;
18
  }
19
+ .sp-notice {
20
+ background: #fff;
21
+ border-left: 4px solid #fff;
22
+ -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
23
+ box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
24
+ padding: 1px 12px;
25
+ }
26
+ @media(max-width: 1249px) {
27
+ .sp-notice {
28
+ margin: 5px 15px 2px;
29
+ }
30
+ }
31
+ .sp-notice-info {
32
+ border-left-color: #00a0d2;
33
+ }
34
+ .sp-notice-success {
35
+ border-left-color: #46b450;
36
+ }
37
  div.short-pixel-bulk-page input.dial {
38
  font-size: 16px !important;
39
  }
40
  div.short-pixel-bulk-page h1 {
41
  margin-bottom:20px;
42
  }
43
+ div.bulk-progress div.sp-h2 {
44
  margin-top:0;
45
  margin-bottom: 10px;
46
+ font-size: 23px;
47
+ font-weight: 400;
48
+ padding: 9px 15px 4px 0;
49
+ line-height: 29px;
50
  }
51
  div.bulk-progress .bulk-progress-indicator,
52
  div.sp-quota-exceeded-alert .bulk-progress-indicator {
res/js/short-pixel.js CHANGED
@@ -38,6 +38,10 @@ var ShortPixel = function() {
38
  }
39
  }
40
 
 
 
 
 
41
  function validateKey(){
42
  jQuery('#valid').val('validate');
43
  jQuery('#wp_shortpixel_options').submit();
@@ -69,12 +73,32 @@ var ShortPixel = function() {
69
  }
70
  ShortPixel.enableResize("#resize");
71
  jQuery("#resize").change(function(){ enableResize(this); });
72
- jQuery("#width").blur(function(){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  jQuery(this).val(Math.max(minWidth, parseInt(jQuery(this).val())));
74
  });
75
- jQuery("#height").blur(function(){
76
  jQuery(this).val(Math.max(minHeight, parseInt(jQuery(this).val())));
77
- });
 
78
  }
79
 
80
  function setupAdvancedTab() {
@@ -294,6 +318,7 @@ var ShortPixel = function() {
294
 
295
  return {
296
  setOptions : setOptions,
 
297
  validateKey : validateKey,
298
  enableResize : enableResize,
299
  setupGeneralTab : setupGeneralTab,
@@ -382,8 +407,9 @@ function checkQuotaExceededAlert() {
382
  * calls itself until receives an Empty queue message
383
  */
384
  function checkBulkProgress() {
385
- var url = window.location.href.toLowerCase();
386
- var adminUrl = ShortPixel.WP_ADMIN_URL.toLowerCase();
 
387
  if( url.search(adminUrl + "upload.php") < 0
388
  && url.search(adminUrl + "edit.php") < 0
389
  && url.search(adminUrl + "edit-tags.php") < 0
@@ -460,7 +486,7 @@ function checkBulkProcessingCallApi(){
460
  ShortPixel.otherMediaUpdateActions(id, ['quota','view']);
461
  break;
462
  case ShortPixel.STATUS_FAIL:
463
- setCellMessage(id, data["Message"], "<a class='button button-smaller button-primary' href=\"javascript:manualOptimization('<?php echo($id)?>')\">"
464
  + _spTr.retry + "</a>");
465
  if(isBulkPage) {
466
  ShortPixel.bulkShowError(id, data["Message"], data["Filename"], data["CustomImageLink"]);
@@ -579,12 +605,12 @@ function setCellMessage(id, message, actions){
579
  }
580
  }
581
 
582
- function manualOptimization(id) {
583
  setCellMessage(id, "<img src='" + ShortPixel.WP_PLUGIN_URL + "/res/img/loading.gif' class='sp-loading-small'>Image waiting to be processed", "");
584
  jQuery("li.shortpixel-toolbar-processing").removeClass("shortpixel-hide");
585
  jQuery("li.shortpixel-toolbar-processing").addClass("shortpixel-processing");
586
  var data = { action : 'shortpixel_manual_optimization',
587
- image_id: id};
588
  jQuery.get(ShortPixel.AJAX_URL, data, function(response) {
589
  data = JSON.parse(response);
590
  if(data["Status"] == ShortPixel.STATUS_SUCCESS) {
@@ -692,6 +718,9 @@ function progressUpdate(percent, message) {
692
 
693
  function sliderUpdate(id, thumb, bkThumb, percent, filename){
694
  var oldSlide = jQuery(".bulk-slider div.bulk-slide:first-child");
 
 
 
695
  if(oldSlide.attr("id") != "empty-slide") {
696
  oldSlide.hide();
697
  }
38
  }
39
  }
40
 
41
+ function updateSignupEmail() {
42
+ jQuery('#request_key').attr('href', jQuery('#request_key').attr('href').split('?')[0] + '?pluginemail=' + jQuery('#pluginemail').val());
43
+ }
44
+
45
  function validateKey(){
46
  jQuery('#valid').val('validate');
47
  jQuery('#wp_shortpixel_options').submit();
73
  }
74
  ShortPixel.enableResize("#resize");
75
  jQuery("#resize").change(function(){ enableResize(this); });
76
+ jQuery(".resize-sizes").blur(function(e){
77
+ var elm = jQuery(this);
78
+ var minSize = jQuery("#min-" + elm.attr('name')).val();
79
+ if(elm.val() < Math.min(minSize, 1024)) {
80
+ if(minSize > 1024) {
81
+ alert( _spTr.pleaseDoNotSetLesser1024.format(elm.attr('name')) );
82
+ } else {
83
+ alert( _spTr.pleaseDoNotSetLesserSize.format(elm.attr('name'), elm.attr('name'), minSize) );
84
+ }
85
+ e.preventDefault();
86
+ elm.val(this.defaultValue);
87
+ elm.focus();
88
+ }
89
+ else {
90
+ this.defaultValue = elm.val();
91
+ }
92
+
93
+ });
94
+ /*
95
+ jQuery("#width").blur(function(e){
96
  jQuery(this).val(Math.max(minWidth, parseInt(jQuery(this).val())));
97
  });
98
+ jQuery("#height").blur(function(e){
99
  jQuery(this).val(Math.max(minHeight, parseInt(jQuery(this).val())));
100
+ });
101
+ */
102
  }
103
 
104
  function setupAdvancedTab() {
318
 
319
  return {
320
  setOptions : setOptions,
321
+ updateSignupEmail : updateSignupEmail,
322
  validateKey : validateKey,
323
  enableResize : enableResize,
324
  setupGeneralTab : setupGeneralTab,
407
  * calls itself until receives an Empty queue message
408
  */
409
  function checkBulkProgress() {
410
+ //the replace stands for malformed urls on some sites, like wp-admin//upload.php which are accepted by the browser.
411
+ var url = window.location.href.toLowerCase().replace(/\/\//g , "/");
412
+ var adminUrl = ShortPixel.WP_ADMIN_URL.toLowerCase().replace(/\/\//g , "/");
413
  if( url.search(adminUrl + "upload.php") < 0
414
  && url.search(adminUrl + "edit.php") < 0
415
  && url.search(adminUrl + "edit-tags.php") < 0
486
  ShortPixel.otherMediaUpdateActions(id, ['quota','view']);
487
  break;
488
  case ShortPixel.STATUS_FAIL:
489
+ setCellMessage(id, data["Message"], "<a class='button button-smaller button-primary' href=\"javascript:manualOptimization('<?php echo($id)?>', false)\">"
490
  + _spTr.retry + "</a>");
491
  if(isBulkPage) {
492
  ShortPixel.bulkShowError(id, data["Message"], data["Filename"], data["CustomImageLink"]);
605
  }
606
  }
607
 
608
+ function manualOptimization(id, cleanup) {
609
  setCellMessage(id, "<img src='" + ShortPixel.WP_PLUGIN_URL + "/res/img/loading.gif' class='sp-loading-small'>Image waiting to be processed", "");
610
  jQuery("li.shortpixel-toolbar-processing").removeClass("shortpixel-hide");
611
  jQuery("li.shortpixel-toolbar-processing").addClass("shortpixel-processing");
612
  var data = { action : 'shortpixel_manual_optimization',
613
+ image_id: id, cleanup: cleanup};
614
  jQuery.get(ShortPixel.AJAX_URL, data, function(response) {
615
  data = JSON.parse(response);
616
  if(data["Status"] == ShortPixel.STATUS_SUCCESS) {
718
 
719
  function sliderUpdate(id, thumb, bkThumb, percent, filename){
720
  var oldSlide = jQuery(".bulk-slider div.bulk-slide:first-child");
721
+ if(oldSlide.length === 0) {
722
+ return;
723
+ }
724
  if(oldSlide.attr("id") != "empty-slide") {
725
  oldSlide.hide();
726
  }
shortpixel_api.php CHANGED
@@ -141,8 +141,14 @@ class ShortPixelAPI {
141
  //#$meta = wp_get_attachment_metadata($ID);
142
 
143
  $PATHs = self::CheckAndFixImagePaths($PATHs);//check for images to make sure they exist on disk
144
- if ( $PATHs === false ) {
145
- $msg = __('The file(s) do not exist on disk.','shortpixel-image-optimiser');
 
 
 
 
 
 
146
  $itemHandler->setError(self::ERR_FILE_NOT_FOUND, $msg );
147
  return array("Status" => self::STATUS_SKIP, "Message" => $msg, "Silent" => $itemHandler->getType() == ShortPixelMetaFacade::CUSTOM_TYPE ? 1 : 0);
148
  }
@@ -571,6 +577,7 @@ class ShortPixelAPI {
571
  $TmpCount = count($Tmp);
572
  $StichString = $Tmp[$TmpCount-2] . "/" . $Tmp[$TmpCount-1];
573
  //files exist on disk?
 
574
  foreach ( $PATHs as $Id => $File )
575
  {
576
  //we try again with a different path
@@ -580,13 +587,14 @@ class ShortPixelAPI {
580
  if (file_exists($NewFile)) {
581
  $PATHs[$Id] = $NewFile;
582
  } else {
 
583
  $ErrorCount++;
584
  }
585
  }
586
  }
587
 
588
  if ( $ErrorCount > 0 ) {
589
- return false;
590
  } else {
591
  return $PATHs;
592
  }
141
  //#$meta = wp_get_attachment_metadata($ID);
142
 
143
  $PATHs = self::CheckAndFixImagePaths($PATHs);//check for images to make sure they exist on disk
144
+ if ( $PATHs === false || isset($PATHs['error'])) {
145
+ $missingFiles = '';
146
+ if(isset($PATHs['error'])) {
147
+ foreach($PATHs['error'] as $errPath) {
148
+ $missingFiles .= (strlen($missingFiles) ? ', ':'') . basename(stripslashes($errPath));
149
+ }
150
+ }
151
+ $msg = __('The file(s) do not exist on disk: ','shortpixel-image-optimiser') . $missingFiles;
152
  $itemHandler->setError(self::ERR_FILE_NOT_FOUND, $msg );
153
  return array("Status" => self::STATUS_SKIP, "Message" => $msg, "Silent" => $itemHandler->getType() == ShortPixelMetaFacade::CUSTOM_TYPE ? 1 : 0);
154
  }
577
  $TmpCount = count($Tmp);
578
  $StichString = $Tmp[$TmpCount-2] . "/" . $Tmp[$TmpCount-1];
579
  //files exist on disk?
580
+ $missingFiles = array();
581
  foreach ( $PATHs as $Id => $File )
582
  {
583
  //we try again with a different path
587
  if (file_exists($NewFile)) {
588
  $PATHs[$Id] = $NewFile;
589
  } else {
590
+ $missingFiles[] = $File;
591
  $ErrorCount++;
592
  }
593
  }
594
  }
595
 
596
  if ( $ErrorCount > 0 ) {
597
+ return array("error" => $missingFiles);//false;
598
  } else {
599
  return $PATHs;
600
  }
shortpixel_view.php DELETED
@@ -1,705 +0,0 @@
1
- <?php
2
-
3
- class ShortPixelView {
4
-
5
- private $ctrl;
6
-
7
- public function __construct($controller) {
8
- $this->ctrl = $controller;
9
- }
10
-
11
- //handling older
12
- public function ShortPixelView($controller) {
13
- $this->__construct($controller);
14
- }
15
-
16
- public function displayQuotaExceededAlert($quotaData)
17
- { ?>
18
- <br/>
19
- <div class="wrap sp-quota-exceeded-alert">
20
- <h3>Quota Exceeded</h3>
21
- <p>The plugin has optimized <strong><?php echo(number_format($quotaData['APICallsMadeNumeric'] + $quotaData['APICallsMadeOneTimeNumeric']));?> images</strong> and stopped because it reached the available quota limit.
22
- <?php if($quotaData['totalProcessedFiles'] < $quotaData['totalFiles']) { ?>
23
- <strong><?php echo(number_format($quotaData['mainFiles'] - $quotaData['mainProcessedFiles']));?> images and
24
- <?php echo(number_format(($quotaData['totalFiles'] - $quotaData['mainFiles']) - ($quotaData['totalProcessedFiles'] - $quotaData['mainProcessedFiles'])));?> thumbnails</strong> are not yet optimized by ShortPixel.
25
- <?php } ?></p>
26
- <div> <!-- style='float:right;margin-top:20px;'> -->
27
- <a class='button button-primary' href='https://shortpixel.com/login/<?php echo($this->ctrl->getApiKey());?>' target='_blank'>Upgrade</a>
28
- <input type='button' name='checkQuota' class='button' value='Confirm New Quota' onclick="javascript:window.location.reload();">
29
- </div>
30
- <!-- <p>It’s simple to upgrade, just <a href='https://shortpixel.com/login/<?php echo($this->ctrl->getApiKey());?>' target='_blank'>log into your account</a> and see the available options.
31
- You can immediately start processing 5,000 images/month for &#36;4,99, choose another plan that suits you or <a href='https://shortpixel.com/contact' target='_blank'>contact us</a> for larger compression needs.</p> -->
32
- <p>Get more image credits by referring ShortPixel to your friends! <a href="https://shortpixel.com/login/<?php echo($this->ctrl->getApiKey());?>/tell-a-friend" target="_blank">Check your account</a> for your unique referral link. For each user that joins, you will receive +100 additional image credits/month.</p>
33
-
34
- </div> <?php
35
- }
36
-
37
- public static function displayApiKeyAlert()
38
- { ?>
39
- <p>In order to start the optimization process, you need to validate your API Key in the <a href="options-general.php?page=wp-shortpixel">ShortPixel Settings</a> page in your WordPress Admin.</p>
40
- <p>If you don’t have an API Key, you can get one delivered to your inbox, for free.</p>
41
- <p>Please <a href="https://shortpixel.com/wp-apikey" target="_blank">sign up</a> to get your API key.</p>
42
- <?php
43
- }
44
-
45
- public static function displayActivationNotice($when = 'activate') { ?>
46
- <div class='notice notice-warning' id='short-pixel-notice-<?php echo($when);?>'>
47
- <?php if($when != 'activate') { ?>
48
- <div style="float:right;"><a href="javascript:dismissShortPixelNotice('<?php echo($when);?>')" class="button" style="margin-top:10px;">Dismiss</a></div>
49
- <?php } ?>
50
- <h3>ShortPixel Optimization</h3> <?php
51
- switch($when) {
52
- case '2h' :
53
- echo "Action needed. Please <a href='https://shortpixel.com/wp-apikey' target='_blank'>get your API key</a> to activate your ShortPixel plugin.<BR><BR>";
54
- break;
55
- case '3d':
56
- echo "Your image gallery is not optimized. It takes 2 minutes to <a href='https://shortpixel.com/wp-apikey' target='_blank'>get your API key</a> and activate your ShortPixel plugin.<BR><BR>";
57
- break;
58
- case 'activate':
59
- self::displayApiKeyAlert();
60
- break;
61
- }
62
- ?>
63
- </div>
64
- <?php
65
- }
66
-
67
- public function displayBulkProcessingForm($quotaData, $thumbsProcessedCount, $under5PercentCount, $bulkRan, $averageCompression, $filesOptimized, $savedSpace, $percent) {
68
- ?>
69
- <div class="wrap short-pixel-bulk-page">
70
- <h1>Bulk Image Optimization by ShortPixel</h1>
71
- <?php
72
- if ( !$bulkRan ) {
73
- ?>
74
- <form class='start' action='' method='POST' id='startBulk'>
75
- <input type='hidden' id='mainToProcess' value='<?php echo($quotaData['mainFiles'] - $quotaData['mainProcessedFiles']);?>'/>
76
- <input type='hidden' id='totalToProcess' value='<?php echo($quotaData['totalFiles'] - $quotaData['totalProcessedFiles']);?>'/>
77
- <div class="bulk-stats-container">
78
- <h3 style='margin-top:0;'>Your image library</h3>
79
- <div class="bulk-label">Original images</div>
80
- <div class="bulk-val"><?php echo(number_format($quotaData['mainFiles']));?></div><br>
81
- <div class="bulk-label">Smaller thumbnails</div>
82
- <div class="bulk-val"><?php echo(number_format($quotaData['totalFiles'] - $quotaData['mainFiles']));?></div>
83
- <div style='width:165px; display:inline-block; padding-left: 5px'>
84
- <input type='checkbox' id='thumbnails' name='thumbnails' onclick='ShortPixel.checkThumbsUpdTotal(this)' <?php echo($this->ctrl->processThumbnails() ? "checked":"");?>> Include thumbnails
85
- </div><br>
86
- <?php if($quotaData["totalProcessedFiles"] > 0) { ?>
87
- <div class="bulk-label bulk-total">Total images</div>
88
- <div class="bulk-val bulk-total"><?php echo(number_format($quotaData['totalFiles']));?></div>
89
- <br><div class="bulk-label">Already optimized originals</div>
90
- <div class="bulk-val"><?php echo(number_format($quotaData['mainProcessedFiles']));?></div><br>
91
- <div class="bulk-label">Already optimized thumbnails</div>
92
- <div class="bulk-val"><?php echo(number_format($quotaData['totalProcessedFiles'] - $quotaData['mainProcessedFiles']));?></div><br>
93
- <?php } ?>
94
- <div class="bulk-label bulk-total">Total to be optimized</div>
95
- <div class="bulk-val bulk-total" id='displayTotal'><?php echo(number_format($quotaData['totalFiles'] - $quotaData['totalProcessedFiles']));?></div>
96
- </div>
97
- <?php if($quotaData['totalFiles'] - $quotaData['totalProcessedFiles'] > 0) { ?>
98
- <div class="bulk-play">
99
- <input type='hidden' name='bulkProcess' id='bulkProcess' value='Start Optimizing'/>
100
- <a href='javascript:void();' onclick="document.getElementById('startBulk').submit();" class='button'>
101
- <div style="width: 320px">
102
- <div class="bulk-btn-img" class="bulk-btn-img">
103
- <img src='https://shortpixel.com/img/robo-slider.png'/>
104
- </div>
105
- <div class="bulk-btn-txt">
106
- <span class="label">Start Optimizing</span><br>
107
- <span class='total'><?php echo(number_format($quotaData['totalFiles'] - $quotaData['totalProcessedFiles']));?></span> images
108
- </div>
109
- <div class="bulk-btn-img" class="bulk-btn-img">
110
- <img src='<?php echo(plugins_url( 'img/arrow.png', __FILE__ ));?>'/>
111
- </div>
112
- </div>
113
- </a>
114
- </div>
115
- <?php } else {?>
116
- <div class="bulk-play">
117
- Nothing to optimize! The images that you add to Media Gallery will be automatically optimized after upload.
118
- </div>
119
- <?php } ?>
120
- </form>
121
- <div class='shortpixel-clearfix'></div>
122
- <div class="bulk-wide">
123
- <h3 style='font-size: 1.1em; font-weight: bold;'>In order for the optimization to run, you must keep this page open and your computer running. If you close the page for whatever reason, just turn back to it and the bulk process will resume.</h3>
124
- </div>
125
- <div class='shortpixel-clearfix'></div>
126
- <div class="bulk-text-container">
127
- <h3>What are Thumbnails?</h3>
128
- <p>Thumbnails are smaller images generated by your WP theme. Most themes generate between 3 and 6 thumbnails for each Media Library image.</p>
129
- <p>The thumbnails also generate traffic on your website pages and they influence your website's speed.</p>
130
- <p>It's highly recommended that you include thumbnails in the optimization as well.</p>
131
- </div>
132
- <div class="bulk-text-container" style="padding-right:0">
133
- <h3>How does it work?</h3>
134
- <p>The plugin processes images starting with the newest ones you uploaded in your Media Library.</p>
135
- <p>You will be able to pause the process anytime.</p>
136
- <p><?php echo($this->ctrl->backupImages() ? "<p>Your original images will be stored in a separate back-up folder.</p>" : "");?></p>
137
- <p>You can watch the images being processed live, right here, after you start optimizing.</p>
138
- </div>
139
- <?php
140
- } elseif($percent) // bulk is paused
141
- { ?>
142
- <p>Bulk processing is paused until you resume the optimization process.</p>
143
- <?php echo($this->displayBulkProgressBar(false, $percent, ""));?>
144
- <p>Please see below the optimization status so far:</p>
145
- <?php $this->displayBulkStats($quotaData['totalProcessedFiles'], $quotaData['mainProcessedFiles'], $under5PercentCount, $averageCompression, $savedSpace);?>
146
- <?php if($quotaData['totalProcessedFiles'] < $quotaData['totalFiles']) { ?>
147
- <p><?php echo(number_format($quotaData['mainFiles'] - $quotaData['mainProcessedFiles']));?> images and
148
- <?php echo(number_format(($quotaData['totalFiles'] - $quotaData['mainFiles']) - ($quotaData['totalProcessedFiles'] - $quotaData['mainProcessedFiles'])));
149
- ?> thumbnails are not yet optimized by ShortPixel.</p>
150
- <?php } ?>
151
- <p>You can continue optimizing your Media Gallery from where you left, by clicking the Resume processing button. Already optimized images will not be reprocessed.</p>
152
- <?php
153
- } else { ?>
154
- <div class='notice notice-success'>
155
- <p style='display:inline-block;'>Congratulations, your media library has been successfully optimized!<br>Share your optimization results on Twitter:
156
- </p>
157
- <div style='display:inline-block;margin-left: 20px;'>
158
- <a href="https://twitter.com/share" class="twitter-share-button" data-url="https://shortpixel.com"
159
- data-text="I just optimized my images<?php echo(0+$averageCompression>20 ? " by ".round($averageCompression) ."%" : "");?><?php echo(false && (0+$savedSpace>0) ? " saving $savedSpace" : "");?> with @ShortPixel, a great plugin for increasing #WordPress page speed:" data-size='large'>Tweet</a>
160
- <script>
161
- !function(d,s,id){//Just optimized my site with ShortPixel image optimization plugin
162
- var js,
163
- fjs=d.getElementsByTagName(s)[0],
164
- p=/^http:/.test(d.location)?'http':'https';
165
- if(!d.getElementById(id)){js=d.createElement(s);
166
- js.id=id;js.src=p+'://platform.twitter.com/widgets.js';
167
- fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
168
- </script>
169
- </div>
170
- <?php if(0+$averageCompression>30) {?>
171
- <div class='shortpixel-rate-us'>
172
- <a href="https://wordpress.org/support/view/plugin-reviews/shortpixel-image-optimiser?rate=5#postform" target="_blank">
173
- <div>
174
- Please rate us!&nbsp;
175
- </div><img src="<?php echo(plugins_url( 'img/stars.png', __FILE__ ));?>">
176
- </a>
177
- </div>
178
- <?php } ?>
179
- </div>
180
- <?php $this->displayBulkStats($quotaData['totalProcessedFiles'], $quotaData['mainProcessedFiles'], $under5PercentCount, $averageCompression, $savedSpace);?>
181
- <p>Go to the ShortPixel <a href='<?php echo(get_admin_url());?>options-general.php?page=wp-shortpixel#stats'>Stats</a> and see all your websites' optimized stats. Download your detailed <a href="https://api.shortpixel.com/v2/report.php?key=<?php echo($this->ctrl->getApiKey());?>">Optimization Report</a> to check your image optimization statistics for the last 40 days.</p>
182
- <?php
183
- $failed = $this->ctrl->getPrioQ()->getFailed();
184
- if(count($failed)) { ?>
185
- <div class="bulk-progress" style="margin-bottom: 15px">
186
- <p>
187
- The following images could not be processed because of their limited write rights. This usually happens if you have changed your hosting provider. Please restart the optimization process after you granted write rights to all the files below.
188
- </p>
189
- <?php $this->displayFailed($failed); ?>
190
- </div>
191
- <?php } ?>
192
- <div class="bulk-progress">
193
- <?php
194
- $todo = $reopt = false;
195
- if($quotaData['totalProcessedFiles'] < $quotaData['totalFiles']) {
196
- $todo = true;
197
- $mainNotProcessed = $quotaData['mainFiles'] - $quotaData['mainProcessedFiles'];
198
- $thumbsNotProcessed = ($quotaData['totalFiles'] - $quotaData['mainFiles']) - ($quotaData['totalProcessedFiles'] - $quotaData['mainProcessedFiles']);
199
- ?>
200
- <p>
201
- <?php echo($mainNotProcessed ? number_format($mainNotProcessed) . " images" : "");?>
202
- <?php echo($mainNotProcessed && $thumbsNotProcessed ? " and" : "");?>
203
- <?php echo($thumbsNotProcessed ? number_format($thumbsNotProcessed) . " thumbnails" : "");?> are not yet optimized by ShortPixel.
204
- <?php if (count($quotaData['filesWithErrors'])) { ?>
205
- Some have errors:
206
- <?php foreach($quotaData['filesWithErrors'] as $id => $data) {
207
- echo('<a href="post.php?post='.$id.'&action=edit" title="'.$data['Message'].'">'.$data['Name'].'</a>,&nbsp;');
208
- } ?>
209
- <?php } ?>
210
- </p>
211
- <?php }
212
- $settings = $this->ctrl->getSettings();
213
- $optType = $settings->compressionType == '1' ? 'lossy' : 'lossless';
214
- $otherType = $settings->compressionType == '1' ? 'lossless' : 'lossy';
215
- if( !$this->ctrl->backupFolderIsEmpty()
216
- && ( ($quotaData['totalProcLossyFiles'] > 0 && $settings->compressionType == 0)
217
- || ($quotaData['totalProcLosslessFiles'] > 0 && $settings->compressionType == 1)))
218
- {
219
- $todo = $reopt = true;
220
- $statType = $settings->compressionType == '1' ? 'Lossless' : 'Lossy';
221
- $thumbsCount = $quotaData['totalProc'.$statType.'Files'] - $quotaData['mainProc'.$statType.'Files'];
222
- ?>
223
- <p id="with-thumbs" <?php echo(!$settings->processThumbnails ? 'style="display:none;"' : "");?>>
224
- <?php echo(number_format($quotaData['mainProc'.$statType.'Files']));?> images and
225
- <?php echo(number_format($quotaData['totalProc'.$statType.'Files'] - $quotaData['mainProc'.$statType.'Files']));?> thumbnails were optimized
226
- <strong>
227
- <?php echo($otherType);?>
228
- </strong>. You can re-optimize
229
- <strong>
230
- <?php echo($optType);?>
231
- </strong> the ones that have backup.
232
- </p>
233
- <p id="without-thumbs" <?php echo($settings->processThumbnails ? 'style="display:none;"' : "");?>>
234
- <?php echo(number_format($quotaData['mainProc'.$statType.'Files']));?> images are optimized
235
- <strong>
236
- <?php echo($otherType);?>
237
- </strong>. You can re-optimize
238
- <strong>
239
- <?php echo($optType);?>
240
- </strong> the ones that have backup.
241
- <?php echo($thumbsCount ? number_format($thumbsCount) . ' thumbnails will be restored to originals.' : '');?>
242
- </p>
243
- <?php
244
- } ?>
245
- <p>Restart the optimization process for <?php echo($todo ? 'these images' : 'new images added to your library');?> by clicking the button below.
246
- Already <strong><?php echo($todo ? ($optType) : '');?></strong> optimized images will not be reprocessed.
247
- <?php if($reopt) { ?>
248
- <br>Please note that reoptimizing images as <strong>lossy/lossless</strong> may use additional credits. <a href="http://blog.shortpixel.com/the-all-new-re-optimization-functions-in-shortpixel/" target="_blank">More info</a>
249
- <?php } ?>
250
- </p>
251
- <form action='' method='POST' >
252
- <input type='checkbox' id='bulk-thumbnails' name='thumbnails' <?php echo($this->ctrl->processThumbnails() ? "checked":"");?> onchange="ShortPixel.onBulkThumbsCheck(this)"> Include thumbnails<br><br>
253
- <input type='submit' name='bulkProcess' id='bulkProcess' class='button button-primary' value='Restart Optimizing'>
254
- </form>
255
- </div>
256
- <?php } ?>
257
- </div>
258
- <?php
259
- }
260
-
261
- public function displayBulkProcessingRunning($percent, $message) {
262
- ?>
263
- <div class="wrap short-pixel-bulk-page">
264
- <h1>Bulk Image Optimization by ShortPixel</h1>
265
- <p>Bulk optimization has started.<br>
266
- This process will take some time, depending on the number of images in your library. In the meantime, you can continue using
267
- the admin as usual, <a href='<?php echo(get_admin_url());?>' target='_blank'>in a different browser window or tab</a>.<br>
268
- However, <strong>if you close this window, the bulk processing will pause</strong> until you open the media gallery or the ShortPixel bulk page again. </p>
269
- <?php $this->displayBulkProgressBar(true, $percent, $message);?>
270
- <div class="bulk-progress bulk-slider-container">
271
- <div style="margin-bottom: 10px;"><span class="short-pixel-block-title">Just optimized:</span></div>
272
- <div class="bulk-slider">
273
- <div class="bulk-slide" id="empty-slide">
274
- <div class="img-original">
275
- <div><img class="bulk-img-orig" src=""></div>
276
- <div>Original image</div>
277
- </div>
278
- <div class="img-optimized">
279
- <div><img class="bulk-img-opt" src=""></div>
280
- <div>Optimized image</div>
281
- </div>
282
- <div class="img-info">
283
- <div style="font-size: 14px; line-height: 10px; margin-bottom:16px;">Optimized by:</div>
284
- <span class="bulk-opt-percent"></span>
285
- </div>
286
- </div>
287
- </div>
288
- </div>
289
- </div>
290
- <?php
291
- }
292
-
293
- public function displayBulkProgressBar($running, $percent, $message) {
294
- $percentBefore = $percentAfter = '';
295
- if($percent > 24) {
296
- $percentBefore = $percent . "%";
297
- } else {
298
- $percentAfter = $percent . "%";
299
- }
300
- ?>
301
- <div class="bulk-progress">
302
- <div id="bulk-progress" class="progress" >
303
- <div class="progress-img" style="left: <?php echo($percent);?>%;">
304
- <img src="<?php echo(plugins_url( 'img/slider.png', __FILE__ ));?>">
305
- <span><?php echo($percentAfter);?></span>
306
- </div>
307
- <div class="progress-left" style="width: <?php echo($percent);?>%"><?php echo($percentBefore);?></div>
308
- </div>
309
- <div class="bulk-estimate">
310
- &nbsp;<?php echo($message);?>
311
- </div>
312
- <form action='' method='POST' style="display:inline;">
313
- <input type="submit" class="button button-primary bulk-cancel" onclick="clearBulkProcessor();"
314
- name="<?php echo($running ? "bulkProcessPause" : "bulkProcessResume");?>" value="<?php echo($running ? "Pause" : "Resume Processing");?>"/>
315
- </form>
316
- </div>
317
- <?php
318
- }
319
-
320
- public function displayBulkStats($totalOptimized, $mainOptimized, $under5PercentCount, $averageCompression, $savedSpace) {?>
321
- <div class="bulk-progress bulk-stats">
322
- <div class="label">Processed Images and PDFs:</div><div class="stat-value"><?php echo(number_format($mainOptimized));?></div><br>
323
- <div class="label">Processed Thumbnails:</div><div class="stat-value"><?php echo(number_format($totalOptimized - $mainOptimized));?></div><br>
324
- <div class="label totals">Total files processed:</div><div class="stat-value"><?php echo(number_format($totalOptimized));?></div><br>
325
- <div class="label totals">Minus files with <5% optimization (free):</div><div class="stat-value"><?php echo(number_format($under5PercentCount));?></div><br><br>
326
- <div class="label totals">Used quota:</div><div class="stat-value"><?php echo(number_format($totalOptimized - $under5PercentCount));?></div><br>
327
- <br>
328
- <div class="label">Average optimization:</div><div class="stat-value"><?php echo($averageCompression);?>%</div><br>
329
- <div class="label">Saved space:</div><div class="stat-value"><?php echo($savedSpace);?></div>
330
- </div>
331
- <?php
332
- }
333
-
334
- public function displayFailed($failed) {
335
- ?>
336
- <div class="bulk-progress bulk-stats">
337
- <?php foreach($failed as $fail) {
338
- $meta = wp_get_attachment_metadata($fail);
339
- ?> <div class="label"><a href="/wp-admin/post.php?post=<?php echo($fail);?>&action=edit"><?php echo(substr($meta["file"], 0, 80));?> - ID: <?php echo($fail);?></a></div><br/>
340
- <?php }?>
341
- </div>
342
- <?php
343
- }
344
-
345
- function displaySettings($showApiKey, $quotaData, $notice, $resources = null, $averageCompression = null, $savedSpace = null, $savedBandwidth = null,
346
- $remainingImages = null, $totalCallsMade = null, $fileCount = null, $backupFolderSize = null) {
347
- //wp_enqueue_script('jquery.idTabs.js', plugins_url('/js/jquery.idTabs.js',__FILE__) );
348
- ?>
349
- <h1>ShortPixel Plugin Settings</h1>
350
- <p style="font-size:18px">
351
- <a href="https://shortpixel.com/<?php echo($this->ctrl->getVerifiedKey() ? "login/".$this->ctrl->getApiKey() : "pricing");?>" target="_blank" style="font-size:18px">
352
- Upgrade now
353
- </a> |
354
- <a href="https://shortpixel.com/contact/<?php echo($this->ctrl->getEncryptedData());?>" target="_blank" style="font-size:18px">Support </a>
355
- </p>
356
- <?php if($notice !== null) { ?>
357
- <br/>
358
- <div style="background-color: #fff; border-left: 4px solid <?php echo($notice['status'] == 'error' ? '#ff0000' : ($notice['status'] == 'warn' ? '#FFC800' : '#7ad03a'));?>; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); padding: 1px 12px;;width: 95%">
359
- <p><?php echo($notice['msg']);?></p>
360
- </div>
361
- <?php } ?>
362
-
363
- <article id="shortpixel-settings-tabs" class="sp-tabs">
364
- <section class='sel-tab' id="tab-settings">
365
- <h2><a class='tab-link' href='javascript:void(0);' data-id="tab-settings">Settings</a></h2>
366
- <?php $this->displaySettingsForm($showApiKey, $quotaData);?>
367
- </section> <?php
368
- if($averageCompression !== null) {?>
369
- <section id="tab-stats">
370
- <h2><a class='tab-link' href='javascript:void(0);' data-id="tab-stats">Statistics</a></h2>
371
- <?php
372
- $this->displaySettingsStats($quotaData, $averageCompression, $savedSpace, $savedBandwidth,
373
- $remainingImages, $totalCallsMade, $fileCount, $backupFolderSize);?>
374
- </section>
375
- <?php }
376
- if($resources !== null) {?>
377
- <section id="tab-resources">
378
- <h2><a class='tab-link' href='javascript:void(0);' data-id="tab-resources">WP Resources</a></h2>
379
- <?php echo((isset($resources['body']) ? $resources['body'] : "Please reload"));?>
380
- </section>
381
- <?php } ?>
382
- </article>
383
- <script>
384
- jQuery(document).ready(function () {
385
- ShortPixel.adjustSettingsTabs();
386
-
387
- if(window.location.hash) {
388
- var target = 'tab-' + window.location.hash.substring(window.location.hash.indexOf("#")+1)
389
- ShortPixel.switchSettingsTab(target);
390
- }
391
- jQuery("article.sp-tabs a.tab-link").click(function(){ShortPixel.switchSettingsTab(jQuery(this).data("id"))});
392
- });
393
- </script>
394
- <?php
395
- }
396
-
397
- public function displaySettingsForm($showApiKey, $quotaData) {
398
- $settings = $this->ctrl->getSettings();
399
- $checked = ($this->ctrl->processThumbnails() ? 'checked' : '');
400
- $checkedBackupImages = ($this->ctrl->backupImages() ? 'checked' : '');
401
- $cmyk2rgb = ($this->ctrl->getCMYKtoRGBconversion() ? 'checked' : '');
402
- $removeExif = ($settings->keepExif ? '' : 'checked');
403
- $resize = ($this->ctrl->getResizeImages() ? 'checked' : '');
404
- $resizeDisabled = ($this->ctrl->getResizeImages() ? '' : 'disabled');
405
- $minSizes = $this->ctrl->getMaxIntermediateImageSize();
406
- $thumbnailsToProcess = isset($quotaData['totalFiles']) ? ($quotaData['totalFiles'] - $quotaData['mainFiles']) - ($quotaData['totalProcessedFiles'] - $quotaData['mainProcessedFiles']) : 0;
407
- ?>
408
- <div class="wp-shortpixel-options">
409
- <?php if($this->ctrl->getVerifiedKey()) { ?>
410
- <p>New images uploaded to the Media Library will be optimized automatically.<br/>If you have existing images you would like to optimize, you can use the <a href="<?php echo(get_admin_url());?>upload.php?page=wp-short-pixel-bulk">Bulk Optimization Tool</a>.</p>
411
- <?php } else {
412
- if($showApiKey) {?>
413
- <h3>Step 1:</h3>
414
- <p style='font-size: 14px'>If you don't have an API Key, <a href="https://shortpixel.com/wp-apikey<?php echo( $this->ctrl->getAffiliateSufix() );?>" target="_blank">sign up here.</a> It's free and it only takes one minute, we promise!</p>
415
- <h3>Step 2:</h3>
416
- <p style='font-size: 14px'>Please enter here the API Key you received by email and press Validate.</p>
417
- <?php }
418
- }?>
419
- <form name='wp_shortpixel_options' action='options-general.php?page=wp-shortpixel&noheader=true' method='post' id='wp_shortpixel_options'>
420
- <table class="form-table">
421
- <tbody>
422
- <tr>
423
- <th scope="row"><label for="key">API Key:</label></th>
424
- <td>
425
- <?php
426
- $canValidate = false;
427
- if($showApiKey) {
428
- $canValidate = true;?>
429
- <input name="key" type="text" id="key" value="<?php echo( $this->ctrl->getApiKey() );?>" class="regular-text">
430
- <?php } elseif(defined("SHORTPIXEL_API_KEY")) {
431
- $canValidate = true;?>
432
- <input name="key" type="text" id="key" disabled="true" placeholder="Multisite API Key" class="regular-text">
433
- <?php }?>
434
- <input type="hidden" name="validate" id="valid" value=""/>
435
- <button type="button" id="validate" class="button button-primary" title="Validate the provided API key"
436
- onclick="validateKey()" <?php echo $canValidate ? "" : "disabled"?>>Validate</button>
437
- </td>
438
- </tr>
439
- <?php if (!$this->ctrl->getVerifiedKey()) { //if invalid key we display the link to the API Key ?>
440
- </tbody>
441
- </table>
442
- </form>
443
- <?php } else { //if valid key we display the rest of the options ?>
444
- <tr>
445
- <th scope="row">
446
- <label for="compressionType">Compression type:</label>
447
- </th>
448
- <td>
449
- <input type="radio" name="compressionType" value="1" <?php echo( $this->ctrl->getCompressionType() == 1 ? "checked" : "" );?>>Lossy (recommended)</br>
450
- <p class="settings-info"> <b>Lossy compression: </b>lossy has a better compression rate than lossless compression.</br>While the resulting image
451
- is not 100% identical with the original, in the vast majority of cases the difference is not noticeable. You can
452
- <a href="https://shortpixel.com/online-image-compression" target="_blank">freely test your images</a> for lossy optimization.</p></br>
453
- <input type="radio" name="compressionType" value="0" <?php echo( $this->ctrl->getCompressionType() != 1 ? "checked" : "" );?>>Lossless
454
- <p class="settings-info"><b>Lossless compression: </b> the shrunk image will be identical with the original and smaller in size.</br>In some rare cases you will need to use
455
- this type of compression. Some technical drawings or images from vector graphics are possible situations.</p>
456
- </td>
457
- </tr>
458
- </tbody>
459
- </table>
460
- <table class="form-table">
461
- <tbody>
462
- <tr>
463
- <th scope="row"><label for="thumbnails">Also include thumbnails:</label></th>
464
- <td><input name="thumbnails" type="checkbox" id="thumbnails" <?php echo( $checked );?>> Apply compression also to
465
- <strong>image thumbnails.</strong> (<?php echo($thumbnailsToProcess ? number_format($thumbnailsToProcess) : "");?> thumbnails to optimize)
466
- <p class="settings-info">It is highly recommended that you optimize the thumbnails as they are usually the images most viewed by end users and can generate most traffic.<br>Please note that thumbnails count up to your total quota.</p>
467
- </td>
468
- </tr>
469
- <tr>
470
- <th scope="row"><label for="backupImages">Image backup</label></th>
471
- <td>
472
- <input name="backupImages" type="checkbox" id="backupImages" <?php echo( $checkedBackupImages );?>> Save and keep a backup of your original images in a separate folder.
473
- <p class="settings-info">Usually recommended for safety.</p>
474
- </td>
475
- </tr>
476
- <tr>
477
- <th scope="row"><label for="cmyk2rgb">CMYK to RGB conversion</label></th>
478
- <td>
479
- <input name="cmyk2rgb" type="checkbox" id="cmyk2rgb" <?php echo( $cmyk2rgb );?>>Adjust your images for computer and mobile screen display.
480
- </td>
481
- </tr>
482
- <tr>
483
- <th scope="row"><label for="removeExif">Remove EXIF</label></th>
484
- <td>
485
- <input name="removeExif" type="checkbox" id="removeExif" <?php echo( $removeExif );?>>Remove the EXIF tag of the image (recommended).
486
- <p class="settings-info"> EXIF is a set of various pieces of information that are automatically embedded into the image upon creation. This can include GPS position, camera manufacturer, date and time, etc.
487
- Unless you really need that data to be kept we recommend you removing it as it can lead to <a href="http://blog.shortpixel.com/how-much-smaller-can-be-images-without-exif-icc" target="_blank">better compression rates</a>.</p></br>
488
- </td>
489
- </tr>
490
- <tr>
491
- <th scope="row"><label for="resize">Resize large images</label></th>
492
- <td>
493
- <input name="resize" type="checkbox" id="resize" <?php echo( $resize );?>> to maximum
494
- <input type="text" name="width" id="width" style="width:70px" value="<?php echo( max($this->ctrl->getResizeWidth(), min(1024, $minSizes['width'])) );?>" <?php echo( $resizeDisabled );?>/> pixels wide &times;
495
- <input type="text" name="height" id="height" style="width:70px" value="<?php echo( max($this->ctrl->getResizeHeight(), min(1024, $minSizes['height'])) );?>" <?php echo( $resizeDisabled );?>/> pixels high (original aspect ratio is preserved)
496
- <p class="settings-info"> Recommended for large photos, like the ones taken with your phone. Saved space can go up to 80% or more after resizing.<br/>
497
- The new resolution should not be less than your largest thumbnail size, which is <?php echo($minSizes['width']);?> &times; <?php echo($minSizes['height']);?> pixels,
498
- or, if you have a Retina images plugin, <?php echo(2 * $minSizes['width']);?> &times; <?php echo(2 * $minSizes['height']);?> pixels.</p>
499
- </td>
500
- </tr>
501
- <tr>
502
- <th scope="row"><label for="authentication">Site authentication credentials</label></th>
503
- <td>
504
- <input name="siteAuthUser" type="text" id="siteAuthUser" value="<?php echo( $settings->siteAuthUser );?>" class="regular-text" placeholder="User"><br>
505
- <input name="siteAuthPass" type="text" id="siteAuthPass" value="<?php echo( $settings->siteAuthPass );?>" class="regular-text" placeholder="Password">
506
- <p class="settings-info"> If your site needs credentials to connect to, please enter them here for our servers to be able to download the images that need to be optimized.</p></br>
507
- </td>
508
- </tr>
509
- </tbody>
510
- </table>
511
- <p class="submit">
512
- <input type="submit" name="save" id="save" class="button button-primary" title="Save Changes" value="Save Changes"> &nbsp;
513
- <input type="submit" name="save" id="bulk" class="button button-primary" title="Save and go to the Bulk Processing page" value="Save and Go to Bulk Process"> &nbsp;
514
- </p>
515
- </form>
516
- </div>
517
- <script>
518
- var rad = document.wp_shortpixel_options.compressionType;
519
- var prev = null;
520
- var minWidth = Math.min(1024, <?php echo($minSizes['width']);?>),
521
- minHeight = Math.min(1024, <?php echo($minSizes['height']);?>);
522
- for(var i = 0; i < rad.length; i++) {
523
- rad[i].onclick = function() {
524
-
525
- if(this !== prev) {
526
- prev = this;
527
- }
528
- alert('This type of optimization will apply to new uploaded images.\nImages that were already processed will not be re-optimized unless you restart the bulk process.');
529
- };
530
- }
531
- function enableResize(elm) {
532
- if(jQuery(elm).is(':checked')) {
533
- jQuery("#width,#height").removeAttr("disabled");
534
- } else {
535
- jQuery("#width,#height").attr("disabled", "disabled");
536
- }
537
- }
538
- enableResize("#resize");
539
- jQuery("#resize").change(function(){ enableResize(this) });
540
- jQuery("#width").blur(function(){
541
- jQuery(this).val(Math.max(minWidth, parseInt(jQuery(this).val())));
542
- });
543
- jQuery("#height").blur(function(){
544
- jQuery(this).val(Math.max(minHeight, parseInt(jQuery(this).val())));
545
- });
546
- </script>
547
- <?php } ?>
548
- <script>
549
- function validateKey(){
550
- jQuery('#valid').val('validate');
551
- jQuery('#wp_shortpixel_options').submit();
552
- }
553
- jQuery("#key").keypress(function(e) {
554
- if(e.which == 13) {
555
- jQuery('#valid').val('validate');
556
- }
557
- });
558
- </script>
559
- <?php
560
- }
561
-
562
- function displaySettingsStats($quotaData, $averageCompression, $savedSpace, $savedBandwidth,
563
- $remainingImages, $totalCallsMade, $fileCount, $backupFolderSize) { ?>
564
- <a id="facts"></a>
565
- <h3>Your ShortPixel Stats</h3>
566
- <table class="form-table">
567
- <tbody>
568
- <tr>
569
- <th scope="row"><label for="averagCompression">Average compression of your files:</label></th>
570
- <td><?php echo($averageCompression);?>%</td>
571
- </tr>
572
- <tr>
573
- <th scope="row"><label for="savedSpace">Saved disk space by ShortPixel</label></th>
574
- <td><?php echo($savedSpace);?></td>
575
- </tr>
576
- <tr>
577
- <th scope="row"><label for="savedBandwidth">Bandwith* saved with ShortPixel:</label></th>
578
- <td><?php echo($savedBandwidth);?></td>
579
- </tr>
580
- </tbody>
581
- </table>
582
-
583
- <p style="padding-top: 0px; color: #818181;" >* Saved bandwidth is calculated at 10,000 impressions/image</p>
584
-
585
- <h3>Your ShortPixel Plan</h3>
586
- <table class="form-table">
587
- <tbody>
588
- <tr>
589
- <th scope="row" bgcolor="#ffffff"><label for="apiQuota">Your ShortPixel plan</label></th>
590
- <td bgcolor="#ffffff">
591
- <?php echo($quotaData['APICallsQuota']);?>/month, renews in <?php echo(floor(30 + (strtotime($quotaData['APILastRenewalDate']) - time()) / 86400));?> days, on <?php echo(date('M d, Y', strtotime($quotaData['APILastRenewalDate']. ' + 30 days')));?> ( <a href="https://shortpixel.com/login/<?php echo($this->ctrl->getApiKey());?>" target="_blank">Need More? See the options available</a> )<br/>
592
- <a href="https://shortpixel.com/login/<?php echo($this->ctrl->getApiKey());?>/tell-a-friend" target="_blank">Join our friend referral system</a> to win more credits. For each user that joins, you receive +100 images credits/month.
593
- </td>
594
- </tr>
595
- <tr>
596
- <th scope="row"><label for="usedQUota">One time credits:</label></th>
597
- <td><?php echo( number_format($quotaData['APICallsQuotaOneTimeNumeric']));?></td>
598
- </tr>
599
- <tr>
600
- <th scope="row"><label for="usedQUota">Number of images processed this month:</label></th>
601
- <td><?php echo($totalCallsMade);?> (<a href="https://api.shortpixel.com/v2/report.php?key=<?php echo($this->ctrl->getApiKey());?>" target="_blank">see report</a>)</td>
602
- </tr>
603
- <tr>
604
- <th scope="row"><label for="remainingImages">Remaining** images in your plan: </label></th>
605
- <td><?php echo($remainingImages);?> images</td>
606
- </tr>
607
- </tbody>
608
- </table>
609
-
610
- <p style="padding-top: 0px; color: #818181;" >** Increase your image quota by <a href="https://shortpixel.com/login/<?php echo($this->ctrl->getApiKey());?>" target="_blank">upgrading your ShortPixel plan.</a></p>
611
-
612
- <table class="form-table">
613
- <tbody>
614
- <tr>
615
- <th scope="row"><label for="totalFiles">Total number of processed files:</label></th>
616
- <td><?php echo($fileCount);?></td>
617
- </tr>
618
- <?php if($this->ctrl->backupImages()) { ?>
619
- <tr>
620
- <th scope="row"><label for="sizeBackup">Original images are stored in a backup folder. Your backup folder size is now:</label></th>
621
- <td>
622
- <form action="" method="POST">
623
- <?php echo($backupFolderSize);?>
624
- <input type="submit" style="margin-left: 15px; vertical-align: middle;" class="button button-secondary" name="emptyBackup" value="Empty backups"/>
625
- </form>
626
- </td>
627
- </tr>
628
- <?php } ?>
629
- </tbody>
630
- </table>
631
- <div style="display:none">
632
-
633
- </div>
634
- <?php
635
- }
636
-
637
- public function renderCustomColumn($id, $data){ ?>
638
- <div id='sp-msg-<?php echo($id);?>'>
639
- <?php switch($data['status']) {
640
- case 'n/a': ?>
641
- Optimization N/A <?php
642
- break;
643
- case 'notFound': ?>
644
- Image does not exist. <?php
645
- break;
646
- case 'invalidKey': ?>
647
- Invalid API Key. <a href="options-general.php?page=wp-shortpixel">Check your Settings</a> <?php
648
- break;
649
- case 'quotaExceeded':
650
- echo($this->getQuotaExceededHTML(isset($data['message']) ? $data['message'] : ''));
651
- break;
652
- case 'optimizeNow':
653
- echo($data['message']) ?> <a class='button button-smaller button-primary' href="javascript:manualOptimization(<?php echo($id)?>)">Optimize now</a> <?php
654
- if(isset($data['thumbsTotal']) && $data['thumbsTotal'] > 0) {
655
- echo("<br>+" . $data['thumbsTotal'] . " thumbnails");
656
- }
657
- break;
658
- case 'retry': ?>
659
- <?php echo($data['message'])?> <a class='button button-smaller button-primary' href="javascript:manualOptimization(<?php echo($id)?>)">Retry</a> <?php
660
- break;
661
- case 'pdfOptimized':
662
- case 'imgOptimized': ?>
663
- <?php if($data['showActions']) { ?>
664
- <div class='sp-column-actions'>
665
- <?php if(!$data['thumbsOpt'] && $data['thumbsTotal']) { ?>
666
- <a class='button button-smaller button-primary' href="javascript:optimizeThumbs(<?php echo($id)?>);">
667
- Optimize <?php echo($data['thumbsTotal']);?> thumbnails
668
- </a>
669
- <?php }
670
- if($data['backup']) {
671
- if($data['type']) {
672
- $type = $data['type'] == 'lossy' ? 'lossless' : 'lossy'; ?>
673
- <a class='button button-smaller' href="javascript:reoptimize(<?php echo($id)?>, '<?php echo($type)?>');" title="Using the backed-up image">
674
- Re-optimize <?php echo($type)?>
675
- </a><?php
676
- } ?>
677
- <a class='button button-smaller' href="admin.php?action=shortpixel_restore_backup&attachment_ID=<?php echo($id)?>">
678
- Restore backup
679
- </a>
680
- <?php } ?>
681
- </div>
682
- <?php } ?>
683
- <div class='sp-column-info'>
684
- <?php echo(($data['percent'] ? 'Reduced by ' . $data['percent'] . '% ' : '')
685
- .($data['bonus'] && $data['percent'] ? '<br>' : '')
686
- .($data['bonus'] ? 'Bonus processing' : '')
687
- .($data['type'] ? ' ('.$data['type'].')':'') . '<br>');?>
688
- <?php echo($data['thumbsOpt']
689
- ? "+" . $data['thumbsOpt'] . ($data['thumbsTotal'] > $data['thumbsOpt'] ? " of ".$data['thumbsTotal'] : '') . " thumbnails optimized" : '');?>
690
- </div> <?php
691
- break;
692
- }
693
- //die(var_dump($data));
694
- ?>
695
- </div>
696
- <?php
697
- }
698
-
699
- public function getQuotaExceededHTML($message = '') {
700
- return "<div class='sp-column-actions' style='width:110px;'>
701
- <a class='button button-smaller button-primary' href='https://shortpixel.com/login/". $this->ctrl->getApiKey() . "' target='_blank'>Extend Quota</a>
702
- <a class='button button-smaller' href='admin.php?action=shortpixel_check_quota'>Check&nbsp;&nbsp;Quota</a></div>
703
- <div class='sp-column-info'>" . $message . " Quota Exceeded.</div>";
704
- }
705
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
wp-shortpixel.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: ShortPixel Image Optimizer
4
  * Plugin URI: https://shortpixel.com/
5
  * Description: ShortPixel optimizes images automatically, while guarding the quality of your images. Check your <a href="options-general.php?page=wp-shortpixel" target="_blank">Settings &gt; ShortPixel</a> page on how to start optimizing your image library and make your website load faster.
6
- * Version: 4.2.1
7
  * Author: ShortPixel
8
  * Author URI: https://shortpixel.com
9
  * Text Domain: shortpixel-image-optimiser
@@ -14,7 +14,7 @@ define('SP_RESET_ON_ACTIVATE', false); //if true TODO set false
14
 
15
  define('SP_AFFILIATE_CODE', '');
16
 
17
- define('PLUGIN_VERSION', "4.2.1");
18
  define('SP_MAX_TIMEOUT', 10);
19
  define('SP_VALIDATE_MAX_TIMEOUT', 15);
20
  define('SP_BACKUP', 'ShortpixelBackups');
@@ -293,7 +293,9 @@ class WPShortPixel {
293
  'check__Quota' => __( 'Check&nbsp;&nbsp;Quota', 'shortpixel-image-optimiser' ),
294
  'retry' => __( 'Retry', 'shortpixel-image-optimiser' ),
295
  'thisContentNotProcessable' => __( 'This content is not processable.', 'shortpixel-image-optimiser' ),
296
- 'imageWaitOptThumbs' => __( 'Image waiting to optimize thumbnails', 'shortpixel-image-optimiser' )
 
 
297
  );
298
  wp_localize_script( 'short-pixel.js', '_spTr', $jsTranslation );
299
  wp_enqueue_script('short-pixel.js');
@@ -504,6 +506,8 @@ class WPShortPixel {
504
 
505
  if ( empty($resultsPostMeta) ) {
506
  $crtStartQueryID -= SP_MAX_RESULTS_QUERY;
 
 
507
  continue;
508
  }
509
 
@@ -836,6 +840,7 @@ class WPShortPixel {
836
 
837
  public function handleManualOptimization() {
838
  $imageId = $_GET['image_id'];
 
839
  switch(substr($imageId, 0, 2)) {
840
  case "N-":
841
  return "Add the gallery to the custom folders list in ShortPixel settings.";
@@ -853,7 +858,11 @@ class WPShortPixel {
853
  case "C-":
854
  throw new Exception("HandleManualOptimization for custom images not implemented");
855
  default:
 
 
 
856
  $this->optimizeNowHook(intval($imageId));
 
857
  }
858
  //do_action('shortpixel-optimize-now', $imageId);
859
 
@@ -880,6 +889,7 @@ class WPShortPixel {
880
  }
881
 
882
  public function getBackupFolder($file) {
 
883
  $fileExtension = strtolower(substr($file,strrpos($file,".")+1));
884
  $SubDir = ShortPixelMetaFacade::returnSubDir($file, ShortPixelMetaFacade::MEDIA_LIBRARY_TYPE);
885
 
@@ -1391,10 +1401,10 @@ class WPShortPixel {
1391
  public function getCustomFolderBase() {
1392
  if(is_main_site()) {
1393
  $base = get_home_path();
1394
- return rtrim($base, '/');
1395
  } else {
1396
  $up = wp_upload_dir();
1397
- return $up['basedir'];
1398
  }
1399
  }
1400
 
@@ -1462,6 +1472,22 @@ class WPShortPixel {
1462
  //check all custom folders and update meta table if files appeared
1463
  $customFolders = $this->refreshCustomFolders($notice, isset($_POST['removeFolder']) ? $_POST['removeFolder'] : null);
1464
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1465
  if( isset($_POST['save']) || isset($_POST['saveAdv'])
1466
  || (isset($_POST['validate']) && $_POST['validate'] == "validate")
1467
  || isset($_POST['removeFolder']) || isset($_POST['recheckFolder'])) {
@@ -1538,14 +1564,8 @@ class WPShortPixel {
1538
  $this->_settings->siteAuthPass = (isset($_POST['siteAuthPass']) ? $_POST['siteAuthPass']: $this->_settings->siteAuthPass);
1539
 
1540
  $uploadDir = wp_upload_dir();
1541
- $uploadPath = $uploadDir["basedir"];
1542
 
1543
- if( isset($_POST['save']) && $_POST['save'] == __("Save and Go to Bulk Process",'shortpixel-image-optimiser')
1544
- || isset($_POST['saveAdv']) && $_POST['saveAdv'] == __("Save and Go to Bulk Process",'shortpixel-image-optimiser')) {
1545
- wp_redirect("upload.php?page=wp-short-pixel-bulk");
1546
- exit();
1547
- }
1548
-
1549
  if(isset($_POST['nextGen'])) {
1550
  WpShortPixelDb::checkCustomTables(); // check if custom tables are created, if not, create them
1551
  $prevNextGen = $this->_settings->includeNextGen;
@@ -1563,11 +1583,19 @@ class WPShortPixel {
1563
  }
1564
  $customFolders = $this->spMetaDao->getFolders();
1565
  $this->_settings->hasCustomFolders = true;
1566
- }
 
1567
  $this->_settings->createWebp = (isset($_POST['createWebp']) ? 1: 0);
1568
  $this->_settings->optimizeRetina = (isset($_POST['optimizeRetina']) ? 1: 0);
1569
  $this->_settings->frontBootstrap = (isset($_POST['frontBootstrap']) ? 1: 0);
1570
  $this->_settings->autoMediaLibrary = (isset($_POST['autoMediaLibrary']) ? 1: 0);
 
 
 
 
 
 
 
1571
  }
1572
  if(isset($_POST['removeFolder']) && strlen(($_POST['removeFolder']))) {
1573
  $this->spMetaDao->removeFolder($_POST['removeFolder']);
@@ -1842,12 +1870,14 @@ class WPShortPixel {
1842
  if(file_exists(dirname($file) . '/' . basename($file, '.'.pathinfo($file, PATHINFO_EXTENSION)) . '.webp' )){
1843
  $webP++;
1844
  }
 
1845
  foreach($data['sizes'] as $size) {
1846
  $sizeName = $size['file'];
1847
  if(file_exists(dirname($file) . '/' . basename($sizeName, '.'.pathinfo($sizeName, PATHINFO_EXTENSION)) . '.webp' )){
1848
  $webP++;
1849
  }
1850
  }
 
1851
  }
1852
  $renderData['webpCount'] = $webP;
1853
  }
@@ -1866,6 +1896,9 @@ class WPShortPixel {
1866
  elseif( strlen(trim(strip_tags($data['ShortPixelImprovement']))) > 0 ) {
1867
  $renderData['status'] = $quotaExceeded ? 'quotaExceeded' : 'retry';
1868
  $renderData['message'] = $data['ShortPixelImprovement'];
 
 
 
1869
  }
1870
  elseif(isset($data['ShortPixel']['NoFileOnDisk'])) {
1871
  $renderData['status'] = 'notFound';
3
  * Plugin Name: ShortPixel Image Optimizer
4
  * Plugin URI: https://shortpixel.com/
5
  * Description: ShortPixel optimizes images automatically, while guarding the quality of your images. Check your <a href="options-general.php?page=wp-shortpixel" target="_blank">Settings &gt; ShortPixel</a> page on how to start optimizing your image library and make your website load faster.
6
+ * Version: 4.2.2
7
  * Author: ShortPixel
8
  * Author URI: https://shortpixel.com
9
  * Text Domain: shortpixel-image-optimiser
14
 
15
  define('SP_AFFILIATE_CODE', '');
16
 
17
+ define('PLUGIN_VERSION', "4.2.2");
18
  define('SP_MAX_TIMEOUT', 10);
19
  define('SP_VALIDATE_MAX_TIMEOUT', 15);
20
  define('SP_BACKUP', 'ShortpixelBackups');
293
  'check__Quota' => __( 'Check&nbsp;&nbsp;Quota', 'shortpixel-image-optimiser' ),
294
  'retry' => __( 'Retry', 'shortpixel-image-optimiser' ),
295
  'thisContentNotProcessable' => __( 'This content is not processable.', 'shortpixel-image-optimiser' ),
296
+ 'imageWaitOptThumbs' => __( 'Image waiting to optimize thumbnails', 'shortpixel-image-optimiser' ),
297
+ 'pleaseDoNotSetLesserSize' => __( "Please do not set a {0} less than the {1} of the largest thumbnail which is {2}, to be able to still regenerate all your thumbnails in case you'll ever need this.", 'shortpixel-image-optimiser' ),
298
+ 'pleaseDoNotSetLesser1024' => __( "Please do not set a {0} less than 1024, to be able to still regenerate all your thumbnails in case you'll ever need this.", 'shortpixel-image-optimiser' )
299
  );
300
  wp_localize_script( 'short-pixel.js', '_spTr', $jsTranslation );
301
  wp_enqueue_script('short-pixel.js');
506
 
507
  if ( empty($resultsPostMeta) ) {
508
  $crtStartQueryID -= SP_MAX_RESULTS_QUERY;
509
+ $startQueryID = $crtStartQueryID;
510
+ $this->prioQ->setStartBulkId($startQueryID);
511
  continue;
512
  }
513
 
840
 
841
  public function handleManualOptimization() {
842
  $imageId = $_GET['image_id'];
843
+ $cleanup = $_GET['cleanup'];
844
  switch(substr($imageId, 0, 2)) {
845
  case "N-":
846
  return "Add the gallery to the custom folders list in ShortPixel settings.";
858
  case "C-":
859
  throw new Exception("HandleManualOptimization for custom images not implemented");
860
  default:
861
+ if($cleanup) {
862
+ WpShortPixelMediaLbraryAdapter::fixWPMediaMetaMissingThumbs($imageId);
863
+ }
864
  $this->optimizeNowHook(intval($imageId));
865
+ break;
866
  }
867
  //do_action('shortpixel-optimize-now', $imageId);
868
 
889
  }
890
 
891
  public function getBackupFolder($file) {
892
+ $file = realpath($file); //found cases when $file contains for example /wp/../wp-content - clean it up
893
  $fileExtension = strtolower(substr($file,strrpos($file,".")+1));
894
  $SubDir = ShortPixelMetaFacade::returnSubDir($file, ShortPixelMetaFacade::MEDIA_LIBRARY_TYPE);
895
 
1401
  public function getCustomFolderBase() {
1402
  if(is_main_site()) {
1403
  $base = get_home_path();
1404
+ return realpath(rtrim($base, '/'));
1405
  } else {
1406
  $up = wp_upload_dir();
1407
+ return realpath($up['basedir']);
1408
  }
1409
  }
1410
 
1472
  //check all custom folders and update meta table if files appeared
1473
  $customFolders = $this->refreshCustomFolders($notice, isset($_POST['removeFolder']) ? $_POST['removeFolder'] : null);
1474
 
1475
+ if(isset($_POST['request']) && $_POST['request'] == 'request') {
1476
+ //a new API Key was requested
1477
+ if(filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
1478
+
1479
+ }
1480
+ else {
1481
+ $notice = array("status" => "error",
1482
+ "msg" => __("Please provide a valid e-mail.",'shortpixel-image-optimiser')
1483
+ . "<BR> "
1484
+ . __('For any question regarding obtaining your API Key, please contact us at ','shortpixel-image-optimiser')
1485
+ . "<a href='mailto:help@shortpixel.com?Subject=API Key issues' target='_top'>help@shortpixel.com</a>"
1486
+ . __(' or ','shortpixel-image-optimiser')
1487
+ . "<a href='https://shortpixel.com/contact' target='_blank'>" . __('here','shortpixel-image-optimiser') . "</a>.");
1488
+ }
1489
+ }
1490
+
1491
  if( isset($_POST['save']) || isset($_POST['saveAdv'])
1492
  || (isset($_POST['validate']) && $_POST['validate'] == "validate")
1493
  || isset($_POST['removeFolder']) || isset($_POST['recheckFolder'])) {
1564
  $this->_settings->siteAuthPass = (isset($_POST['siteAuthPass']) ? $_POST['siteAuthPass']: $this->_settings->siteAuthPass);
1565
 
1566
  $uploadDir = wp_upload_dir();
1567
+ $uploadPath = realpath($uploadDir["basedir"]);
1568
 
 
 
 
 
 
 
1569
  if(isset($_POST['nextGen'])) {
1570
  WpShortPixelDb::checkCustomTables(); // check if custom tables are created, if not, create them
1571
  $prevNextGen = $this->_settings->includeNextGen;
1583
  }
1584
  $customFolders = $this->spMetaDao->getFolders();
1585
  $this->_settings->hasCustomFolders = true;
1586
+ }
1587
+
1588
  $this->_settings->createWebp = (isset($_POST['createWebp']) ? 1: 0);
1589
  $this->_settings->optimizeRetina = (isset($_POST['optimizeRetina']) ? 1: 0);
1590
  $this->_settings->frontBootstrap = (isset($_POST['frontBootstrap']) ? 1: 0);
1591
  $this->_settings->autoMediaLibrary = (isset($_POST['autoMediaLibrary']) ? 1: 0);
1592
+
1593
+ //Redirect to bulk processing if requested
1594
+ if( isset($_POST['save']) && $_POST['save'] == __("Save and Go to Bulk Process",'shortpixel-image-optimiser')
1595
+ || isset($_POST['saveAdv']) && $_POST['saveAdv'] == __("Save and Go to Bulk Process",'shortpixel-image-optimiser')) {
1596
+ wp_redirect("upload.php?page=wp-short-pixel-bulk");
1597
+ exit();
1598
+ }
1599
  }
1600
  if(isset($_POST['removeFolder']) && strlen(($_POST['removeFolder']))) {
1601
  $this->spMetaDao->removeFolder($_POST['removeFolder']);
1870
  if(file_exists(dirname($file) . '/' . basename($file, '.'.pathinfo($file, PATHINFO_EXTENSION)) . '.webp' )){
1871
  $webP++;
1872
  }
1873
+ if(isset($data['sizes'])) {
1874
  foreach($data['sizes'] as $size) {
1875
  $sizeName = $size['file'];
1876
  if(file_exists(dirname($file) . '/' . basename($sizeName, '.'.pathinfo($sizeName, PATHINFO_EXTENSION)) . '.webp' )){
1877
  $webP++;
1878
  }
1879
  }
1880
+ }
1881
  }
1882
  $renderData['webpCount'] = $webP;
1883
  }
1896
  elseif( strlen(trim(strip_tags($data['ShortPixelImprovement']))) > 0 ) {
1897
  $renderData['status'] = $quotaExceeded ? 'quotaExceeded' : 'retry';
1898
  $renderData['message'] = $data['ShortPixelImprovement'];
1899
+ if(strpos($renderData['message'], __('The file(s) do not exist on disk: ','shortpixel-image-optimiser')) !== false) {
1900
+ $renderData['cleanup'] = true;
1901
+ }
1902
  }
1903
  elseif(isset($data['ShortPixel']['NoFileOnDisk'])) {
1904
  $renderData['status'] = 'notFound';