Post Thumbnail Editor - Version 2.4.6

Version Description

  • Fixed bug with post's media library
  • Check if featuredImage exists before override to avoid JS error (@gbonhevi)
Download this release

Release Info

Developer sewpafly
Plugin Icon Post Thumbnail Editor
Version 2.4.6
Comparing to
See all releases

Code changes from version 2.4.5 to 2.4.6

Makefile CHANGED
@@ -28,6 +28,7 @@ ifdef I18N
28
  php '$(I18N)' wp-plugin ../
29
  endif
30
  # To translate the .po to .mo files
 
31
  # msgfmt -o filename.mo filename.po
32
 
33
  # Clean
28
  php '$(I18N)' wp-plugin ../
29
  endif
30
  # To translate the .po to .mo files
31
+ # for file in `find . -name "*.po"` ; do msgfmt -o ${file/.po/.mo} $file ; done
32
  # msgfmt -o filename.mo filename.po
33
 
34
  # Clean
README.txt CHANGED
@@ -36,7 +36,7 @@ To meet the needs of themes where the post-thumbnails have random and capricious
36
  2. Click the "Post Thumbnail Editor" link under the other thumbnail options.
37
  3. Using Post Thumbnail Editor Interface
38
  1. Select the thumbnails you want to edit. If a thumbnail defines a specific aspect ratio it will be applied to the editor. If you select thumbnails with different aspect ratios (`width / height`), this feature is disabled. Be careful or you might make some of your pictures look funny.
39
- 2. Select the cropped/scaled area, by clicking and dragging on the left-hand image.
40
  3. Click the "Crop" button.
41
  4. Use the save icon to save the pictures, or use the view tab to compare the old and new versions before you commit.
42
  4. It's possible that you might have to refresh the cache (ctrl+f5 on the page) to see changes, but they should be there.
@@ -75,6 +75,10 @@ If you want to post a problem on the [support forums][wp] or at [github][gh] ple
75
 
76
  == Changelog ==
77
 
 
 
 
 
78
  = 2.4.5 =
79
  * Fixed bug with post's media library
80
 
@@ -192,5 +196,6 @@ If you want to post a problem on the [support forums][wp] or at [github][gh] ple
192
 
193
  == Upgrade Notice ==
194
 
195
- = 2.4.5 =
 
196
  * Fixed post media library bug
36
  2. Click the "Post Thumbnail Editor" link under the other thumbnail options.
37
  3. Using Post Thumbnail Editor Interface
38
  1. Select the thumbnails you want to edit. If a thumbnail defines a specific aspect ratio it will be applied to the editor. If you select thumbnails with different aspect ratios (`width / height`), this feature is disabled. Be careful or you might make some of your pictures look funny.
39
+ 2. Select the cropped/scaled area, by clicking and dragging on the left-hand image.
40
  3. Click the "Crop" button.
41
  4. Use the save icon to save the pictures, or use the view tab to compare the old and new versions before you commit.
42
  4. It's possible that you might have to refresh the cache (ctrl+f5 on the page) to see changes, but they should be there.
75
 
76
  == Changelog ==
77
 
78
+ = 2.4.6 =
79
+ * Fixed bug with post's media library
80
+ * Check if featuredImage exists before override to avoid JS error (@gbonhevi)
81
+
82
  = 2.4.5 =
83
  * Fixed bug with post's media library
84
 
196
 
197
  == Upgrade Notice ==
198
 
199
+ = 2.4.6 =
200
+ * Updated polish translation
201
  * Fixed post media library bug
i18n/post-thumbnail-editor-pl_PL.mo CHANGED
Binary file
i18n/post-thumbnail-editor-pl_PL.po CHANGED
@@ -4,113 +4,219 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Post Thumbnail Editor 2.0.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/post-thumbnail-editor\n"
7
- "POT-Creation-Date: 2013-03-08 04:51:59+00:00\n"
 
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2013-11-14 22:21+0100\n"
12
- "Last-Translator: Batek Florczak <kontakt@bartekflorczak.pl>\n"
13
- "Language-Team: Bartosz Florczak <kontakt@bartekflorczak.pl>\n"
14
- "Language: Polish\n"
15
- "X-Generator: Poedit 1.5.5\n"
16
-
17
- #. #-#-#-#-# post-thumbnail-editor.pot (Post Thumbnail Editor 2.0.0-beta) #-#-#-#-#
18
- #. Plugin Name of the plugin/theme
19
- #: html/pte.php:166 php/options.php:55 post-thumbnail-editor.php:107
20
- #: post-thumbnail-editor.php:207 post-thumbnail-editor.php:208
21
- #: post-thumbnail-editor.php:216 post-thumbnail-editor.php:217
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  msgid "Post Thumbnail Editor"
23
  msgstr "Edytor Ikon Wpisu"
24
 
25
- #: html/pte.php:167
26
  msgid "crop and resize"
27
  msgstr "przytnij i pomniejsz"
28
 
29
- #: html/pte.php:171 html/pte.php:206
30
- msgid "Crop"
31
- msgstr "Przycinanie"
32
-
33
- #: html/pte.php:172
34
  msgid "View"
35
  msgstr "Zobacz"
36
 
37
- #: html/pte.php:201
38
  msgid "Options"
39
  msgstr "Opcje"
40
 
41
- #: html/pte.php:214
42
  msgid "Aspect Ratio"
43
  msgstr "Proporcje Obrazu"
44
 
45
- #: html/pte.php:215
46
  msgid "width/height"
47
  msgstr "szerokość/wysokość"
48
 
