Easy Watermark - Version 0.4.3

Version Description

  • added support for additional image sizes registered by some templates or plugins (e.g. 'post-thumbnail')
Download this release

Release Info

Developer szaleq
Plugin Icon Easy Watermark
Version 0.4.3
Comparing to
See all releases

Code changes from version 0.4.2 to 0.4.3

index.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Easy Watermark
4
  Description: This plugin can automatically add image and text watermark to pictures as they are uploaded to wordpress media library. You can also watermark existing images manually (all at once or an every single image). Watermark image can be a png, gif (alpha channel supported in both cases) or jpg. It's also possibile to set watermark opacity (doesn't apply to png with alpha channel). For text watermark you can select font, set color, size, angel and opacity.
5
- Version: 0.4.2
6
  Author: Wojtek Szałkiewicz
7
  Author URI: http://szalkiewicz.pl/
8
  License: GPLv2 or later
2
  /*
3
  Plugin Name: Easy Watermark
4
  Description: This plugin can automatically add image and text watermark to pictures as they are uploaded to wordpress media library. You can also watermark existing images manually (all at once or an every single image). Watermark image can be a png, gif (alpha channel supported in both cases) or jpg. It's also possibile to set watermark opacity (doesn't apply to png with alpha channel). For text watermark you can select font, set color, size, angel and opacity.
5
+ Version: 0.4.3
6
  Author: Wojtek Szałkiewicz
7
  Author URI: http://szalkiewicz.pl/
8
  License: GPLv2 or later
languages/easy-watermark-es_ES.mo ADDED
@@ -0,0 +1 @@
 
1
+ \DE\95\00\00\00\00N\00\00\00\00\00\00\8C\00\00k\00\00\00\FC\00\00\00\00\00\00\A8\00\00\00\00\00\A9\00\00
languages/easy-watermark-es_ES.po ADDED
@@ -0,0 +1,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Easy Watermark 0.4.3\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-05-16 19:39+0100\n"
6
+ "PO-Revision-Date: 2013-05-20 18:51+0100\n"
7
+ "Last-Translator: Manuel <mmartinortiz@gmail.com>\n"
8
+ "Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.4\n"
13
+
14
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:180
15
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
16
+ msgid "Watermark successfully added."
17
+ msgstr "Marca de agua añadida correctamente"
18
+
19
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:186
20
+ msgid "Invalid mime type."
21
+ msgstr "Tipo MIME inválido"
22
+
23
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:189
24
+ msgid "No watermark image selected and no watermark text set."
25
+ msgstr "Marca de agua no seleccionada y texto de agua no establecido"
26
+
27
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:191
28
+ msgid "Go to settings page"
29
+ msgstr "Ir a la página de configuración"
30
+
31
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:195
32
+ msgid "An error has occurred."
33
+ msgstr "Ha ocurrido un error"
34
+
35
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:201
36
+ msgid "Easy Watermark is active, but requires GD library to work. Please enable this extension."
37
+ msgstr "Easy Watermark está activo, pero requiere la biblioteca GD para funcionar. Por favor, activa esta extensión"
38
+
39
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:201
40
+ msgid "Read more"
41
+ msgstr "Leer más"
42
+
43
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:222
44
+ msgid "Add Watermark"
45
+ msgstr "Añadir marca de agua"
46
+
47
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:242
48
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:258
49
+ msgid "Add watermark"
50
+ msgstr "Añadir marca de agua"
51
+
52
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:397
53
+ #, php-format
54
+ msgid "Not supported mime type of %s. Skipping..."
55
+ msgstr "Tipo MIME %s no soportado, omitiendo..."
56
+
57
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkPlugin.php:402
58
+ #, php-format
59
+ msgid "Watermark successfully added to %s"
60
+ msgstr "Marca de agua añadida correctamente a %s"
61
+
62
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkSettings.php:83
63
+ msgid "General"
64
+ msgstr "General"
65
+
66
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkSettings.php:84
67
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:24
68
+ msgid "Image"
69
+ msgstr "Imagen"
70
+
71
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkSettings.php:85
72
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:25
73
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:3
74
+ msgid "Text"
75
+ msgstr "Texto"
76
+
77
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkSettings.php:103
78
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
79
+ msgid "Easy Watermark"
80
+ msgstr "Easy Watermark"
81
+
82
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkSettings.php:281
83
+ msgid "Settings"
84
+ msgstr "Configuración"
85
+
86
+ #: /media/szaleq/Data/easy-watermark/trunk/lib/EasyWatermarkSettings.php:294
87
+ msgid "Donate"
88
+ msgstr "Donar"
89
+
90
+ #: /media/szaleq/Data/easy-watermark/trunk/views/about.php:2
91
+ msgid "About"
92
+ msgstr "Acerca de"
93
+
94
+ #: /media/szaleq/Data/easy-watermark/trunk/views/about.php:4
95
+ msgid "Plugin Version"
96
+ msgstr "Versión del plugin"
97
+
98
+ #: /media/szaleq/Data/easy-watermark/trunk/views/about.php:5
99
+ msgid "Plugin Author"
100
+ msgstr "Autor del plugin"
101
+
102
+ #: /media/szaleq/Data/easy-watermark/trunk/views/about.php:6
103
+ msgid "GD library is enabled."
104
+ msgstr "Biblioteca GD activa"
105
+
106
+ #: /media/szaleq/Data/easy-watermark/trunk/views/about.php:6
107
+ msgid "GD library is not available! Easy Watermark can't work without it."
108
+ msgstr "La biblioteca GD no está disponible. Easy Watermark no puede funcionar sin ella"
109
+
110
+ #: /media/szaleq/Data/easy-watermark/trunk/views/about.php:8
111
+ msgid "Plugin page in WP repository"
112
+ msgstr "Página del plugin en el repositorio de WP"
113
+
114
+ #: /media/szaleq/Data/easy-watermark/trunk/views/about.php:10
115
+ msgid "FAQ"
116
+ msgstr "FAQ"
117
+
118
+ #: /media/szaleq/Data/easy-watermark/trunk/views/about.php:12
119
+ msgid "Support"
120
+ msgstr "Apoyar"
121
+
122
+ #: /media/szaleq/Data/easy-watermark/trunk/views/about.php:13
123
+ msgid "Want to buy me a coffee?"
124
+ msgstr "¿Me quieres comprar un café?"
125
+
126
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
127
+ msgid "Go to Media Library"
128
+ msgstr "Ir a biblioteca de medios"
129
+
130
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:16
131
+ msgid "You are about to watermark all images in the library. This action can not be undone. Are you sure you want to do this?"
132
+ msgstr "Vas a añadir una marca de agua a todas las imágenes de la biblioteca. Esta opción no puede deshacerse. ¿Estás seguro de que quieres continuar?"
133
+
134
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:18
135
+ msgid "Proceed"
136
+ msgstr "Procede"
137
+
138
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:18
139
+ msgid "Cancel"
140
+ msgstr "Cancelar"
141
+
142
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:23
143
+ msgid "Add watermark to all images"
144
+ msgstr "Añadir una marca de agua a todas las imágenes"
145
+
146
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:23
147
+ msgid "Be carefull with that option. If some images alredy has watermark, it will be added though."
148
+ msgstr "Se cuidadoso con esta opción. Si la imagen ya tiene una marca de agua, esta se añadirá de todas formas"
149
+
150
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:3
151
+ msgid "Auto Watermark"
152
+ msgstr "Marcas de agua automáticas"
153
+
154
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:4
155
+ msgid "Add watermark when uploading images"
156
+ msgstr "Añadir marca de agua al subir las imágenes"
157
+
158
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:6
159
+ msgid "Image Types"
160
+ msgstr "Tipos de imagen"
161
+
162
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:10
163
+ msgid "Select image types which should be watermarked"
164
+ msgstr "Selecciona que tipo de imagen deben tener marca de agua"
165
+
166
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:12
167
+ msgid "Image Sizes"
168
+ msgstr "Tamaño de las imágenes"
169
+
170
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:18
171
+ msgid "Select image sizes which should be watermarked"
172
+ msgstr "Selecciona el tamaño de las imágenes que deberán tener marca de agua"
173
+
174
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:21
175
+ msgid "Watermark Type"
176
+ msgstr "Tipo de marca de agua"
177
+
178
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:26
179
+ msgid "Image + Text"
180
+ msgstr "Imagen + Texto"
181
+
182
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:28
183
+ msgid "Choose, whether to apply image, text, or both."
184
+ msgstr "Elige si se utilizará una imagen, texto, o ambos"
185
+
186
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:31
187
+ msgid "Jpeg Quality"
188
+ msgstr "Calidad Jpeg"
189
+
190
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:32
191
+ msgid "Set jpeg quality from 0 (worst quality, smaller file) to 100 (best quality, biggest file)"
192
+ msgstr "Establece la calidad Jpeg de 0 (peor calidad, imagen más pequeña) a 100 (mejor calidad, imagen más grande)"
193
+
194
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
195
+ msgid "Watermark Image"
196
+ msgstr "Imagen de marca de agua"
197
+
198
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:8
199
+ msgid "Choose Watermark Image"
200
+ msgstr "Selecciona la imagen para la marca de agua"
201
+
202
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:8
203
+ msgid "Set as Watermark Image"
204
+ msgstr "Establece la imagen como marca de agua"
205
+
206
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:8
207
+ msgid "Select/Upload Image"
208
+ msgstr "Selecciona/Sube una imagen"
209
+
210
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:8
211
+ msgid "Note: If you want to upload a new image, make sure that \"Auto watermark\" option is unticked or text watermark is not set. Otherwise uploaded image will be watermarked."
212
+ msgstr "Nota: Si quires añadir una nueva imagen, asegurate de que la opción \"Marca de agua automática\" no está marcada o el texto para la marca de agua no está establecido. De otra forma, las imágenes que subas tendrán una marca de agua"
213
+
214
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:17
215
+ msgid "Click on image to change it."
216
+ msgstr "Click en la imagen para cambiarla"
217
+
218
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:17
219
+ msgid "Remove image"
220
+ msgstr "Elimiar imagen"
221
+
222
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:18
223
+ msgid "Note: If you want to upload a new image, make sure that \"Auto watermark\" option is unticked, or remove current image and unset text watermark first. Otherwise uploaded image will be watermarked."
224
+ msgstr "Nota: Si quieres subir una imagen nueva, asegúrate de que la opción \"Marca de agua automática\" no está seleccionada, o elimina la imagen actual o el texto de marca de agua primero. De lo contrario, la imagen subida tendrá una marca de agua"
225
+
226
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:21
227
+ msgid "Image Alignment"
228
+ msgstr "Alineamiento de la imagen"
229
+
230
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:34
231
+ msgid "Scaling Mode"
232
+ msgstr "Modo de escalado"
233
+
234
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:36
235
+ msgid "None"
236
+ msgstr "No"
237
+
238
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:37
239
+ msgid "Fill"
240
+ msgstr "Llenar"
241
+
242
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:38
243
+ msgid "Fit"
244
+ msgstr "Ajustar"
245
+
246
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:39
247
+ msgid "Fit to Width"
248
+ msgstr "Ajustar al ancho"
249
+
250
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:40
251
+ msgid "Fit to Height"
252
+ msgstr "Ajustar al alto"
253
+
254
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:41
255
+ msgid "Select how to scale watermark image."
256
+ msgstr "Selecciona como escalar las marcas de agua"
257
+
258
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:42
259
+ msgid "Scale to Smaller"
260
+ msgstr "Escalar al más pequeño"
261
+
262
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:43
263
+ msgid "If this is checked, watermark will be scaled only for images smaller than watermark image."
264
+ msgstr "Si esto está seleccionado, la marca de agua será redimensionada sólo para imágenes más pequelas que la imagen de la marca de agua"
265
+
266
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:46
267
+ msgid "Scale"
268
+ msgstr "Redimiensionar"
269
+
270
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:49
271
+ msgid "Image Offset"
272
+ msgstr "Offset de la imagen"
273
+
274
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:50
275
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:28
276
+ msgid "x"
277
+ msgstr "x"
278
+
279
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:52
280
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:30
281
+ msgid "y"
282
+ msgstr "y"
283
+
284
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:53
285
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:31
286
+ msgid "Offset can be defined in pixels (just numeric value) or as percentage (e.g. '33%')"
287
+ msgstr "El offset puede ser definido en píxeles (un valor numérico) o como porcentaje (por ejemplo, '33%')"
288
+
289
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:55
290
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:55
291
+ msgid "Opacity"
292
+ msgstr "Opacidad"
293
+
294
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:55
295
+ msgid "Opacity does not affect the png images with alpha chanel."
296
+ msgstr "La opacidad no afecta a las imágenes PNG con canal alfa"
297
+
298
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:8
299
+ msgid "Preview"
300
+ msgstr "Previsualización"
301
+
302
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:14
303
+ msgid "Text Alignment"
304
+ msgstr "Alineación del texto"
305
+
306
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:27
307
+ msgid "Text Offset"
308
+ msgstr "Offset del texto"
309
+
310
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:33
311
+ msgid "Font"
312
+ msgstr "Fuente"
313
+
314
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:44
315
+ msgid "Text Color"
316
+ msgstr "Color del texto"
317
+
318
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:47
319
+ msgid "Text Size"
320
+ msgstr "Tamaño del texto"
321
+
322
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:51
323
+ msgid "Text Angle"
324
+ msgstr "Ángulo del texto"
325
+
326
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-page.php:6
327
+ msgid "Easy Watermark Settings"
328
+ msgstr "Configuración de Easy Watermark"
329
+
330
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-page.php:22
331
+ msgid "Save Changes"
332
+ msgstr "Guardar cambios"
333
+
languages/easy-watermark-fr_FR.mo CHANGED
@@ -1 +1 @@
1
- \DE\95\00\00\00\00I\00\00\00\00\00\00d\00\00a\00\00\00\AC\00\00\00\00\00\000\00\00\00\00\001\00\00
1
+ \DE\95\00\00\00\00I\00\00\00\00\00\00d\00\00a\00\00\00\AC\00\00\00\00\00\000\00\00\00\00\001\00\00
languages/easy-watermark-fr_FR.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Easy Watermark 0.4.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2013-05-16 19:40+0100\n"
6
- "PO-Revision-Date: 2013-05-17 20:37+0100\n"
7
  "Last-Translator: Regis B <rbrisard@gmail.com>\n"
8
  "Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
9
  "Language: French\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Easy Watermark 0.4.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2013-05-16 19:40+0100\n"
6
+ "PO-Revision-Date: 2013-05-21 12:13+0100\n"
7
  "Last-Translator: Regis B <rbrisard@gmail.com>\n"
8
  "Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
9
  "Language: French\n"
languages/easy-watermark-pl_PL.mo CHANGED
Binary file
languages/easy-watermark-pl_PL.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Easy Watermark 0.4.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2013-05-16 19:39+0100\n"
6
  "PO-Revision-Date: 2013-05-17 20:37+0100\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Easy Watermark 0.4.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2013-05-16 19:39+0100\n"
6
  "PO-Revision-Date: 2013-05-17 20:37+0100\n"
languages/easy-watermark.pot CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Easy Watermark 0.4.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2013-05-16 19:39+0100\n"
6
  "PO-Revision-Date: 2013-05-16 19:39+0100\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Easy Watermark 0.4.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2013-05-16 19:39+0100\n"
6
  "PO-Revision-Date: 2013-05-16 19:39+0100\n"
lib/EWPlugin.php CHANGED
@@ -23,7 +23,7 @@ class EWPluginCore extends EWPlugable
23
  /**
24
  * @var string plugin version
25
  */
