Image Watermark - Version 1.1.3

Version Description

  • New: Introducing API hooks: iw_before_apply_watermark, iw_after_apply_watermark, iw_watermark_options
  • Fix: Wrong watermark watermark path
  • Fix: Final fix (hopefully) for getimagesize() error
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Image Watermark
Version 1.1.3
Comparing to
See all releases

Code changes from version 1.1.2 to 1.1.3

image-watermark.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /*
3
  Plugin Name: Image Watermark
4
- Description: Image Watermark allows you to automatically watermark images uploaded to the WordPress Media Library.
5
- Version: 1.1.2
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/image-watermark/
@@ -109,10 +109,19 @@ class Image_Watermark
109
  //security check
110
  check_admin_referer('bulk-media');
111
 
 
 
 
 
 
 
 
 
 
112
  //do we have selected attachments?
113
  if(isset($_REQUEST['media']) && !empty($_REQUEST['media']))
114
  {
115
- $watermarked = 0;
116
 
117
  foreach($_REQUEST['media'] as $media_id)
118
  {
@@ -124,11 +133,14 @@ class Image_Watermark
124
  $this->apply_watermark($data);
125
  $watermarked++;
126
  }
 
127
  }
128
 
129
- wp_redirect(add_query_arg(array('watermarked' => $watermarked), wp_get_referer()));
130
- exit();
131
  }
 
 
 
132
  }
133
  else return;
134
  }
@@ -142,16 +154,21 @@ class Image_Watermark
142
  {
143
  global $post_type, $pagenow;
144
 
145
- if($pagenow === 'upload.php' && $post_type === 'attachment' && isset($_REQUEST['watermarked']))
146
  {
147
- if($_REQUEST['watermarked'] === 0)
 
 
 
148
  {
149
- echo '<div class="error"><p>'.__('Watermark couldn\'t be applied to selected images or no images were selected.', 'image-watermark').'</p></div>';
150
  }
151
- elseif($_REQUEST['watermarked'] > 0)
152
  {
153
- echo '<div class="updated"><p>'.sprintf(_n('Watermark was succesfully applied to 1 image.', 'Watermark was succesfully applied to %s images.', (int)$_REQUEST['watermarked'], 'image-watermark'), number_format_i18n((int)$_REQUEST['watermarked'])).'</p></div>';
154
  }
 
 
155
  }
156
  }
157
 
@@ -516,6 +533,10 @@ class Image_Watermark
516
  //update-fix from 1.1.0 to later versions
517
  $watermark_image['manual_watermarking'] = (isset($watermark_image['manual_watermarking']) ? $watermark_image['manual_watermarking'] : $this->_options['df_watermark_image']['manual_watermarking']);
518
 
 
 
 
 
519
  $errors = '';
520
 
521
  if(($watermark_image['plugin_off'] === 0 || $watermark_image['manual_watermarking'] === 1))
@@ -890,6 +911,9 @@ class Image_Watermark
890
  $options[$option] = get_option($option);
891
  }
892
 
 
 
 
893
  $options = apply_filters('iw_watermark_options', $options);
894
 
895
  //get image mime type
@@ -901,6 +925,9 @@ class Image_Watermark
901
  //add watermark image to image
902
  if($this->add_watermark_image($image, $options) !== FALSE)
903
  {
 
 
 
904
  if($options['df_watermark_image']['jpeg_format'] === 'progressive')
905
  {
906
  imageinterlace($image, true);
@@ -923,12 +950,12 @@ class Image_Watermark
923
  private function add_watermark_image($image, array $opt)
924
  {
925
  //due to allow_url_fopen restrictions on some servers in getimagesize() we need to use server path (not URL)
926
- $size_type = $opt['df_watermark_image']['watermark_size_type'];
927
  $upload_dir = wp_upload_dir();
928
- $url = $upload_dir['basedir'].strrchr(wp_get_attachment_url($opt['df_watermark_image']['url']), '/');
929
- $watermark_file = getimagesize($url);
 
930
 
931
- switch($watermark_file['mime'])
932
  {
933
  case 'image/jpeg':
934
  case 'image/pjpeg':
@@ -951,6 +978,7 @@ class Image_Watermark
951
  $watermark_height = imagesy($watermark);
952
  $img_width = imagesx($image);
953
  $img_height = imagesy($image);
 
954
 
955
  if($size_type === 1) //custom
956
  {
@@ -1018,7 +1046,7 @@ class Image_Watermark
1018
  $dest_x += $opt['df_watermark_image']['offset_width'];
1019
  $dest_y += $opt['df_watermark_image']['offset_height'];
1020
 
1021
- $this->imagecopymerge_alpha($image, $this->resize($watermark, $url, $w, $h), $dest_x, $dest_y, 0, 0, $w, $h, $opt['df_watermark_image']['transparent']);
1022
 
1023
  return $image;
1024
  }
@@ -1046,9 +1074,8 @@ class Image_Watermark
1046
  /**
1047
  * Resizes image
1048
  */
1049
- private function resize($im, $path, $nWidth, $nHeight)
1050
  {
1051
- $imgInfo = getimagesize($path);
1052
  $newImg = imagecreateTRUEcolor($nWidth, $nHeight);
1053
 
1054
  //check if this image is PNG, then set if transparent
@@ -1111,7 +1138,7 @@ class Image_Watermark
1111
  break;
1112
 
1113
  case 'image/png':
1114
- imagepng($image, $filepath);
1115
  break;
1116
  }
1117
  }
1
  <?php