49
- #: html/pte.php:229 php/options.php:37 post-thumbnail-editor.php:178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  msgid "Thumbnails"
51
  msgstr "Miniatury"
52
 
53
- #: html/pte.php:235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  msgid "Save all"
55
  msgstr "Zapisz wszystko"
56
 
57
- #: html/pte.php:240
58
  msgid "Reset all"
59
  msgstr "Zresetuj wszystko"
60
 
61
- #: html/pte.php:244
62
  msgid "View all/modified"
63
  msgstr "Zobacz wszystkie/zmodyfikowane"
64
 
65
- #: html/pte.php:263
66
- msgid "Save"
67
- msgstr "Zapisz"
68
-
69
- #: html/pte.php:266
70
  msgid "Reset"
71
  msgstr "Zresetuj"
72
 
73
- #: html/pte.php:269
74
  msgid "Compare/View"
75
  msgstr "Porównaj/Zobacz"
76
 
77
- #: html/pte.php:276
78
  msgid "These thumbnails have an aspect ratio set:"
79
  msgstr "Proporcje miniatur:"
80
 
81
- #: html/pte.php:301
 
 
 
 
82
  msgid "Original"
83
  msgstr "Oryginał"
84
 
85
- #: html/pte.php:308
86
  msgid "No image has been generated yet for image: "
87
  msgstr "Nie wygenerowano jeszcze obrazu dla pliku:"
88
 
89
- #: html/pte.php:315
90
  msgid "Proposed"
91
  msgstr "Propozycja"
92
 
93
- #: php/functions.php:239
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  msgid "Invalid meta data for POST #%d: %s"
95
  msgstr "Błędne dane POST #%d: %s"
96
 
97
- #: php/functions.php:244
98
  msgid "Please contact support"
99
  msgstr "Proszę skontaktować się z pomocą techniczną"
100
 
101
- #: php/log.php:15
102
  msgid "ERROR"
103
  msgstr "BŁĄD"
104
 
105
- #: php/log.php:18
106
  msgid "WARNING"
107
  msgstr "OSTRZEŻENIE"
108
 
109
- #: php/log.php:21
 
 
 
 
110
  msgid "DEBUG"
111
  msgstr "DEBUGOWANIE"
112
 
113
- #: php/log.php:101
 
114
  msgid "ERROR Logging Message: %s"
115
  msgstr "BŁĄD logowania wiadomości: %s"
116
 
@@ -122,98 +228,125 @@ msgstr "Opcje użytkownika"
122
  msgid "Debug"
123
  msgstr "Debugowanie"
124
 
125
- #: php/options.php:22
 
 
 
 
126
  msgid "Reset to defaults"
127
  msgstr "Przywróć do stanu pierwotnego"
128
 
129
- #: php/options.php:33
130
  msgid "Site Options"
131
  msgstr "Opcje Strony"
132
 
133
- #: php/options.php:42
134
- msgid "JPEG Compression"
135
- msgstr "Kompresja JPEG"
136
-
137
- #: php/options.php:63
138
- msgid "Save Changes"
139
- msgstr "Zapisz Zmiany"
140
 
141
- #: php/options.php:77
142
  msgid ""
143
- "Only users with the 'manage_options' capability may make changes to these "
144
- "settings."
145
  msgstr ""
146
- "Tylko użytkownicy z uprawnieniami na poziomie 'manage_options' mogą zmieniać "
147
- "te ustawienia."
148
 
149
- #: php/options.php:103
150
  msgid "JPEG Compression needs to be set from 0 to 100."
151
  msgstr "Kompresja JPEG powinna mieścić się w zakresie 0 do 100."
152
 
153
- #: php/options.php:129
 
 
 
 
154
  msgid "Enable debugging"
155
  msgstr "Włącz debugowanie"
156
 
157
- #: php/options.php:132
158
- msgid "WP_DEBUG is currently set to true and will override this setting."
159
- msgstr "WP_DEBUG jest ustawiona na true i nadpisuje to ustawienie."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
 
161
- #: php/options.php:143
162
- msgid "Reset User Options"
163
- msgstr "Zresetuj Opcje Użytkownika"
164
 
165
- #: php/options.php:169
 
 
 
 
 
 
 
 
 
 
 
 
166
  msgid "Post Thumbnail"
167
  msgstr "Ikona Wpisu"
168
 
169
- #: php/options.php:170
170
  msgid "Hidden"
171
  msgstr "Ukryte"
172
 
173
- #: php/options.php:199
174
  msgid "Set the compression level for resizing jpeg images (0 to 100)."
175
  msgstr "Ustaw poziom kompresji dla zmienianych obrazów (0 do 100)."
176
 
177
- #: php/options.php:200
178
  msgid "No entry defaults to using the 'jpeg_quality' filter or 90"
179
  msgstr "Brak domyślnego ustawienia filtra ' 'jpeg_quality'"
180
 
181
- #: php/options.php:210
 
 
 
 
 
182
  msgid "These site-wide settings can only be changed by an administrator"
183
  msgstr "Te ustawienia mogą być zmieniane tylko przez administratora"
184
 
185
- #: post-thumbnail-editor.php:177
186
  msgid "Edit Thumbnails"
187
  msgstr "Edytuj Miniatury"
188
 
189
- #: post-thumbnail-editor.php:276
190
- msgid "No thumbnails selected"
191
- msgstr "Nie wybrano miniatur"
192
 
193
- #: post-thumbnail-editor.php:277
194
- msgid "No crop selected"
195
- msgstr "Nie zaznaczono obszaru kadrowania"
196
 
