AJAX Thumbnail Rebuild - Version 1.2.1

Version Description

  • NEW: Allow custom crop areas (see https://developer.wordpress.org/reference/functions/add_image_size/#parameters)
Download this release

Release Info

Developer RistoNiinemets
Plugin Icon wp plugin AJAX Thumbnail Rebuild
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2 to 1.2.1

ajax-thumbnail-rebuild.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://breiti.cc/wordpress/ajax-thumbnail-rebuild
5
  Author: junkcoder
6
  Author URI: http://breiti.cc
7
- Version: 1.2
8
  Description: Rebuild all thumbnails
9
  Tested up to: 4.8.2
10
  Text Domain: ajax-thumbnail-rebuild
@@ -180,21 +180,35 @@ class AjaxThumbnailRebuild {
180
  <h4><?php _e( 'Select which thumbnails you want to rebuild', 'ajax-thumbnail-rebuild' ); ?>:</h4>
181
  <a href="javascript:void(0);" id="size-toggle"><?php _e( 'Toggle all', 'ajax-thumbnail-rebuild' ); ?></a>
182
 
183
- <div id="sizeselect">
184
 
185
- <?php foreach ( ajax_thumbnail_rebuild_get_sizes() as $s ) : ?>
 
 
186
 
187
  <label>
188
- <input type="checkbox" name="thumbnails[]" id="sizeselect" checked="checked" value="<?php echo $s['name'] ?>" />
189
- <em><?php echo $s['name'] ?></em>
190
- &nbsp;(<?php echo $s['width'] ?>x<?php echo $s['height'] ?>
191
- <?php if ($s['crop']) _e( 'cropped', 'ajax-thumbnail-rebuild' ); ?>)
 
 
 
 
 
 
 
 
 
 
 
192
  </label>
193
- <br/>
 
194
 
195
  <?php endforeach; ?>
196
 
197
- </div>
198
 
199
  <p>
200
  <label>
@@ -286,7 +300,12 @@ function ajax_thumbnail_rebuild_get_sizes() {
286
  global $_wp_additional_image_sizes;
287
 
288
  foreach ( get_intermediate_image_sizes() as $s ) {
289
- $sizes[$s] = array( 'name' => '', 'width' => '', 'height' => '', 'crop' => FALSE );
 
 
 
 
 
290
 
291
  /* Read theme added sizes or fall back to default sizes set in options... */
292
 
@@ -307,7 +326,12 @@ function ajax_thumbnail_rebuild_get_sizes() {
307
  }
308
 
309
  if ( isset( $_wp_additional_image_sizes[$s]['crop'] ) ) {
310
- $sizes[$s]['crop'] = intval( $_wp_additional_image_sizes[$s]['crop'] );
 
 
 
 
 
311
  }
312
  else {
313
  $sizes[$s]['crop'] = get_option( "{$s}_crop" );
4
  Plugin URI: http://breiti.cc/wordpress/ajax-thumbnail-rebuild
5
  Author: junkcoder
6
  Author URI: http://breiti.cc
7
+ Version: 1.2.1
8
  Description: Rebuild all thumbnails
9
  Tested up to: 4.8.2
10
  Text Domain: ajax-thumbnail-rebuild
180
  <h4><?php _e( 'Select which thumbnails you want to rebuild', 'ajax-thumbnail-rebuild' ); ?>:</h4>
181
  <a href="javascript:void(0);" id="size-toggle"><?php _e( 'Toggle all', 'ajax-thumbnail-rebuild' ); ?></a>
182
 
183
+ <ul id="sizeselect">
184
 
185
+ <?php foreach ( ajax_thumbnail_rebuild_get_sizes() as $image_size ) : ?>
186
+
187
+ <li>
188
 
189
  <label>
190
+ <input type="checkbox" name="thumbnails[]" id="sizeselect" checked="checked" value="<?php echo $image_size['name'] ?>" />
191
+ <?php
192
+ $crop_setting = '';
193
+
194
+ if( $image_size['crop'] ) {
195
+ if( is_array( $image_size['crop'] ) ) {
196
+ $crop_setting = sprintf( '%s, %s', $image_size['crop'][0], $image_size['crop']['1'] );
197
+ }
198
+ else {
199
+ $crop_setting = ' ' . __( 'cropped', 'ajax-thumbnail-rebuild' );
200
+ }
201
+ }
202
+
203
+ printf( '<em>%s</em> (%sx%s%s)', $image_size['name'], $image_size['width'], $image_size['height'], $crop_setting );
204
+ ?>
205
  </label>
206
+
207
+ </li>
208
 
209
  <?php endforeach; ?>
210
 
211
+ </ul>
212
 
213
  <p>
214
  <label>
300
  global $_wp_additional_image_sizes;
301
 
302
  foreach ( get_intermediate_image_sizes() as $s ) {
303
+ $sizes[$s] = array(
304
+ 'name' => '',
305
+ 'width' => '',
306
+ 'height' => '',
307
+ 'crop' => FALSE
308
+ );
309
 
310
  /* Read theme added sizes or fall back to default sizes set in options... */
311
 
326
  }
327
 
328
  if ( isset( $_wp_additional_image_sizes[$s]['crop'] ) ) {
329
+ if( ! is_array( $sizes[$s]['crop'] ) ) {
330
+ $sizes[$s]['crop'] = intval( $_wp_additional_image_sizes[$s]['crop'] );
331
+ }
332
+ else {
333
+ $sizes[$s]['crop'] = $_wp_additional_image_sizes[$s]['crop'];
334
+ }
335
  }
336
  else {
337
  $sizes[$s]['crop'] = get_option( "{$s}_crop" );
languages/ajax-thumbnail-rebuild-de_DE.po CHANGED
@@ -1,107 +1,107 @@
1
- # Copyright (C) 2010 AJAX Thumbnail Rebuild
2
- # This file is distributed under the same license as the AJAX Thumbnail Rebuild package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: AJAX Thumbnail Rebuild 1.05\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/ajax-thumbnail-rebuild\n"
7
- "POT-Creation-Date: 2017-09-26 09:37+0300\n"
8
- "PO-Revision-Date: 2017-09-26 09:39+0300\n"
9
- "Last-Translator: \n"
10
- "Language-Team: \n"
11
- "Language: de_DE\n"
12
- "MIME-Version: 1.0\n"
13
- "Content-Type: text/plain; charset=UTF-8\n"
14
- "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 2.0.3\n"
16
-
17
- #: ajax-thumbnail-rebuild.php:35
18
- msgid "Rebuild all Thumbnails"
19
- msgstr "Alle Miniaturbilder neu erstellen"
20
-
21
- #: ajax-thumbnail-rebuild.php:35
22
- msgid "Rebuild Thumbnails"
23
- msgstr "Miniaturbilder neu erstellen"
24
-
25
- #: ajax-thumbnail-rebuild.php:64 ajax-thumbnail-rebuild.php:110
26
- msgid "Reading attachments..."
27
- msgstr "Anhänge lesen..."
28
-
29
- #: ajax-thumbnail-rebuild.php:72 ajax-thumbnail-rebuild.php:139
30
- msgid "Done."
31
- msgstr "Fertig."
32
-
33
- #: ajax-thumbnail-rebuild.php:76 ajax-thumbnail-rebuild.php:163
34
- msgid "Error"
35
- msgstr "Fehler"
36
-
37
- #: ajax-thumbnail-rebuild.php:90
38
- msgid "Ajax Thumbnail Rebuild"
39
- msgstr ""
40
-
41
- #: ajax-thumbnail-rebuild.php:131
42
- msgid "No attachments found."
43
- msgstr "Keine Anhänge gefunden."
44
-
45
- #: ajax-thumbnail-rebuild.php:143
46
- #, php-format
47
- msgid "Rebuilding %s of %s (%s)..."
48
- msgstr "Erzeuge %s von %s (%s) neu..."
49
-
50
- #: ajax-thumbnail-rebuild.php:180
51
- msgid "Select which thumbnails you want to rebuild"
52
- msgstr "Neu zu erstellende Miniaturbilder auswählen"
53
-
54
- #: ajax-thumbnail-rebuild.php:181
55
- msgid "Toggle all"
56
- msgstr "Auswahl umkehren"
57
-
58
- #: ajax-thumbnail-rebuild.php:191
59
- msgid "cropped"
60
- msgstr "beschneiden"
61
-
62
- #: ajax-thumbnail-rebuild.php:202
63
- msgid "Only rebuild featured images"
64
- msgstr "Nur Artikelbilder neu erstellen"
65
-
66
- #: ajax-thumbnail-rebuild.php:206
67
- msgid ""
68
- "Note: If you've changed the dimensions of your thumbnails, existing "
69
- "thumbnail images will not be deleted."
70
- msgstr ""
71
- "Hinweis: Bei Änderung der Dimensionen werden alte Bilder nicht gelöscht."
72
-
73
- #: ajax-thumbnail-rebuild.php:209
74
- msgid "Rebuild All Thumbnails"
75
- msgstr "Alle Miniaturbilder neu erzeugen"
76
-
77
- #: ajax-thumbnail-rebuild.php:213
78
- msgid "Last image"
79
- msgstr "Letztes Bild"
80
-
81
- #: ajax-thumbnail-rebuild.php:216
82
- #, php-format
83
- msgid ""
84
- "If you find this plugin useful, I'd be happy to read your comments on the "
85
- "%splugin homepage%s. If you experience any problems, feel free to leave a "
86
- "comment too."
87
- msgstr ""
88
-
89
- #. Plugin Name of the plugin/theme
90
- msgid "AJAX Thumbnail Rebuild"
91
- msgstr ""
92
-
93
- #. Plugin URI of the plugin/theme
94
- msgid "http://breiti.cc/wordpress/ajax-thumbnail-rebuild"
95
- msgstr ""
96
-
97
- #. Description of the plugin/theme
98
- msgid "Rebuild all thumbnails"
99
- msgstr "Miniaturbilder neu erstellen"
100
-
101
- #. Author of the plugin/theme
102
- msgid "junkcoder"
103
- msgstr ""
104
-
105
- #. Author URI of the plugin/theme
106
- msgid "http://breiti.cc"
107
- msgstr ""
1
+ # Copyright (C) 2010 AJAX Thumbnail Rebuild
2
+ # This file is distributed under the same license as the AJAX Thumbnail Rebuild package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: AJAX Thumbnail Rebuild 1.05\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/ajax-thumbnail-rebuild\n"
7
+ "POT-Creation-Date: 2017-09-26 09:37+0300\n"
8
+ "PO-Revision-Date: 2017-09-26 09:39+0300\n"
9
+ "Last-Translator: \n"
10
+ "Language-Team: \n"
11
+ "Language: de_DE\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 2.0.3\n"
16
+
17
+ #: ajax-thumbnail-rebuild.php:35
18
+ msgid "Rebuild all Thumbnails"
19
+ msgstr "Alle Miniaturbilder neu erstellen"
20
+
21
+ #: ajax-thumbnail-rebuild.php:35
22
+ msgid "Rebuild Thumbnails"
23
+ msgstr "Miniaturbilder neu erstellen"
24
+
25
+ #: ajax-thumbnail-rebuild.php:64 ajax-thumbnail-rebuild.php:110
26
+ msgid "Reading attachments..."
27
+ msgstr "Anhänge lesen..."
28
+
29
+ #: ajax-thumbnail-rebuild.php:72 ajax-thumbnail-rebuild.php:139
30
+ msgid "Done."
31
+ msgstr "Fertig."
32
+
33
+ #: ajax-thumbnail-rebuild.php:76 ajax-thumbnail-rebuild.php:163
34
+ msgid "Error"
35
+ msgstr "Fehler"
36
+
37
+ #: ajax-thumbnail-rebuild.php:90
38
+ msgid "Ajax Thumbnail Rebuild"
39
+ msgstr ""
40
+
41
+ #: ajax-thumbnail-rebuild.php:131
42
+ msgid "No attachments found."
43
+ msgstr "Keine Anhänge gefunden."
44
+
45
+ #: ajax-thumbnail-rebuild.php:143
46
+ #, php-format
47
+ msgid "Rebuilding %s of %s (%s)..."
48
+ msgstr "Erzeuge %s von %s (%s) neu..."
49
+
50
+ #: ajax-thumbnail-rebuild.php:180
51
+ msgid "Select which thumbnails you want to rebuild"
52
+ msgstr "Neu zu erstellende Miniaturbilder auswählen"
53
+
54
+ #: ajax-thumbnail-rebuild.php:181
55
+ msgid "Toggle all"
56
+ msgstr "Auswahl umkehren"
57
+
58
+ #: ajax-thumbnail-rebuild.php:191
59
+ msgid "cropped"
60
+ msgstr "beschneiden"
61
+
62
+ #: ajax-thumbnail-rebuild.php:202
63
+ msgid "Only rebuild featured images"
64
+ msgstr "Nur Artikelbilder neu erstellen"
65
+
66
+ #: ajax-thumbnail-rebuild.php:206
67
+ msgid ""
68
+ "Note: If you've changed the dimensions of your thumbnails, existing "
69
+ "thumbnail images will not be deleted."
70
+ msgstr ""
71
+ "Hinweis: Bei Änderung der Dimensionen werden alte Bilder nicht gelöscht."
72
+
73
+ #: ajax-thumbnail-rebuild.php:209
74
+ msgid "Rebuild All Thumbnails"
75
+ msgstr "Alle Miniaturbilder neu erzeugen"
76
+
77
+ #: ajax-thumbnail-rebuild.php:213
78
+ msgid "Last image"
79
+ msgstr "Letztes Bild"
80
+
81
+ #: ajax-thumbnail-rebuild.php:216
82
+ #, php-format
83
+ msgid ""
84
+ "If you find this plugin useful, I'd be happy to read your comments on the "
85
+ "%splugin homepage%s. If you experience any problems, feel free to leave a "
86
+ "comment too."
87
+ msgstr ""
88
+
89
+ #. Plugin Name of the plugin/theme
90
+ msgid "AJAX Thumbnail Rebuild"
91
+ msgstr ""
92
+
93
+ #. Plugin URI of the plugin/theme
94
+ msgid "http://breiti.cc/wordpress/ajax-thumbnail-rebuild"
95
+ msgstr ""
96
+
97
+ #. Description of the plugin/theme
98
+ msgid "Rebuild all thumbnails"
99
+ msgstr "Miniaturbilder neu erstellen"
100
+
101
+ #. Author of the plugin/theme
102
+ msgid "junkcoder"
103
+ msgstr ""
104
+
105
+ #. Author URI of the plugin/theme
106
+ msgid "http://breiti.cc"
107
+ msgstr ""
languages/ajax-thumbnail-rebuild-et.po CHANGED
@@ -1,95 +1,95 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Ajax Thumbnail Rebuild\n"
4
- "Report-Msgid-Bugs-To: http://wordpress.org/support/theme/style\n"
5
- "POT-Creation-Date: 2017-09-26 09:29+0300\n"
6
- "PO-Revision-Date: 2017-09-26 09:37+0300\n"
7
- "Last-Translator: Risto Niinemets <risto@konekt.ee>\n"
8
- "Language-Team: \n"
9
- "Language: et_EE\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.0.3\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c\n"
17
- "X-Poedit-SourceCharset: UTF-8\n"
18
- "X-Poedit-SearchPath-0: ..\n"
19
- "X-Poedit-SearchPathExcluded-0: ../.git\n"
20
- "X-Poedit-SearchPathExcluded-1: .git\n"
21
-
22
- #: ../ajax-thumbnail-rebuild.php:35
23
- msgid "Rebuild all Thumbnails"
24
- msgstr "Uuenda valitud suurused"
25
-
26
- #: ../ajax-thumbnail-rebuild.php:35
27
- msgid "Rebuild Thumbnails"
28
- msgstr "Pisipiltide uuendamine"
29
-
30
- #: ../ajax-thumbnail-rebuild.php:64 ../ajax-thumbnail-rebuild.php:110
31
- msgid "Reading attachments..."
32
- msgstr "Laeme sisse pilte..."
33
-
34
- #: ../ajax-thumbnail-rebuild.php:72 ../ajax-thumbnail-rebuild.php:139
35
- msgid "Done."
36
- msgstr "Uuendatud!"
37
-
38
- #: ../ajax-thumbnail-rebuild.php:76 ../ajax-thumbnail-rebuild.php:163
39
- msgid "Error"
40
- msgstr "Viga"
41
-
42
- #: ../ajax-thumbnail-rebuild.php:90
43
- msgid "Ajax Thumbnail Rebuild"
44
- msgstr "Ajax Thumbnail Rebuild"
45
-
46
- #: ../ajax-thumbnail-rebuild.php:131
47
- msgid "No attachments found."
48
- msgstr "Pilte ei leitud."
49
-
50
- #: ../ajax-thumbnail-rebuild.php:143
51
- #, php-format
52
- msgid "Rebuilding %s of %s (%s)..."
53
- msgstr "Uuendame pilti %s/%s (%s)..."
54
-
55
- #: ../ajax-thumbnail-rebuild.php:180
56
- msgid "Select which thumbnails you want to rebuild"
57
- msgstr "Vali piltide suurused, mida soovid uuendada"
58
-
59
- #: ../ajax-thumbnail-rebuild.php:181
60
- msgid "Toggle all"
61
- msgstr "Vali kõik"
62
-
63
- #: ../ajax-thumbnail-rebuild.php:191
64
- msgid "cropped"
65
- msgstr "lõigatud"
66
-
67
- #: ../ajax-thumbnail-rebuild.php:202
68
- msgid "Only rebuild featured images"
69
- msgstr "Uuenda ainult tunnuspilte"
70
-
71
- #: ../ajax-thumbnail-rebuild.php:206
72
- msgid ""
73
- "Note: If you've changed the dimensions of your thumbnails, existing "
74
- "thumbnail images will not be deleted."
75
- msgstr ""
76
- "Märkus: kui sa oled muutnud pisipiltide suuruseid, siis olemasolevaid "
77
- "pisipilte ei kustutata."
78
-
79
- #: ../ajax-thumbnail-rebuild.php:209
80
- msgid "Rebuild All Thumbnails"
81
- msgstr "Uuenda valitud suurused"
82
-
83
- #: ../ajax-thumbnail-rebuild.php:213
84
- msgid "Last image"
85
- msgstr "Eelmine pilt"
86
-
87
- #: ../ajax-thumbnail-rebuild.php:216
88
- #, php-format
89
- msgid ""
90
- "If you find this plugin useful, I'd be happy to read your comments on the "
91
- "%splugin homepage%s. If you experience any problems, feel free to leave a "
92
- "comment too."
93
- msgstr ""
94
- "Kui see plugin on sulle kasulik, anna sellest teada %smeie kodulehel%s. "
95
- "Probleemide korral anna ka nendest teada."
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Ajax Thumbnail Rebuild\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/theme/style\n"
5
+ "POT-Creation-Date: 2017-09-26 09:29+0300\n"
6
+ "PO-Revision-Date: 2017-09-26 09:37+0300\n"
7
+ "Last-Translator: Risto Niinemets <risto@konekt.ee>\n"
8
+ "Language-Team: \n"
9
+ "Language: et_EE\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.0.3\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
+ "X-Poedit-SearchPathExcluded-0: ../.git\n"
20
+ "X-Poedit-SearchPathExcluded-1: .git\n"
21
+
22
+ #: ../ajax-thumbnail-rebuild.php:35
23
+ msgid "Rebuild all Thumbnails"
24
+ msgstr "Uuenda valitud suurused"
25
+
26
+ #: ../ajax-thumbnail-rebuild.php:35
27
+ msgid "Rebuild Thumbnails"
28
+ msgstr "Pisipiltide uuendamine"
29
+
30
+ #: ../ajax-thumbnail-rebuild.php:64 ../ajax-thumbnail-rebuild.php:110
31
+ msgid "Reading attachments..."
32
+ msgstr "Laeme sisse pilte..."
33
+
34
+ #: ../ajax-thumbnail-rebuild.php:72 ../ajax-thumbnail-rebuild.php:139
35
+ msgid "Done."
36
+ msgstr "Uuendatud!"
37
+
38
+ #: ../ajax-thumbnail-rebuild.php:76 ../ajax-thumbnail-rebuild.php:163
39
+ msgid "Error"
40
+ msgstr "Viga"
41
+
42
+ #: ../ajax-thumbnail-rebuild.php:90
43
+ msgid "Ajax Thumbnail Rebuild"
44
+ msgstr "Ajax Thumbnail Rebuild"
45
+
46
+ #: ../ajax-thumbnail-rebuild.php:131
47
+ msgid "No attachments found."
48
+ msgstr "Pilte ei leitud."
49
+
50
+ #: ../ajax-thumbnail-rebuild.php:143
51
+ #, php-format
52
+ msgid "Rebuilding %s of %s (%s)..."
53
+ msgstr "Uuendame pilti %s/%s (%s)..."
54
+
55
+ #: ../ajax-thumbnail-rebuild.php:180
56
+ msgid "Select which thumbnails you want to rebuild"
57
+ msgstr "Vali piltide suurused, mida soovid uuendada"
58
+
59
+ #: ../ajax-thumbnail-rebuild.php:181
60
+ msgid "Toggle all"
61
+ msgstr "Vali kõik"
62
+
63
+ #: ../ajax-thumbnail-rebuild.php:191
64
+ msgid "cropped"
65
+ msgstr "lõigatud"
66
+
67
+ #: ../ajax-thumbnail-rebuild.php:202
68
+ msgid "Only rebuild featured images"
69
+ msgstr "Uuenda ainult tunnuspilte"
70
+
71
+ #: ../ajax-thumbnail-rebuild.php:206
72
+ msgid ""
73
+ "Note: If you've changed the dimensions of your thumbnails, existing "
74
+ "thumbnail images will not be deleted."
75
+ msgstr ""
76
+ "Märkus: kui sa oled muutnud pisipiltide suuruseid, siis olemasolevaid "
77
+ "pisipilte ei kustutata."
78
+
79
+ #: ../ajax-thumbnail-rebuild.php:209
80
+ msgid "Rebuild All Thumbnails"
81
+ msgstr "Uuenda valitud suurused"
82
+
83
+ #: ../ajax-thumbnail-rebuild.php:213
84
+ msgid "Last image"
85
+ msgstr "Eelmine pilt"
86
+
87
+ #: ../ajax-thumbnail-rebuild.php:216
88
+ #, php-format
89
+ msgid ""
90
+ "If you find this plugin useful, I'd be happy to read your comments on the "
91
+ "%splugin homepage%s. If you experience any problems, feel free to leave a "
92
+ "comment too."
93
+ msgstr ""
94
+ "Kui see plugin on sulle kasulik, anna sellest teada %smeie kodulehel%s. "
95
+ "Probleemide korral anna ka nendest teada."
languages/ajax-thumbnail-rebuild.pot CHANGED
@@ -1,113 +1,113 @@
1
- #, fuzzy
2
- msgid ""
3
- msgstr ""
4
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
- "Project-Id-Version: AJAX Thumbnail Rebuild\n"
6
- "POT-Creation-Date: 2017-09-26 09:37+0300\n"
7
- "PO-Revision-Date: 2017-09-26 09:37+0300\n"
8
- "Last-Translator: \n"
9
- "Language-Team: \n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.0.3\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16
- "X-Poedit-WPHeader: ajax-thumbnail-rebuild.php\n"
17
- "X-Poedit-SourceCharset: UTF-8\n"
18
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
19
- "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
20
- "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
21
- "X-Poedit-SearchPath-0: .\n"
22
- "X-Poedit-SearchPathExcluded-0: *.js\n"
23
-
24
- #: ajax-thumbnail-rebuild.php:35
25
- msgid "Rebuild all Thumbnails"
26
- msgstr ""
27
-
28
- #: ajax-thumbnail-rebuild.php:35
29
- msgid "Rebuild Thumbnails"
30
- msgstr ""
31
-
32
- #: ajax-thumbnail-rebuild.php:64 ajax-thumbnail-rebuild.php:110
33
- msgid "Reading attachments..."
34
- msgstr ""
35
-
36
- #: ajax-thumbnail-rebuild.php:72 ajax-thumbnail-rebuild.php:139
37
- msgid "Done."
38
- msgstr ""
39
-
40
- #: ajax-thumbnail-rebuild.php:76 ajax-thumbnail-rebuild.php:163
41
- msgid "Error"
42
- msgstr ""
43
-
44
- #: ajax-thumbnail-rebuild.php:90
45
- msgid "Ajax Thumbnail Rebuild"
46
- msgstr ""
47
-
48
- #: ajax-thumbnail-rebuild.php:131
49
- msgid "No attachments found."
50
- msgstr ""
51
-
52
- #: ajax-thumbnail-rebuild.php:143
53
- #, php-format
54
- msgid "Rebuilding %s of %s (%s)..."
55
- msgstr ""
56
-
57
- #: ajax-thumbnail-rebuild.php:180
58
- msgid "Select which thumbnails you want to rebuild"
59
- msgstr ""
60
-
61
- #: ajax-thumbnail-rebuild.php:181
62
- msgid "Toggle all"
63
- msgstr ""
64
-
65
- #: ajax-thumbnail-rebuild.php:191
66
- msgid "cropped"
67
- msgstr ""
68
-
69
- #: ajax-thumbnail-rebuild.php:202
70
- msgid "Only rebuild featured images"
71
- msgstr ""
72
-
73
- #: ajax-thumbnail-rebuild.php:206
74
- msgid ""
75
- "Note: If you've changed the dimensions of your thumbnails, existing "
76
- "thumbnail images will not be deleted."
77
- msgstr ""
78
-
79
- #: ajax-thumbnail-rebuild.php:209
80
- msgid "Rebuild All Thumbnails"
81
- msgstr ""
82
-
83
- #: ajax-thumbnail-rebuild.php:213
84
- msgid "Last image"
85
- msgstr ""
86
-
87
- #: ajax-thumbnail-rebuild.php:216
88
- #, php-format
89
- msgid ""
90
- "If you find this plugin useful, I'd be happy to read your comments on the "
91
- "%splugin homepage%s. If you experience any problems, feel free to leave a "
92
- "comment too."
93
- msgstr ""
94
-
95
- #. Plugin Name of the plugin/theme
96
- msgid "AJAX Thumbnail Rebuild"
97
- msgstr ""
98
-
99
- #. Plugin URI of the plugin/theme
100
- msgid "http://breiti.cc/wordpress/ajax-thumbnail-rebuild"
101
- msgstr ""
102
-
103
- #. Description of the plugin/theme
104
- msgid "Rebuild all thumbnails"
105
- msgstr ""
106
-
107
- #. Author of the plugin/theme
108
- msgid "junkcoder"
109
- msgstr ""
110
-
111
- #. Author URI of the plugin/theme
112
- msgid "http://breiti.cc"
113
- msgstr ""
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
+ "Project-Id-Version: AJAX Thumbnail Rebuild\n"
6
+ "POT-Creation-Date: 2017-09-26 09:37+0300\n"
7
+ "PO-Revision-Date: 2017-09-26 09:37+0300\n"
8
+ "Last-Translator: \n"
9
+ "Language-Team: \n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.0.3\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16
+ "X-Poedit-WPHeader: ajax-thumbnail-rebuild.php\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
19
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
20
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
21
+ "X-Poedit-SearchPath-0: .\n"
22
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
23
+
24
+ #: ajax-thumbnail-rebuild.php:35
25
+ msgid "Rebuild all Thumbnails"
26
+ msgstr ""
27
+
28
+ #: ajax-thumbnail-rebuild.php:35
29
+ msgid "Rebuild Thumbnails"
30
+ msgstr ""
31
+
32
+ #: ajax-thumbnail-rebuild.php:64 ajax-thumbnail-rebuild.php:110
33
+ msgid "Reading attachments..."
34
+ msgstr ""
35
+
36
+ #: ajax-thumbnail-rebuild.php:72 ajax-thumbnail-rebuild.php:139
37
+ msgid "Done."
38
+ msgstr ""
39
+
40
+ #: ajax-thumbnail-rebuild.php:76 ajax-thumbnail-rebuild.php:163
41
+ msgid "Error"
42
+ msgstr ""
43
+
44
+ #: ajax-thumbnail-rebuild.php:90
45
+ msgid "Ajax Thumbnail Rebuild"
46
+ msgstr ""
47
+
48
+ #: ajax-thumbnail-rebuild.php:131
49
+ msgid "No attachments found."
50
+ msgstr ""
51
+
52
+ #: ajax-thumbnail-rebuild.php:143
53
+ #, php-format
54
+ msgid "Rebuilding %s of %s (%s)..."
55
+ msgstr ""
56
+
57
+ #: ajax-thumbnail-rebuild.php:180
58
+ msgid "Select which thumbnails you want to rebuild"
59
+ msgstr ""
60
+
61
+ #: ajax-thumbnail-rebuild.php:181
62
+ msgid "Toggle all"
63
+ msgstr ""
64
+
65
+ #: ajax-thumbnail-rebuild.php:191
66
+ msgid "cropped"
67
+ msgstr ""
68
+
69
+ #: ajax-thumbnail-rebuild.php:202
70
+ msgid "Only rebuild featured images"
71
+ msgstr ""
72
+
73
+ #: ajax-thumbnail-rebuild.php:206
74
+ msgid ""
75
+ "Note: If you've changed the dimensions of your thumbnails, existing "
76
+ "thumbnail images will not be deleted."
77
+ msgstr ""
78
+
79
+ #: ajax-thumbnail-rebuild.php:209
80
+ msgid "Rebuild All Thumbnails"
81
+ msgstr ""
82
+
83
+ #: ajax-thumbnail-rebuild.php:213
84
+ msgid "Last image"
85
+ msgstr ""
86
+
87
+ #: ajax-thumbnail-rebuild.php:216
88
+ #, php-format
89
+ msgid ""
90
+ "If you find this plugin useful, I'd be happy to read your comments on the "
91
+ "%splugin homepage%s. If you experience any problems, feel free to leave a "
92
+ "comment too."
93
+ msgstr ""
94
+
95
+ #. Plugin Name of the plugin/theme
96
+ msgid "AJAX Thumbnail Rebuild"
97
+ msgstr ""
98
+
99
+ #. Plugin URI of the plugin/theme
100
+ msgid "http://breiti.cc/wordpress/ajax-thumbnail-rebuild"
101
+ msgstr ""
102
+
103
+ #. Description of the plugin/theme
104
+ msgid "Rebuild all thumbnails"
105
+ msgstr ""
106
+
107
+ #. Author of the plugin/theme
108
+ msgid "junkcoder"
109
+ msgstr ""
110
+
111
+ #. Author URI of the plugin/theme
112
+ msgid "http://breiti.cc"
113
+ msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://breiti.cc/wordpress/ajax-thumbnail-rebuild/#donate
4
  Tags: ajax, thumbnail, rebuild, regenerate, admin, image, photo
5
  Requires at least: 2.8
6
  Tested up to: 4.8.2
7
- Stable tag: 1.2
8
 
9
  AJAX Thumbnail Rebuild allows you to rebuild all thumbnails at once without script timeouts on your server.
10
 
@@ -28,6 +28,10 @@ Upload the plugin to your blog, activate it, done. You can then rebuild all thum
28
 
29
  == Changelog ==
30
 
 
 
 
 
31
  = 1.2 =
32
 
33
  * Compatibility with PHP7
4
  Tags: ajax, thumbnail, rebuild, regenerate, admin, image, photo
5
  Requires at least: 2.8
6
  Tested up to: 4.8.2
7
+ Stable tag: 1.2.1
8
 
9
  AJAX Thumbnail Rebuild allows you to rebuild all thumbnails at once without script timeouts on your server.
10
 
28
 
29
  == Changelog ==
30
 
31
+ = 1.2.1 =
32
+
33
+ * NEW: Allow custom crop areas (see https://developer.wordpress.org/reference/functions/add_image_size/#parameters)
34
+
35
  = 1.2 =
36
 
37
  * Compatibility with PHP7