2
  /*
3
  Plugin Name: Image Watermark
4
+ Description: Image Watermark allows you to automatically and manually watermark images uploaded to the WordPress Media Library.
5
+ Version: 1.1.3
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/image-watermark/
109
  //security check
110
  check_admin_referer('bulk-media');
111
 
112
+ $location = remove_query_arg(array('watermarked', 'skipped', 'trashed', 'untrashed', 'deleted', 'message', 'ids', 'posted'), wp_get_referer());
113
+
114
+ if(!$location)
115
+ {
116
+ $location = 'upload.php';
117
+ }
118
+
119
+ $location = add_query_arg('paged', $wp_list_table->get_pagenum(), $location);
120
+
121
  //do we have selected attachments?
122
  if(isset($_REQUEST['media']) && !empty($_REQUEST['media']))
123
  {
124
+ $watermarked = $skipped = 0;
125
 
126
  foreach($_REQUEST['media'] as $media_id)
127
  {
133
  $this->apply_watermark($data);
134
  $watermarked++;
135
  }
136
+ else $skipped++;
137
  }
138
 
139
+ $location = add_query_arg(array('watermarked' => $watermarked, 'skipped' => $skipped), $location);
 
140
  }
141
+
142
+ wp_redirect($location);
143
+ exit();
144
  }
145
  else return;
146
  }
154
  {
155
  global $post_type, $pagenow;
156
 
157
+ if($pagenow === 'upload.php' && $post_type === 'attachment' && isset($_REQUEST['watermarked'], $_REQUEST['skipped']))
158
  {
159
+ $watermarked = (int)$_REQUEST['watermarked'];
160
+ $skipped = (int)$_REQUEST['skipped'];
161
+
162
+ if($watermarked === 0)
163
  {
164
+ echo '<div class="error"><p>'.__('Watermark could not be applied to selected files or no valid images (JPEG, PNG) were selected.', 'image-watermark').($skipped > 0 ? ' '.__('Skipped files', 'image-watermark').': '.$skipped.'.' : '').'</p></div>';
165
  }
166
+ else
167
  {
168
+ echo '<div class="updated"><p>'.sprintf(_n('Watermark was succesfully applied to 1 image.', 'Watermark was succesfully applied to %s images.', $watermarked, 'image-watermark'), number_format_i18n($watermarked)).($skipped > 0 ? ' '.__('Skipped files', 'image-watermark').': '.$skipped.'.' : '').'</p></div>';
169
  }
170
+
171
+ $_SERVER['REQUEST_URI'] = remove_query_arg(array('watermarked', 'skipped'), $_SERVER['REQUEST_URI']);
172
  }
173
  }
174
 
533
  //update-fix from 1.1.0 to later versions
534
  $watermark_image['manual_watermarking'] = (isset($watermark_image['manual_watermarking']) ? $watermark_image['manual_watermarking'] : $this->_options['df_watermark_image']['manual_watermarking']);
535
 
536
+ //update-fix from 1.1.2 to later versions
537
+ $watermark_image['jpeg_format'] = (isset($watermark_image['jpeg_format']) ? $watermark_image['jpeg_format'] : $this->_options['df_watermark_image']['jpeg_format']);
538
+ $watermark_image['quality'] = (isset($watermark_image['quality']) ? $watermark_image['quality'] : $this->_options['df_watermark_image']['quality']);
539
+
540
  $errors = '';
541
 
542
  if(($watermark_image['plugin_off'] === 0 || $watermark_image['manual_watermarking'] === 1))
911
  $options[$option] = get_option($option);
912
  }
913
 
914
+ //update-fix from 1.1.2 to later versions
915
+ $options['df_watermark_image']['quality'] = (isset($options['df_watermark_image']['quality']) ? $options['df_watermark_image']['quality'] : $this->_options['df_watermark_image']['quality']);
916
+
917
  $options = apply_filters('iw_watermark_options', $options);
918
 
919
  //get image mime type
925
  //add watermark image to image
926
  if($this->add_watermark_image($image, $options) !== FALSE)
927
  {
928
+ //update-fix from 1.1.2 to later versions
929
+ $options['df_watermark_image']['jpeg_format'] = (isset($options['df_watermark_image']['jpeg_format']) ? $options['df_watermark_image']['jpeg_format'] : $this->_options['df_watermark_image']['jpeg_format']);
930
+
931
  if($options['df_watermark_image']['jpeg_format'] === 'progressive')
932
  {
933
  imageinterlace($image, true);
950
  private function add_watermark_image($image, array $opt)
951
  {
952
  //due to allow_url_fopen restrictions on some servers in getimagesize() we need to use server path (not URL)
 
953
  $upload_dir = wp_upload_dir();
954
+ $watermark_file = wp_get_attachment_metadata($opt['df_watermark_image']['url'], TRUE);
955
+ $url = $upload_dir['basedir'].DIRECTORY_SEPARATOR.$watermark_file['file'];
956
+ $watermark_file_info = getimagesize($url);
957
 
958
+ switch($watermark_file_info['mime'])
959
  {
960
  case 'image/jpeg':
961
  case 'image/pjpeg':
978
  $watermark_height = imagesy($watermark);
979
  $img_width = imagesx($image);
980
  $img_height = imagesy($image);
981
+ $size_type = $opt['df_watermark_image']['watermark_size_type'];
982
 
983
  if($size_type === 1) //custom
984
  {
1046
  $dest_x += $opt['df_watermark_image']['offset_width'];
1047
  $dest_y += $opt['df_watermark_image']['offset_height'];
1048
 
1049
+ $this->imagecopymerge_alpha($image, $this->resize($watermark, $url, $w, $h, $watermark_file_info), $dest_x, $dest_y, 0, 0, $w, $h, $opt['df_watermark_image']['transparent']);
1050
 
1051
  return $image;
1052
  }
1074
  /**
1075
  * Resizes image
1076
  */
1077
+ private function resize($im, $path, $nWidth, $nHeight, $imgInfo)
1078
  {
 
1079
  $newImg = imagecreateTRUEcolor($nWidth, $nHeight);
1080
 
1081
  //check if this image is PNG, then set if transparent
1138
  break;
1139
 
1140
  case 'image/png':
1141
+ imagepng($image, $filepath, (int)round(9 * $quality / 100));
1142
  break;
1143
  }
1144
  }
languages/image-watermark-pl_PL.mo CHANGED
Binary file
languages/image-watermark-pl_PL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WordPress Watermark\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-06-10 16:48+0100\n"
6
- "PO-Revision-Date: 2013-06-10 16:50+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
8
  "Language-Team: Digital Factory <info@digitalfactory.pl>\n"
9
  "Language: pl_PL\n"
@@ -25,119 +25,124 @@ msgstr ""
25
  "Przykro nam, ale ta wtyczka wymaga PHP w wersji co najmniej 5.0 WordPressa w "
26
  "wersji 3.5 lub wyższej.."
27
 
28
- #: ../image-watermark.php:149
29
  msgid ""
30
- "Watermark couldn't be applied to selected images or no images were selected."
 
31
  msgstr ""
32
- "Znak wodny nie został został dodany do wybranych obrazków lub żaden obrazek "
33
- "nie został wybrany."
34
 
35
- #: ../image-watermark.php:153
 
 
 
 
36
  #, php-format
37
  msgid "Watermark was succesfully applied to 1 image."
38
  msgid_plural "Watermark was succesfully applied to %s images."
39
  msgstr[0] "Znak wodny został dodany do 1 obrazka."
40
  msgstr[1] "Znak wodny został dodany do %s obrazków."
41
 
42
- #: ../image-watermark.php:217
43
  msgid "Support"
44
  msgstr "Forum pomocy"
45
 
46
- #: ../image-watermark.php:239
47
  msgid "Settings"
48
  msgstr "Ustawienia"
49
 
50
- #: ../image-watermark.php:270
51
  msgid "Apply watermark"
52
  msgstr "Dodaj znak wodny"
53
 
54
- #: ../image-watermark.php:294
55
  msgid "Select watermark"
56
  msgstr "Wybierz znak wodny"
57
 
58
- #: ../image-watermark.php:295 ../image-watermark.php:686
59
  msgid "Original size"
60
  msgstr "Rozmiar oryginalny"
61
 
62
- #: ../image-watermark.php:296 ../image-watermark.php:680
63
  msgid "Watermak has not been selected yet."
64
  msgstr "Znak wodny nie został jeszcze wybrany."
65
 
66
- #: ../image-watermark.php:297
67
  msgid "This image is not supported as watermark. Use JPEG, PNG or GIF."
68
  msgstr "Ten rodzaj obrazka nie może być znakiem wodnym. Użyj JPEG, PNG or GIF."
69
 
70
- #: ../image-watermark.php:299
71
  msgid "Add watermark"
72
  msgstr "Dodaj znak wodny"
73
 
74
- #: ../image-watermark.php:344
75
  msgid "Image Watermark Options"
76
  msgstr "Ustawienia znaku wodnego"
77
 
78
- #: ../image-watermark.php:345
79
  msgid "Watermark"
80
  msgstr "Znak wodny"
81
 
82
- #: ../image-watermark.php:371
83
  msgid "Image Watermark will not work properly without GD PHP extension."
84
  msgstr ""
85
  "Znak wodny nie może funkcjonować bez zainstalowanego rozszerzenia GD PHP."
86
 
87
- #: ../image-watermark.php:508
88
  msgid "Settings saved."
89
  msgstr "Ustawienia zostały zapisane."
90
 
91
- #: ../image-watermark.php:525
92
  msgid "Watermark will not be applied when <b>watermark image is not set</b>."
93
  msgstr ""
94
  "Znak wodny nie zostanie dodany ponieważ <b>nie wybrano obrazka dla znaku "
95
  "wodnego</b>."
96
 
97
- #: ../image-watermark.php:530
98
  msgid "Watermark will not be applied when <b>no image sizes are selected</b>."
99
  msgstr ""
100
  "Znak wodny nie zostanie dodany ponieważ <b>nie wybrano wielkości obrazków</"
101
  "b>."
102
 
103
- #: ../image-watermark.php:538
104
  msgid "Image Watermark Settings"
105
  msgstr "Ustawienia znaku wodnego"
106
 