197
- #: post-thumbnail-editor.php:278
198
- msgid "Cropping will likely result in skewed imagery"
199
- msgstr "Kadrowanie może doprowadzić do zniekształceń"
200
 
201
- #: post-thumbnail-editor.php:279
202
- msgid "There was a problem saving the crop..."
203
- msgstr "Wystąpił problem z zapisem kadru..."
204
 
205
- #. Plugin URI of the plugin/theme
206
- msgid "http://wordpress.org/extend/plugins/post-thumbnail-editor/"
207
- msgstr "http://wordpress.org/extend/plugins/post-thumbnail-editor/"
208
 
209
- #. Description of the plugin/theme
210
- msgid "Individually manage your post thumbnails"
211
- msgstr "Osobno zarządzaj ikonami wpisów"
212
 
213
- #. Author of the plugin/theme
214
- msgid "sewpafly"
215
- msgstr "sewpafly"
216
 
217
- #. Author URI of the plugin/theme
218
- msgid "http://sewpafly.github.com/post-thumbnail-editor"
219
- msgstr "http://sewpafly.github.com/post-thumbnail-editor"
4
  msgstr ""
5
  "Project-Id-Version: Post Thumbnail Editor 2.0.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/post-thumbnail-editor\n"
7
+ "POT-Creation-Date: 2015-06-16 11:57+0100\n"
8
+ "PO-Revision-Date: 2015-06-16 11:57+0100\n"
9
+ "Last-Translator: Batek Florczak <kontakt@bartekflorczak.pl>\n"
10
+ "Language-Team: Bartosz Florczak <kontakt@bartekflorczak.pl>\n"
11
+ "Language: pl\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 1.8.1\n"
16
+ "X-Poedit-Basepath: ..\\\n"
17
+ "X-Poedit-KeywordsList: _e;__\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+ "X-Poedit-SearchPathExcluded-0: js-build\n"
20
+
21
+ #: html/pte.php:23
22
+ msgid "No thumbnails selected"
23
+ msgstr "Nie wybrano miniatur"
24
+
25
+ #: html/pte.php:24
26
+ msgid "No crop selected"
27
+ msgstr "Nie zaznaczono obszaru kadrowania"
28
+
29
+ #: html/pte.php:25
30
+ msgid "Cropping will likely result in skewed imagery"
31
+ msgstr "Kadrowanie może doprowadzić do zniekształceń"
32
+
33
+ #: html/pte.php:26
34
+ msgid "There was a problem saving the crop..."
35
+ msgstr "Wystąpił problem z zapisem kadru..."
36
+
37
+ #: html/pte.php:27 php/options.php:22
38
+ msgid "Crop and Save"
39
+ msgstr "Przytnij i zapisz"
40
+
41
+ #: html/pte.php:28 html/pte.php:52
42
+ msgid "Crop"
43
+ msgstr "Przycinanie"
44
+
45
+ #: html/pte.php:29 html/pte.php:201
46
+ msgid "Save"
47
+ msgstr "Zapisz"
48
+
49
+ #: html/pte.php:30
50
+ msgid "Set transparent"
51
+ msgstr "Przezroczyste"
52
+
53
+ #: html/pte.php:31
54
+ msgid "transparent/white"
55
+ msgstr "przezroczysty / biały"
56
+
57
+ #: html/pte.php:46 php/options.php:79 post-thumbnail-editor.php:211
58
+ #: post-thumbnail-editor.php:340 post-thumbnail-editor.php:393
59
+ #: post-thumbnail-editor.php:394 post-thumbnail-editor.php:400
60
+ #: post-thumbnail-editor.php:401 post-thumbnail-editor.php:444
61
  msgid "Post Thumbnail Editor"
62
  msgstr "Edytor Ikon Wpisu"
63
 
64
+ #: html/pte.php:47
65
  msgid "crop and resize"
66
  msgstr "przytnij i pomniejsz"
67
 
68
+ #: html/pte.php:53
 
 
 
 
69
  msgid "View"
70
  msgstr "Zobacz"
71
 
72
+ #: html/pte.php:85
73
  msgid "Options"
74
  msgstr "Opcje"
75
 
76
+ #: html/pte.php:101
77
  msgid "Aspect Ratio"
78
  msgstr "Proporcje Obrazu"
79
 
80
+ #: html/pte.php:104
81
  msgid "width/height"
82
  msgstr "szerokość/wysokość"
83
 
84
+ #: html/pte.php:110
85
+ msgid "Crop and save"
86
+ msgstr "Przytnij i zapisz"
87
+
88
+ #: html/pte.php:119
89
+ msgid "Change the current thumbnails position:"
90
+ msgstr "Zmień bieżącą pozycję miniatury:"
91
+
92
+ #: html/pte.php:122 php/options.php:54
93
+ msgid "JPEG Compression"
94
+ msgstr "Kompresja JPEG"
95
+
96
+ #: html/pte.php:126
97
+ #, php-format
98
+ msgid "0 to 100 (Default: %d)"
99
+ msgstr "0 do 100 (Domyślnie:% d)"
100
+
101
+ #: html/pte.php:135
102
+ msgid "Fit crop to thumbnail by adding border"
103
+ msgstr "Przytnij do miniatury dodając ramkę"
104
+
105
+ #: html/pte.php:157 php/options.php:49 post-thumbnail-editor.php:361
106
  msgid "Thumbnails"
107
  msgstr "Miniatury"
108
 