26
- protected static $version = '0.4.2';
27
 
28
  /**
29
  * @var string plugin class name
23
  /**
24
  * @var string plugin version
25
  */
26
+ protected static $version = '0.4.3';
27
 
28
  /**
29
  * @var string plugin class name
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=wojte
4
  Tags: watermark, image, picture, photo, media, gallery, signature, transparent, upload, admin
5
  Requires at least: 3.3
6
  Tested up to: 3.5.1
7
- Stable tag: 0.4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -20,12 +20,13 @@ Easy Watermark can automatically add image and text watermark to pictures as the
20
  * jpg files, gif files and text can have opacity set (from 0 to 100%)
21
  * text watermark is created using ttf fonts
22
  * text color, size and rotation can be set
23
- * all default image sizes can be watermarked (thumbnail, medium, large and fullsize)
24
  * fully translatable
25
 
26
  = Translations included =
27
- * polish
28
- * french (by Regis Brisard)
 
29
 
30
  If you have made a translation and want to contribute with it to Easy Watermark, please e-mail me.
31
 
@@ -43,7 +44,7 @@ Note: Easy Watermark requires GD extension installed and enabled on a server to
43
  Unfortunately, not yet. Keeping oryginal pictures feature is in plans, so it will be possibile to restore original image in the future.
44
 
45
  = How can I add watermark to pictures that were uploaded before the plugin was installed? =
46
- You can go to "Media >> Easy Watermark" and click "Add watermark to all images" button. If you wont to add watermark to single images, you can find links titled "Add watermark" in the media library (see screenshots) or "Add watermark" button on image edit page.
47
 
48
  = How can I adjust watermark image position? =
49
  Watermark position can be adjusted vertically and horizontally by selecting alignment (left, center, right, top, middle, bottom). You can also define horizontal and vertical offset.
@@ -78,6 +79,9 @@ With 'Fit to Width' or 'Fit to Height' options watermark dimensions can be set a
78
 
79
  == Changelog ==
80
 
 
 
 
81
  = 0.4.2 =
82
  * added possibility to define jpeg quality
83
 
4
  Tags: watermark, image, picture, photo, media, gallery, signature, transparent, upload, admin
5
  Requires at least: 3.3
6
  Tested up to: 3.5.1
7
+ Stable tag: 0.4.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
20
  * jpg files, gif files and text can have opacity set (from 0 to 100%)
21
  * text watermark is created using ttf fonts
22
  * text color, size and rotation can be set
23
+ * all built-in image sizes can be watermarked (thumbnail, medium, large and fullsize) as well as all additional sizes registered by themes or plugins (since 0.4.3)
24
  * fully translatable
25
 
26
  = Translations included =
27
+ * Polish
28
+ * French (by Regis Brisard)
29
+ * Spanish ([http://abitworld.com/](http://abitworld.com/ "Translator's home page"))
30
 
31
  If you have made a translation and want to contribute with it to Easy Watermark, please e-mail me.
32
 
44
  Unfortunately, not yet. Keeping oryginal pictures feature is in plans, so it will be possibile to restore original image in the future.
45
 
46
  = How can I add watermark to pictures that were uploaded before the plugin was installed? =
47
+ You can go to "Media >> Easy Watermark" and click "Add watermark to all images" button. If you want to add watermark to single images, you can find links titled "Add watermark" in the media library (see screenshots) or "Add watermark" button on image edit page.
48
 
49
  = How can I adjust watermark image position? =
50
  Watermark position can be adjusted vertically and horizontally by selecting alignment (left, center, right, top, middle, bottom). You can also define horizontal and vertical offset.
79
 
80
  == Changelog ==
81
 
82
+ = 0.4.3 =
83
+ * added support for additional image sizes registered by some templates or plugins (e.g. 'post-thumbnail')
84
+
85
  = 0.4.2 =
86
  * added possibility to define jpeg quality
87
 
views/settings-form-general.php CHANGED
@@ -15,6 +15,11 @@
15
  <label for="image-size-medium"><input id="image-size-medium" type="checkbox" name="easy-watermark-settings-general[image_sizes][]" value="medium" <?php checked('1', in_array('medium', $image_sizes)); ?> /> Medium</label><br/>
16
  <label for="image-size-large"><input id="image-size-large" type="checkbox" name="easy-watermark-settings-general[image_sizes][]" value="large" <?php checked('1', in_array('large', $image_sizes)); ?> /> Large</label><br/>
17
  <label for="image-size-full"><input id="image-size-full" type="checkbox" name="easy-watermark-settings-general[image_sizes][]" value="full" <?php checked('1', in_array('full', $image_sizes)); ?> /> Fullsize</label>
 
 
 
 
 
18
  <p class="description"><?php _e('Select image sizes which should be watermarked', 'easy-watermark'); ?></p></td>
19
  </tr>
20
  <tr><th scope="row">
15
  <label for="image-size-medium"><input id="image-size-medium" type="checkbox" name="easy-watermark-settings-general[image_sizes][]" value="medium" <?php checked('1', in_array('medium', $image_sizes)); ?> /> Medium</label><br/>
16
  <label for="image-size-large"><input id="image-size-large" type="checkbox" name="easy-watermark-settings-general[image_sizes][]" value="large" <?php checked('1', in_array('large', $image_sizes)); ?> /> Large</label><br/>
17
  <label for="image-size-full"><input id="image-size-full" type="checkbox" name="easy-watermark-settings-general[image_sizes][]" value="full" <?php checked('1', in_array('full', $image_sizes)); ?> /> Fullsize</label>
18
+ <?php global $_wp_additional_image_sizes;
19
+ if(is_array($_wp_additional_image_sizes)) :
20
+ foreach($_wp_additional_image_sizes as $sizeName => $size) : ?>
21
+ <br/><label for="image-size-<?php echo $sizeName; ?>"><input id="image-size-<?php echo $sizeName; ?>" type="checkbox" name="easy-watermark-settings-general[image_sizes][]" value="<?php echo $sizeName; ?>" <?php checked('1', in_array($sizeName, $image_sizes)); ?> /> <?php echo $sizeName; ?></label>
22
+ <?php endforeach; endif; ?>
23
  <p class="description"><?php _e('Select image sizes which should be watermarked', 'easy-watermark'); ?></p></td>
24
  </tr>
25
  <tr><th scope="row">