107
- #: ../image-watermark.php:542
108
  msgid "General settings"
109
  msgstr "Ustawienia ogólne"
110
 
111
- #: ../image-watermark.php:545
112
  msgid "Automatic watermarking"
113
  msgstr "Automatyczne dodawanie znaku wodnego"
114
 
115
- #: ../image-watermark.php:549 ../image-watermark.php:565
116
  msgid "on"
117
  msgstr "włączony"
118
 
119
- #: ../image-watermark.php:551 ../image-watermark.php:567
120
  msgid "off"
121
  msgstr "wyłączony"
122
 
123
- #: ../image-watermark.php:554
124
  msgid "Enable or disable watermark for uploaded images."
125
  msgstr "Włącz lub wyłącz dodawanie znaku wodnego do wgrywanych obrazków."
126
 
127
- #: ../image-watermark.php:561
128
  msgid "Manual watermarking"
129
  msgstr "Ręczne dodawanie znaku wodnego"
130
 
131
- #: ../image-watermark.php:570
132
  msgid "Enable or disable Apply Watermark option for images in Media Library."
133
  msgstr ""
134
  "Włącz lub wyłącz dodawanie znaku wodnego do obrazków w Bibliotece mediów."
135
 
136
- #: ../image-watermark.php:577
137
  msgid "Enable watermark for"
138
  msgstr "Dodawaj znak wodny do"
139
 
140
- #: ../image-watermark.php:586
141
  msgid ""
142
  "Check image sizes on which watermark should appear. <b>Notice:</b> checking "
143
  "full size is not recommened as it's the original image."
@@ -146,15 +151,15 @@ msgstr ""
146
  "b> zaznaczenie pełnej wielkości nie jest rekomendowane, ponieważ jest to "
147
  "oryginał obrazka."
148
 
149
- #: ../image-watermark.php:592
150
  msgid "everywhere"
151
  msgstr "wszędzie"
152
 
153
- #: ../image-watermark.php:593
154
  msgid "on selected post types only"
155
  msgstr "na wybranych typach wpisów"
156
 
157
- #: ../image-watermark.php:601
158
  msgid ""
159
  "Check custom post types on which watermark should be applied to uploaded "
160
  "images."
@@ -162,97 +167,97 @@ msgstr ""
162
  "Zaznacz własne typy wpisów w których znak wodny będzie dodawany do "
163
  "wgrywanych obrazków."
164
 
165
- #: ../image-watermark.php:607
166
  msgid "Watermark position"
167
  msgstr "Pozycja znaku wodnego"
168
 
169
- #: ../image-watermark.php:610
170
  msgid "Watermark alignment"
171
  msgstr "Wyrównanie znaku wodnego"
172
 
173
- #: ../image-watermark.php:625
174
  msgid "Choose the position of watermark image."
175
  msgstr "Wybierz pozycję znaku wodnego na obrazkach"
176
 
177
- #: ../image-watermark.php:630
178
  msgid "Watermark offset"
179
  msgstr "Korekcja pozycji"
180
 
181
- #: ../image-watermark.php:633 ../image-watermark.php:713
182
  msgid "x:"
183
  msgstr "x:"
184
 
185
- #: ../image-watermark.php:633 ../image-watermark.php:635
186
- #: ../image-watermark.php:713 ../image-watermark.php:715
187
  msgid "px"
188
  msgstr "pikseli"
189
 
190
- #: ../image-watermark.php:635 ../image-watermark.php:715
191
  msgid "y:"
192
  msgstr "y:"
193
 
194
- #: ../image-watermark.php:651 ../image-watermark.php:655
195
  msgid "Watermark image"
196
  msgstr "Obrazek znaku wodnego"
197
 
198
- #: ../image-watermark.php:652
199
  msgid ""
200
  "Configure your watermark image. Allowed file formats are: JPEG, PNG, GIF."
201
  msgstr ""
202
  "Skonfiguruj obrazek znaku wodnego. Dozwolone formaty plików to: JPEG, PNG, "
203
  "GIF."
204
 
205
- #: ../image-watermark.php:658
206
  msgid "Select image"
207
  msgstr "Wybierz obrazek"
208
 
209
- #: ../image-watermark.php:659
210
  msgid "Turn off image"
211
  msgstr "Wyłącz obrazek"
212
 
213
- #: ../image-watermark.php:660
214
  msgid "You have to save changes after the selection or removal of the image."
215
  msgstr "Po zapisaniu zmian lub wybraniu obrazka powienieneś zapisać zmiany."
216
 
217
- #: ../image-watermark.php:664
218
  msgid "Watermark preview"
219
  msgstr "Podgląd obrazka"
220
 
221
- #: ../image-watermark.php:694
222
  msgid "Watermark size"
223
  msgstr "Wielkość znaku wodnego"
224
 
225
- #: ../image-watermark.php:698
226
  msgid "original"
227
  msgstr "oryginalna"
228
 
229
- #: ../image-watermark.php:700
230
  msgid "custom"
231
  msgstr "własna"
232
 
233
- #: ../image-watermark.php:702
234
  msgid "scaled"
235
  msgstr "skalowana"
236
 
237
- #: ../image-watermark.php:705
238
  msgid "Select method of aplying watermark size."
239
  msgstr "Wybierz sposób określania wielkości znaku wodnego."
240
 
241
- #: ../image-watermark.php:710
242
  msgid "Watermark custom size"
243
  msgstr "Własna wielkość"
244
 
245
- #: ../image-watermark.php:717
246
  msgid "Those dimensions will be used if \"custom\" method is selected above."
247
  msgstr ""
248
  "Te wymiary zostaną zastosowane, jeśli wybrałeś \"własną\" wielkość znaku "
249
  "wodnego. "
250
 
251
- #: ../image-watermark.php:721
252
  msgid "Scale of watermark in relation to image width"
253
  msgstr "Wielkość znaku wodnego w stosunku do szerokości obrazków"
254
 
255
- #: ../image-watermark.php:726
256
  msgid ""
257
  "This value will be used if \"scaled\" method if selected above. <br />Enter "
258
  "a number ranging from 0 to 100. 100 makes width of watermark image equal to "
@@ -263,11 +268,11 @@ msgstr ""
263
  "że wielkość znaku wodnego będzie równa wielkości obrazka, do którego jest "
264
  "dodawany."
265
 
266
- #: ../image-watermark.php:730
267
  msgid "Watermark transparency / opacity"
268
  msgstr "Przezroczystość znaku wodnego"
269
 
270
- #: ../image-watermark.php:735
271
  msgid ""
272
  "Enter a number ranging from 0 to 100. 0 makes watermark image completely "
273
  "transparent, 100 shows it as is."
@@ -275,96 +280,96 @@ msgstr ""
275
  "Wpisz liczbę z zakresu od 0 do 100. Wpisanie 0 spowoduje, że znak wodny "
276
  "będzie całkowicie przezroczysty, 100 że widoczny taki jak jest."
277
 
278
- #: ../image-watermark.php:739
279
  msgid "Image quality"
280
  msgstr "Jakość obrazka"
281
 
282
- #: ../image-watermark.php:744
283
  msgid "Set watermark image quality."
284
  msgstr "Wybierz jakość znaku wodnego"
285
 
286
- #: ../image-watermark.php:748
287
  msgid "Image format"
288
  msgstr "Format obrazka"
289
 
290
- #: ../image-watermark.php:752
291
  msgid "baseline"
292
  msgstr "baseline"
293
 
294
- #: ../image-watermark.php:754
295
  msgid "progressive"
296
  msgstr "progressive"
297
 
298
- #: ../image-watermark.php:758
299
  msgid "Select baseline or progressive image format."
300
  msgstr "Wybierz format obrazu."
301
 
302
- #: ../image-watermark.php:764
303
  msgid "Image protection"
304
  msgstr "Ochrona obrazków"
305
 