109
+ #: html/pte.php:158
110
+ msgid "width"
111
+ msgstr "szerokość"
112
+
113
+ #: html/pte.php:158
114
+ msgid "W"
115
+ msgstr "Sz."
116
+
117
+ #: html/pte.php:159
118
+ msgid "height"
119
+ msgstr "Wysokość"
120
+
121
+ #: html/pte.php:159
122
+ msgid "H"
123
+ msgstr "Wys."
124
+
125
+ #: html/pte.php:160
126
+ msgid "crop"
127
+ msgstr "przycinanie"
128
+
129
+ #: html/pte.php:160
130
+ msgid "C"
131
+ msgstr "Przyc."
132
+
133
+ #: html/pte.php:166
134
  msgid "Save all"
135
  msgstr "Zapisz wszystko"
136
 
137
+ #: html/pte.php:171
138
  msgid "Reset all"
139
  msgstr "Zresetuj wszystko"
140
 
141
+ #: html/pte.php:175
142
  msgid "View all/modified"
143
  msgstr "Zobacz wszystkie/zmodyfikowane"
144
 
145
+ #: html/pte.php:204
 
 
 
 
146
  msgid "Reset"
147
  msgstr "Zresetuj"
148
 
149
+ #: html/pte.php:207
150
  msgid "Compare/View"
151
  msgstr "Porównaj/Zobacz"
152
 
153
+ #: html/pte.php:214
154
  msgid "These thumbnails have an aspect ratio set:"
155
  msgstr "Proporcje miniatur:"
156
 
157
+ #: html/pte.php:223
158
+ msgid "Current Thumbnails"
159
+ msgstr "Obecne miniatury"
160
+
161
+ #: html/pte.php:253
162
  msgid "Original"
163
  msgstr "Oryginał"
164
 
165
+ #: html/pte.php:260
166
  msgid "No image has been generated yet for image: "
167
  msgstr "Nie wygenerowano jeszcze obrazu dla pliku:"
168
 
169
+ #: html/pte.php:267
170
  msgid "Proposed"
171
  msgstr "Propozycja"
172
 
173
+ #: php/class-pte-image-editor-gd.php:65 php/class-pte-image-editor-imagick.php:61
174
+ msgid "Image crop failed."
175
+ msgstr "Przycinanie nie powiodło się"
176
+
177
+ #: php/functions.php:110
178
+ msgid "Thumbnail"
179
+ msgstr "Miniatura"
180
+
181
+ #: php/functions.php:111
182
+ msgid "Medium"
183
+ msgstr "Średni"
184
+
185
+ #: php/functions.php:112
186
+ msgid "Large"
187
+ msgstr "Duży"
188
+
189
+ #: php/functions.php:113
190
+ msgid "Full Size"
191
+ msgstr "Pełny rozmiar"
192
+
193
+ #: php/functions.php:241
194
+ #, php-format
195
  msgid "Invalid meta data for POST #%d: %s"
196
  msgstr "Błędne dane POST #%d: %s"
197
 
198
+ #: php/functions.php:246
199
  msgid "Please contact support"
200
  msgstr "Proszę skontaktować się z pomocą techniczną"
201
 
202
+ #: php/log.php:16
203
  msgid "ERROR"
204
  msgstr "BŁĄD"
205
 
206
+ #: php/log.php:19
207
  msgid "WARNING"
208
  msgstr "OSTRZEŻENIE"
209
 
210
+ #: php/log.php:22
211
+ msgid "INFO"
212
+ msgstr "INFO"
213
+
214
+ #: php/log.php:25
215
  msgid "DEBUG"
216
  msgstr "DEBUGOWANIE"
217
 
218
+ #: php/log.php:222
219
+ #, php-format
220
  msgid "ERROR Logging Message: %s"
221
  msgstr "BŁĄD logowania wiadomości: %s"
222
 
228
  msgid "Debug"
229
  msgstr "Debugowanie"
230
 
231
+ #: php/options.php:28
232
+ msgid "Crop Picture Size"
233
+ msgstr "Wielkość kadrowanego obrazka"
234
+
235
+ #: php/options.php:34
236
  msgid "Reset to defaults"
237
  msgstr "Przywróć do stanu pierwotnego"
238
 
239
+ #: php/options.php:45
240
  msgid "Site Options"
241
  msgstr "Opcje Strony"
242
 
243
+ #: php/options.php:59
244
+ msgid "Cache Buster"
245
+ msgstr "Cache Buster"
 
 
 
 
246
 
247
+ #: php/options.php:101
248
  msgid ""
249
+ "Only users with the 'manage_options' capability may make changes to these settings."
 
250
  msgstr ""
251
+ "Tylko użytkownicy z uprawnieniami na poziomie 'manage_options' mogą zmieniać te "
252
+ "ustawienia."
253
 
254
+ #: php/options.php:127
255
  msgid "JPEG Compression needs to be set from 0 to 100."
256
  msgstr "Kompresja JPEG powinna mieścić się w zakresie 0 do 100."
257
 
258
+ #: php/options.php:165
259
+ msgid "Crop Size must be between 0 and 10000."
260
+ msgstr "Obszar kadrowania musi wynosić pomiędzy 0 a 10000."
261
+
262
+ #: php/options.php:184
263
  msgid "Enable debugging"
264
  msgstr "Włącz debugowanie"
265
 
