Image Watermark - Version 1.5.6

Version Description

  • New: PHP image processing library option, if more than one available.
  • Fix: Manual / Media library watermarking not working.
  • Fix: Image sizes not being generated proparly in GD library.
Download this release

Release Info

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

Code changes from version 1.5.5 to 1.5.6

image-watermark.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Image Watermark
4
  Description: Image Watermark allows you to automatically watermark images uploaded to the WordPress Media Library and bulk watermark previously uploaded images.
5
- Version: 1.5.5
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/image-watermark/
@@ -32,7 +32,7 @@ define( 'IMAGE_WATERMARK_PATH', plugin_dir_path( __FILE__ ) );
32
  * Image Watermark class.
33
  *
34
  * @class Image_Watermark
35
- * @version 1.5.5
36
  */
37
  final class Image_Watermark {
38
 
@@ -48,11 +48,13 @@ final class Image_Watermark {
48
  'image/pjpeg',
49
  'image/png'
50
  );
 
51
  public $defaults = array(
52
  'options' => array(
53
  'watermark_on' => array(),
54
  'watermark_cpt_on' => array( 'everywhere' ),
55
  'watermark_image' => array(
 
56
  'url' => 0,
57
  'width' => 80,
58
  'plugin_off' => 0,
@@ -76,7 +78,7 @@ final class Image_Watermark {
76
  'forlogged' => 0,
77
  ),
78
  ),
79
- 'version' => '1.5.5'
80
  );
81
  public $options = array();
82
 
@@ -132,9 +134,8 @@ final class Image_Watermark {
132
  */
133
  public function deactivate_watermark() {
134
  // remove options from database?
135
- if ( $this->options['image_watermark_image']['deactivation_delete'] ) {
136
  delete_option( 'image_watermark_options' );
137
- }
138
  }
139
 
140
  /**
@@ -265,10 +266,29 @@ final class Image_Watermark {
265
  * @return void
266
  */
267
  public function check_extensions() {
268
- if ( $this->check_imagick() )
269
- $this->extension = 'imagick';
270
- elseif ( $this->check_gd() )
271
- $this->extension = 'gd';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
  }
273
 
274
  /**
@@ -280,7 +300,6 @@ final class Image_Watermark {
280
  public function handle_upload_files( $file ) {
281
  // is extension available?
282
  if ( $this->extension ) {
283
-
284
  // determine ajax frontend or backend request
285
  $script_filename = isset( $_SERVER['SCRIPT_FILENAME'] ) ? $_SERVER['SCRIPT_FILENAME'] : '';
286
 
@@ -329,8 +348,7 @@ final class Image_Watermark {
329
  public function apply_watermark_bulk_action() {
330
  global $pagenow;
331
 
332
- if ( $pagenow == 'upload.php' && $this->extension) {
333
-
334
  $wp_list_table = _get_list_table( 'WP_Media_List_Table' );
335
 
336
  // only if manual watermarking is turned on and image watermark is set
@@ -353,6 +371,7 @@ final class Image_Watermark {
353
 
354
  // do we have selected attachments?
355
  if ( $post_ids ) {
 
356
  $watermarked = $skipped = 0;
357
 
358
  foreach ( $post_ids as $post_id ) {
@@ -360,7 +379,7 @@ final class Image_Watermark {
360
 
361
  // is this really an image?
362
  if ( in_array( get_post_mime_type( $post_id ), $this->allowed_mime_types ) && is_array( $data ) ) {
363
- $this->apply_watermark( $data, 'manual' );
364
  $watermarked ++;
365
  } else
366
  $skipped ++;
@@ -427,12 +446,10 @@ final class Image_Watermark {
427
  }
428
  }
429
 
430
-
431
-
432
  /**
433
  * Check whether ImageMagick extension is available.
434
  *
435
- * @return boolean True if extension is available.
436
  */
437
  public function check_imagick() {
438
  // check Imagick's extension and classes
@@ -457,7 +474,7 @@ final class Image_Watermark {
457
  /**
458
  * Check whether GD extension is available.
459
  *
460
- * @return boolean True if extension is available.
461
  */
462
  public function check_gd( $args = array() ) {
463
  // check extension
@@ -474,12 +491,20 @@ final class Image_Watermark {
474
  * @param int|string $attachment_id Attachment ID or 'manual'
475
  * @return array
476
  */
477
- public function apply_watermark( $data, $attachment_id ) {
478
  $post = get_post( (int) $attachment_id );
479
  $post_id = ( ! empty( $post ) ? (int) $post->post_parent : 0 );
480
 
481
  // something went wrong or is it automatic mode?
482
- if ( $attachment_id !== 'manual' && ( $this->is_admin === true && ! ( ( isset( $this->options['watermark_cpt_on'][0] ) && $this->options['watermark_cpt_on'][0] === 'everywhere') || ( $post_id > 0 && in_array( get_post_type( $post_id ), array_keys( $this->options['watermark_cpt_on'] ) ) === true) ) ) )
 
 
 
 
 
 
 
 
483
  return $data;
484
 
485
  if ( apply_filters( 'iw_watermark_display', $attachment_id ) === false )
@@ -491,6 +516,7 @@ final class Image_Watermark {
491
  if ( getimagesize( $upload_dir['basedir'] . DIRECTORY_SEPARATOR . $data['file'] ) !== false ) {
492
  // loop through active image sizes
493
  foreach ( $this->options['watermark_on'] as $image_size => $active_size ) {
 
494
  if ( $active_size === 1 ) {
495
  switch ( $image_size ) {
496
  case 'full':
@@ -593,7 +619,7 @@ final class Image_Watermark {
593
  // gd extension
594
  } else {
595
  // get image resource
596
- $image = load_image_to_edit( $attachment_id, $mime['type'], $image_size );
597
 
598
  if ( $image !== false ) {
599
  // add watermark image to image
@@ -612,6 +638,38 @@ final class Image_Watermark {
612
  }
613
  }
614
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
615
  /**
616
  * Calculate watermark dimensions.
617
  *
2
  /*
3
  Plugin Name: Image Watermark
4
  Description: Image Watermark allows you to automatically watermark images uploaded to the WordPress Media Library and bulk watermark previously uploaded images.
5
+ Version: 1.5.6
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/image-watermark/
32
  * Image Watermark class.
33
  *
34
  * @class Image_Watermark
35
+ * @version 1.5.6
36
  */
37
  final class Image_Watermark {
38
 
48
  'image/pjpeg',
49
  'image/png'
50
  );
51
+ public $extensions;
52
  public $defaults = array(
53
  'options' => array(
54
  'watermark_on' => array(),
55
  'watermark_cpt_on' => array( 'everywhere' ),
56
  'watermark_image' => array(
57
+ 'extension' => '',
58
  'url' => 0,
59
  'width' => 80,
60
  'plugin_off' => 0,
78
  'forlogged' => 0,
79
  ),
80
  ),
81
+ 'version' => '1.5.6'
82
  );
83
  public $options = array();
84
 
134
  */
135
  public function deactivate_watermark() {
136
  // remove options from database?
137
+ if ( $this->options['watermark_image']['deactivation_delete'] )
138
  delete_option( 'image_watermark_options' );
 
139
  }
140
 
141
  /**
266
  * @return void
267
  */
268
  public function check_extensions() {
269
+ $ext = null;
270
+
271
+ if ( $this->check_imagick() ) {
272
+ $this->extensions['imagick'] = 'ImageMagick';
273
+ $ext = 'imagick';
274
+ }
275
+
276
+ if ( $this->check_gd() ) {
277
+ $this->extensions['gd'] = 'GD';
278
+
279
+ if ( is_null( $ext ) )
280
+ $ext = 'gd';
281
+ }
282
+
283
+ if ( isset( $this->options['watermark_image']['extension'] ) ) {
284
+ if ( $this->options['watermark_image']['extension'] === 'imagick' && isset( $this->extensions['imagick'] ) )
285
+ $this->extension = 'imagick';
286
+ elseif ( $this->options['watermark_image']['extension'] === 'gd' && isset( $this->extensions['gd'] ) )
287
+ $this->extension = 'gd';
288
+ else
289
+ $this->extension = $ext;
290
+ } else
291
+ $this->extension = $ext;
292
  }
293
 
294
  /**
300
  public function handle_upload_files( $file ) {
301
  // is extension available?
302
  if ( $this->extension ) {
 
303
  // determine ajax frontend or backend request
304
  $script_filename = isset( $_SERVER['SCRIPT_FILENAME'] ) ? $_SERVER['SCRIPT_FILENAME'] : '';
305
 
348
  public function apply_watermark_bulk_action() {
349
  global $pagenow;
350
 
351
+ if ( $pagenow == 'upload.php' && $this->extension ) {
 
352
  $wp_list_table = _get_list_table( 'WP_Media_List_Table' );
353
 
354
  // only if manual watermarking is turned on and image watermark is set
371
 
372
  // do we have selected attachments?
373
  if ( $post_ids ) {
374
+
375
  $watermarked = $skipped = 0;
376
 
377
  foreach ( $post_ids as $post_id ) {
379
 
380
  // is this really an image?
381
  if ( in_array( get_post_mime_type( $post_id ), $this->allowed_mime_types ) && is_array( $data ) ) {
382
+ $this->apply_watermark( $data, $post_id, 'manual' );
383
  $watermarked ++;
384
  } else
385
  $skipped ++;
446
  }
447
  }
448
 
 
 
449
  /**
450
  * Check whether ImageMagick extension is available.
451
  *
452
+ * @return boolean True if extension is available
453
  */
454
  public function check_imagick() {
455
  // check Imagick's extension and classes
474
  /**
475
  * Check whether GD extension is available.
476
  *
477
+ * @return boolean True if extension is available
478
  */
479
  public function check_gd( $args = array() ) {
480
  // check extension
491
  * @param int|string $attachment_id Attachment ID or 'manual'
492
  * @return array
493
  */
494
+ public function apply_watermark( $data, $attachment_id, $method = '' ) {
495
  $post = get_post( (int) $attachment_id );
496
  $post_id = ( ! empty( $post ) ? (int) $post->post_parent : 0 );
497
 
498
  // something went wrong or is it automatic mode?
499
+ if ( $method !== 'manual'
500
+ && (
501
+ $this->is_admin === true
502
+ && ! (
503
+ ( isset( $this->options['watermark_cpt_on'][0] ) && $this->options['watermark_cpt_on'][0] === 'everywhere' )
504
+ || ( $post_id > 0 && in_array( get_post_type( $post_id ), array_keys( $this->options['watermark_cpt_on'] ) ) === true )
505
+ )
506
+ )
507
+ )
508
  return $data;
509
 
510
  if ( apply_filters( 'iw_watermark_display', $attachment_id ) === false )
516
  if ( getimagesize( $upload_dir['basedir'] . DIRECTORY_SEPARATOR . $data['file'] ) !== false ) {
517
  // loop through active image sizes
518
  foreach ( $this->options['watermark_on'] as $image_size => $active_size ) {
519
+
520
  if ( $active_size === 1 ) {
521
  switch ( $image_size ) {
522
  case 'full':
619
  // gd extension
620
  } else {
621
  // get image resource
622
+ $image = $this->get_image_resource( $image_path, $mime['type'] );
623
 
624
  if ( $image !== false ) {
625
  // add watermark image to image
638
  }
639
  }
640
 
641
+ /**
642
+ * Get image resource accordingly to mimetype.
643
+ *
644
+ * @param string $filepath
645
+ * @param string $mime_type
646
+ * @return resource
647
+ */
648
+ private function get_image_resource( $filepath, $mime_type ) {
649
+ switch ( $mime_type ) {
650
+ case 'image/jpeg':
651
+ case 'image/pjpeg':
652
+ $image = imagecreatefromjpeg( $filepath );
653
+ break;
654
+
655
+ case 'image/png':
656
+ $image = imagecreatefrompng( $filepath );
657
+
658
+ imagefilledrectangle( $image, 0, 0, imagesx( $image ), imagesy( $image ), imagecolorallocatealpha( $image, 255, 255, 255, 127 ) );
659
+ break;
660
+
661
+ default:
662
+ $image = false;
663
+ }
664
+
665
+ if ( is_resource( $image ) ) {
666
+ imagealphablending( $image, false );
667
+ imagesavealpha( $image, true );
668
+ }
669
+
670
+ return $image;
671
+ }
672
+
673
  /**
674
  * Calculate watermark dimensions.
675
  *
includes/class-settings.php CHANGED
@@ -6,9 +6,7 @@ if ( ! defined( 'ABSPATH' ) )
6
  new Image_Watermark_Settings( );
7
 
8
  class Image_Watermark_Settings {
9
-
10
- private $image_sizes = array();
11
-
12
  private $watermark_positions = array(
13
  'x' => array( 'left', 'center', 'right' ),
14
  'y' => array( 'top', 'middle', 'bottom' )
@@ -19,7 +17,7 @@ class Image_Watermark_Settings {
19
  */
20
  public function __construct( ) {
21
  // actions
22
- add_action( 'admin_init', array( $this, 'register_settings' ) );
23
  add_action( 'admin_menu', array( $this, 'options_page' ) );
24
  add_action( 'wp_loaded', array( $this, 'load_image_sizes' ) );
25
  }
@@ -49,6 +47,12 @@ class Image_Watermark_Settings {
49
 
50
  // general
51
  add_settings_section( 'image_watermark_general', __( 'General settings', 'image-watermark' ), '', 'image_watermark_options' );
 
 
 
 
 
 
52
  add_settings_field( 'iw_automatic_watermarking', __( 'Automatic watermarking', 'image-watermark' ), array( $this, 'iw_automatic_watermarking' ), 'image_watermark_options', 'image_watermark_general' );
53
  add_settings_field( 'iw_manual_watermarking', __( 'Manual watermarking', 'image-watermark' ), array( $this, 'iw_manual_watermarking' ), 'image_watermark_options', 'image_watermark_general' );
54
  add_settings_field( 'iw_enable_for', __( 'Enable watermark for', 'image-watermark' ), array( $this, 'iw_enable_for' ), 'image_watermark_options', 'image_watermark_general' );
@@ -151,12 +155,10 @@ class Image_Watermark_Settings {
151
  * @return array
152
  */
153
  public function validate_options( $input ) {
154
-
155
  if ( ! current_user_can( 'manage_options' ) )
156
  return $input;
157
 
158
  if ( isset( $_POST['save_image_watermark_options'] ) ) {
159
-
160
  $input['watermark_image']['plugin_off'] = isset( $_POST['iw_options']['watermark_image']['plugin_off'] ) ? ((bool) $_POST['iw_options']['watermark_image']['plugin_off'] == 1 ? true : false) : Image_Watermark()->defaults['options']['watermark_image']['plugin_off'];
161
  $input['watermark_image']['manual_watermarking'] = isset( $_POST['iw_options']['watermark_image']['manual_watermarking'] ) ? ((bool) $_POST['iw_options']['watermark_image']['manual_watermarking'] == 1 ? true : false) : Image_Watermark()->defaults['options']['watermark_image']['manual_watermarking'];
162
 
@@ -169,6 +171,7 @@ class Image_Watermark_Settings {
169
  }
170
  }
171
  }
 
172
  $input['watermark_on'] = $watermark_on;
173
 
174
  $input['watermark_cpt_on'] = Image_Watermark()->defaults['options']['watermark_cpt_on'];
@@ -191,6 +194,9 @@ class Image_Watermark_Settings {
191
  }
192
  }
193
 
 
 
 
194
  $input['watermark_image']['frontend_active'] = isset( $_POST['iw_options']['watermark_image']['frontend_active'] ) ? ((bool) $_POST['iw_options']['watermark_image']['frontend_active'] == 1 ? true : false) : Image_Watermark()->defaults['options']['watermark_image']['frontend_active'];
195
  $input['watermark_image']['deactivation_delete'] = isset( $_POST['iw_options']['watermark_image']['deactivation_delete'] ) ? ((bool) $_POST['iw_options']['watermark_image']['deactivation_delete'] == 1 ? true : false) : Image_Watermark()->defaults['options']['watermark_image']['deactivation_delete'];
196
 
@@ -237,6 +243,27 @@ class Image_Watermark_Settings {
237
  return $input;
238
  }
239
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
  /**
241
  * Automatic watermarking option.
242
  */
6
  new Image_Watermark_Settings( );
7
 
8
  class Image_Watermark_Settings {
9
+ private $image_sizes;
 
 
10
  private $watermark_positions = array(
11
  'x' => array( 'left', 'center', 'right' ),
12
  'y' => array( 'top', 'middle', 'bottom' )
17
  */
18
  public function __construct( ) {
19
  // actions
20
+ add_action( 'admin_init', array( $this, 'register_settings' ), 11 );
21
  add_action( 'admin_menu', array( $this, 'options_page' ) );
22
  add_action( 'wp_loaded', array( $this, 'load_image_sizes' ) );
23
  }
47
 
48
  // general
49
  add_settings_section( 'image_watermark_general', __( 'General settings', 'image-watermark' ), '', 'image_watermark_options' );
50
+
51
+ // is imagick available?
52
+ if ( isset( Image_Watermark()->extensions['imagick'] ) ) {
53
+ add_settings_field( 'iw_extension', __( 'PHP library', 'image-watermark' ), array( $this, 'iw_extension' ), 'image_watermark_options', 'image_watermark_general' );
54
+ }
55
+
56
  add_settings_field( 'iw_automatic_watermarking', __( 'Automatic watermarking', 'image-watermark' ), array( $this, 'iw_automatic_watermarking' ), 'image_watermark_options', 'image_watermark_general' );
57
  add_settings_field( 'iw_manual_watermarking', __( 'Manual watermarking', 'image-watermark' ), array( $this, 'iw_manual_watermarking' ), 'image_watermark_options', 'image_watermark_general' );
58
  add_settings_field( 'iw_enable_for', __( 'Enable watermark for', 'image-watermark' ), array( $this, 'iw_enable_for' ), 'image_watermark_options', 'image_watermark_general' );
155
  * @return array
156
  */
157
  public function validate_options( $input ) {
 
158
  if ( ! current_user_can( 'manage_options' ) )
159
  return $input;
160
 
161
  if ( isset( $_POST['save_image_watermark_options'] ) ) {
 
162
  $input['watermark_image']['plugin_off'] = isset( $_POST['iw_options']['watermark_image']['plugin_off'] ) ? ((bool) $_POST['iw_options']['watermark_image']['plugin_off'] == 1 ? true : false) : Image_Watermark()->defaults['options']['watermark_image']['plugin_off'];
163
  $input['watermark_image']['manual_watermarking'] = isset( $_POST['iw_options']['watermark_image']['manual_watermarking'] ) ? ((bool) $_POST['iw_options']['watermark_image']['manual_watermarking'] == 1 ? true : false) : Image_Watermark()->defaults['options']['watermark_image']['manual_watermarking'];
164
 
171
  }
172
  }
173
  }
174
+
175
  $input['watermark_on'] = $watermark_on;
176
 
177
  $input['watermark_cpt_on'] = Image_Watermark()->defaults['options']['watermark_cpt_on'];
194
  }
195
  }
196
 
197
+ // extension
198
+ $input['watermark_image']['extension'] = isset( $_POST['iw_options']['watermark_image']['extension'], Image_Watermark()->extensions[$_POST['iw_options']['watermark_image']['extension']] ) ? $_POST['iw_options']['watermark_image']['extension'] : Image_Watermark()->defaults['options']['watermark_image']['extension'];
199
+
200
  $input['watermark_image']['frontend_active'] = isset( $_POST['iw_options']['watermark_image']['frontend_active'] ) ? ((bool) $_POST['iw_options']['watermark_image']['frontend_active'] == 1 ? true : false) : Image_Watermark()->defaults['options']['watermark_image']['frontend_active'];
201
  $input['watermark_image']['deactivation_delete'] = isset( $_POST['iw_options']['watermark_image']['deactivation_delete'] ) ? ((bool) $_POST['iw_options']['watermark_image']['deactivation_delete'] == 1 ? true : false) : Image_Watermark()->defaults['options']['watermark_image']['deactivation_delete'];
202
 
243
  return $input;
244
  }
245
 
246
+ /**
247
+ * PHP extension.
248
+ */
249
+ public function iw_extension() {
250
+ echo '
251
+ <div id="iw_extension">
252
+ <fieldset>
253
+ <select name="iw_options[watermark_image][extension]">';
254
+
255
+ foreach ( Image_Watermark()->extensions as $extension => $label ) {
256
+ echo '
257
+ <option value="' . esc_attr( $extension ) . '" ' . selected( $extension, Image_Watermark()->options['watermark_image']['extension'], false ) . '>' . esc_html( $label ) . '</option>';
258
+ }
259
+
260
+ echo '
261
+ </select>
262
+ <p class="description">' . esc_html__( 'Select extension.', 'wp-media-folder' ) . '</p>
263
+ </fieldset>
264
+ </div>';
265
+ }
266
+
267
  /**
268
  * Automatic watermarking option.
269
  */
languages/image-watermark-pl_PL.mo DELETED
Binary file
languages/image-watermark-pl_PL.po DELETED
@@ -1,546 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WordPress Watermark\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-07-16 20:10+0200\n"
6
- "PO-Revision-Date: 2015-07-16 20:10+0200\n"
7
- "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
- "Language-Team: Digital Factory <info@digitalfactory.pl>\n"
9
- "Language: pl_PL\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;esc_attr__;"
14
- "esc_attr_e\n"
15
- "X-Poedit-Basepath: .\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Generator: Poedit 1.8.2\n"
18
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
- "X-Poedit-SearchPath-0: ..\n"
20
-
21
- #: ../image-watermark.php:197 ../image-watermark.php:198
22
- msgid "Apply watermark"
23
- msgstr "Dodaj znak wodny"
24
-
25
- #: ../image-watermark.php:222
26
- msgid "Select watermark"
27
- msgstr "Wybierz znak wodny"
28
-
29
- #: ../image-watermark.php:223 ../image-watermark.php:705
30
- msgid "Original size"
31
- msgstr "Rozmiar oryginalny"
32
-
33
- #: ../image-watermark.php:224 ../image-watermark.php:701
34
- msgid "Watermak has not been selected yet."
35
- msgstr "Znak wodny nie został jeszcze wybrany."
36
-
37
- #: ../image-watermark.php:225
38
- msgid "This image is not supported as watermark. Use JPEG, PNG or GIF."
39
- msgstr "Ten rodzaj obrazka nie może być znakiem wodnym. Użyj JPEG, PNG or GIF."
40
-
41
- #: ../image-watermark.php:227
42
- msgid "Add watermark"
43
- msgstr "Dodaj znak wodny"
44
-
45
- #: ../image-watermark.php:240
46
- msgid "Are you sure you want to reset settings to defaults?"
47
- msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
48
-
49
- #: ../image-watermark.php:393
50
- #, php-format
51
- msgid ""
52
- "<strong>Image Watermark:</strong> Bulk watermarking is available in list "
53
- "mode only, under <em>Bulk Actions</em> dropdown. <a href=\"%1$s\">Got to "
54
- "List Mode</a> or <a href=\"%2$s\">Hide this notice</a>"
55
- msgstr ""
56
- "<strong>Znak wodny</strong> Masowe dodawania znaku wodnego dostępne jest "
57
- "wyłącznie w tybie listy, w <em>Masowych działaniach</em>. <a href=\"%1$s"
58
- "\">Przejdź do trybu listy</a> lub <a href=\"%2$s\">Ukryj ten komunikat</a>"
59
-
60
- #: ../image-watermark.php:402
61
- msgid ""
62
- "Watermark could not be applied to selected files or no valid images (JPEG, "
63
- "PNG) were selected."
64
- msgstr ""
65
- "Znak wodny nie został został dodany do wybranych obrazków lub nie został "
66
- "wybrany prawidłowy typ pliku (JPEG, PNG)."
67
-
68
- #: ../image-watermark.php:402
69
- msgid "Images skipped"
70
- msgstr "Pominięte obrazki"
71
-
72
- #: ../image-watermark.php:404
73
- #, php-format
74
- msgid "Watermark was succesfully applied to 1 image."
75
- msgid_plural "Watermark was succesfully applied to %s images."
76
- msgstr[0] "Znak wodny został dodany do 1 obrazka."
77
- msgstr[1] "Znak wodny został dodany do %s obrazków."
78
-
79
- #: ../image-watermark.php:404
80
- msgid "Skipped files"
81
- msgstr "Pominięte pliki"
82
-
83
- #: ../image-watermark.php:417
84
- msgid "Image Watermark Options"
85
- msgstr "Ustawienia znaku wodnego"
86
-
87
- #: ../image-watermark.php:417
88
- msgid "Watermark"
89
- msgstr "Znak wodny"
90
-
91
- #: ../image-watermark.php:431 ../image-watermark.php:437
92
- msgid "Image Watermark"
93
- msgstr "Znak wodny"
94
-
95
- #: ../image-watermark.php:439
96
- msgid "Need support?"
97
- msgstr "Potrzebujesz pomocy?"
98
-
99
- #: ../image-watermark.php:440
100
- msgid "If you are having problems with this plugin, checkout plugin"
101
- msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, sprawdź jej"
102
-
103
- #: ../image-watermark.php:440
104
- msgid "Documentation"
105
- msgstr "Dokumentację"
106
-
107
- #: ../image-watermark.php:440
108
- msgid "or talk about them in the"
109
- msgstr "lub napisz o nich na"
110
-
111
- #: ../image-watermark.php:440
112
- msgid "Support forum"
113
- msgstr "Forum pomocy"
114
-
115
- #: ../image-watermark.php:442
116
- msgid "Do you like this plugin?"
117
- msgstr "Lubisz tę wtyczkę?"
118
-
119
- #: ../image-watermark.php:449
120
- msgid "Rate it 5"
121
- msgstr "Oceń ją na 5"
122
-
123
- #: ../image-watermark.php:449
124
- msgid "on WordPress.org"
125
- msgstr "na WordPress.org"
126
-
127
- #: ../image-watermark.php:450
128
- msgid "Blog about it & link to the"
129
- msgstr "Napisz o niej i dodaj link do"
130
-
131
- #: ../image-watermark.php:450
132
- msgid "plugin page"
133
- msgstr "strony wtyczki"
134
-
135
- #: ../image-watermark.php:451
136
- msgid "Check out our other"
137
- msgstr "Sprawdź inne"
138
-
139
- #: ../image-watermark.php:451
140
- msgid "WordPress plugins"
141
- msgstr "wtyczki do WordPressa"
142
-
143
- #: ../image-watermark.php:454
144
- msgid "Created by"
145
- msgstr "Stworzone przez"
146
-
147
- #: ../image-watermark.php:466
148
- msgid "Reset to defaults"
149
- msgstr "Przywróć domyślne"
150
-
151
- #: ../image-watermark.php:481
152
- msgid "General settings"
153
- msgstr "Ustawienia ogólne"
154
-
155
- #: ../image-watermark.php:482
156
- msgid "Automatic watermarking"
157
- msgstr "Automatyczne dodawanie znaku wodnego"
158
-
159
- #: ../image-watermark.php:483
160
- msgid "Manual watermarking"
161
- msgstr "Ręczne dodawanie znaku wodnego"
162
-
163
- #: ../image-watermark.php:484
164
- msgid "Enable watermark for"
165
- msgstr "Dodawaj znak wodny do"
166
-
167
- #: ../image-watermark.php:485
168
- msgid "Frontend watermarking"
169
- msgstr "Dodawanie znaku wodnego na froncie"
170
-
171
- #: ../image-watermark.php:486
172
- msgid "Deactivation"
173
- msgstr "Deaktywacja wtyczki"
174
-
175
- #: ../image-watermark.php:488
176
- msgid "Watermark position"
177
- msgstr "Pozycja znaku wodnego"
178
-
179
- #: ../image-watermark.php:489
180
- msgid "Watermark alignment"
181
- msgstr "Wyrównanie znaku wodnego"
182
-
183
- #: ../image-watermark.php:490
184
- msgid "Watermark offset"
185
- msgstr "Korekcja pozycji"
186
-
187
- #: ../image-watermark.php:492 ../image-watermark.php:493
188
- msgid "Watermark image"
189
- msgstr "Obrazek znaku wodnego"
190
-
191
- #: ../image-watermark.php:494
192
- msgid "Watermark preview"
193
- msgstr "Podgląd obrazka"
194
-
195
- #: ../image-watermark.php:495
196
- msgid "Watermark size"
197
- msgstr "Wielkość znaku wodnego"
198
-
199
- #: ../image-watermark.php:496
200
- msgid "Watermark custom size"
201
- msgstr "Własna wielkość"
202
-
203
- #: ../image-watermark.php:497
204
- msgid "Scale of watermark in relation to image width"
205
- msgstr "Wielkość znaku wodnego w stosunku do szerokości obrazków"
206
-
207
- #: ../image-watermark.php:498
208
- msgid "Watermark transparency / opacity"
209
- msgstr "Przezroczystość znaku wodnego"
210
-
211
- #: ../image-watermark.php:499
212
- msgid "Image quality"
213
- msgstr "Jakość obrazka"
214
-
215
- #: ../image-watermark.php:500
216
- msgid "Image format"
217
- msgstr "Format obrazka"
218
-
219
- #: ../image-watermark.php:502
220
- msgid "Image protection"
221
- msgstr "Ochrona obrazków"
222
-
223
- #: ../image-watermark.php:503
224
- msgid "Right click"
225
- msgstr "Kliknięcie prawym przyciskiem"
226
-
227
- #: ../image-watermark.php:504
228
- msgid "Drag and drop"
229
- msgstr "Przeciągnij i upuść"
230
-
231
- #: ../image-watermark.php:505
232
- msgid "Logged-in users"
233
- msgstr "Zalogowani użytkownicy"
234
-
235
- #: ../image-watermark.php:515
236
- msgid "Enable watermark for uploaded images."
237
- msgstr "Włącz dodawanie znaku wodnego do wgrywanych obrazków."
238
-
239
- #: ../image-watermark.php:527
240
- msgid "Enable Apply Watermark option for images in Media Library."
241
- msgstr "Włącz opcję dodawania znaku wodnego dla obrazków w bibliotece mediów."
242
-
243
- #: ../image-watermark.php:549
244
- msgid ""
245
- "Check image sizes on which watermark should appear.<br /><strong>IMPORTANT:</"
246
- "strong> checking full size is NOT recommended as it's the original image. "
247
- "You may need it later - for removing or changing watermark, image sizes "
248
- "regeneration or any other image manipulations. Use it only if you know what "
249
- "you are doing."
250
- msgstr ""
251
- "Zaznacz rozmiary obrazków dla których chcesz dodać znak wodny. <br /"
252
- "><strong>WAŻNE:</strong> zaznaczanie pełnego rozmiaru jest NIE polecane, "
253
- "ponieważ dotyczy obrazków w oryginale, które mogą być Ci później potrzebne - "
254
- "do usuwania znaku wodnego lub jego zmiany, regenerowania rozmiarów obrazków "
255
- "lub innych modyfikacji. Zaznacz ten rozmiar tylko wtedy, gdy naprawdę wiesz "
256
- "co robisz."
257
-
258
- #: ../image-watermark.php:566
259
- msgid "everywhere"
260
- msgstr "wszędzie"
261
-
262
- #: ../image-watermark.php:567
263
- msgid "on selected post types only"
264
- msgstr "na wybranych typach wpisów"
265
-
266
- #: ../image-watermark.php:581
267
- msgid ""
268
- "Check custom post types on which watermark should be applied to uploaded "
269
- "images."
270
- msgstr ""
271
- "Zaznacz własne typy wpisów w których znak wodny będzie dodawany do "
272
- "wgrywanych obrazków."
273
-
274
- #: ../image-watermark.php:593
275
- msgid ""
276
- "Enable frontend image uploading. (uploading script is not included, but you "
277
- "may use a plugin or custom code)."
278
- msgstr ""
279
- "Włącz dodawanie znaku wodnego na froncie strony. (skrypt który by to "
280
- "umożliwiał nie jest częścią wtyczki, ale możesz użyć własnego kodu lub "
281
- "innego rozwiązania)."
282
-
283
- #: ../image-watermark.php:595
284
- msgid ""
285
- "<br /><strong>Notice:</strong> This functionality works only if uploaded "
286
- "images are processed using WordPress native upload methods."
287
- msgstr ""
288
- "<br /><strong>Uwaga:</strong> Ta funkcjonalność jest dostępna tylko jeśli "
289
- "obrazki wgrywane są za pomocą natywnych metod WordPressa."
290
-
291
- #: ../image-watermark.php:606
292
- msgid "Delete all database settings on plugin deactivation."
293
- msgstr "Usuń wszystkie dane wtyczki po jej deaktywacji."
294
-
295
- #: ../image-watermark.php:637
296
- msgid "Choose the position of watermark image."
297
- msgstr "Wybierz pozycję znaku wodnego na obrazkach"
298
-
299
- #: ../image-watermark.php:648 ../image-watermark.php:738
300
- msgid "x:"
301
- msgstr "x:"
302
-
303
- #: ../image-watermark.php:648 ../image-watermark.php:650
304
- #: ../image-watermark.php:738 ../image-watermark.php:740
305
- msgid "px"
306
- msgstr "pikseli"
307
-
308
- #: ../image-watermark.php:650 ../image-watermark.php:740
309
- msgid "y:"
310
- msgstr "y:"
311
-
312
- #: ../image-watermark.php:668
313
- msgid "Select image"
314
- msgstr "Wybierz obrazek"
315
-
316
- #: ../image-watermark.php:669
317
- msgid "Remove image"
318
- msgstr "Usuń obrazek"
319
-
320
- #: ../image-watermark.php:670
321
- msgid "You have to save changes after the selection or removal of the image."
322
- msgstr "Po zapisaniu zmian lub wybraniu obrazka powienieneś zapisać zmiany."
323
-
324
- #: ../image-watermark.php:720
325
- msgid "original"
326
- msgstr "oryginalna"
327
-
328
- #: ../image-watermark.php:722
329
- msgid "custom"
330
- msgstr "własna"
331
-
332
- #: ../image-watermark.php:724
333
- msgid "scaled"
334
- msgstr "skalowana"
335
-
336
- #: ../image-watermark.php:727
337
- msgid "Select method of aplying watermark size."
338
- msgstr "Wybierz sposób określania wielkości znaku wodnego."
339
-
340
- #: ../image-watermark.php:742
341
- msgid "Those dimensions will be used if \"custom\" method is selected above."
342
- msgstr ""
343
- "Te wymiary zostaną zastosowane, jeśli wybrałeś \"własną\" wielkość znaku "
344
- "wodnego. "
345
-
346
- #: ../image-watermark.php:759
347
- msgid ""
348
- "This value will be used if \"scaled\" method if selected above. <br />Enter "
349
- "a number ranging from 0 to 100. 100 makes width of watermark image equal to "
350
- "width of the image it is applied to."
351
- msgstr ""
352
- "Te wartości zostaną zastosowane, jeśli wybrałeś \"skalowaną\" wielkość znaku "
353
- "wodnego. <br />Wpisz liczbę z zakresu od 0 do 100. Wpisanie 100 spowoduje, "
354
- "że wielkość znaku wodnego będzie równa wielkości obrazka, do którego jest "
355
- "dodawany."
356
-
357
- #: ../image-watermark.php:776
358
- msgid ""
359
- "Enter a number ranging from 0 to 100. 0 makes watermark image completely "
360
- "transparent, 100 shows it as is."
361
- msgstr ""
362
- "Wpisz liczbę z zakresu od 0 do 100. Wpisanie 0 spowoduje, że znak wodny "
363
- "będzie całkowicie przezroczysty, 100 że widoczny taki jak jest."
364
-
365
- #: ../image-watermark.php:793
366
- msgid "Set output image quality."
367
- msgstr "Wybierz jakość obrazka po nadaniu znaku wodnego"
368
-
369
- #: ../image-watermark.php:804
370
- msgid "baseline"
371
- msgstr "baseline"
372
-
373
- #: ../image-watermark.php:806
374
- msgid "progressive"
375
- msgstr "progressive"
376
-
377
- #: ../image-watermark.php:810
378
- msgid "Select baseline or progressive image format."
379
- msgstr "Wybierz format obrazu."
380
-
381
- #: ../image-watermark.php:821
382
- msgid "Disable right mouse click on images"
383
- msgstr "Wyłącz możliwość kliknięcia prawym przyciskiem myszy na obrazku"
384
-
385
- #: ../image-watermark.php:833
386
- msgid "Prevent drag and drop"
387
- msgstr "Wyłącz możliwość przeciągania i upuszczania obrazków"
388
-
389
- #: ../image-watermark.php:845
390
- msgid "Enable image protection for logged-in users also"
391
- msgstr "Włącz ochronę zdjęć także dla zalogowanych użytkowników"
392
-
393
- #: ../image-watermark.php:924
394
- msgid "Settings saved."
395
- msgstr "Ustawienia zostały zapisane."
396
-
397
- #: ../image-watermark.php:929
398
- msgid "Settings restored to defaults."
399
- msgstr "Ustawienia zostały przywrócone do domyślnych."
400
-
401
- #: ../image-watermark.php:934
402
- msgid "Watermark will not be applied when watermark image is not set."
403
- msgstr "Znak wodny nie zostanie dodany jeśli nie został wybrany obrazek."
404
-
405
- #: ../image-watermark.php:937
406
- msgid "Watermark will not be applied when no image sizes are selected."
407
- msgstr ""
408
- "Znak wodny nie zostanie dodany jeśli nie zostały określone wielkości plików."
409
-
410
- #: ../image-watermark.php:1249
411
- msgid "Support"
412
- msgstr "Forum pomocy"
413
-
414
- #: ../image-watermark.php:1272
415
- msgid "Settings"
416
- msgstr "Ustawienia"
417
-
418
- #~ msgid ""
419
- #~ "If you are having problems with this plugin, please talk about them in the"
420
- #~ msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o tym na"
421
-
422
- #~ msgid ""
423
- #~ "Sorry, Image Watermark plugin requires at least PHP 5.0 and WP 3.5 or "
424
- #~ "higher."
425
- #~ msgstr ""
426
- #~ "Przykro nam, ale ta wtyczka wymaga PHP w wersji co najmniej 5.0 "
427
- #~ "WordPressa w wersji 3.5 lub wyższej.."
428
-
429
- #~ msgid "Image Watermark will not work properly without GD PHP extension."
430
- #~ msgstr ""
431
- #~ "Znak wodny nie może funkcjonować bez zainstalowanego rozszerzenia GD PHP."
432
-
433
- #~ msgid ""
434
- #~ "Watermark will not be applied when <b>watermark image is not set</b>."
435
- #~ msgstr ""
436
- #~ "Znak wodny nie zostanie dodany ponieważ <b>nie wybrano obrazka dla znaku "
437
- #~ "wodnego</b>."
438
-
439
- #~ msgid ""
440
- #~ "Watermark will not be applied when <b>no image sizes are selected</b>."
441
- #~ msgstr ""
442
- #~ "Znak wodny nie zostanie dodany ponieważ <b>nie wybrano wielkości "
443
- #~ "obrazków</b>."
444
-
445
- #~ msgid ""
446
- #~ "Watermark will not be applied while frontend image upload if <b>watermark "
447
- #~ "image is not set</b>."
448
- #~ msgstr ""
449
- #~ "Znak wodny nie zostanie dodany w trakcie wczytywania na froncie strony "
450
- #~ "jeśli <b>nie wybrano obrazka dla znaku wodnego</b>."
451
-
452
- #~ msgid ""
453
- #~ "Watermark will not be applied while frontend image upload if <b>no image "
454
- #~ "sizes are selected</b>."
455
- #~ msgstr ""
456
- #~ "Znak wodny nie zostanie dodany w trakcie wczytywania na froncie strony "
457
- #~ "jeśli <b>nie wybrano wielkości obrazków</b>."
458
-
459
- #~ msgid "Image Watermark Settings"
460
- #~ msgstr "Ustawienia znaku wodnego"
461
-
462
- #~ msgid "on"
463
- #~ msgstr "włączony"
464
-
465
- #~ msgid "off"
466
- #~ msgstr "wyłączony"
467
-
468
- #~ msgid "Enable or disable watermark for uploaded images."
469
- #~ msgstr "Włącz lub wyłącz dodawanie znaku wodnego do wgrywanych obrazków."
470
-
471
- #~ msgid ""
472
- #~ "Enable or disable Apply Watermark option for images in Media Library."
473
- #~ msgstr ""
474
- #~ "Włącz lub wyłącz dodawanie znaku wodnego do obrazków w Bibliotece mediów."
475
-
476
- #~ msgid "Automatic frontend watermarking"
477
- #~ msgstr "Znaku wodny na froncie strony"
478
-
479
- #~ msgid ""
480
- #~ "Enable or disable watermark for frontend image uploading. (uploading "
481
- #~ "script is not included, but you may use a plugin or custom code). "
482
- #~ "<strong>Notice:</strong> This functionality works only if uploaded images "
483
- #~ "are processed using WordPress native upload methods."
484
- #~ msgstr ""
485
- #~ "Włącz lub wyłącz dodawanie znaku wodnego wtrakcie wgrywania obrazków na "
486
- #~ "froncie strony. (skrypt umożliwiający wczytywanie nie jest dostarczony, "
487
- #~ "ale możesz użyć wtyczki lub własnego kodu). <strong>Uwaga:</strong> ta "
488
- #~ "funkcjonalność działa tylko jeśli wgrywane obrazki są przetwarzane z "
489
- #~ "wykorzystaniem domyślnych metod WordPressa."
490
-
491
- #~ msgid "Plugin deactivation"
492
- #~ msgstr "Deaktywacja wtyczki"
493
-
494
- #~ msgid ""
495
- #~ "Configure your watermark image. Allowed file formats are: JPEG, PNG, GIF."
496
- #~ msgstr ""
497
- #~ "Skonfiguruj obrazek znaku wodnego. Dozwolone formaty plików to: JPEG, "
498
- #~ "PNG, GIF."
499
-
500
- #~ msgid "Turn off image"
501
- #~ msgstr "Wyłącz obrazek"
502
-
503
- #~ msgid "Save Changes"
504
- #~ msgstr "Zapisz zmiany"
505
-
506
- #~ msgid ""
507
- #~ "Check image sizes on which watermark should appear. <b>Notice:</b> "
508
- #~ "checking full size is not recommened as it's the original image."
509
- #~ msgstr ""
510
- #~ "Zaznacz wielkości obazków dla których będzie dodany znak wodny. <b>Uwaga:"
511
- #~ "</b> zaznaczenie pełnej wielkości nie jest rekomendowane, ponieważ jest "
512
- #~ "to oryginał obrazka."
513
-
514
- #, fuzzy
515
- #~ msgid "Enable or disable watermark for uploaded images on frontend."
516
- #~ msgstr "Włącz lub wyłącz dodawanie znaku wodnego do wgrywanych obrazków."
517
-
518
- #~ msgid "Check image sizes on which watermark should appear."
519
- #~ msgstr "Zaznacz wielkości obrazków dla których ma być dodawany znak wodny."
520
-
521
- #~ msgid "Width"
522
- #~ msgstr "Szerokość"
523
-
524
- #~ msgid "Watermark Preview"
525
- #~ msgstr "Podgląd obrazka"
526
-
527
- #~ msgid "WordPress Watermark"
528
- #~ msgstr "Znak wodny"
529
-
530
- #~ msgid "Options updated."
531
- #~ msgstr "Ustawienia zostały zaktualizowane"
532
-
533
- #~ msgid "Watermark image URL"
534
- #~ msgstr "Ścieżka do obrazka"
535
-
536
- #~ msgid "Upload Image"
537
- #~ msgstr "Wgraj obrazek"
538
-
539
- #~ msgid ""
540
- #~ "Enter an URL, upload an image or select image from media library.<br /"
541
- #~ "><b>Important:</b> You must select a <b>file URL</b> while inserting "
542
- #~ "image."
543
- #~ msgstr ""
544
- #~ "Podaj adres URL, wgraj obrazek lub wybierz obrazek z biblioteki mediów."
545
- #~ "<br /><b>Ważne:</b> Dodając obrazek musisz zaznaczyć <b>Adres URL pliku</"
546
- #~ "b>."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/image-watermark-ru_RU.mo DELETED
Binary file
languages/image-watermark-ru_RU.po DELETED
@@ -1,470 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WordPress Watermark\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-02-14 11:41+0100\n"
6
- "PO-Revision-Date: 2014-06-01 13:40+0400\n"
7
- "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
- "Language-Team: Digital Factory <info@digitalfactory.pl>\n"
9
- "Language: pl_PL\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;esc_attr__;"
14
- "esc_attr_e\n"
15
- "X-Poedit-Basepath: .\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Generator: Poedit 1.6.3\n"
18
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
- "X-Poedit-SearchPath-0: ..\n"
20
-
21
- #: ../image-watermark.php:29
22
- msgid ""
23
- "Sorry, Image Watermark plugin requires at least PHP 5.0 and WP 3.5 or higher."
24
- msgstr ""
25
- "Извините, данный плагин работает только с версией PHP 5.0 и выше, WordPress "
26
- "- с версии 3.5 и выше."
27
-
28
- #: ../image-watermark.php:218
29
- msgid ""
30
- "Watermark could not be applied to selected files or no valid images (JPEG, "
31
- "PNG) were selected."
32
- msgstr ""
33
- "Ватермарк не может быть применен к выделенным файлам, либо были выбраны "
34
- "неверные изображения (JPEG, PNG)."
35
-
36
- #: ../image-watermark.php:218 ../image-watermark.php:222
37
- msgid "Skipped files"
38
- msgstr "Пропущенные файлы"
39
-
40
- #: ../image-watermark.php:222
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] "Ватермарк был успешно применен к 1 изображению."
45
- msgstr[1] "Ватермарк был успешно применен к %s изображениям."
46
-
47
- #: ../image-watermark.php:265
48
- msgid "Support"
49
- msgstr "Поддержка"
50
-
51
- #: ../image-watermark.php:287
52
- msgid "Settings"
53
- msgstr "Настройки"
54
-
55
- #: ../image-watermark.php:318
56
- msgid "Apply watermark"
57
- msgstr "Применить ватермарк"
58
-
59
- #: ../image-watermark.php:338
60
- msgid "Select watermark"
61
- msgstr "Выбрать ватермарк"
62
-
63
- #: ../image-watermark.php:339 ../image-watermark.php:834
64
- msgid "Original size"
65
- msgstr "Исходный размер (оригинальный)"
66
-
67
- #: ../image-watermark.php:340 ../image-watermark.php:828
68
- msgid "Watermak has not been selected yet."
69
- msgstr "Ватермарк еще не был выбран"
70
-
71
- #: ../image-watermark.php:341
72
- msgid "This image is not supported as watermark. Use JPEG, PNG or GIF."
73
- msgstr ""
74
- "Данное изображение нелья установить как ватермарк. Используйте JPEG, PNG или "
75
- "GIF."
76
-
77
- #: ../image-watermark.php:343
78
- msgid "Add watermark"
79
- msgstr "Добавить ватермарк"
80
-
81
- #: ../image-watermark.php:360
82
- msgid "Are you sure you want to reset settings to defaults?"
83
- msgstr "Вы уверены, что хотите вернуть настройки по-умолчанию?"
84
-
85
- #: ../image-watermark.php:417
86
- msgid "Image Watermark Options"
87
- msgstr "Настройки плагина Image Watermark"
88
-
89
- #: ../image-watermark.php:418
90
- msgid "Watermark"
91
- msgstr "Ватермарк"
92
-
93
- #: ../image-watermark.php:444
94
- msgid "Image Watermark will not work properly without GD PHP extension."
95
- msgstr "Image Watermark не будет корректно работать без дополнения GD PHP."
96
-
97
- #: ../image-watermark.php:586
98
- msgid "Settings saved."
99
- msgstr "Настройки сохранены."
100
-
101
- #: ../image-watermark.php:599
102
- msgid "Settings restored to defaults."
103
- msgstr "Настройки успешно сброшены."
104
-
105
- #: ../image-watermark.php:619
106
- msgid "Watermark will not be applied when <b>watermark image is not set</b>."
107
- msgstr ""
108
- "Ватермарк не будет применен, пока <b>картинка-ватермарк не будет задана</b>."
109
-
110
- #: ../image-watermark.php:622
111
- msgid "Watermark will not be applied when <b>no image sizes are selected</b>."
112
- msgstr "Ватермарк не будет применен пока <b>не выбраны размеры картинки</b>."
113
-
114
- #: ../image-watermark.php:628
115
- msgid ""
116
- "Watermark will not be applied while frontend image upload if <b>watermark "
117
- "image is not set</b>."
118
- msgstr ""
119
- "Ватермарк не будет применен пока <b>картинка-ватермарк не будет установлена</"
120
- "b>."
121
-
122
- #: ../image-watermark.php:631
123
- msgid ""
124
- "Watermark will not be applied while frontend image upload if <b>no image "
125
- "sizes are selected</b>."
126
- msgstr "Ватермарк не будет применен пока <b>не выбраны размеры картинки</b>."
127
-
128
- #: ../image-watermark.php:638
129
- msgid "Image Watermark Settings"
130
- msgstr "Настройки Image Watermark"
131
-
132
- #: ../image-watermark.php:642
133
- msgid "Image Watermark"
134
- msgstr "Image Watermark"
135
-
136
- #: ../image-watermark.php:644
137
- msgid "Need support?"
138
- msgstr "Нуждаетесь в помощи?"
139
-
140
- #: ../image-watermark.php:645
141
- msgid ""
142
- "If you are having problems with this plugin, please talk about them in the"
143
- msgstr "Если у Вас возникли проблемы с плагином, обращайтесь на"
144
-
145
- #: ../image-watermark.php:645
146
- msgid "Support forum"
147
- msgstr "Форум поддержки"
148
-
149
- #: ../image-watermark.php:647
150
- msgid "Do you like this plugin?"
151
- msgstr "Вам нравится плагин?"
152
-
153
- #: ../image-watermark.php:648
154
- msgid "Rate it 5"
155
- msgstr "Оценить на 5"
156
-
157
- #: ../image-watermark.php:648
158
- msgid "on WordPress.org"
159
- msgstr "на WordPress.org"
160
-
161
- #: ../image-watermark.php:649
162
- msgid "Blog about it & link to the"
163
- msgstr "Блог и ссылка на"
164
-
165
- #: ../image-watermark.php:649
166
- msgid "plugin page"
167
- msgstr "страница плагина"
168
-
169
- #: ../image-watermark.php:650
170
- msgid "Check out our other"
171
- msgstr "Подтвердите остальное"
172
-
173
- #: ../image-watermark.php:650
174
- msgid "WordPress plugins"
175
- msgstr "Плагины WordPress"
176
-
177
- #: ../image-watermark.php:653
178
- msgid "Created by"
179
- msgstr "Создано"
180
-
181
- #: ../image-watermark.php:658
182
- msgid "General settings"
183
- msgstr "Основные настройки"
184
-
185
- #: ../image-watermark.php:661
186
- msgid "Automatic watermarking"
187
- msgstr "Автоматическое добавление ватермарка"
188
-
189
- #: ../image-watermark.php:665 ../image-watermark.php:681
190
- #: ../image-watermark.php:728 ../image-watermark.php:744
191
- msgid "on"
192
- msgstr "включить"
193
-
194
- #: ../image-watermark.php:667 ../image-watermark.php:683
195
- #: ../image-watermark.php:730 ../image-watermark.php:746
196
- msgid "off"
197
- msgstr "выключить"
198
-
199
- #: ../image-watermark.php:670
200
- msgid "Enable or disable watermark for uploaded images."
201
- msgstr ""
202
- "Активировать или деактивировать добавления ватермарка на загруженные "
203
- "изображения."
204
-
205
- #: ../image-watermark.php:677
206
- msgid "Manual watermarking"
207
- msgstr "Наложение ватермарка на все изображения"
208
-
209
- #: ../image-watermark.php:686
210
- msgid "Enable or disable Apply Watermark option for images in Media Library."
211
- msgstr ""
212
- "Активировать или деактивировать применение настроек ватермарка для "
213
- "изображений в библиотеки медиафайлов"
214
-
215
- #: ../image-watermark.php:693
216
- msgid "Enable watermark for"
217
- msgstr "Применить ватермарк для"
218
-
219
- #: ../image-watermark.php:702
220
- msgid ""
221
- "Check image sizes on which watermark should appear.<br /><strong>IMPORTANT:</"
222
- "strong> checking full size is NOT recommended as it's the original image. "
223
- "You may need it later - for removing or changing watermark, image sizes "
224
- "regeneration or any other image manipulations. Use it only if you know what "
225
- "you are doing."
226
- msgstr ""
227
- "Выберите размеры изображения на которых должен отображаться ватермарк. "
228
-
229
- #: ../image-watermark.php:708
230
- msgid "everywhere"
231
- msgstr "на всех изображениях"
232
-
233
- #: ../image-watermark.php:709
234
- msgid "on selected post types only"
235
- msgstr "только в выбранных типах постов"
236
-
237
- #: ../image-watermark.php:717
238
- msgid ""
239
- "Check custom post types on which watermark should be applied to uploaded "
240
- "images."
241
- msgstr ""
242
- "Выберите любые типы постов, в которых необходимо отображение ватермарка. "
243
- "(Страницы, Посты..)"
244
-
245
- #: ../image-watermark.php:724
246
- msgid "Automatic frontend watermarking"
247
- msgstr ""
248
- "Автоматическое наложение ватермарка на изображения, загруженные "
249
- "нестандартным способом."
250
-
251
- #: ../image-watermark.php:733
252
- msgid ""
253
- "Enable or disable watermark for frontend image uploading. (uploading script "
254
- "is not included, but you may use a plugin or custom code). <strong>Notice:</"
255
- "strong> This functionality works only if uploaded images are processed using "
256
- "WordPress native upload methods."
257
- msgstr ""
258
- "Активирование или деактивирование ватермарка для изображений, загруженных "
259
- "нестандартным способом. (загрузочный скрипт не включен, но Вы можете "
260
- "использовать плагин или простой код). "
261
-
262
- #: ../image-watermark.php:740
263
- msgid "Plugin deactivation"
264
- msgstr "Деактивация плагина"
265
-
266
- #: ../image-watermark.php:749
267
- msgid "Delete all database settings on plugin deactivation."
268
- msgstr "Удалить все настройки в базе данных при деактивации плагина."
269
-
270
- #: ../image-watermark.php:755
271
- msgid "Watermark position"
272
- msgstr "Позиция ватермарка"
273
-
274
- #: ../image-watermark.php:758
275
- msgid "Watermark alignment"
276
- msgstr "Выравнивание ватермарка"
277
-
278
- #: ../image-watermark.php:773
279
- msgid "Choose the position of watermark image."
280
- msgstr "Выбирите позицию ватермарка"
281
-
282
- #: ../image-watermark.php:778
283
- msgid "Watermark offset"
284
- msgstr "Смещение ватермарка"
285
-
286
- #: ../image-watermark.php:781 ../image-watermark.php:861
287
- msgid "x:"
288
- msgstr "x:"
289
-
290
- #: ../image-watermark.php:781 ../image-watermark.php:783
291
- #: ../image-watermark.php:861 ../image-watermark.php:863
292
- msgid "px"
293
- msgstr "пиксели"
294
-
295
- #: ../image-watermark.php:783 ../image-watermark.php:863
296
- msgid "y:"
297
- msgstr "y:"
298
-
299
- #: ../image-watermark.php:799 ../image-watermark.php:803
300
- msgid "Watermark image"
301
- msgstr "Изображение-ватермарк"
302
-
303
- #: ../image-watermark.php:800
304
- msgid ""
305
- "Configure your watermark image. Allowed file formats are: JPEG, PNG, GIF."
306
- msgstr ""
307
- "Настройте ваше изображение-ватермарк. Допускаются следующий форматы: JPEG, "
308
- "PNG, GIF."
309
-
310
- #: ../image-watermark.php:806
311
- msgid "Select image"
312
- msgstr "Выбрать изображение"
313
-
314
- #: ../image-watermark.php:807
315
- msgid "Turn off image"
316
- msgstr "Удалить изображение"
317
-
318
- #: ../image-watermark.php:808
319
- msgid "You have to save changes after the selection or removal of the image."
320
- msgstr ""
321
- "Вам необходимо сохранить изменения после выбора или удаления изображения."
322
-
323
- #: ../image-watermark.php:812
324
- msgid "Watermark preview"
325
- msgstr "Превью ватермарка"
326
-
327
- #: ../image-watermark.php:842
328
- msgid "Watermark size"
329
- msgstr "Размер ватермарка"
330
-
331
- #: ../image-watermark.php:846
332
- msgid "original"
333
- msgstr "исходный"
334
-
335
- #: ../image-watermark.php:848
336
- msgid "custom"
337
- msgstr "выборочный"
338
-
339
- #: ../image-watermark.php:850
340
- msgid "scaled"
341
- msgstr "процентное соотношение"
342
-
343
- #: ../image-watermark.php:853
344
- msgid "Select method of aplying watermark size."
345
- msgstr "Выберите метод применения размера ватермарка."
346
-
347
- #: ../image-watermark.php:858
348
- msgid "Watermark custom size"
349
- msgstr "Выборочный размер ватермарка"
350
-
351
- #: ../image-watermark.php:865
352
- msgid "Those dimensions will be used if \"custom\" method is selected above."
353
- msgstr "Эти размеры будут использованы если \"выборочный\" метод выбран выше. "
354
-
355
- #: ../image-watermark.php:869
356
- msgid "Scale of watermark in relation to image width"
357
- msgstr "Процентное соотношение ватермарка и загруженного изображения"
358
-
359
- #: ../image-watermark.php:879
360
- msgid ""
361
- "This value will be used if \"scaled\" method if selected above. <br />Enter "
362
- "a number ranging from 0 to 100. 100 makes width of watermark image equal to "
363
- "width of the image it is applied to."
364
- msgstr ""
365
- "Это значение будет использовано если \"процентное соотношение\" было "
366
- "выбрано выше. <br />Введите число в диапазоне от 0 до 100. 100 - это "
367
- "ватермарк на все изображение. "
368
-
369
- #: ../image-watermark.php:883
370
- msgid "Watermark transparency / opacity"
371
- msgstr "Прозрачность ватермарка"
372
-
373
- #: ../image-watermark.php:893
374
- msgid ""
375
- "Enter a number ranging from 0 to 100. 0 makes watermark image completely "
376
- "transparent, 100 shows it as is."
377
- msgstr ""
378
- "Выберите значение в диапазоне от 0 до 100. 100 - это без прозрачности. 0 - "
379
- "полная прозрачность."
380
-
381
- #: ../image-watermark.php:897
382
- msgid "Image quality"
383
- msgstr "Качество изображения"
384
-
385
- #: ../image-watermark.php:907
386
- msgid "Set output image quality."
387
- msgstr "Установить качество изображения, которое мы получим на выходе"
388
-
389
- #: ../image-watermark.php:911
390
- msgid "Image format"
391
- msgstr "Формат изображения"
392
-
393
- #: ../image-watermark.php:915
394
- msgid "baseline"
395
- msgstr "базовое"
396
-
397
- #: ../image-watermark.php:917
398
- msgid "progressive"
399
- msgstr "прогрессивное"
400
-
401
- #: ../image-watermark.php:921
402
- msgid "Select baseline or progressive image format."
403
- msgstr "Выберите базовый или прогрессивный формат"
404
-
405
- #: ../image-watermark.php:927
406
- msgid "Image protection"
407
- msgstr "Защита изображения"
408
-
409
- #: ../image-watermark.php:930
410
- msgid "Disable right mouse click on images"
411
- msgstr "Отключить правую кнопку мыши при нажатии на изображения"
412
-
413
- #: ../image-watermark.php:934
414
- msgid "Prevent drag and drop"
415
- msgstr "Запретить метод drag and drop"
416
-
417
- #: ../image-watermark.php:938
418
- msgid "Enable image protection for logged-in users also"
419
- msgstr ""
420
- "Активировать защиту изображения для зарегистрированных посетителей тоже."
421
-
422
- #: ../image-watermark.php:943
423
- msgid "Save Changes"
424
- msgstr "Сохранить изменения"
425
-
426
- #: ../image-watermark.php:944
427
- msgid "Reset to defaults"
428
- msgstr "Сбросить настройки"
429
-
430
- #~ msgid ""
431
- #~ "Check image sizes on which watermark should appear. <b>Notice:</b> "
432
- #~ "checking full size is not recommened as it's the original image."
433
- #~ msgstr ""
434
- #~ "Zaznacz wielkości obazków dla których będzie dodany znak wodny. <b>Uwaga:"
435
- #~ "</b> zaznaczenie pełnej wielkości nie jest rekomendowane, ponieważ jest "
436
- #~ "to oryginał obrazka."
437
-
438
- #, fuzzy
439
- #~ msgid "Enable or disable watermark for uploaded images on frontend."
440
- #~ msgstr "Włącz lub wyłącz dodawanie znaku wodnego do wgrywanych obrazków."
441
-
442
- #~ msgid "Check image sizes on which watermark should appear."
443
- #~ msgstr "Zaznacz wielkości obrazków dla których ma być dodawany znak wodny."
444
-
445
- #~ msgid "Width"
446
- #~ msgstr "Szerokość"
447
-
448
- #~ msgid "Watermark Preview"
449
- #~ msgstr "Podgląd obrazka"
450
-
451
- #~ msgid "WordPress Watermark"
452
- #~ msgstr "Znak wodny"
453
-
454
- #~ msgid "Options updated."
455
- #~ msgstr "Ustawienia zostały zaktualizowane"
456
-
457
- #~ msgid "Watermark image URL"
458
- #~ msgstr "Ścieżka do obrazka"
459
-
460
- #~ msgid "Upload Image"
461
- #~ msgstr "Wgraj obrazek"
462
-
463
- #~ msgid ""
464
- #~ "Enter an URL, upload an image or select image from media library.<br /"
465
- #~ "><b>Important:</b> You must select a <b>file URL</b> while inserting "
466
- #~ "image."
467
- #~ msgstr ""
468
- #~ "Podaj adres URL, wgraj obrazek lub wybierz obrazek z biblioteki mediów."
469
- #~ "<br /><b>Ważne:</b> Dodając obrazek musisz zaznaczyć <b>Adres URL pliku</"
470
- #~ "b>."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dfactory
3
  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: 4.5.1
7
- Stable tag: 1.5.5
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.5.5 =
57
  * Fix: Determine AJAX frontend or backend request
58
  * Tweak: Remove Polish and Russian translations, in favor of GlotPress
@@ -152,5 +157,7 @@ Initial release
152
 
153
  == Upgrade Notice ==
154
 
155
- = 1.5.5 =
156
- * Fix: Determine AJAX frontend or backend request
 
 
3
  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: 4.5.2
7
+ Stable tag: 1.5.6
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
53
 
54
  == Changelog ==
55
 
56
+ = 1.5.6 =
57
+ * New: PHP image processing library option, if more than one available.
58
+ * Fix: Manual / Media library watermarking not working.
59
+ * Fix: Image sizes not being generated proparly in GD library.
60
+
61
  = 1.5.5 =
62
  * Fix: Determine AJAX frontend or backend request
63
  * Tweak: Remove Polish and Russian translations, in favor of GlotPress
157
 
158
  == Upgrade Notice ==
159
 
160
+ = 1.5.6 =
161
+ * New: PHP image processing library option, if more than one available.
162
+ * Fix: Manual / Media library watermarking not working.
163
+ * Fix: Image sizes not being generated proparly in GD library.