306
- #: ../image-watermark.php:767
307
  msgid "Disable right mouse click on images"
308
  msgstr "Wyłącz możliwość kliknięcia prawym przyciskiem myszy na obrazku"
309
 
310
- #: ../image-watermark.php:771
311
  msgid "Prevent drag and drop"
312
  msgstr "Wyłącz możliwość przeciągania i upuszczania obrazków"
313
 
314
- #: ../image-watermark.php:775
315
  msgid "Enable image protection for logged-in users also"
316
  msgstr "Włącz ochronę zdjęć także dla zalogowanych użytkowników"
317
 
318
- #: ../image-watermark.php:780
319
  msgid "Save Changes"
320
  msgstr "Zapisz zmiany"
321
 
322
- #: ../image-watermark.php:786
323
  msgid "Image Watermark"
324
  msgstr "Znak wodny"
325
 
326
- #: ../image-watermark.php:788
327
  msgid "Need support?"
328
  msgstr "Potrzebujesz pomocy?"
329
 
330
- #: ../image-watermark.php:789
331
  msgid ""
332
  "If you are having problems with this plugin, please talk about them in the"
333
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o tym na"
334
 
335
- #: ../image-watermark.php:789
336
  msgid "Support forum"
337
  msgstr "Forum pomocy"
338
 
339
- #: ../image-watermark.php:791
340
  msgid "Do you like this plugin?"
341
  msgstr "Lubisz tę wtyczkę?"
342
 
343
- #: ../image-watermark.php:792
344
  msgid "Rate it 5"
345
  msgstr "Oceń ją na 5"
346
 
347
- #: ../image-watermark.php:792
348
  msgid "on WordPress.org"
349
  msgstr "na WordPress.org"
350
 
351
- #: ../image-watermark.php:793
352
  msgid "Blog about it & link to the"
353
  msgstr "Napisz o niej i dodaj link do"
354
 
355
- #: ../image-watermark.php:793
356
  msgid "plugin page"
357
  msgstr "strony wtyczki"
358
 
359
- #: ../image-watermark.php:794
360
  msgid "Check out our other"
361
  msgstr "Sprawdź inne"
362
 
363
- #: ../image-watermark.php:794
364
  msgid "WordPress plugins"
365
  msgstr "wtyczki do WordPressa"
366
 
367
- #: ../image-watermark.php:798
368
  msgid "Created by"
369
  msgstr "Stworzone przez"
370
 
2
  msgstr ""
3
  "Project-Id-Version: WordPress Watermark\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-06-11 13:16+0100\n"
6
+ "PO-Revision-Date: 2013-06-11 13:16+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
8
  "Language-Team: Digital Factory <info@digitalfactory.pl>\n"
9
  "Language: pl_PL\n"
25
  "Przykro nam, ale ta wtyczka wymaga PHP w wersji co najmniej 5.0 WordPressa w "
26
  "wersji 3.5 lub wyższej.."
27
 
28
+ #: ../image-watermark.php:164
29
  msgid ""
30
+ "Watermark could not be applied to selected files or no valid images (JPEG, "
31
+ "PNG) were selected."
32
  msgstr ""
33
+ "Znak wodny nie został został dodany do wybranych obrazków lub nie został "
34
+ "wybrany prawidłowy typ pliku (JPEG, PNG)."
35
 
36
+ #: ../image-watermark.php:164 ../image-watermark.php:168
37
+ msgid "Skipped files"
38
+ msgstr "Pominięte pliki"
39
+
40
+ #: ../image-watermark.php:168
41
  #, php-format
42
  msgid "Watermark was succesfully applied to 1 image."
43
  msgid_plural "Watermark was succesfully applied to %s images."
44
  msgstr[0] "Znak wodny został dodany do 1 obrazka."
45
  msgstr[1] "Znak wodny został dodany do %s obrazków."
46
 
47
+ #: ../image-watermark.php:234
48
  msgid "Support"
49
  msgstr "Forum pomocy"
50
 
51
+ #: ../image-watermark.php:256
52
  msgid "Settings"
53
  msgstr "Ustawienia"
54
 
55
+ #: ../image-watermark.php:287
56
  msgid "Apply watermark"
57
  msgstr "Dodaj znak wodny"
58
 
59
+ #: ../image-watermark.php:311
60
  msgid "Select watermark"
61
  msgstr "Wybierz znak wodny"
62
 
63
+ #: ../image-watermark.php:312 ../image-watermark.php:707
64
  msgid "Original size"
65
  msgstr "Rozmiar oryginalny"
66
 
67
+ #: ../image-watermark.php:313 ../image-watermark.php:701
68
  msgid "Watermak has not been selected yet."
69
  msgstr "Znak wodny nie został jeszcze wybrany."
70
 
71
+ #: ../image-watermark.php:314
72
  msgid "This image is not supported as watermark. Use JPEG, PNG or GIF."
73
  msgstr "Ten rodzaj obrazka nie może być znakiem wodnym. Użyj JPEG, PNG or GIF."
74
 
75
+ #: ../image-watermark.php:316
76
  msgid "Add watermark"
77
  msgstr "Dodaj znak wodny"
78
 
79
+ #: ../image-watermark.php:361
80
  msgid "Image Watermark Options"
81
  msgstr "Ustawienia znaku wodnego"
82
 
83
+ #: ../image-watermark.php:362
84
  msgid "Watermark"
85
  msgstr "Znak wodny"
86
 
87
+ #: ../image-watermark.php:388
88
  msgid "Image Watermark will not work properly without GD PHP extension."
89
  msgstr ""
90
  "Znak wodny nie może funkcjonować bez zainstalowanego rozszerzenia GD PHP."
91
 
92
+ #: ../image-watermark.php:525
93
  msgid "Settings saved."
94
  msgstr "Ustawienia zostały zapisane."
95
 
96
+ #: ../image-watermark.php:546
97
  msgid "Watermark will not be applied when <b>watermark image is not set</b>."
98
  msgstr ""
99
  "Znak wodny nie zostanie dodany ponieważ <b>nie wybrano obrazka dla znaku "
100
  "wodnego</b>."
101
 
102
+ #: ../image-watermark.php:551
103
  msgid "Watermark will not be applied when <b>no image sizes are selected</b>."
104
  msgstr ""
105
  "Znak wodny nie zostanie dodany ponieważ <b>nie wybrano wielkości obrazków</"
106
  "b>."
107
 
108
+ #: ../image-watermark.php:559
109
  msgid "Image Watermark Settings"
110
  msgstr "Ustawienia znaku wodnego"
111
 
112
+ #: ../image-watermark.php:563
113
  msgid "General settings"
114
  msgstr "Ustawienia ogólne"
115
 
116
+ #: ../image-watermark.php:566
117
  msgid "Automatic watermarking"
118
  msgstr "Automatyczne dodawanie znaku wodnego"
119
 
120
+ #: ../image-watermark.php:570 ../image-watermark.php:586
121
  msgid "on"
122
  msgstr "włączony"
123
 
124
+ #: ../image-watermark.php:572 ../image-watermark.php:588
125
  msgid "off"
126
  msgstr "wyłączony"
127
 
128
+ #: ../image-watermark.php:575
129
  msgid "Enable or disable watermark for uploaded images."
130
  msgstr "Włącz lub wyłącz dodawanie znaku wodnego do wgrywanych obrazków."
131
 
132
+ #: ../image-watermark.php:582
133
  msgid "Manual watermarking"
134
  msgstr "Ręczne dodawanie znaku wodnego"
135
 
136
+ #: ../image-watermark.php:591
137
  msgid "Enable or disable Apply Watermark option for images in Media Library."
138
  msgstr ""
139
  "Włącz lub wyłącz dodawanie znaku wodnego do obrazków w Bibliotece mediów."
140
 
141
+ #: ../image-watermark.php:598
142
  msgid "Enable watermark for"
143
  msgstr "Dodawaj znak wodny do"