266
+ #: php/options.php:187
267
+ msgid ""
268
+ "WP_DEBUG is currently set to true and will override this setting. (debug is enabled)"
269
+ msgstr "WP_DEBUG jest ustawiona na \"true\" i nadpisuje to ustawienie."
270
+
271
+ #: php/options.php:194
272
+ #, php-format
273
+ msgid "Use <a href=\"%s\">ChromePhp</a> for log output"
274
+ msgstr "Użyj <a href=\"%s\">ChromePhp</a> dla logów."
275
+
276
+ #: php/options.php:202
277
+ #, php-format
278
+ msgid "Write log output to a <a href=\"%s\">file</a>"
279
+ msgstr "Zapisz log do <a href=\"%s\">pliku</a>"
280
+
281
+ #: php/options.php:217
282
+ msgid "I know what I'm doing, bypass the image verification."
283
+ msgstr "Wiem co robię, pomiń weryfikację obrazka."
284
 
285
+ #: php/options.php:230
286
+ msgid "Set the max size for the crop image."
287
+ msgstr "Ustaw maksymalny rozmiar kadrowanego obrazka."
288
 
289
+ #: php/options.php:231
290
+ msgid "No entry defaults to 600"
291
+ msgstr "Puste pole oznacza domyślne 600"
292
+
293
+ #: php/options.php:238
294
+ msgid ""
295
+ "Check this to save the generated working image to disk instead of creating on the "
296
+ "fly (experimental)"
297
+ msgstr ""
298
+ "Zaznacz aby zapisać wersję roboczą generowanego pliku na dysku, zamiast tworzyć go w "
299
+ "locie (funkcja eksperymentalna)"
300
+
301
+ #: php/options.php:275
302
  msgid "Post Thumbnail"
303
  msgstr "Ikona Wpisu"
304
 
305
+ #: php/options.php:276
306
  msgid "Hidden"
307
  msgstr "Ukryte"
308
 
309
+ #: php/options.php:306
310
  msgid "Set the compression level for resizing jpeg images (0 to 100)."
311
  msgstr "Ustaw poziom kompresji dla zmienianych obrazów (0 do 100)."
312
 
313
+ #: php/options.php:307
314
  msgid "No entry defaults to using the 'jpeg_quality' filter or 90"
315
  msgstr "Brak domyślnego ustawienia filtra ' 'jpeg_quality'"
316
 
317
+ #: php/options.php:319
318
+ msgid "Append timestamp to filename. Useful for solving caching problems."
319
+ msgstr ""
320
+ "Dodaj znacznik czasu do pliku. Użyteczne w przypadku problemów z pamięcią podręczną."
321
+
322
+ #: php/options.php:330
323
  msgid "These site-wide settings can only be changed by an administrator"
324
  msgstr "Te ustawienia mogą być zmieniane tylko przez administratora"
325
 
326
+ #: post-thumbnail-editor.php:360
327
  msgid "Edit Thumbnails"
328
  msgstr "Edytuj Miniatury"
329
 
330
+ #~ msgid "Save Changes"
331
+ #~ msgstr "Zapisz Zmiany"
 
332
 
333
+ #~ msgid "Reset User Options"
334
+ #~ msgstr "Zresetuj Opcje Użytkownika"
 
335
 
336
+ #~ msgid "http://sewpafly.github.io/post-thumbnail-editor/"
337
+ #~ msgstr "http://sewpafly.github.io/post-thumbnail-editor/"
 
338
 
339
+ #~ msgid "Individually manage your post thumbnails"
340
+ #~ msgstr "Osobno zarządzaj ikonami wpisów"
 
341
 
342
+ #~ msgid "sewpafly"
343
+ #~ msgstr "sewpafly"
 
344
 
345
+ #~ msgid "WP_DEBUG is currently set to true and will override this setting."
346
+ #~ msgstr "WP_DEBUG jest ustawiona na true i nadpisuje to ustawienie."
 
347
 
348
+ #~ msgid "http://wordpress.org/extend/plugins/post-thumbnail-editor/"
349
+ #~ msgstr "http://wordpress.org/extend/plugins/post-thumbnail-editor/"
 
350
 
351
+ #~ msgid "http://sewpafly.github.com/post-thumbnail-editor"
352
+ #~ msgstr "http://sewpafly.github.com/post-thumbnail-editor"
 
i18n/post-thumbnail-editor.pot CHANGED
@@ -1,14 +1,15 @@
1
- # Copyright (C) 2014 Post Thumbnail Editor
2
  # This file is distributed under the same license as the Post Thumbnail Editor package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Post Thumbnail Editor 2.3.0\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/post-thumbnail-editor\n"
7
- "POT-Creation-Date: 2014-04-25 16:57:15+00:00\n"
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
@@ -36,7 +37,7 @@ msgstr ""
36
  msgid "Crop"
37
  msgstr ""
38
 
39
- #: html/pte.php:29 html/pte.php:207
40
  msgid "Save"
41
  msgstr ""
42
 
@@ -48,12 +49,13 @@ msgstr ""
48
  msgid "transparent/white"
49
  msgstr ""
50
 
51
- #. #-#-#-#-# post-thumbnail-editor.pot (Post Thumbnail Editor 2.3.0) #-#-#-#-#
52
  #. Plugin Name of the plugin/theme
53
- #: html/pte.php:46 php/options.php:79 post-thumbnail-editor.php:205
54
- #: post-thumbnail-editor.php:244 post-thumbnail-editor.php:356
55
- #: post-thumbnail-editor.php:357 post-thumbnail-editor.php:363
56
- #: post-thumbnail-editor.php:364 post-thumbnail-editor.php:407
 
57
  msgid "Post Thumbnail Editor"
58
  msgstr ""
59
 
@@ -65,116 +67,132 @@ msgstr ""
65
  msgid "View"
66
  msgstr ""
67
 
68
- #: html/pte.php:91
69
  msgid "Options"
70
  msgstr ""
71
 
72
- #: html/pte.php:107
73
  msgid "Aspect Ratio"
74
  msgstr ""
75
 
76
- #: html/pte.php:110
77
  msgid "width/height"
78
  msgstr ""
79
 
80
- #: html/pte.php:116
81
  msgid "Crop and save"
82
  msgstr ""
83
 
84
- #: html/pte.php:125
85
  msgid "Change the current thumbnails position:"
86
  msgstr ""
87
 
88
- #: html/pte.php:128 php/options.php:54
89
  msgid "JPEG Compression"
90
  msgstr ""
91
 
92
- #: html/pte.php:132
93
  msgid "0 to 100 (Default: %d)"
94
  msgstr ""
95
 
96
- #: html/pte.php:141
97
  msgid "Fit crop to thumbnail by adding border"
98
  msgstr ""
99
 
100
- #: html/pte.php:163 php/options.php:49 post-thumbnail-editor.php:324
101
  msgid "Thumbnails"
102
  msgstr ""
103
 
104
- #: html/pte.php:164
105
  msgid "width"
106
  msgstr ""
107
 
108
- #: html/pte.php:164
109
  msgid "W"
110
  msgstr ""
111
 
112
- #: html/pte.php:165
113
  msgid "height"
114
  msgstr ""
115
 
116
- #: html/pte.php:165
117
  msgid "H"
118
  msgstr ""
119
 
120
- #: html/pte.php:166
121
  msgid "crop"
122
  msgstr ""
123
 
124
- #: html/pte.php:166
125
  msgid "C"
126
  msgstr ""
127
 
128
- #: html/pte.php:172
129
  msgid "Save all"
130
  msgstr ""
131
 
132
- #: html/pte.php:177
133
  msgid "Reset all"
134
  msgstr ""
135
 
136
- #: html/pte.php:181
137
  msgid "View all/modified"
138
  msgstr ""
139
 
140
- #: html/pte.php:210
141
  msgid "Reset"
142
  msgstr ""
143
 
144
- #: html/pte.php:213
145
  msgid "Compare/View"
146
  msgstr ""
147
 
148
- #: html/pte.php:220
149
  msgid "These thumbnails have an aspect ratio set:"
150
  msgstr ""
151
 
152
- #: html/pte.php:229
153
  msgid "Current Thumbnails"
154
  msgstr ""
155
 
156
- #: html/pte.php:259
157
  msgid "Original"
158
  msgstr ""
159
 
160
- #: html/pte.php:266
161
  msgid "No image has been generated yet for image: "
162
  msgstr ""
163
 
164
- #: html/pte.php:273
165
  msgid "Proposed"
166
  msgstr ""
167
 
168
- #: php/class-pte-image-editor-gd.php:66
169
- #: php/class-pte-image-editor-imagick.php:69
170
  msgid "Image crop failed."
171
  msgstr ""
172
 
173
- #: php/functions.php:230
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  msgid "Invalid meta data for POST #%d: %s"
175
  msgstr ""
176
 
177
- #: php/functions.php:235
178
  msgid "Please contact support"
179
  msgstr ""
180
 
@@ -236,75 +254,81 @@ msgstr ""
236
  msgid "JPEG Compression needs to be set from 0 to 100."
237
  msgstr ""
238
 
239
- #: php/options.php:154
240
  msgid "Crop Size must be between 0 and 10000."
241
  msgstr ""
242
 
243
- #: php/options.php:172
244
  msgid "Enable debugging"
245
  msgstr ""
246
 
247
- #: php/options.php:175
248
  msgid ""
249
  "WP_DEBUG is currently set to true and will override this setting. (debug is "
250
  "enabled)"
251
  msgstr ""
252
 
253
- #: php/options.php:182
254
  msgid "Use <a href=\"%s\">ChromePhp</a> for log output"
255
  msgstr ""
256
 
257
- #: php/options.php:190
258
  msgid "Write log output to a <a href=\"%s\">file</a>"
259
  msgstr ""
260
 
261
- #: php/options.php:205
262
  msgid "I know what I'm doing, bypass the image verification."
263
  msgstr ""
264
 
265
- #: php/options.php:218
266
  msgid "Set the max size for the crop image."
267
  msgstr ""
268
 
269
- #: php/options.php:219
270
  msgid "No entry defaults to 600"
271
  msgstr ""
272
 
273
- #: php/options.php:228
 
 
 
 
 
 
274
  msgid "Reset User Options"
275
  msgstr ""
276
 
277
- #: php/options.php:254
278
  msgid "Post Thumbnail"
279
  msgstr ""
280
 
281
- #: php/options.php:255
282
  msgid "Hidden"
283
  msgstr ""
284
 
285
- #: php/options.php:283
286
  msgid "Set the compression level for resizing jpeg images (0 to 100)."
287
  msgstr ""
288
 
289
- #: php/options.php:284
290
  msgid "No entry defaults to using the 'jpeg_quality' filter or 90"
291
  msgstr ""
292
 
293
- #: php/options.php:296
294
  msgid "Append timestamp to filename. Useful for solving caching problems."
295
  msgstr ""
296
 
297
- #: php/options.php:307
298
  msgid "These site-wide settings can only be changed by an administrator"
299
  msgstr ""
300
 
301
- #: post-thumbnail-editor.php:323
302
  msgid "Edit Thumbnails"
303
  msgstr ""
304
 