144
 
145
+ #: ../image-watermark.php:607
146
  msgid ""
147
  "Check image sizes on which watermark should appear. <b>Notice:</b> checking "
148
  "full size is not recommened as it's the original image."
151
  "b> zaznaczenie pełnej wielkości nie jest rekomendowane, ponieważ jest to "
152
  "oryginał obrazka."
153
 
154
+ #: ../image-watermark.php:613
155
  msgid "everywhere"
156
  msgstr "wszędzie"
157
 
158
+ #: ../image-watermark.php:614
159
  msgid "on selected post types only"
160
  msgstr "na wybranych typach wpisów"
161
 
162
+ #: ../image-watermark.php:622
163
  msgid ""
164
  "Check custom post types on which watermark should be applied to uploaded "
165
  "images."
167
  "Zaznacz własne typy wpisów w których znak wodny będzie dodawany do "
168
  "wgrywanych obrazków."
169
 
170
+ #: ../image-watermark.php:628
171
  msgid "Watermark position"
172
  msgstr "Pozycja znaku wodnego"
173
 
174
+ #: ../image-watermark.php:631
175
  msgid "Watermark alignment"
176
  msgstr "Wyrównanie znaku wodnego"
177
 
178
+ #: ../image-watermark.php:646
179
  msgid "Choose the position of watermark image."
180
  msgstr "Wybierz pozycję znaku wodnego na obrazkach"
181
 
182
+ #: ../image-watermark.php:651
183
  msgid "Watermark offset"
184
  msgstr "Korekcja pozycji"
185
 
186
+ #: ../image-watermark.php:654 ../image-watermark.php:734
187
  msgid "x:"
188
  msgstr "x:"
189
 
190
+ #: ../image-watermark.php:654 ../image-watermark.php:656
191
+ #: ../image-watermark.php:734 ../image-watermark.php:736
192
  msgid "px"
193
  msgstr "pikseli"
194
 
195
+ #: ../image-watermark.php:656 ../image-watermark.php:736
196
  msgid "y:"
197
  msgstr "y:"
198
 
199
+ #: ../image-watermark.php:672 ../image-watermark.php:676
200
  msgid "Watermark image"
201
  msgstr "Obrazek znaku wodnego"
202
 
203
+ #: ../image-watermark.php:673
204
  msgid ""
205
  "Configure your watermark image. Allowed file formats are: JPEG, PNG, GIF."
206
  msgstr ""
207
  "Skonfiguruj obrazek znaku wodnego. Dozwolone formaty plików to: JPEG, PNG, "
208
  "GIF."
209
 
210
+ #: ../image-watermark.php:679
211
  msgid "Select image"
212
  msgstr "Wybierz obrazek"
213
 
214
+ #: ../image-watermark.php:680
215
  msgid "Turn off image"
216
  msgstr "Wyłącz obrazek"
217
 
218
+ #: ../image-watermark.php:681
219
  msgid "You have to save changes after the selection or removal of the image."
220
  msgstr "Po zapisaniu zmian lub wybraniu obrazka powienieneś zapisać zmiany."
221
 
222
+ #: ../image-watermark.php:685
223
  msgid "Watermark preview"
224
  msgstr "Podgląd obrazka"
225
 
226
+ #: ../image-watermark.php:715
227
  msgid "Watermark size"
228
  msgstr "Wielkość znaku wodnego"
229
 
230
+ #: ../image-watermark.php:719
231
  msgid "original"
232
  msgstr "oryginalna"
233
 
234
+ #: ../image-watermark.php:721
235
  msgid "custom"
236
  msgstr "własna"
237
 
238
+ #: ../image-watermark.php:723
239
  msgid "scaled"
240
  msgstr "skalowana"
241
 
242
+ #: ../image-watermark.php:726
243
  msgid "Select method of aplying watermark size."
244
  msgstr "Wybierz sposób określania wielkości znaku wodnego."
245
 
246
+ #: ../image-watermark.php:731
247
  msgid "Watermark custom size"
248
  msgstr "Własna wielkość"
249
 
250
+ #: ../image-watermark.php:738
251
  msgid "Those dimensions will be used if \"custom\" method is selected above."
252
  msgstr ""
253
  "Te wymiary zostaną zastosowane, jeśli wybrałeś \"własną\" wielkość znaku "
254
  "wodnego. "
255
 
256
+ #: ../image-watermark.php:742
257
  msgid "Scale of watermark in relation to image width"
258
  msgstr "Wielkość znaku wodnego w stosunku do szerokości obrazków"
259
 
260
+ #: ../image-watermark.php:747
261
  msgid ""
262
  "This value will be used if \"scaled\" method if selected above. <br />Enter "
263
  "a number ranging from 0 to 100. 100 makes width of watermark image equal to "
268
  "że wielkość znaku wodnego będzie równa wielkości obrazka, do którego jest "
269
  "dodawany."
270
 
271
+ #: ../image-watermark.php:751
272
  msgid "Watermark transparency / opacity"
273
  msgstr "Przezroczystość znaku wodnego"
274
 
275
+ #: ../image-watermark.php:756
276
  msgid ""
277
  "Enter a number ranging from 0 to 100. 0 makes watermark image completely "
278
  "transparent, 100 shows it as is."
280
  "Wpisz liczbę z zakresu od 0 do 100. Wpisanie 0 spowoduje, że znak wodny "
281
  "będzie całkowicie przezroczysty, 100 że widoczny taki jak jest."
282
 
283
+ #: ../image-watermark.php:760
284
  msgid "Image quality"
285
  msgstr "Jakość obrazka"
286
 
287
+ #: ../image-watermark.php:765
288
  msgid "Set watermark image quality."
289
  msgstr "Wybierz jakość znaku wodnego"
290
 
291
+ #: ../image-watermark.php:769
292
  msgid "Image format"
293
  msgstr "Format obrazka"
294
 
295
+ #: ../image-watermark.php:773
296
  msgid "baseline"
297
  msgstr "baseline"
298
 
299
+ #: ../image-watermark.php:775
300
  msgid "progressive"
301
  msgstr "progressive"
302
 
303
+ #: ../image-watermark.php:779
304
  msgid "Select baseline or progressive image format."
305
  msgstr "Wybierz format obrazu."
306
 
307
+ #: ../image-watermark.php:785
308
  msgid "Image protection"
309
  msgstr "Ochrona obrazków"
310
 
311
+ #: ../image-watermark.php:788
312
  msgid "Disable right mouse click on images"
313
  msgstr "Wyłącz możliwość kliknięcia prawym przyciskiem myszy na obrazku"
314
 
315
+ #: ../image-watermark.php:792
316
  msgid "Prevent drag and drop"
317
  msgstr "Wyłącz możliwość przeciągania i upuszczania obrazków"
318
 
319
+ #: ../image-watermark.php:796
320
  msgid "Enable image protection for logged-in users also"
321
  msgstr "Włącz ochronę zdjęć także dla zalogowanych użytkowników"
322
 
323
+ #: ../image-watermark.php:801
324
  msgid "Save Changes"
325
  msgstr "Zapisz zmiany"
326
 
327
+ #: ../image-watermark.php:807
328
  msgid "Image Watermark"
329
  msgstr "Znak wodny"
330
 
331
+ #: ../image-watermark.php:809
332
  msgid "Need support?"
333
  msgstr "Potrzebujesz pomocy?"
334
 
335
+ #: ../image-watermark.php:810
336
  msgid ""
337
  "If you are having problems with this plugin, please talk about them in the"
338
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o tym na"
339
 
340
+ #: ../image-watermark.php:810
341
  msgid "Support forum"
342
  msgstr "Forum pomocy"
343
 
344
+ #: ../image-watermark.php:812
345
  msgid "Do you like this plugin?"
346
  msgstr "Lubisz tę wtyczkę?"
347
 
348
+ #: ../image-watermark.php:813
349
  msgid "Rate it 5"