305
- #. #-#-#-#-# post-thumbnail-editor.pot (Post Thumbnail Editor 2.3.0) #-#-#-#-#
306
  #. Plugin URI of the plugin/theme
307
- #. #-#-#-#-# post-thumbnail-editor.pot (Post Thumbnail Editor 2.3.0) #-#-#-#-#
308
  #. Author URI of the plugin/theme
309
  msgid "http://sewpafly.github.io/post-thumbnail-editor/"
310
  msgstr ""
1
+ # Copyright (C) 2015 Post Thumbnail Editor
2
  # This file is distributed under the same license as the Post Thumbnail Editor package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Post Thumbnail Editor 2.4.5\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/post-thumbnail-"
7
+ "editor\n"
8
+ "POT-Creation-Date: 2015-06-17 05:07:23+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
37
  msgid "Crop"
38
  msgstr ""
39
 
40
+ #: html/pte.php:29 html/pte.php:201
41
  msgid "Save"
42
  msgstr ""
43
 
49
  msgid "transparent/white"
50
  msgstr ""
51
 
52
+ #. #-#-#-#-# post-thumbnail-editor.pot (Post Thumbnail Editor 2.4.5) #-#-#-#-#
53
  #. Plugin Name of the plugin/theme
54
+ #: html/pte.php:46 php/options.php:79 post-thumbnail-editor.php:211
55
+ #: post-thumbnail-editor.php:251 post-thumbnail-editor.php:340
56
+ #: post-thumbnail-editor.php:393 post-thumbnail-editor.php:394
57
+ #: post-thumbnail-editor.php:400 post-thumbnail-editor.php:401
58
+ #: post-thumbnail-editor.php:444
59
  msgid "Post Thumbnail Editor"
60
  msgstr ""
61
 
67
  msgid "View"
68
  msgstr ""
69
 
70
+ #: html/pte.php:85
71
  msgid "Options"
72
  msgstr ""
73
 
74
+ #: html/pte.php:101
75
  msgid "Aspect Ratio"
76
  msgstr ""
77
 
78
+ #: html/pte.php:104
79
  msgid "width/height"
80
  msgstr ""
81
 
82
+ #: html/pte.php:110
83
  msgid "Crop and save"
84
  msgstr ""
85
 
86
+ #: html/pte.php:119
87
  msgid "Change the current thumbnails position:"
88
  msgstr ""
89
 
90
+ #: html/pte.php:122 php/options.php:54
91
  msgid "JPEG Compression"
92
  msgstr ""
93
 
94
+ #: html/pte.php:126
95
  msgid "0 to 100 (Default: %d)"
96
  msgstr ""
97
 
98
+ #: html/pte.php:135
99
  msgid "Fit crop to thumbnail by adding border"
100
  msgstr ""
101
 
102
+ #: html/pte.php:157 php/options.php:49 post-thumbnail-editor.php:361
103
  msgid "Thumbnails"
104
  msgstr ""
105
 
106
+ #: html/pte.php:158
107
  msgid "width"
108
  msgstr ""
109
 
110
+ #: html/pte.php:158
111
  msgid "W"
112
  msgstr ""
113
 
114
+ #: html/pte.php:159
115
  msgid "height"
116
  msgstr ""
117
 
118
+ #: html/pte.php:159
119
  msgid "H"
120
  msgstr ""
121
 
122
+ #: html/pte.php:160
123
  msgid "crop"
124
  msgstr ""
125
 
126
+ #: html/pte.php:160
127
  msgid "C"
128
  msgstr ""
129
 
130
+ #: html/pte.php:166
131
  msgid "Save all"
132
  msgstr ""
133
 
134
+ #: html/pte.php:171
135
  msgid "Reset all"
136
  msgstr ""
137
 
138
+ #: html/pte.php:175
139
  msgid "View all/modified"
140
  msgstr ""
141
 
142
+ #: html/pte.php:204
143
  msgid "Reset"
144
  msgstr ""
145
 
146
+ #: html/pte.php:207
147
  msgid "Compare/View"
148
  msgstr ""
149
 
150
+ #: html/pte.php:214
151
  msgid "These thumbnails have an aspect ratio set:"
152
  msgstr ""
153
 
154
+ #: html/pte.php:223
155
  msgid "Current Thumbnails"
156
  msgstr ""
157
 
158
+ #: html/pte.php:253
159
  msgid "Original"
160
  msgstr ""
161
 
162
+ #: html/pte.php:260
163
  msgid "No image has been generated yet for image: "
164
  msgstr ""
165
 
166
+ #: html/pte.php:267
167
  msgid "Proposed"
168
  msgstr ""
169
 
170
+ #: php/class-pte-image-editor-gd.php:65
171
+ #: php/class-pte-image-editor-imagick.php:61
172
  msgid "Image crop failed."
173
  msgstr ""
174
 
175
+ #: php/functions.php:110
176
+ msgid "Thumbnail"
177
+ msgstr ""
178
+
179
+ #: php/functions.php:111
180
+ msgid "Medium"
181
+ msgstr ""
182
+
183
+ #: php/functions.php:112
184
+ msgid "Large"
185
+ msgstr ""
186
+
187
+ #: php/functions.php:113
188
+ msgid "Full Size"
189
+ msgstr ""
190
+
191
+ #: php/functions.php:241
192
  msgid "Invalid meta data for POST #%d: %s"
193
  msgstr ""
194
 
195
+ #: php/functions.php:246
196
  msgid "Please contact support"
197
  msgstr ""
198
 
254
  msgid "JPEG Compression needs to be set from 0 to 100."
255
  msgstr ""
256
 
257
+ #: php/options.php:165
258
  msgid "Crop Size must be between 0 and 10000."
259
  msgstr ""
260
 
261
+ #: php/options.php:184
262
  msgid "Enable debugging"
263
  msgstr ""
264
 
265
+ #: php/options.php:187
266
  msgid ""
267
  "WP_DEBUG is currently set to true and will override this setting. (debug is "
268
  "enabled)"
269
  msgstr ""
270
 
271
+ #: php/options.php:194
272
  msgid "Use <a href=\"%s\">ChromePhp</a> for log output"
273
  msgstr ""
274
 
275
+ #: php/options.php:202
276
  msgid "Write log output to a <a href=\"%s\">file</a>"
277
  msgstr ""
278
 
279
+ #: php/options.php:217
280
  msgid "I know what I'm doing, bypass the image verification."
281
  msgstr ""
282
 
283
+ #: php/options.php:230
284
  msgid "Set the max size for the crop image."
285
  msgstr ""
286
 
287
+ #: php/options.php:231
288
  msgid "No entry defaults to 600"
289
  msgstr ""
290
 
291
+ #: php/options.php:238
292
+ msgid ""
293
+ "Check this to save the generated working image to disk instead of creating "
294
+ "on the fly (experimental)"
295
+ msgstr ""
296
+
297
+ #: php/options.php:249
298
  msgid "Reset User Options"
299
  msgstr ""
300
 
301
+ #: php/options.php:275
302
  msgid "Post Thumbnail"
303
  msgstr ""
304
 
305
+ #: php/options.php:276
306
  msgid "Hidden"
307
  msgstr ""
308
 
309
+ #: php/options.php:306
310
  msgid "Set the compression level for resizing jpeg images (0 to 100)."
311
  msgstr ""
312
 
313
+ #: php/options.php:307
314
  msgid "No entry defaults to using the 'jpeg_quality' filter or 90"
315
  msgstr ""
316
 
317
+ #: php/options.php:319
318
  msgid "Append timestamp to filename. Useful for solving caching problems."
319
  msgstr ""
320
 
321
+ #: php/options.php:330
322
  msgid "These site-wide settings can only be changed by an administrator"
323
  msgstr ""
324
 
325
+ #: post-thumbnail-editor.php:360
326
  msgid "Edit Thumbnails"
327
  msgstr ""
328
 
329
+ #. #-#-#-#-# post-thumbnail-editor.pot (Post Thumbnail Editor 2.4.5) #-#-#-#-#
330
  #. Plugin URI of the plugin/theme
331
+ #. #-#-#-#-# post-thumbnail-editor.pot (Post Thumbnail Editor 2.4.5) #-#-#-#-#
332
  #. Author URI of the plugin/theme
333
  msgid "http://sewpafly.github.io/post-thumbnail-editor/"
334
  msgstr ""
js/snippets/pte_enable_media.js CHANGED
@@ -78,11 +78,13 @@
78
  });
79
 
80
  // Set the featuredImage object as `this` for the frame function...
81
- oldFeaturedImageFrame = $.proxy( wp.media.featuredImage.frame, wp.media.featuredImage );
82
- wp.media.featuredImage.frame = function() {
83
- var frame = oldFeaturedImageFrame()
84
- frame.setState('library')
85
- return frame;
 
 
86
  }
87
 
88
  // Overwrite the MediaFrame.Post class
78
  });
79
 
80
  // Set the featuredImage object as `this` for the frame function...
81
+ if ( typeof wp.media.featuredImage !== 'undefined' ) {
82
+ oldFeaturedImageFrame = $.proxy( wp.media.featuredImage.frame, wp.media.featuredImage );
83
+ wp.media.featuredImage.frame = function() {
84
+ var frame = oldFeaturedImageFrame()
85
+ frame.setState('library')
86
+ return frame;
87
+ }
88
  }
89
 
90
  // Overwrite the MediaFrame.Post class
post-thumbnail-editor.php CHANGED
@@ -4,7 +4,7 @@ Plugin name: Post Thumbnail Editor
4
  Plugin URI: http://sewpafly.github.io/post-thumbnail-editor/
5
  Author: sewpafly
6
  Author URI: http://sewpafly.github.io/post-thumbnail-editor/
7
- Version: 2.4.5
8
  Description: Individually manage your post thumbnails
9
 
10
  LICENSE
@@ -34,7 +34,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
34
  define( 'PTE_PLUGINURL', plugins_url(basename( dirname(__FILE__))) . "/");
35
  define( 'PTE_PLUGINPATH', dirname(__FILE__) . "/");
36
  define( 'PTE_DOMAIN', "post-thumbnail-editor");
37
- define( 'PTE_VERSION', "2.4.5");
38
 
39
  // TODO:
40
  // * Find the best place for the require log (only when it's really needed, create an init function?)
4
  Plugin URI: http://sewpafly.github.io/post-thumbnail-editor/
5
  Author: sewpafly
6
  Author URI: http://sewpafly.github.io/post-thumbnail-editor/
7
+ Version: 2.4.6
8
  Description: Individually manage your post thumbnails
9
 
10
  LICENSE
34
  define( 'PTE_PLUGINURL', plugins_url(basename( dirname(__FILE__))) . "/");
35
  define( 'PTE_PLUGINPATH', dirname(__FILE__) . "/");
36
  define( 'PTE_DOMAIN', "post-thumbnail-editor");
37
+ define( 'PTE_VERSION', "2.4.6");
38
 
39
  // TODO:
40
  // * Find the best place for the require log (only when it's really needed, create an init function?)