350
  msgstr "Oceń ją na 5"
351
 
352
+ #: ../image-watermark.php:813
353
  msgid "on WordPress.org"
354
  msgstr "na WordPress.org"
355
 
356
+ #: ../image-watermark.php:814
357
  msgid "Blog about it & link to the"
358
  msgstr "Napisz o niej i dodaj link do"
359
 
360
+ #: ../image-watermark.php:814
361
  msgid "plugin page"
362
  msgstr "strony wtyczki"
363
 
364
+ #: ../image-watermark.php:815
365
  msgid "Check out our other"
366
  msgstr "Sprawdź inne"
367
 
368
+ #: ../image-watermark.php:815
369
  msgid "WordPress plugins"
370
  msgstr "wtyczki do WordPressa"
371
 
372
+ #: ../image-watermark.php:819
373
  msgid "Created by"
374
  msgstr "Stworzone przez"
375
 
languages/image-watermark.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WordPress Watermark\n"
4
- "POT-Creation-Date: 2013-06-10 16:48+0100\n"
5
- "PO-Revision-Date: 2013-06-10 16:48+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.pl>\n"
8
  "Language: English\n"
@@ -22,322 +22,327 @@ msgid ""
22
  "Sorry, Image Watermark plugin requires at least PHP 5.0 and WP 3.5 or higher."
23
  msgstr ""
24
 
25
- #: ../image-watermark.php:149
26
  msgid ""
27
- "Watermark couldn't be applied to selected images or no images were selected."
 
28
  msgstr ""
29
 
30
- #: ../image-watermark.php:153
 
 
 
 
31
  #, php-format
32
  msgid "Watermark was succesfully applied to 1 image."
33
  msgid_plural "Watermark was succesfully applied to %s images."
34
  msgstr[0] ""
35
  msgstr[1] ""
36
 
37
- #: ../image-watermark.php:217
38
  msgid "Support"
39
  msgstr ""
40
 
41
- #: ../image-watermark.php:239
42
  msgid "Settings"
43
  msgstr ""
44
 
45
- #: ../image-watermark.php:270
46
  msgid "Apply watermark"
47
  msgstr ""
48
 
49
- #: ../image-watermark.php:294
50
  msgid "Select watermark"
51
  msgstr ""
52
 
53
- #: ../image-watermark.php:295 ../image-watermark.php:686
54
  msgid "Original size"
55
  msgstr ""
56
 
57
- #: ../image-watermark.php:296 ../image-watermark.php:680
58
  msgid "Watermak has not been selected yet."
59
  msgstr ""
60
 
61
- #: ../image-watermark.php:297
62
  msgid "This image is not supported as watermark. Use JPEG, PNG or GIF."
63
  msgstr ""
64
 
65
- #: ../image-watermark.php:299
66
  msgid "Add watermark"
67
  msgstr ""
68
 
69
- #: ../image-watermark.php:344
70
  msgid "Image Watermark Options"
71
  msgstr ""
72
 
73
- #: ../image-watermark.php:345
74
  msgid "Watermark"
75
  msgstr ""
76
 
77
- #: ../image-watermark.php:371
78
  msgid "Image Watermark will not work properly without GD PHP extension."
79
  msgstr ""
80
 
81
- #: ../image-watermark.php:508
82
  msgid "Settings saved."
83
  msgstr ""
84
 
85
- #: ../image-watermark.php:525
86
  msgid "Watermark will not be applied when <b>watermark image is not set</b>."
87
  msgstr ""
88
 
89
- #: ../image-watermark.php:530
90
  msgid "Watermark will not be applied when <b>no image sizes are selected</b>."
91
  msgstr ""
92
 
93
- #: ../image-watermark.php:538
94
  msgid "Image Watermark Settings"
95
  msgstr ""
96
 
97
- #: ../image-watermark.php:542
98
  msgid "General settings"
99
  msgstr ""
100
 
101
- #: ../image-watermark.php:545
102
  msgid "Automatic watermarking"
103
  msgstr ""
104
 
105
- #: ../image-watermark.php:549 ../image-watermark.php:565
106
  msgid "on"
107
  msgstr ""
108
 
109
- #: ../image-watermark.php:551 ../image-watermark.php:567
110
  msgid "off"
111
  msgstr ""
112
 
113
- #: ../image-watermark.php:554
114
  msgid "Enable or disable watermark for uploaded images."
115
  msgstr ""
116
 
117
- #: ../image-watermark.php:561
118
  msgid "Manual watermarking"
119
  msgstr ""
120
 
121
- #: ../image-watermark.php:570
122
  msgid "Enable or disable Apply Watermark option for images in Media Library."
123
  msgstr ""
124
 
125
- #: ../image-watermark.php:577
126
  msgid "Enable watermark for"
127
  msgstr ""
128
 
129
- #: ../image-watermark.php:586
130
  msgid ""
131
  "Check image sizes on which watermark should appear. <b>Notice:</b> checking "
132
  "full size is not recommened as it's the original image."
133
  msgstr ""
134
 
135
- #: ../image-watermark.php:592
136
  msgid "everywhere"
137
  msgstr ""
138
 
139
- #: ../image-watermark.php:593
140
  msgid "on selected post types only"
141
  msgstr ""
142
 
143
- #: ../image-watermark.php:601
144
  msgid ""
145
  "Check custom post types on which watermark should be applied to uploaded "
146
  "images."
147
  msgstr ""
148
 
149
- #: ../image-watermark.php:607
150
  msgid "Watermark position"
151
  msgstr ""
152
 
153
- #: ../image-watermark.php:610
154
  msgid "Watermark alignment"
155
  msgstr ""
156
 
157
- #: ../image-watermark.php:625
158
  msgid "Choose the position of watermark image."
159
  msgstr ""
160
 
161
- #: ../image-watermark.php:630
162
  msgid "Watermark offset"
163
  msgstr ""
164
 
165
- #: ../image-watermark.php:633 ../image-watermark.php:713
166
  msgid "x:"
167
  msgstr ""
168
 
169
- #: ../image-watermark.php:633 ../image-watermark.php:635
170
- #: ../image-watermark.php:713 ../image-watermark.php:715
171
  msgid "px"
172
  msgstr ""
173
 
174
- #: ../image-watermark.php:635 ../image-watermark.php:715
175
  msgid "y:"
176
  msgstr ""
177
 
178
- #: ../image-watermark.php:651 ../image-watermark.php:655
179
  msgid "Watermark image"
180
  msgstr ""
181
 
182
- #: ../image-watermark.php:652
183
  msgid ""
184
  "Configure your watermark image. Allowed file formats are: JPEG, PNG, GIF."
185
  msgstr ""
186
 
187
- #: ../image-watermark.php:658
188
  msgid "Select image"
189
  msgstr ""
190
 
191
- #: ../image-watermark.php:659
192
  msgid "Turn off image"
193
  msgstr ""
194
 
195
- #: ../image-watermark.php:660
196
  msgid "You have to save changes after the selection or removal of the image."
197
  msgstr ""
198
 
199
- #: ../image-watermark.php:664
200
  msgid "Watermark preview"
201
  msgstr ""
202
 
203
- #: ../image-watermark.php:694
204
  msgid "Watermark size"
205
  msgstr ""
206
 
207
- #: ../image-watermark.php:698
208
  msgid "original"
209
  msgstr ""
210
 
211
- #: ../image-watermark.php:700
212
  msgid "custom"
213
  msgstr ""
214
 
215
- #: ../image-watermark.php:702
216
  msgid "scaled"
217
  msgstr ""
218
 
219
- #: ../image-watermark.php:705
220
  msgid "Select method of aplying watermark size."
221
  msgstr ""
222
 
223
- #: ../image-watermark.php:710
224
  msgid "Watermark custom size"
225
  msgstr ""
226
 
227
- #: ../image-watermark.php:717
228
  msgid "Those dimensions will be used if \"custom\" method is selected above."
229
  msgstr ""
230
 
231
- #: ../image-watermark.php:721
232
  msgid "Scale of watermark in relation to image width"
233
  msgstr ""
234
 
235
- #: ../image-watermark.php:726
236
  msgid ""
237
  "This value will be used if \"scaled\" method if selected above. <br />Enter "
238
  "a number ranging from 0 to 100. 100 makes width of watermark image equal to "
239
  "width of the image it is applied to."
240
  msgstr ""
241
 
242
- #: ../image-watermark.php:730
243
  msgid "Watermark transparency / opacity"
244
  msgstr ""
245
 
246
- #: ../image-watermark.php:735
247
  msgid ""
248
  "Enter a number ranging from 0 to 100. 0 makes watermark image completely "
249
  "transparent, 100 shows it as is."
250
  msgstr ""
251
 
252
- #: ../image-watermark.php:739
253
  msgid "Image quality"
254
  msgstr ""
255
 
256
- #: ../image-watermark.php:744
257
  msgid "Set watermark image quality."
258
  msgstr ""
259
 
260
- #: ../image-watermark.php:748
261
  msgid "Image format"
262
  msgstr ""
263
 
264
- #: ../image-watermark.php:752
265
  msgid "baseline"
266
  msgstr ""
267
 
268
- #: ../image-watermark.php:754
269
  msgid "progressive"
270
  msgstr ""
271
 
272
- #: ../image-watermark.php:758
273
  msgid "Select baseline or progressive image format."
274
  msgstr ""
275
 
276
- #: ../image-watermark.php:764
277
  msgid "Image protection"
278
  msgstr ""
279
 
280
- #: ../image-watermark.php:767
281
  msgid "Disable right mouse click on images"
282
  msgstr ""
283
 
284
- #: ../image-watermark.php:771
285
  msgid "Prevent drag and drop"
286
  msgstr ""
287
 
288
- #: ../image-watermark.php:775
289
  msgid "Enable image protection for logged-in users also"
290
  msgstr ""
291
 
292
- #: ../image-watermark.php:780
293
  msgid "Save Changes"
294
  msgstr ""
295
 
296
- #: ../image-watermark.php:786
297
  msgid "Image Watermark"
298
  msgstr ""
299
 
300
- #: ../image-watermark.php:788
301
  msgid "Need support?"
302
  msgstr ""
303
 
304
- #: ../image-watermark.php:789
305
  msgid ""
306
  "If you are having problems with this plugin, please talk about them in the"
307
  msgstr ""
308
 
309
- #: ../image-watermark.php:789
310
  msgid "Support forum"
311
  msgstr ""
312
 
313
- #: ../image-watermark.php:791
314
  msgid "Do you like this plugin?"
315
  msgstr ""
316
 
317
- #: ../image-watermark.php:792
318
  msgid "Rate it 5"
319
  msgstr ""
320
 
321
- #: ../image-watermark.php:792
322
  msgid "on WordPress.org"
323
  msgstr ""
324
 
325
- #: ../image-watermark.php:793
326
  msgid "Blog about it & link to the"
327
  msgstr ""
328
 
329
- #: ../image-watermark.php:793
330
  msgid "plugin page"
331
  msgstr ""
332
 
333
- #: ../image-watermark.php:794
334
  msgid "Check out our other"
335
  msgstr ""
336
 
337
- #: ../image-watermark.php:794
338
  msgid "WordPress plugins"
339
  msgstr ""
340
 
341
- #: ../image-watermark.php:798
342
  msgid "Created by"
343
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WordPress Watermark\n"
4
+ "POT-Creation-Date: 2013-06-11 13:16+0100\n"
5
+ "PO-Revision-Date: 2013-06-11 13:16+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.pl>\n"
8
  "Language: English\n"
22
  "Sorry, Image Watermark plugin requires at least PHP 5.0 and WP 3.5 or higher."
23
  msgstr ""
24
 
25
+ #: ../image-watermark.php:164
26
  msgid ""
27
+ "Watermark could not be applied to selected files or no valid images (JPEG, "
28
+ "PNG) were selected."
29
  msgstr ""
30
 
31
+ #: ../image-watermark.php:164 ../image-watermark.php:168
32
+ msgid "Skipped files"
33
+ msgstr ""
34
+
35
+ #: ../image-watermark.php:168
36
  #, php-format
37
  msgid "Watermark was succesfully applied to 1 image."
38
  msgid_plural "Watermark was succesfully applied to %s images."
39
  msgstr[0] ""
40
  msgstr[1] ""
41
 
42
+ #: ../image-watermark.php:234
43
  msgid "Support"
44
  msgstr ""
45
 
46
+ #: ../image-watermark.php:256
47
  msgid "Settings"
48
  msgstr ""
49
 
50
+ #: ../image-watermark.php:287
51
  msgid "Apply watermark"
52
  msgstr ""
53
 
54
+ #: ../image-watermark.php:311
55
  msgid "Select watermark"
56
  msgstr ""
57
 
58
+ #: ../image-watermark.php:312 ../image-watermark.php:707
59
  msgid "Original size"
60
  msgstr ""
61
 
62
+ #: ../image-watermark.php:313 ../image-watermark.php:701
63
  msgid "Watermak has not been selected yet."
64
  msgstr ""
65
 
66
+ #: ../image-watermark.php:314
67
  msgid "This image is not supported as watermark. Use JPEG, PNG or GIF."
68
  msgstr ""
69
 
70
+ #: ../image-watermark.php:316
71
  msgid "Add watermark"
72
  msgstr ""
73
 
74
+ #: ../image-watermark.php:361
75
  msgid "Image Watermark Options"
76
  msgstr ""
77
 
78
+ #: ../image-watermark.php:362
79
  msgid "Watermark"
80
  msgstr ""
81
 
82
+ #: ../image-watermark.php:388
83
  msgid "Image Watermark will not work properly without GD PHP extension."
84
  msgstr ""
85
 
86
+ #: ../image-watermark.php:525
87
  msgid "Settings saved."
88
  msgstr ""
89
 
90
+ #: ../image-watermark.php:546
91
  msgid "Watermark will not be applied when <b>watermark image is not set</b>."
92
  msgstr ""
93
 
94
+ #: ../image-watermark.php:551
95
  msgid "Watermark will not be applied when <b>no image sizes are selected</b>."
96
  msgstr ""
97
 
98
+ #: ../image-watermark.php:559
99
  msgid "Image Watermark Settings"
100
  msgstr ""
101
 
102
+ #: ../image-watermark.php:563
103
  msgid "General settings"
104
  msgstr ""
105
 
106
+ #: ../image-watermark.php:566
107
  msgid "Automatic watermarking"
108
  msgstr ""
109
 
110
+ #: ../image-watermark.php:570 ../image-watermark.php:586
111
  msgid "on"
112
  msgstr ""
113
 
114
+ #: ../image-watermark.php:572 ../image-watermark.php:588
115
  msgid "off"
116
  msgstr ""
117
 
118
+ #: ../image-watermark.php:575
119
  msgid "Enable or disable watermark for uploaded images."
120
  msgstr ""
121
 
122
+ #: ../image-watermark.php:582
123
  msgid "Manual watermarking"
124
  msgstr ""
125
 
126
+ #: ../image-watermark.php:591
127
  msgid "Enable or disable Apply Watermark option for images in Media Library."
128
  msgstr ""
129
 
130
+ #: ../image-watermark.php:598
131
  msgid "Enable watermark for"
132
  msgstr ""
133
 
134
+ #: ../image-watermark.php:607
135
  msgid ""
136
  "Check image sizes on which watermark should appear. <b>Notice:</b> checking "
137
  "full size is not recommened as it's the original image."
138
  msgstr ""
139
 
140
+ #: ../image-watermark.php:613
141
  msgid "everywhere"
142
  msgstr ""
143
 
144
+ #: ../image-watermark.php:614
145
  msgid "on selected post types only"
146
  msgstr ""
147
 
148
+ #: ../image-watermark.php:622
149
  msgid ""
150
  "Check custom post types on which watermark should be applied to uploaded "
151
  "images."
152
  msgstr ""
153
 
154
+ #: ../image-watermark.php:628
155
  msgid "Watermark position"
156
  msgstr ""
157
 
158
+ #: ../image-watermark.php:631
159
  msgid "Watermark alignment"
160
  msgstr ""
161
 
162
+ #: ../image-watermark.php:646
163
  msgid "Choose the position of watermark image."
164
  msgstr ""
165
 
166
+ #: ../image-watermark.php:651
167
  msgid "Watermark offset"
168
  msgstr ""
169
 
170
+ #: ../image-watermark.php:654 ../image-watermark.php:734
171
  msgid "x:"
172
  msgstr ""
173
 
174
+ #: ../image-watermark.php:654 ../image-watermark.php:656
175
+ #: ../image-watermark.php:734 ../image-watermark.php:736
176
  msgid "px"
177
  msgstr ""
178
 
179
+ #: ../image-watermark.php:656 ../image-watermark.php:736
180
  msgid "y:"
181
  msgstr ""
182
 
183
+ #: ../image-watermark.php:672 ../image-watermark.php:676
184
  msgid "Watermark image"
185
  msgstr ""
186
 
187
+ #: ../image-watermark.php:673
188
  msgid ""
189
  "Configure your watermark image. Allowed file formats are: JPEG, PNG, GIF."
190
  msgstr ""
191
 
192
+ #: ../image-watermark.php:679
193
  msgid "Select image"
194
  msgstr ""
195
 
196
+ #: ../image-watermark.php:680
197
  msgid "Turn off image"
198
  msgstr ""
199
 
200
+ #: ../image-watermark.php:681
201
  msgid "You have to save changes after the selection or removal of the image."
202
  msgstr ""
203
 
204
+ #: ../image-watermark.php:685
205
  msgid "Watermark preview"
206
  msgstr ""
207
 
208
+ #: ../image-watermark.php:715
209
  msgid "Watermark size"
210
  msgstr ""
211
 
212
+ #: ../image-watermark.php:719
213
  msgid "original"
214
  msgstr ""
215
 
216
+ #: ../image-watermark.php:721
217
  msgid "custom"
218
  msgstr ""
219
 
220
+ #: ../image-watermark.php:723
221
  msgid "scaled"
222
  msgstr ""
223
 
224
+ #: ../image-watermark.php:726
225
  msgid "Select method of aplying watermark size."
226
  msgstr ""
227
 
228
+ #: ../image-watermark.php:731
229
  msgid "Watermark custom size"
230
  msgstr ""
231
 
232
+ #: ../image-watermark.php:738
233
  msgid "Those dimensions will be used if \"custom\" method is selected above."
234
  msgstr ""
235
 
236
+ #: ../image-watermark.php:742
237
  msgid "Scale of watermark in relation to image width"
238
  msgstr ""
239
 
240
+ #: ../image-watermark.php:747
241
  msgid ""
242
  "This value will be used if \"scaled\" method if selected above. <br />Enter "
243
  "a number ranging from 0 to 100. 100 makes width of watermark image equal to "
244
  "width of the image it is applied to."
245
  msgstr ""
246
 
247
+ #: ../image-watermark.php:751
248
  msgid "Watermark transparency / opacity"
249
  msgstr ""
250
 
251
+ #: ../image-watermark.php:756
252
  msgid ""
253
  "Enter a number ranging from 0 to 100. 0 makes watermark image completely "
254
  "transparent, 100 shows it as is."
255
  msgstr ""
256
 
257
+ #: ../image-watermark.php:760
258
  msgid "Image quality"
259
  msgstr ""
260
 
261
+ #: ../image-watermark.php:765
262
  msgid "Set watermark image quality."
263
  msgstr ""
264
 
265
+ #: ../image-watermark.php:769
266
  msgid "Image format"
267
  msgstr ""
268
 
269
+ #: ../image-watermark.php:773
270
  msgid "baseline"
271
  msgstr ""
272
 
273
+ #: ../image-watermark.php:775
274
  msgid "progressive"
275
  msgstr ""
276
 
277
+ #: ../image-watermark.php:779
278
  msgid "Select baseline or progressive image format."
279
  msgstr ""
280
 
281
+ #: ../image-watermark.php:785
282
  msgid "Image protection"
283
  msgstr ""
284
 
285
+ #: ../image-watermark.php:788
286
  msgid "Disable right mouse click on images"
287
  msgstr ""
288
 
289
+ #: ../image-watermark.php:792
290
  msgid "Prevent drag and drop"
291
  msgstr ""
292
 
293
+ #: ../image-watermark.php:796
294
  msgid "Enable image protection for logged-in users also"
295
  msgstr ""
296
 
297
+ #: ../image-watermark.php:801
298
  msgid "Save Changes"
299
  msgstr ""
300
 
301
+ #: ../image-watermark.php:807
302
  msgid "Image Watermark"
303
  msgstr ""
304
 
305
+ #: ../image-watermark.php:809
306
  msgid "Need support?"
307
  msgstr ""
308
 
309
+ #: ../image-watermark.php:810
310
  msgid ""
311
  "If you are having problems with this plugin, please talk about them in the"
312
  msgstr ""
313
 
314
+ #: ../image-watermark.php:810
315
  msgid "Support forum"
316
  msgstr ""
317
 
318
+ #: ../image-watermark.php:812
319
  msgid "Do you like this plugin?"
320
  msgstr ""
321
 
322
+ #: ../image-watermark.php:813
323
  msgid "Rate it 5"
324
  msgstr ""
325
 
326
+ #: ../image-watermark.php:813
327
  msgid "on WordPress.org"
328
  msgstr ""
329
 
330
+ #: ../image-watermark.php:814
331
  msgid "Blog about it & link to the"
332
  msgstr ""
333
 
334
+ #: ../image-watermark.php:814
335
  msgid "plugin page"
336
  msgstr ""
337
 
338
+ #: ../image-watermark.php:815
339
  msgid "Check out our other"
340
  msgstr ""
341
 
342
+ #: ../image-watermark.php:815
343
  msgid "WordPress plugins"
344
  msgstr ""
345
 
346
+ #: ../image-watermark.php:819
347
  msgid "Created by"
348
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
4
  Tags: image, images, picture, photo, watermark, watermarking, protection, image protection, image security, plugin
5
  Requires at least: 3.5
6
  Tested up to: 3.5.1
7
- Stable tag: 1.1.2
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -53,6 +53,11 @@ No questions yet.
53
 
54
  == Changelog ==
55
 
 
 
 
 
 
56
  = 1.1.2 =
57
  * New: Image quality option
58
  * New: Image format selection (progressive or baseline)
@@ -94,4 +99,4 @@ Initial release
94
 
95
  = 1.1.2 =
96
 
97
- Bugfix release. Added image quality & image format options.
4
  Tags: image, images, picture, photo, watermark, watermarking, protection, image protection, image security, plugin
5
  Requires at least: 3.5
6
  Tested up to: 3.5.1
7
+ Stable tag: 1.1.3
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
53
 
54
  == Changelog ==
55
 
56
+ = 1.1.3 =
57
+ * New: Introducing API hooks: iw_before_apply_watermark, iw_after_apply_watermark, iw_watermark_options
58
+ * Fix: Wrong watermark watermark path
59
+ * Fix: Final fix (hopefully) for getimagesize() error
60
+
61
  = 1.1.2 =
62
  * New: Image quality option
63
  * New: Image format selection (progressive or baseline)
99
 
100
  = 1.1.2 =
101
 
102
+ Final fix (hopefully) for getimagesize() error and wrong watermark file path