Easy Watermark - Version 0.6.1

Version Description

  • Minor adjustments for newest WordPress version
Download this release

Release Info

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

Code changes from version 0.6.0 to 0.6.1

classes/class-ew-plugin.php CHANGED
@@ -5,7 +5,7 @@
5
  */
6
 
7
  /**
8
- * Main plugin class
9
  */
10
  class EW_Plugin extends EW_Plugin_Core
11
  {
@@ -14,6 +14,11 @@ class EW_Plugin extends EW_Plugin_Core
14
  */
15
  private static $GDEnabled;
16
 
 
 
 
 
 
17
  /**
18
  * @var array
19
  */
@@ -112,6 +117,8 @@ class EW_Plugin extends EW_Plugin_Core
112
  private function test_GD(){
113
  if(extension_loaded('gd') && function_exists('gd_info')){
114
  self::$GDEnabled = true;
 
 
115
  }
116
  else {
117
  self::$GDEnabled = false;
@@ -127,6 +134,15 @@ class EW_Plugin extends EW_Plugin_Core
127
  return self::$GDEnabled;
128
  }
129
 
 
 
 
 
 
 
 
 
 
130
  /**
131
  * Performs some actions which need to be done before anything else
132
  *
@@ -253,7 +269,7 @@ class EW_Plugin extends EW_Plugin_Core
253
  $marked = $_GET['marked'] == 1 ? __('watermarked', 'easy-watermark') : __('not watermarked', 'easy-watermark');
254
  echo '<div class="updated"><p>'.sprintf(__('An Image has been marked as %s.', 'easy-watermark'), $marked).'</p></div>';
255
  }
256
- elseif(isset($_GET['ew_error'])){
257
  echo '<div class="error"><p>';
258
  switch($_GET['ew_error']):
259
  case '1':
@@ -324,7 +340,7 @@ EOD;
324
  && get_attached_file($post->ID) != $this->settings['image']['watermark_path']
325
  && (current_user_can('edit_others_posts') || $post->post_author == wp_get_current_user()->ID)){
326
 
327
-
328
 
329
  // Add link if it's supported image type
330
  $actions['add_watermark'] = '<a href="' . wp_nonce_url(admin_url('upload.php?page=easy-watermark&attachment_id='.$post->ID.'&r=library'), 'ew_add_watermark') . '">'.__('Add Watermark', 'easy-watermark').'</a>';
@@ -368,7 +384,7 @@ EOD;
368
  if(empty($_REQUEST['media']) || !is_array($_REQUEST['media'])){
369
  return;
370
  }
371
-
372
  check_admin_referer('bulk-media');
373
  $result = true;
374
  $this->isBulkAction = true;
@@ -394,7 +410,7 @@ EOD;
394
  * it's realy watermarked in wp_generate_attachment_metadata filter.
395
  * See wp_generate_attachment_metadata() method below.
396
  *
397
- * This function is deprecated since 0.5.1, it is not needed since the
398
  * 'wp_generate_attachment_metadata' filter is called only for newly uploaded files.
399
  * Some plugins (e.g. buddypress-media) calls this filter, but not the 'add_attachment' action
400
  * so existance of this function caused problems.
@@ -442,7 +458,6 @@ EOD;
442
  */
443
  private function watermark_attachment($post, $checkMime = false, $meta = array()){
444
  if($this->isGDEnabled()) :
445
-
446
  if($this->settings['image']['watermark_path'] != '' || $this->settings['text']['text'] != null){
447
  if(is_numeric($post))
448
  $post = get_post($post);
@@ -583,7 +598,7 @@ EOD;
583
 
584
  $sizes = $meta['sizes'];
585
  $sizes['full'] = array(
586
- 'file' => $meta['file'],
587
  'mime-type' => $post->post_mime_type
588
  );
589
 
@@ -690,7 +705,7 @@ EOD;
690
  private $ew;
691
 
692
  /**
693
- * Returns configured EasyWatermark object
694
  *
695
  * @return object
696
  */
@@ -706,6 +721,10 @@ EOD;
706
  $textSettings['font'] = $fontFile;
707
 
708
  $wType = $this->settings['general']['watermark_type'];
 
 
 
 
709
  if($wType == 1 || $wType == 3)
710
  $this->ew->imageSet($imageSettings);
711
  if($wType == 2 || $wType == 3)
@@ -871,7 +890,7 @@ echo '<style type="text/css" media="screen">
871
  * @return void
872
  */
873
  private function restore_image($id){
874
-
875
  $backup_file = get_post_meta($id, '_ew_backup_file', true);
876
  $current_file = get_attached_file($id);
877
  $filebasename = wp_basename($current_file);
@@ -980,7 +999,7 @@ echo '<style type="text/css" media="screen">
980
 
981
  else {
982
  echo __('This image is used as watermark.', 'easy-watermark') . '<br/><a href="'.admin_url('options-general.php?page=easy-watermark-settings&tab=image').'">' . __('Change settings', 'easy-watermark') . '</a>';
983
-
984
  }
985
  }
986
 
@@ -1009,7 +1028,7 @@ echo '<style type="text/css" media="screen">
1009
  foreach($settings as $sectionName => $section){
1010
  update_option(self::$pluginSlug.'-settings-'.$sectionName, $section);
1011
  }
1012
- update_option(self::$pluginSlug.'-version', self::$version);
1013
  }
1014
 
1015
  /**
@@ -1172,7 +1191,7 @@ echo '<style type="text/css" media="screen">
1172
  }
1173
  break;
1174
  }
1175
-
1176
  return $a;
1177
  }
1178
 
@@ -1192,11 +1211,11 @@ echo '<style type="text/css" media="screen">
1192
  else {
1193
  $user = wp_get_current_user();
1194
  }
1195
-
1196
  $result = false;
1197
 
1198
  $roles = $this->getAllowedRoles();
1199
-
1200
  if(!empty($user)){
1201
  if(is_string($user->roles) && isset($roles[$user->roles]) && ((int) $roles[$user->roles] == 1))
1202
  $result = true;
5
  */
6
 
7
  /**
8
+ * Main plugin class
9
  */
10
  class EW_Plugin extends EW_Plugin_Core
11
  {
14
  */
15
  private static $GDEnabled;
16
 
17
+ /**
18
+ * @var boolean
19
+ */
20
+ private static $FreeTypeEnabled;
21
+
22
  /**
23
  * @var array
24
  */
117
  private function test_GD(){
118
  if(extension_loaded('gd') && function_exists('gd_info')){
119
  self::$GDEnabled = true;
120
+ $gdinfo = gd_info();
121
+ self::$FreeTypeEnabled = $gdinfo['FreeType Support'];
122
  }
123
  else {
124
  self::$GDEnabled = false;
134
  return self::$GDEnabled;
135
  }
136
 
137
+ /**
138
+ * Tells whether the FreeType library is working
139
+ *
140
+ * @return boolean
141
+ */
142
+ public static function isFreeTypeEnabled(){
143
+ return self::$FreeTypeEnabled;
144
+ }
145
+
146
  /**
147
  * Performs some actions which need to be done before anything else
148
  *
269
  $marked = $_GET['marked'] == 1 ? __('watermarked', 'easy-watermark') : __('not watermarked', 'easy-watermark');
270
  echo '<div class="updated"><p>'.sprintf(__('An Image has been marked as %s.', 'easy-watermark'), $marked).'</p></div>';
271
  }
272
+ elseif(isset($_GET['ew_error'])){
273
  echo '<div class="error"><p>';
274
  switch($_GET['ew_error']):
275
  case '1':
340
  && get_attached_file($post->ID) != $this->settings['image']['watermark_path']
341
  && (current_user_can('edit_others_posts') || $post->post_author == wp_get_current_user()->ID)){
342
 
343
+
344
 
345
  // Add link if it's supported image type
346
  $actions['add_watermark'] = '<a href="' . wp_nonce_url(admin_url('upload.php?page=easy-watermark&attachment_id='.$post->ID.'&r=library'), 'ew_add_watermark') . '">'.__('Add Watermark', 'easy-watermark').'</a>';
384
  if(empty($_REQUEST['media']) || !is_array($_REQUEST['media'])){
385
  return;
386
  }
387
+
388
  check_admin_referer('bulk-media');
389
  $result = true;
390
  $this->isBulkAction = true;
410
  * it's realy watermarked in wp_generate_attachment_metadata filter.
411
  * See wp_generate_attachment_metadata() method below.
412
  *
413
+ * This function is deprecated since 0.5.1, it is not needed since the
414
  * 'wp_generate_attachment_metadata' filter is called only for newly uploaded files.
415
  * Some plugins (e.g. buddypress-media) calls this filter, but not the 'add_attachment' action
416
  * so existance of this function caused problems.
458
  */
459
  private function watermark_attachment($post, $checkMime = false, $meta = array()){
460
  if($this->isGDEnabled()) :
 
461
  if($this->settings['image']['watermark_path'] != '' || $this->settings['text']['text'] != null){
462
  if(is_numeric($post))
463
  $post = get_post($post);
598
 
599
  $sizes = $meta['sizes'];
600
  $sizes['full'] = array(
601
+ 'file' => $meta['file'],
602
  'mime-type' => $post->post_mime_type
603
  );
604
 
705
  private $ew;
706
 
707
  /**
708
+ * Returns configured EasyWatermark object
709
  *
710
  * @return object
711
  */
721
  $textSettings['font'] = $fontFile;
722
 
723
  $wType = $this->settings['general']['watermark_type'];
724
+ if(!self::isFreeTypeEnabled()) {
725
+ if($wType == 3) $wType = 1;
726
+ elseif($wType == 2) $wType = 0;
727
+ }
728
  if($wType == 1 || $wType == 3)
729
  $this->ew->imageSet($imageSettings);
730
  if($wType == 2 || $wType == 3)
890
  * @return void
891
  */
892
  private function restore_image($id){
893
+
894
  $backup_file = get_post_meta($id, '_ew_backup_file', true);
895
  $current_file = get_attached_file($id);
896
  $filebasename = wp_basename($current_file);
999
 
1000
  else {
1001
  echo __('This image is used as watermark.', 'easy-watermark') . '<br/><a href="'.admin_url('options-general.php?page=easy-watermark-settings&tab=image').'">' . __('Change settings', 'easy-watermark') . '</a>';
1002
+
1003
  }
1004
  }
1005
 
1028
  foreach($settings as $sectionName => $section){
1029
  update_option(self::$pluginSlug.'-settings-'.$sectionName, $section);
1030
  }
1031
+ update_option(self::$pluginSlug.'-version', self::$version);
1032
  }
1033
 
1034
  /**
1191
  }
1192
  break;
1193
  }
1194
+
1195
  return $a;
1196
  }
1197
 
1211
  else {
1212
  $user = wp_get_current_user();
1213
  }
1214
+
1215
  $result = false;
1216
 
1217
  $roles = $this->getAllowedRoles();
1218
+
1219
  if(!empty($user)){
1220
  if(is_string($user->roles) && isset($roles[$user->roles]) && ((int) $roles[$user->roles] == 1))
1221
  $result = true;
classes/class-ew-settings.php CHANGED
@@ -24,14 +24,14 @@ class EW_Settings
24
  'auto_add' => '1',
25
  'auto_add_perm' => '1',
26
  'allowed_post_types' => array('post', 'page', 'unattached'),
27
- 'allowed_roles' => array('author' => 1, 'editor' => 2),
28
  'date_format' => null,
29
  'time_format' => null,
30
  'image_types' => array('image/jpeg', 'image/png', 'image/gif'),
31
  'image_sizes' => array('medium', 'large', 'full'),
32
  'watermark_type' => 3,
33
  'jpg_quality' => 75,
34
- 'backup' => '0'
35
  ),
36
  'image' => array(
37
  'watermark_url' => null,
@@ -210,6 +210,8 @@ class EW_Settings
210
  $input['watermark_path'] = get_attached_file($input['watermark_id']);
211
  }
212
 
 
 
213
  switch($input['alignment']){
214
  case '1':
215
  $input['position_x'] = 'left';
@@ -249,6 +251,13 @@ class EW_Settings
249
  break;
250
  }
251
 
 
 
 
 
 
 
 
252
  if(isset($input['scale_to_smaller'])){
253
  $input['scale_to_smaller'] = true;
254
  }
@@ -350,26 +359,26 @@ class EW_Settings
350
 
351
  function settings_link($links, $file){
352
  static $this_plugin;
353
-
354
  if (!$this_plugin) {
355
  $this_plugin = plugin_basename(EWBASE . EWDS . 'index.php');
356
  }
357
  if ($file == $this_plugin) {
358
  $settings_link = '<a href="options-general.php?page=easy-watermark-settings">'.__('Settings').'</a>';
359
- array_unshift($links, $settings_link);
360
  }
361
  return $links;
362
  }
363
 
364
  function plugin_row_meta($links, $file){
365
  static $this_plugin;
366
-
367
  if (!$this_plugin) {
368
  $this_plugin = plugin_basename(EWBASE . EWDS . 'easy-watermark.php');
369
  }
370
  if ($file == $this_plugin) {
371
  $donate_link = '<a href="'.$this->donationLink.'">'.__('Donate', 'easy-watermark').'</a>';
372
- array_push($links, $donate_link);
373
  }
374
  return $links;
375
  }
24
  'auto_add' => '1',
25
  'auto_add_perm' => '1',
26
  'allowed_post_types' => array('post', 'page', 'unattached'),
27
+ 'allowed_roles' => array('author' => 1, 'editor' => 2),
28
  'date_format' => null,
29
  'time_format' => null,
30
  'image_types' => array('image/jpeg', 'image/png', 'image/gif'),
31
  'image_sizes' => array('medium', 'large', 'full'),
32
  'watermark_type' => 3,
33
  'jpg_quality' => 75,
34
+ 'backup' => '1'
35
  ),
36
  'image' => array(
37
  'watermark_url' => null,
210
  $input['watermark_path'] = get_attached_file($input['watermark_id']);
211
  }
212
 
213
+ if(isset($input['alignment'])) :
214
+
215
  switch($input['alignment']){
216
  case '1':
217
  $input['position_x'] = 'left';
251
  break;
252
  }
253
 
254
+ else :
255
+
256
+ $input['position_x'] = 'center';
257
+ $input['position_y'] = 'middle';
258
+
259
+ endif;
260
+
261
  if(isset($input['scale_to_smaller'])){
262
  $input['scale_to_smaller'] = true;
263
  }
359
 
360
  function settings_link($links, $file){
361
  static $this_plugin;
362
+
363
  if (!$this_plugin) {
364
  $this_plugin = plugin_basename(EWBASE . EWDS . 'index.php');
365
  }
366
  if ($file == $this_plugin) {
367
  $settings_link = '<a href="options-general.php?page=easy-watermark-settings">'.__('Settings').'</a>';
368
+ array_unshift($links, $settings_link);
369
  }
370
  return $links;
371
  }
372
 
373
  function plugin_row_meta($links, $file){
374
  static $this_plugin;
375
+
376
  if (!$this_plugin) {
377
  $this_plugin = plugin_basename(EWBASE . EWDS . 'easy-watermark.php');
378
  }
379
  if ($file == $this_plugin) {
380
  $donate_link = '<a href="'.$this->donationLink.'">'.__('Donate', 'easy-watermark').'</a>';
381
+ array_push($links, $donate_link);
382
  }
383
  return $links;
384
  }
css/style.css CHANGED
@@ -98,3 +98,11 @@ label#alignment-9-label {
98
  #ew-font optgroup {
99
  margin:0;
100
  }
 
 
 
 
 
 
 
 
98
  #ew-font optgroup {
99
  margin:0;
100
  }
101
+
102
+ .easy-watermark .nav-tab-wrapper {
103
+ overflow: hidden;
104
+ }
105
+
106
+ .easy-watermark .nav-tab-wrapper:after {
107
+ display: none;
108
+ }
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.6.0
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.6.1
6
  Author: Wojtek Szałkiewicz
7
  Author URI: http://szalkiewicz.pl/
8
  License: GPLv2 or later
languages/easy-watermark-pl_PL.mo CHANGED
Binary file
languages/easy-watermark-pl_PL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Easy Watermark 0.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-09-10 16:15+0100\n"
6
- "PO-Revision-Date: 2013-09-10 16:15+0100\n"
7
  "Last-Translator: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
8
  "Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
9
  "Language: Polish\n"
@@ -16,47 +16,74 @@ msgstr ""
16
  "X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
17
  "X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
18
 
19
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  msgid "Cheatin&#8217; uh?"
21
  msgstr ""
22
 
23
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:207
24
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
25
  msgid "Watermark successfully added."
26
  msgstr "Znak wodny został dodany."
27
 
28
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
29
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
30
  msgid "watermarked"
31
  msgstr "ze znakiem wodnym"
32
 
33
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
34
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
35
  msgid "not watermarked"
36
  msgstr "bez znaku wodnego"
37
 
38
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:211
39
  #, php-format
40
  msgid "An Image has been marked as %s."
41
  msgstr "Obrazek został oznakowany jako %s."
42
 
43
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:217
44
  msgid "Invalid mime type."
45
  msgstr "Błędny typ mime."
46
 
47
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:220
48
  msgid "No watermark image selected and no watermark text set."
49
  msgstr "Nie ustawiono obrazu ani tekstu znaku wodnego."
50
 
51
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:222
52
  msgid "Go to settings page"
53
  msgstr "Przejdź do ustawień"
54
 
55
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:226
56
  msgid "An error has occurred."
57
  msgstr "Wystąpił błąd."
58
 
59
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
60
  msgid ""
61
  "Easy Watermark is active, but requires GD library to work. Please enable "
62
  "this extension."
@@ -64,72 +91,118 @@ msgstr ""
64
  "Easy Watermark jest aktywny, ale wymaga biblioteki GD do działania. Proszę, "
65
  "włącz to rozszerzenie."
66
 
67
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
68
  msgid "Read more"
69
  msgstr "Czytaj więcej"
70
 
71
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:256
72
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:283
73
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:675
74
  msgid "Add Watermark"
75
  msgstr "Dodaj znak wodny"
76
 
77
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:299
78
  msgid "Add watermark"
79
  msgstr "Dodaj znak wodny"
80
 
81
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:448
82
  #, php-format
83
  msgid "No permission to edit file %s. Skipping..."
84
  msgstr "Brak uprawnień do edycji pliku %s. Omijanie..."
85
 
86
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:453
87
  #, php-format
88
  msgid "Not supported mime type of %s. Skipping..."
89
  msgstr "Nieobsługiwany typ pliku %s. Omijanie..."
90
 
91
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:459
92
  #, php-format
93
  msgid "Watermark successfully added to %s"
94
  msgstr "Znak wodny dodany do %s"
95
 
96
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:644
97
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:115
98
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  msgid "Easy Watermark"
100
  msgstr ""
101
 
102
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:659
103
  msgid "Status"
104
- msgstr ""
105
 
106
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
107
  msgid "mark as not watermarked"
108
  msgstr "oznacz jako bez znaku wodnego"
109
 
110
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
111
  msgid "mark as watermarked"
112
  msgstr "oznacz jako posiadający znak wodny"
113
 
114
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:88
 
 
 
 
 
 
 
 
 
 
 
 
115
  msgid "General"
116
  msgstr "Ogólne"
117
 
118
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:89
119
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
120
  msgid "Image"
121
  msgstr "Obraz"
122
 
123
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:90
124
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:30
125
  msgid "Text"
126
  msgstr "Tekst"
127
 
128
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:317
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  msgid "Settings"
130
  msgstr "Ustawienia"
131
 
132
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:330
133
  msgid "Donate"
134
  msgstr "Przekaż dotację"
135
 
@@ -170,54 +243,80 @@ msgstr "Wsparcie"
170
  msgid "Want to buy me a coffee?"
171
  msgstr "Chciałbyś postawić mi kawę?"
172
 
 
 
 
 
173
  #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
174
- msgid "Go to Media Library"
175
- msgstr "Idź do biblioteki mediów"
 
176
 
177
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:17
178
  msgid ""
179
- "You are about to watermark all images in the library. This action can not be "
180
- "undone. Are you sure you want to do this?"
181
  msgstr ""
182
- "Masz zamiar dodać znak wodny do wszystkich obrazków w bibliotece. Tej akcji "
183
- "nie można cofnąć. Jesteś pewien, że chcesz to zrobić?"
184
 
185
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:19
186
  msgid ""
187
- "You are about to watermark all images you have uploaded ever. This action "
188
- "can not be undone. Are you sure you want to do this?"
189
  msgstr ""
190
- "Masz zamiar dodać znak wodny do wszystkich obrazków które kiedykolwiek "
191
- "wgrałeś. Tej akcji nie można cofnąć. Jesteś pewien, że chcesz to zrobić?"
192
 
193
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:22
194
- msgid "Proceed"
195
- msgstr "Kontynuuj"
196
-
197
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:22
198
- msgid "Cancel"
199
- msgstr "Anuluj"
200
-
201
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:29
202
- msgid "Add watermark to all images"
203
- msgstr "Dodaj znak wodny do wszystkich obrazów"
204
 
205
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:31
206
- msgid "Add watermark to all images uploaded by you"
207
- msgstr "Dodaj znak wodny do wszystkich obrazów wgranych przez Ciebie"
208
-
209
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:33
210
  msgid ""
211
- "Be carefull with that option. If some images alredy has watermark, it will "
212
  "be added though."
213
  msgstr ""
214
  "Bądź ostrożny używając tej opcji. Jeśli któreś zdjęcia posiadają już znak "
215
  "wodny, zostanie on dodany po raz drugi."
216
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:2
218
  msgid "Placeholders"
219
  msgstr "Symbole zastępcze"
220
 
 
 
 
 
221
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:4
222
  msgid ""
223
  "You can use this placeholders in your text watermark, it will be replaced "
@@ -226,38 +325,81 @@ msgstr ""
226
  "Możesz użyć tych symboli zastępczych w tekstowym znaku wodnym, będą one "
227
  "zamienione na odpowiednią wartość tuż przed zastosowaniem znaku."
228
 
 
229
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:6
230
- msgid "current user login"
231
- msgstr "login bieżącego użytkownika"
232
 
 
233
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:7
234
- msgid "current user display name"
235
- msgstr "nazwa wyświetlana bieżącego użytkownika"
236
 
 
237
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:8
238
- msgid "current user email address"
239
- msgstr "email bierzącego użytkownika"
240
 
 
241
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:9
 
 
 
 
 
242
  msgid "site admin email"
243
  msgstr "email administratora"
244
 
245
- #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:10
 
246
  msgid "blog title"
247
  msgstr "tytuł bloga"
248
 
249
- #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:11
 
250
  msgid "blog url"
251
  msgstr "url bloga"
252
 
253
- #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:12
 
254
  msgid "current date (see general settings for date format)"
255
  msgstr "bierząca data (zobacz ustawienia generalne)"
256
 
257
- #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:13
 
258
  msgid "current time"
259
  msgstr "bierzący czas"
260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:3
262
  msgid "Auto Watermark"
263
  msgstr "Automatyczne dodawanie"
@@ -275,31 +417,49 @@ msgid "Select image types which should be watermarked"
275
  msgstr "Zaznacz typy obrazów, które mają być oznaczane znakiem wodnym"
276
 
277
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  msgid "Image Sizes"
279
  msgstr "Rozmiary obrazów"
280
 
281
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:23
282
  msgid "Select image sizes which should be watermarked"
283
  msgstr "Zaznacz rozmiary obrazów, które mają być oznaczane znakiem wodnym"
284
 
285
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:26
286
  msgid "Watermark Type"
287
  msgstr "Typ znaku wodnego"
288
 
289
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:31
290
  msgid "Image + Text"
291
  msgstr "Obraz i tekst"
292
 
293
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:33
294
  msgid "Choose, whether to apply image, text, or both."
295
  msgstr ""
296
  "Wybierz, czy jako znak wodny zastosować obraz, tekst, czy tekst z obrazem."
297
 
298
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:36
299
  msgid "Jpeg Quality"
300
  msgstr "Jakość jpeg"
301
 
302
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:37
303
  msgid ""
304
  "Set jpeg quality from 0 (worst quality, smaller file) to 100 (best quality, "
305
  "biggest file)"
@@ -307,28 +467,28 @@ msgstr ""
307
  "Ustaw jakość jpeg od 0 (gorsza jakość, mniejszy plik) do 100 (najlepsza "
308
  "jakość, największy plik)"
309
 
310
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:39
311
  msgid "Date Format"
312
  msgstr "Format daty"
313
 
314
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:40
315
  msgid "Leave blank to use default date format (see general settings)"
316
  msgstr ""
317
  "Pozostaw puste by użyć domyślnych ustawień (zobacz ustawienia generalne)"
318
 
319
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:42
320
  msgid "Time Format"
321
  msgstr "Format czasu"
322
 
323
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:43
324
  msgid "Leave blank to use default time format"
325
  msgstr "Pozostaw puste by użyć domyślnych ustawień"
326
 
327
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:46
328
  msgid "User Roles"
329
  msgstr "Role użytkowników"
330
 
331
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:47
332
  msgid ""
333
  "Select, which user roles can have a permission to apply watermarks (only "
334
  "roles with permission to upload files are listed here)"
@@ -336,19 +496,19 @@ msgstr ""
336
  "Wybierz, które role mają prawo dodawania znaku wodnego (wylistowano tylko "
337
  "role posiadające uprawnienia do wgrywania obrazków)"
338
 
339
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:59
340
  msgid "allow"
341
  msgstr "zezwól"
342
 
343
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:60
344
  msgid "deny"
345
  msgstr "odmów"
346
 
347
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:64
348
  msgid "Allow to Auto Watermark"
349
  msgstr "Pozwól na automatyczne dodawanie znaku wodnego"
350
 
351
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:65
352
  msgid ""
353
  "Check this to allow watermarking on upload to every user. If unchecked, "
354
  "'Auto Watermark' function will be dependent on above role-based settings."
@@ -357,35 +517,35 @@ msgstr ""
357
  "wszystkim użytkownikom. Gdy to pole jest odznaczone, funkcja automatycznego "
358
  "dodawania będzie zależna od powyższych ustawień dotyczących ról."
359
 
360
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:68
361
  msgid "Post Types"
362
  msgstr "Typy postów"
363
 
364
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:69
365
  msgid "Select what post type attachments should be automatically watermarked"
366
  msgstr ""
367
  "Wybierz typy postów, do których załączane obrazki powinny być automatycznie "
368
  "znakowane"
369
 
370
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:72
371
  msgid "Select All"
372
  msgstr "Zaznacz wszystkie"
373
 
374
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
375
  msgid "Unattached Images"
376
  msgstr "Niezałączone obrazki"
377
 
378
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
379
  msgid "uploaded through the media library page"
380
  msgstr "wgrane na stronie bibioteki mediów"
381
 
382
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:76
383
  msgid "Posts"
384
- msgstr ""
385
 
386
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:77
387
  msgid "Pages"
388
- msgstr ""
389
 
390
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
391
  msgid "Watermark Image"
@@ -503,7 +663,7 @@ msgstr ""
503
  "'33%')"
504
 
505
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:55
506
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:62
507
  msgid "Opacity"
508
  msgstr "Nieprzezroczystość"
509
 
@@ -516,9 +676,8 @@ msgid "Watermark Text"
516
  msgstr "Tekst znaku wodnego"
517
 
518
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:3
519
- msgid "You can use placeholders listed on the right side of this page"
520
- msgstr ""
521
- "Możesz użyć symboli zastępczych wylistowanych w ramce po prawej stronie"
522
 
523
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:7
524
  msgid "Preview"
@@ -536,34 +695,121 @@ msgstr "Offset tekstu"
536
  msgid "Font"
537
  msgstr "Czcionka"
538
 
539
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:45
540
  msgid "Text Color"
541
  msgstr "Kolor tekstu"
542
 
543
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:54
544
  msgid "Text Size"
545
  msgstr "Rozmiar tekstu"
546
 
547
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:58
548
  msgid "Text Angle"
549
  msgstr "Kąt obrotu tekstu"
550
 
551
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-page.php:6
552
  msgid "Easy Watermark Settings"
553
  msgstr "Ustawienia Easy Watermark"
554
 
555
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-page.php:22
556
  msgid "Save Changes"
557
  msgstr "Zapisz zmiany"
558
 
559
- #~ msgid "Loading preview..."
560
- #~ msgstr "Ładowanie podglądu..."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
561
 
562
- #~ msgid "Go to Easy Watermark Tool"
563
- #~ msgstr "Przejdź do Easy Watermark"
 
 
 
564
 
565
- #~ msgid "Go back"
566
- #~ msgstr "Wróć"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
567
 
568
  #~ msgid "or"
569
  #~ msgstr "lub"
2
  msgstr ""
3
  "Project-Id-Version: Easy Watermark 0.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-08-05 08:18+0100\n"
6
+ "PO-Revision-Date: 2014-08-05 08:34+0100\n"
7
  "Last-Translator: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
8
  "Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
9
  "Language: Polish\n"
16
  "X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
17
  "X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
18
 
19
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:97
20
+ msgid "Same image and watermark paths."
21
+ msgstr "Ta sama ścieżka obrazu i znaku wodnego."
22
+
23
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:98
24
+ msgid "No watermark image or text specified."
25
+ msgstr "Nie ustawiono obrazu ani tekstu znaku wodnego."
26
+
27
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:99
28
+ msgid "No input image specified."
29
+ msgstr "Nie określono obrazu wejściowego"
30
+
31
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:100
32
+ msgid "Not allowed image type."
33
+ msgstr "Niedozwolony typ obrazu."
34
+
35
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:101
36
+ msgid "No output file specified."
37
+ msgstr "Nie określono pliku wynikowego"
38
+
39
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:102
40
+ msgid "Not allowed output type."
41
+ msgstr "Nie dozwolony typ wynikowy"
42
+
43
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:103
44
+ msgid "Could not apply watermark."
45
+ msgstr "Nie można zastosować znaku wodnego."
46
+
47
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:213
48
  msgid "Cheatin&#8217; uh?"
49
  msgstr ""
50
 
51
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:250
 
52
  msgid "Watermark successfully added."
53
  msgstr "Znak wodny został dodany."
54
 
55
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:253
56
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:954
57
  msgid "watermarked"
58
  msgstr "ze znakiem wodnym"
59
 
60
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:253
61
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:954
62
  msgid "not watermarked"
63
  msgstr "bez znaku wodnego"
64
 
65
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:254
66
  #, php-format
67
  msgid "An Image has been marked as %s."
68
  msgstr "Obrazek został oznakowany jako %s."
69
 
70
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:260
71
  msgid "Invalid mime type."
72
  msgstr "Błędny typ mime."
73
 
74
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:263
75
  msgid "No watermark image selected and no watermark text set."
76
  msgstr "Nie ustawiono obrazu ani tekstu znaku wodnego."
77
 
78
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:265
79
  msgid "Go to settings page"
80
  msgstr "Przejdź do ustawień"
81
 
82
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:269
83
  msgid "An error has occurred."
84
  msgstr "Wystąpił błąd."
85
 
86
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:275
87
  msgid ""
88
  "Easy Watermark is active, but requires GD library to work. Please enable "
89
  "this extension."
91
  "Easy Watermark jest aktywny, ale wymaga biblioteki GD do działania. Proszę, "
92
  "włącz to rozszerzenie."
93
 
94
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:275
95
  msgid "Read more"
96
  msgstr "Czytaj więcej"
97
 
98
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:303
99
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:330
100
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:971
101
  msgid "Add Watermark"
102
  msgstr "Dodaj znak wodny"
103
 
104
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:346
105
  msgid "Add watermark"
106
  msgstr "Dodaj znak wodny"
107
 
108
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:522
109
  #, php-format
110
  msgid "No permission to edit file %s. Skipping..."
111
  msgstr "Brak uprawnień do edycji pliku %s. Omijanie..."
112
 
113
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:527
114
  #, php-format
115
  msgid "Not supported mime type of %s. Skipping..."
116
  msgstr "Nieobsługiwany typ pliku %s. Omijanie..."
117
 
118
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:533
119
  #, php-format
120
  msgid "Watermark successfully added to %s"
121
  msgstr "Znak wodny dodany do %s"
122
 
123
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:674
124
+ #, php-format
125
+ msgid "Error: '%s', file: %s"
126
+ msgstr "Błąd: '%s', plik: %s"
127
+
128
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:744
129
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:761
130
+ msgid "Complete!"
131
+ msgstr "Wykonano!"
132
+
133
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:848
134
+ #, php-format
135
+ msgid "Image succesfully restored: %s"
136
+ msgstr "Obraz przywrócony: %s"
137
+
138
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:898
139
+ msgid "Unknown failure reason."
140
+ msgstr "Wystąpił nieznany błąd."
141
+
142
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:937
143
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:116
144
  msgid "Easy Watermark"
145
  msgstr ""
146
 
147
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:955
148
  msgid "Status"
149
+ msgstr "Status"
150
 
151
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:962
152
  msgid "mark as not watermarked"
153
  msgstr "oznacz jako bez znaku wodnego"
154
 
155
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:962
156
  msgid "mark as watermarked"
157
  msgstr "oznacz jako posiadający znak wodny"
158
 
159
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:976
160
+ msgid "Restore original image"
161
+ msgstr "Przywróć oryginalny obraz"
162
+
163
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:982
164
+ msgid "This image is used as watermark."
165
+ msgstr "Ten obraz jest używany jako znak wodny."
166
+
167
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:982
168
+ msgid "Change settings"
169
+ msgstr "Zmień ustawienia"
170
+
171
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:89
172
  msgid "General"
173
  msgstr "Ogólne"
174
 
175
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:90
176
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:32
177
  msgid "Image"
178
  msgstr "Obraz"
179
 
180
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:91
181
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:33
182
  msgid "Text"
183
  msgstr "Tekst"
184
 
185
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:132
186
+ msgid "Author placeholders"
187
+ msgstr "Symbole zastępcze autora"
188
+
189
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:137
190
+ msgid "User placeholders"
191
+ msgstr "Symbole zastępcze użytkownika"
192
+
193
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:142
194
+ msgid "Image placeholders"
195
+ msgstr "Symbole zastępcze obrazu"
196
+
197
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:147
198
+ msgid "General placeholders"
199
+ msgstr "Ogólne symbole zastępcze"
200
+
201
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:358
202
  msgid "Settings"
203
  msgstr "Ustawienia"
204
 
205
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:371
206
  msgid "Donate"
207
  msgstr "Przekaż dotację"
208
 
243
  msgid "Want to buy me a coffee?"
244
  msgstr "Chciałbyś postawić mi kawę?"
245
 
246
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
247
+ msgid "Easy Watermark Tools"
248
+ msgstr "Narzędzia Easy Watermark"
249
+
250
  #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
251
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:2
252
+ msgid "Bulk Watermark"
253
+ msgstr "Masowy znak wodny"
254
 
255
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:14
256
  msgid ""
257
+ "Using this tool you can quickly apply watermark to all images in the Media "
258
+ "Library."
259
  msgstr ""
260
+ "Używając tego narzędzia możesz szybko oznaczyć znakiem wodnym wszystkie "
261
+ "obrazy w bibliotece mediów."
262
 
263
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:16
264
  msgid ""
265
+ "Using this tool you can quickly apply watermark to all images you uploaded "
266
+ "to the Media Library."
267
  msgstr ""
268
+ "Używając tego narzędzia możesz szybko oznaczyć znakiem wodnym wszystkie "
269
+ "obrazy, które dodałeś do biblioteki mediów."
270
 
271
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:20
272
+ msgid "Start"
273
+ msgstr "Rozpocznij"
 
 
 
 
 
 
 
 
274
 
275
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:20
 
 
 
 
276
  msgid ""
277
+ "Be carefull with this option. If some images alredy has watermark, it will "
278
  "be added though."
279
  msgstr ""
280
  "Bądź ostrożny używając tej opcji. Jeśli któreś zdjęcia posiadają już znak "
281
  "wodny, zostanie on dodany po raz drugi."
282
 
283
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:24
284
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:2
285
+ msgid "Restore original images"
286
+ msgstr "Przywróć oryginalne obrazy"
287
+
288
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:28
289
+ msgid ""
290
+ "Here you can remove watermark from all images by restoring the original "
291
+ "image files."
292
+ msgstr ""
293
+ "Tutaj możesz usunąć znak wodny ze wszystkich obrazów poprzez przywrócenie "
294
+ "oryginalnych plików."
295
+
296
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:30
297
+ msgid ""
298
+ "Here you can remove watermark from the images you uploaded by restoring the "
299
+ "original image files."
300
+ msgstr ""
301
+ "Tutaj możesz usunąć znak wodny z obrazów, które wgrałeś poprzez przywrócenie "
302
+ "oryginalnych plików."
303
+
304
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:34
305
+ msgid "Restore"
306
+ msgstr "Przywróć"
307
+
308
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:1
309
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:1
310
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_image.php:1
311
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:1
312
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:2
313
  msgid "Placeholders"
314
  msgstr "Symbole zastępcze"
315
 
316
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:2
317
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:2
318
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_image.php:2
319
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:2
320
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:4
321
  msgid ""
322
  "You can use this placeholders in your text watermark, it will be replaced "
325
  "Możesz użyć tych symboli zastępczych w tekstowym znaku wodnym, będą one "
326
  "zamienione na odpowiednią wartość tuż przed zastosowaniem znaku."
327
 
328
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:4
329
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:6
330
+ msgid "image author login"
331
+ msgstr "login autora obrazu"
332
 
333
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:5
334
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:7
335
+ msgid "image author display name"
336
+ msgstr "nazwa wyświetlana autora obrazu"
337
 
338
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:6
339
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:8
340
+ msgid "image author email address"
341
+ msgstr "email autora obrazu"
342
 
343
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:7
344
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:9
345
+ msgid "image author url"
346
+ msgstr "url autora obrazu"
347
+
348
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:4
349
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:14
350
  msgid "site admin email"
351
  msgstr "email administratora"
352
 
353
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:5
354
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:15
355
  msgid "blog title"
356
  msgstr "tytuł bloga"
357
 
358
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:6
359
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:16
360
  msgid "blog url"
361
  msgstr "url bloga"
362
 
363
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:7
364
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:17
365
  msgid "current date (see general settings for date format)"
366
  msgstr "bierząca data (zobacz ustawienia generalne)"
367
 
368
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:8
369
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:18
370
  msgid "current time"
371
  msgstr "bierzący czas"
372
 
373
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_image.php:4
374
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:19
375
+ msgid "image title"
376
+ msgstr "tytuł obrazu"
377
+
378
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_image.php:5
379
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:20
380
+ msgid "alternative text for the image"
381
+ msgstr "tekst alternatywny obrazu"
382
+
383
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:4
384
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:10
385
+ msgid "current user login"
386
+ msgstr "login bieżącego użytkownika"
387
+
388
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:5
389
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:11
390
+ msgid "current user display name"
391
+ msgstr "nazwa wyświetlana bieżącego użytkownika"
392
+
393
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:6
394
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:12
395
+ msgid "current user email address"
396
+ msgstr "email bierzącego użytkownika"
397
+
398
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:7
399
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:13
400
+ msgid "current user url"
401
+ msgstr "url bieżącego użytkownika"
402
+
403
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:3
404
  msgid "Auto Watermark"
405
  msgstr "Automatyczne dodawanie"
417
  msgstr "Zaznacz typy obrazów, które mają być oznaczane znakiem wodnym"
418
 
419
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:12
420
+ msgid "Backup"
421
+ msgstr "Kopia zapasowa"
422
+
423
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:13
424
+ msgid ""
425
+ "Save original images to allow to restore them after watermark was applied"
426
+ msgstr ""
427
+ "Zapisuj oryginalne obrazy by umożliwić przywracanie obrazów ze znakiem wodnym"
428
+
429
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:13
430
+ msgid ""
431
+ "This option will use more space on your server. Please consider creating "
432
+ "manual backup of original images on your local drive."
433
+ msgstr ""
434
+ "Ta opcja zwiększy zużycie przestrzeni dyskowej twojego serwera. Rozważ "
435
+ "proszę ręczne przechowywanie kopii wgrywanych obrazów na dysku lokalnym."
436
+
437
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:15
438
  msgid "Image Sizes"
439
  msgstr "Rozmiary obrazów"
440
 
441
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:26
442
  msgid "Select image sizes which should be watermarked"
443
  msgstr "Zaznacz rozmiary obrazów, które mają być oznaczane znakiem wodnym"
444
 
445
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
446
  msgid "Watermark Type"
447
  msgstr "Typ znaku wodnego"
448
 
449
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:34
450
  msgid "Image + Text"
451
  msgstr "Obraz i tekst"
452
 
453
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:36
454
  msgid "Choose, whether to apply image, text, or both."
455
  msgstr ""
456
  "Wybierz, czy jako znak wodny zastosować obraz, tekst, czy tekst z obrazem."
457
 
458
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:39
459
  msgid "Jpeg Quality"
460
  msgstr "Jakość jpeg"
461
 
462
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:40
463
  msgid ""
464
  "Set jpeg quality from 0 (worst quality, smaller file) to 100 (best quality, "
465
  "biggest file)"
467
  "Ustaw jakość jpeg od 0 (gorsza jakość, mniejszy plik) do 100 (najlepsza "
468
  "jakość, największy plik)"
469
 
470
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:42
471
  msgid "Date Format"
472
  msgstr "Format daty"
473
 
474
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:43
475
  msgid "Leave blank to use default date format (see general settings)"
476
  msgstr ""
477
  "Pozostaw puste by użyć domyślnych ustawień (zobacz ustawienia generalne)"
478
 
479
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:45
480
  msgid "Time Format"
481
  msgstr "Format czasu"
482
 
483
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:46
484
  msgid "Leave blank to use default time format"
485
  msgstr "Pozostaw puste by użyć domyślnych ustawień"
486
 
487
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:49
488
  msgid "User Roles"
489
  msgstr "Role użytkowników"
490
 
491
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:50
492
  msgid ""
493
  "Select, which user roles can have a permission to apply watermarks (only "
494
  "roles with permission to upload files are listed here)"
496
  "Wybierz, które role mają prawo dodawania znaku wodnego (wylistowano tylko "
497
  "role posiadające uprawnienia do wgrywania obrazków)"
498
 
499
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:62
500
  msgid "allow"
501
  msgstr "zezwól"
502
 
503
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:63
504
  msgid "deny"
505
  msgstr "odmów"
506
 
507
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:67
508
  msgid "Allow to Auto Watermark"
509
  msgstr "Pozwól na automatyczne dodawanie znaku wodnego"
510
 
511
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:68
512
  msgid ""
513
  "Check this to allow watermarking on upload to every user. If unchecked, "
514
  "'Auto Watermark' function will be dependent on above role-based settings."
517
  "wszystkim użytkownikom. Gdy to pole jest odznaczone, funkcja automatycznego "
518
  "dodawania będzie zależna od powyższych ustawień dotyczących ról."
519
 
520
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:71
521
  msgid "Post Types"
522
  msgstr "Typy postów"
523
 
524
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:72
525
  msgid "Select what post type attachments should be automatically watermarked"
526
  msgstr ""
527
  "Wybierz typy postów, do których załączane obrazki powinny być automatycznie "
528
  "znakowane"
529
 
530
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
531
  msgid "Select All"
532
  msgstr "Zaznacz wszystkie"
533
 
534
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:78
535
  msgid "Unattached Images"
536
  msgstr "Niezałączone obrazki"
537
 
538
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:78
539
  msgid "uploaded through the media library page"
540
  msgstr "wgrane na stronie bibioteki mediów"
541
 
542
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:79
543
  msgid "Posts"
544
+ msgstr "Posty"
545
 
546
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:80
547
  msgid "Pages"
548
+ msgstr "Striny"
549
 
550
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:3
551
  msgid "Watermark Image"
663
  "'33%')"
664
 
665
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:55
666
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:58
667
  msgid "Opacity"
668
  msgstr "Nieprzezroczystość"
669
 
676
  msgstr "Tekst znaku wodnego"
677
 
678
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:3
679
+ msgid "You can use placeholders. See help."
680
+ msgstr "Możesz użyć symboli zastępczych. Zobacz pomoc."
 
681
 
682
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:7
683
  msgid "Preview"
695
  msgid "Font"
696
  msgstr "Czcionka"
697
 
698
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:41
699
  msgid "Text Color"
700
  msgstr "Kolor tekstu"
701
 
702
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:50
703
  msgid "Text Size"
704
  msgstr "Rozmiar tekstu"
705
 
706
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:54
707
  msgid "Text Angle"
708
  msgstr "Kąt obrotu tekstu"
709
 
710
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-page.php:7
711
  msgid "Easy Watermark Settings"
712
  msgstr "Ustawienia Easy Watermark"
713
 
714
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-page.php:23
715
  msgid "Save Changes"
716
  msgstr "Zapisz zmiany"
717
 
718
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:7
719
+ msgid ""
720
+ "You are about to restore all original images. This action will remove all "
721
+ "watermarks ever applied. Are you sure you want to do this?"
722
+ msgstr ""
723
+ "Masz zamiar dodać znak wodny do wszystkich obrazków w bibliotece. Tej akcji "
724
+ "nie można cofnąć. Jesteś pewien, że chcesz to zrobić?"
725
+
726
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:9
727
+ msgid ""
728
+ "You are about to restore original images for attachments you ever uploaded. "
729
+ "This action This action will remove all watermarks ever applied. Are you "
730
+ "sure you want to do this?"
731
+ msgstr ""
732
+ "Masz zamiar przywrócić oryginalne wersje wszystkich obrazów, które "
733
+ "kiedykolwiek wgrałeś. Ta akcja usunie wszystkie kiedykolwiek stworzone znaki "
734
+ "wodne. Jesteś pewien, że chcesz to zrobić?"
735
+
736
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:13
737
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:13
738
+ msgid "Proceed"
739
+ msgstr "Kontynuuj"
740
+
741
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:13
742
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:13
743
+ msgid "Cancel"
744
+ msgstr "Anuluj"
745
+
746
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:17
747
+ #, php-format
748
+ msgid "%s images restored."
749
+ msgstr "Przywrócono %s obrazów."
750
+
751
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:17
752
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:17
753
+ #, php-format
754
+ msgid "%s or %s"
755
+ msgstr "%s lub %s"
756
+
757
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:17
758
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:17
759
+ msgid "Go back"
760
+ msgstr "Wróć"
761
+
762
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:17
763
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:17
764
+ msgid "Go to Media Library"
765
+ msgstr "Idź do biblioteki mediów"
766
+
767
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:20
768
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:20
769
+ msgid "Starting..."
770
+ msgstr "Rozpoczynam..."
771
+
772
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:23
773
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:23
774
+ #, php-format
775
+ msgid "Processed %s of %s images"
776
+ msgstr "Przetworzono %s z %s plików"
777
 
778
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:24
779
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:24
780
+ #, php-format
781
+ msgid "Duration: %s"
782
+ msgstr "Czas trwania: %s"
783
 
784
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:7
785
+ msgid ""
786
+ "You are about to watermark all images in the library. This action can not be "
787
+ "undone. Are you sure you want to do this?"
788
+ msgstr ""
789
+ "Masz zamiar dodać znak wodny do wszystkich obrazków w bibliotece. Tej akcji "
790
+ "nie można cofnąć. Jesteś pewien, że chcesz to zrobić?"
791
+
792
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:9
793
+ msgid ""
794
+ "You are about to watermark all images you have uploaded ever. This action "
795
+ "can not be undone. Are you sure you want to do this?"
796
+ msgstr ""
797
+ "Masz zamiar dodać znak wodny do wszystkich obrazków które kiedykolwiek "
798
+ "wgrałeś. Tej akcji nie można cofnąć. Jesteś pewien, że chcesz to zrobić?"
799
+
800
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:17
801
+ #, php-format
802
+ msgid "%s images watermarked."
803
+ msgstr "%s obrazów oznakowano znakiem wodnym."
804
+
805
+ #~ msgid "Add watermark to all images"
806
+ #~ msgstr "Dodaj znak wodny do wszystkich obrazów"
807
+
808
+ #~ msgid "Add watermark to all images uploaded by you"
809
+ #~ msgstr "Dodaj znak wodny do wszystkich obrazów wgranych przez Ciebie"
810
+
811
+ #~ msgid "Loading preview..."
812
+ #~ msgstr "Ładowanie podglądu..."
813
 
814
  #~ msgid "or"
815
  #~ msgstr "lub"
languages/easy-watermark.pot CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Easy Watermark 0.5.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-09-10 16:14+0100\n"
6
- "PO-Revision-Date: 2013-09-10 16:15+0100\n"
7
  "Last-Translator: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
8
  "Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
9
  "MIME-Version: 1.0\n"
@@ -15,118 +15,191 @@ msgstr ""
15
  "X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
16
  "X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
17
 
18
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Cheatin&#8217; uh?"
20
  msgstr ""
21
 
22
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:207
23
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
24
  msgid "Watermark successfully added."
25
  msgstr ""
26
 
27
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
28
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
29
  msgid "watermarked"
30
  msgstr ""
31
 
32
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:210
33
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:658
34
  msgid "not watermarked"
35
  msgstr ""
36
 
37
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:211
38
  #, php-format
39
  msgid "An Image has been marked as %s."
40
  msgstr ""
41
 
42
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:217
43
  msgid "Invalid mime type."
44
  msgstr ""
45
 
46
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:220
47
  msgid "No watermark image selected and no watermark text set."
48
  msgstr ""
49
 
50
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:222
51
  msgid "Go to settings page"
52
  msgstr ""
53
 
54
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:226
55
  msgid "An error has occurred."
56
  msgstr ""
57
 
58
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
59
  msgid ""
60
  "Easy Watermark is active, but requires GD library to work. Please enable "
61
  "this extension."
62
  msgstr ""
63
 
64
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:232
65
  msgid "Read more"
66
  msgstr ""
67
 
68
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:256
69
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:283
70
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:675
71
  msgid "Add Watermark"
72
  msgstr ""
73
 
74
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:299
75
  msgid "Add watermark"
76
  msgstr ""
77
 
78
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:448
79
  #, php-format
80
  msgid "No permission to edit file %s. Skipping..."
81
  msgstr ""
82
 
83
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:453
84
  #, php-format
85
  msgid "Not supported mime type of %s. Skipping..."
86
  msgstr ""
87
 
88
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:459
89
  #, php-format
90
  msgid "Watermark successfully added to %s"
91
  msgstr ""
92
 
93
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:644
94
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:115
95
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  msgid "Easy Watermark"
97
  msgstr ""
98
 
99
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:659
100
  msgid "Status"
101
  msgstr ""
102
 
103
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
104
  msgid "mark as not watermarked"
105
  msgstr ""
106
 
107
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:666
108
  msgid "mark as watermarked"
109
  msgstr ""
110
 
111
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:88
112
- msgid "General"
 
 
 
 
 
 
 
 
113
  msgstr ""
114
 
115
  #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:89
116
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
117
- msgid "Image"
118
  msgstr ""
119
 
120
  #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:90
121
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:30
 
 
 
 
 
122
  msgid "Text"
123
  msgstr ""
124
 
125
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:317
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  msgid "Settings"
127
  msgstr ""
128
 
129
- #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:330
130
  msgid "Donate"
131
  msgstr ""
132
 
@@ -166,86 +239,151 @@ msgstr ""
166
  msgid "Want to buy me a coffee?"
167
  msgstr ""
168
 
 
 
 
 
169
  #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
170
- msgid "Go to Media Library"
 
171
  msgstr ""
172
 
173
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:17
174
  msgid ""
175
- "You are about to watermark all images in the library. This action can not be "
176
- "undone. Are you sure you want to do this?"
177
  msgstr ""
178
 
179
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:19
180
  msgid ""
181
- "You are about to watermark all images you have uploaded ever. This action "
182
- "can not be undone. Are you sure you want to do this?"
183
  msgstr ""
184
 
185
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:22
186
- msgid "Proceed"
187
  msgstr ""
188
 
189
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:22
190
- msgid "Cancel"
 
 
191
  msgstr ""
192
 
193
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:29
194
- msgid "Add watermark to all images"
 
195
  msgstr ""
196
 
197
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:31
198
- msgid "Add watermark to all images uploaded by you"
 
 
199
  msgstr ""
200
 
201
- #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:33
202
  msgid ""
203
- "Be carefull with that option. If some images alredy has watermark, it will "
204
- "be added though."
 
 
 
 
205
  msgstr ""
206
 
 
 
 
 
207
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:2
208
  msgid "Placeholders"
209
  msgstr ""
210
 
 
 
 
 
211
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:4
212
  msgid ""
213
  "You can use this placeholders in your text watermark, it will be replaced "
214
  "with proper value just befor applying watermark."
215
  msgstr ""
216
 
 
217
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:6
218
- msgid "current user login"
219
  msgstr ""
220
 
 
221
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:7
222
- msgid "current user display name"
223
  msgstr ""
224
 
 
225
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:8
226
- msgid "current user email address"
227
  msgstr ""
228
 
 
229
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:9
 
 
 
 
 
230
  msgid "site admin email"
231
  msgstr ""
232
 
233
- #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:10
 
234
  msgid "blog title"
235
  msgstr ""
236
 
237
- #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:11
 
238
  msgid "blog url"
239
  msgstr ""
240
 
241
- #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:12
 
242
  msgid "current date (see general settings for date format)"
243
  msgstr ""
244
 
245
- #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:13
 
246
  msgid "current time"
247
  msgstr ""
248
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:3
250
  msgid "Auto Watermark"
251
  msgstr ""
@@ -263,104 +401,119 @@ msgid "Select image types which should be watermarked"
263
  msgstr ""
264
 
265
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  msgid "Image Sizes"
267
  msgstr ""
268
 
269
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:23
270
  msgid "Select image sizes which should be watermarked"
271
  msgstr ""
272
 
273
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:26
274
  msgid "Watermark Type"
275
  msgstr ""
276
 
277
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:31
278
  msgid "Image + Text"
279
  msgstr ""
280
 
281
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:33
282
  msgid "Choose, whether to apply image, text, or both."
283
  msgstr ""
284
 
285
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:36
286
  msgid "Jpeg Quality"
287
  msgstr ""
288
 
289
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:37
290
  msgid ""
291
  "Set jpeg quality from 0 (worst quality, smaller file) to 100 (best quality, "
292
  "biggest file)"
293
  msgstr ""
294
 
295
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:39
296
  msgid "Date Format"
297
  msgstr ""
298
 
299
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:40
300
  msgid "Leave blank to use default date format (see general settings)"
301
  msgstr ""
302
 
303
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:42
304
  msgid "Time Format"
305
  msgstr ""
306
 
307
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:43
308
  msgid "Leave blank to use default time format"
309
  msgstr ""
310
 
311
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:46
312
  msgid "User Roles"
313
  msgstr ""
314
 
315
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:47
316
  msgid ""
317
  "Select, which user roles can have a permission to apply watermarks (only "
318
  "roles with permission to upload files are listed here)"
319
  msgstr ""
320
 
321
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:59
322
  msgid "allow"
323
  msgstr ""
324
 
325
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:60
326
  msgid "deny"
327
  msgstr ""
328
 
329
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:64
330
  msgid "Allow to Auto Watermark"
331
  msgstr ""
332
 
333
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:65
334
  msgid ""
335
  "Check this to allow watermarking on upload to every user. If unchecked, "
336
  "'Auto Watermark' function will be dependent on above role-based settings."
337
  msgstr ""
338
 
339
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:68
340
  msgid "Post Types"
341
  msgstr ""
342
 
343
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:69
344
  msgid "Select what post type attachments should be automatically watermarked"
345
  msgstr ""
346
 
347
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:72
348
  msgid "Select All"
349
  msgstr ""
350
 
351
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
352
  msgid "Unattached Images"
353
  msgstr ""
354
 
355
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
356
  msgid "uploaded through the media library page"
357
  msgstr ""
358
 
359
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:76
360
  msgid "Posts"
361
  msgstr ""
362
 
363
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:77
364
  msgid "Pages"
365
  msgstr ""
366
 
@@ -470,7 +623,7 @@ msgid ""
470
  msgstr ""
471
 
472
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:55
473
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:62
474
  msgid "Opacity"
475
  msgstr ""
476
 
@@ -483,7 +636,7 @@ msgid "Watermark Text"
483
  msgstr ""
484
 
485
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:3
486
- msgid "You can use placeholders listed on the right side of this page"
487
  msgstr ""
488
 
489
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:7
@@ -502,22 +655,100 @@ msgstr ""
502
  msgid "Font"
503
  msgstr ""
504
 
505
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:45
506
  msgid "Text Color"
507
  msgstr ""
508
 
509
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:54
510
  msgid "Text Size"
511
  msgstr ""
512
 
513
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:58
514
  msgid "Text Angle"
515
  msgstr ""
516
 
517
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-page.php:6
518
  msgid "Easy Watermark Settings"
519
  msgstr ""
520
 
521
- #: /media/szaleq/Data/easy-watermark/trunk/views/settings-page.php:22
522
  msgid "Save Changes"
523
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Easy Watermark 0.6.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-08-05 08:16+0100\n"
6
+ "PO-Revision-Date: 2014-08-05 08:17+0100\n"
7
  "Last-Translator: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
8
  "Language-Team: Wojtek Szałkiewicz <wojtek@szalkiewicz.pl>\n"
9
  "MIME-Version: 1.0\n"
15
  "X-Poedit-SearchPath-0: /media/szaleq/Data/easy-watermark/trunk/classes\n"
16
  "X-Poedit-SearchPath-1: /media/szaleq/Data/easy-watermark/trunk/views\n"
17
 
18
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:97
19
+ msgid "Same image and watermark paths."
20
+ msgstr ""
21
+
22
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:98
23
+ msgid "No watermark image or text specified."
24
+ msgstr ""
25
+
26
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:99
27
+ msgid "No input image specified."
28
+ msgstr ""
29
+
30
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:100
31
+ msgid "Not allowed image type."
32
+ msgstr ""
33
+
34
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:101
35
+ msgid "No output file specified."
36
+ msgstr ""
37
+
38
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:102
39
+ msgid "Not allowed output type."
40
+ msgstr ""
41
+
42
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:103
43
+ msgid "Could not apply watermark."
44
+ msgstr ""
45
+
46
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:213
47
  msgid "Cheatin&#8217; uh?"
48
  msgstr ""
49
 
50
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:250
 
51
  msgid "Watermark successfully added."
52
  msgstr ""
53
 
54
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:253
55
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:954
56
  msgid "watermarked"
57
  msgstr ""
58
 
59
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:253
60
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:954
61
  msgid "not watermarked"
62
  msgstr ""
63
 
64
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:254
65
  #, php-format
66
  msgid "An Image has been marked as %s."
67
  msgstr ""
68
 
69
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:260
70
  msgid "Invalid mime type."
71
  msgstr ""
72
 
73
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:263
74
  msgid "No watermark image selected and no watermark text set."
75
  msgstr ""
76
 
77
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:265
78
  msgid "Go to settings page"
79
  msgstr ""
80
 
81
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:269
82
  msgid "An error has occurred."
83
  msgstr ""
84
 
85
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:275
86
  msgid ""
87
  "Easy Watermark is active, but requires GD library to work. Please enable "
88
  "this extension."
89
  msgstr ""
90
 
91
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:275
92
  msgid "Read more"
93
  msgstr ""
94
 
95
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:303
96
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:330
97
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:971
98
  msgid "Add Watermark"
99
  msgstr ""
100
 
101
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:346
102
  msgid "Add watermark"
103
  msgstr ""
104
 
105
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:522
106
  #, php-format
107
  msgid "No permission to edit file %s. Skipping..."
108
  msgstr ""
109
 
110
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:527
111
  #, php-format
112
  msgid "Not supported mime type of %s. Skipping..."
113
  msgstr ""
114
 
115
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:533
116
  #, php-format
117
  msgid "Watermark successfully added to %s"
118
  msgstr ""
119
 
120
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:674
121
+ #, php-format
122
+ msgid "Error: '%s', file: %s"
123
+ msgstr ""
124
+
125
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:744
126
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:761
127
+ msgid "Complete!"
128
+ msgstr ""
129
+
130
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:848
131
+ #, php-format
132
+ msgid "Image succesfully restored: %s"
133
+ msgstr ""
134
+
135
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:898
136
+ msgid "Unknown failure reason."
137
+ msgstr ""
138
+
139
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:937
140
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:116
141
  msgid "Easy Watermark"
142
  msgstr ""
143
 
144
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:955
145
  msgid "Status"
146
  msgstr ""
147
 
148
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:962
149
  msgid "mark as not watermarked"
150
  msgstr ""
151
 
152
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:962
153
  msgid "mark as watermarked"
154
  msgstr ""
155
 
156
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:976
157
+ msgid "Restore original image"
158
+ msgstr ""
159
+
160
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:982
161
+ msgid "This image is used as watermark."
162
+ msgstr ""
163
+
164
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-plugin.php:982
165
+ msgid "Change settings"
166
  msgstr ""
167
 
168
  #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:89
169
+ msgid "General"
 
170
  msgstr ""
171
 
172
  #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:90
173
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:32
174
+ msgid "Image"
175
+ msgstr ""
176
+
177
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:91
178
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:33
179
  msgid "Text"
180
  msgstr ""
181
 
182
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:132
183
+ msgid "Author placeholders"
184
+ msgstr ""
185
+
186
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:137
187
+ msgid "User placeholders"
188
+ msgstr ""
189
+
190
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:142
191
+ msgid "Image placeholders"
192
+ msgstr ""
193
+
194
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:147
195
+ msgid "General placeholders"
196
+ msgstr ""
197
+
198
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:358
199
  msgid "Settings"
200
  msgstr ""
201
 
202
+ #: /media/szaleq/Data/easy-watermark/trunk/classes/class-ew-settings.php:371
203
  msgid "Donate"
204
  msgstr ""
205
 
239
  msgid "Want to buy me a coffee?"
240
  msgstr ""
241
 
242
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:4
243
+ msgid "Easy Watermark Tools"
244
+ msgstr ""
245
+
246
  #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:10
247
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:2
248
+ msgid "Bulk Watermark"
249
  msgstr ""
250
 
251
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:14
252
  msgid ""
253
+ "Using this tool you can quickly apply watermark to all images in the Media "
254
+ "Library."
255
  msgstr ""
256
 
257
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:16
258
  msgid ""
259
+ "Using this tool you can quickly apply watermark to all images you uploaded "
260
+ "to the Media Library."
261
  msgstr ""
262
 
263
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:20
264
+ msgid "Start"
265
  msgstr ""
266
 
267
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:20
268
+ msgid ""
269
+ "Be carefull with this option. If some images alredy has watermark, it will "
270
+ "be added though."
271
  msgstr ""
272
 
273
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:24
274
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:2
275
+ msgid "Restore original images"
276
  msgstr ""
277
 
278
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:28
279
+ msgid ""
280
+ "Here you can remove watermark from all images by restoring the original "
281
+ "image files."
282
  msgstr ""
283
 
284
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:30
285
  msgid ""
286
+ "Here you can remove watermark from the images you uploaded by restoring the "
287
+ "original image files."
288
+ msgstr ""
289
+
290
+ #: /media/szaleq/Data/easy-watermark/trunk/views/easy-watermark-page.php:34
291
+ msgid "Restore"
292
  msgstr ""
293
 
294
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:1
295
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:1
296
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_image.php:1
297
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:1
298
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:2
299
  msgid "Placeholders"
300
  msgstr ""
301
 
302
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:2
303
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:2
304
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_image.php:2
305
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:2
306
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:4
307
  msgid ""
308
  "You can use this placeholders in your text watermark, it will be replaced "
309
  "with proper value just befor applying watermark."
310
  msgstr ""
311
 
312
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:4
313
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:6
314
+ msgid "image author login"
315
  msgstr ""
316
 
317
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:5
318
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:7
319
+ msgid "image author display name"
320
  msgstr ""
321
 
322
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:6
323
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:8
324
+ msgid "image author email address"
325
  msgstr ""
326
 
327
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_author.php:7
328
  #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:9
329
+ msgid "image author url"
330
+ msgstr ""
331
+
332
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:4
333
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:14
334
  msgid "site admin email"
335
  msgstr ""
336
 
337
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:5
338
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:15
339
  msgid "blog title"
340
  msgstr ""
341
 
342
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:6
343
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:16
344
  msgid "blog url"
345
  msgstr ""
346
 
347
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:7
348
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:17
349
  msgid "current date (see general settings for date format)"
350
  msgstr ""
351
 
352
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_general.php:8
353
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:18
354
  msgid "current time"
355
  msgstr ""
356
 
357
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_image.php:4
358
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:19
359
+ msgid "image title"
360
+ msgstr ""
361
+
362
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_image.php:5
363
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:20
364
+ msgid "alternative text for the image"
365
+ msgstr ""
366
+
367
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:4
368
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:10
369
+ msgid "current user login"
370
+ msgstr ""
371
+
372
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:5
373
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:11
374
+ msgid "current user display name"
375
+ msgstr ""
376
+
377
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:6
378
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:12
379
+ msgid "current user email address"
380
+ msgstr ""
381
+
382
+ #: /media/szaleq/Data/easy-watermark/trunk/views/help_tab_placeholders_user.php:7
383
+ #: /media/szaleq/Data/easy-watermark/trunk/views/placeholders.php:13
384
+ msgid "current user url"
385
+ msgstr ""
386
+
387
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:3
388
  msgid "Auto Watermark"
389
  msgstr ""
401
  msgstr ""
402
 
403
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:12
404
+ msgid "Backup"
405
+ msgstr ""
406
+
407
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:13
408
+ msgid ""
409
+ "Save original images to allow to restore them after watermark was applied"
410
+ msgstr ""
411
+
412
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:13
413
+ msgid ""
414
+ "This option will use more space on your server. Please consider creating "
415
+ "manual backup of original images on your local drive."
416
+ msgstr ""
417
+
418
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:15
419
  msgid "Image Sizes"
420
  msgstr ""
421
 
422
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:26
423
  msgid "Select image sizes which should be watermarked"
424
  msgstr ""
425
 
426
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:29
427
  msgid "Watermark Type"
428
  msgstr ""
429
 
430
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:34
431
  msgid "Image + Text"
432
  msgstr ""
433
 
434
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:36
435
  msgid "Choose, whether to apply image, text, or both."
436
  msgstr ""
437
 
438
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:39
439
  msgid "Jpeg Quality"
440
  msgstr ""
441
 
442
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:40
443
  msgid ""
444
  "Set jpeg quality from 0 (worst quality, smaller file) to 100 (best quality, "
445
  "biggest file)"
446
  msgstr ""
447
 
448
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:42
449
  msgid "Date Format"
450
  msgstr ""
451
 
452
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:43
453
  msgid "Leave blank to use default date format (see general settings)"
454
  msgstr ""
455
 
456
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:45
457
  msgid "Time Format"
458
  msgstr ""
459
 
460
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:46
461
  msgid "Leave blank to use default time format"
462
  msgstr ""
463
 
464
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:49
465
  msgid "User Roles"
466
  msgstr ""
467
 
468
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:50
469
  msgid ""
470
  "Select, which user roles can have a permission to apply watermarks (only "
471
  "roles with permission to upload files are listed here)"
472
  msgstr ""
473
 
474
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:62
475
  msgid "allow"
476
  msgstr ""
477
 
478
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:63
479
  msgid "deny"
480
  msgstr ""
481
 
482
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:67
483
  msgid "Allow to Auto Watermark"
484
  msgstr ""
485
 
486
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:68
487
  msgid ""
488
  "Check this to allow watermarking on upload to every user. If unchecked, "
489
  "'Auto Watermark' function will be dependent on above role-based settings."
490
  msgstr ""
491
 
492
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:71
493
  msgid "Post Types"
494
  msgstr ""
495
 
496
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:72
497
  msgid "Select what post type attachments should be automatically watermarked"
498
  msgstr ""
499
 
500
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:75
501
  msgid "Select All"
502
  msgstr ""
503
 
504
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:78
505
  msgid "Unattached Images"
506
  msgstr ""
507
 
508
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:78
509
  msgid "uploaded through the media library page"
510
  msgstr ""
511
 
512
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:79
513
  msgid "Posts"
514
  msgstr ""
515
 
516
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-general.php:80
517
  msgid "Pages"
518
  msgstr ""
519
 
623
  msgstr ""
624
 
625
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-image.php:55
626
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:58
627
  msgid "Opacity"
628
  msgstr ""
629
 
636
  msgstr ""
637
 
638
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:3
639
+ msgid "You can use placeholders. See help."
640
  msgstr ""
641
 
642
  #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:7
655
  msgid "Font"
656
  msgstr ""
657
 
658
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:41
659
  msgid "Text Color"
660
  msgstr ""
661
 
662
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:50
663
  msgid "Text Size"
664
  msgstr ""
665
 
666
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-form-text.php:54
667
  msgid "Text Angle"
668
  msgstr ""
669
 
670
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-page.php:7
671
  msgid "Easy Watermark Settings"
672
  msgstr ""
673
 
674
+ #: /media/szaleq/Data/easy-watermark/trunk/views/settings-page.php:23
675
  msgid "Save Changes"
676
  msgstr ""
677
+
678
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:7
679
+ msgid ""
680
+ "You are about to restore all original images. This action will remove all "
681
+ "watermarks ever applied. Are you sure you want to do this?"
682
+ msgstr ""
683
+
684
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:9
685
+ msgid ""
686
+ "You are about to restore original images for attachments you ever uploaded. "
687
+ "This action This action will remove all watermarks ever applied. Are you "
688
+ "sure you want to do this?"
689
+ msgstr ""
690
+
691
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:13
692
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:13
693
+ msgid "Proceed"
694
+ msgstr ""
695
+
696
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:13
697
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:13
698
+ msgid "Cancel"
699
+ msgstr ""
700
+
701
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:17
702
+ #, php-format
703
+ msgid "%s images restored."
704
+ msgstr ""
705
+
706
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:17
707
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:17
708
+ #, php-format
709
+ msgid "%s or %s"
710
+ msgstr ""
711
+
712
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:17
713
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:17
714
+ msgid "Go back"
715
+ msgstr ""
716
+
717
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:17
718
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:17
719
+ msgid "Go to Media Library"
720
+ msgstr ""
721
+
722
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:20
723
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:20
724
+ msgid "Starting..."
725
+ msgstr ""
726
+
727
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:23
728
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:23
729
+ #, php-format
730
+ msgid "Processed %s of %s images"
731
+ msgstr ""
732
+
733
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/restore_all.php:24
734
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:24
735
+ #, php-format
736
+ msgid "Duration: %s"
737
+ msgstr ""
738
+
739
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:7
740
+ msgid ""
741
+ "You are about to watermark all images in the library. This action can not be "
742
+ "undone. Are you sure you want to do this?"
743
+ msgstr ""
744
+
745
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:9
746
+ msgid ""
747
+ "You are about to watermark all images you have uploaded ever. This action "
748
+ "can not be undone. Are you sure you want to do this?"
749
+ msgstr ""
750
+
751
+ #: /media/szaleq/Data/easy-watermark/trunk/views/tools/watermark_all.php:17
752
+ #, php-format
753
+ msgid "%s images watermarked."
754
+ msgstr ""
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: szaleq
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=wojtek%40szalkiewicz%2epl&lc=GB&item_name=Easy%20Watermark%20Wordpress%20Plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted
4
  Tags: watermark, image, picture, photo, media, gallery, signature, transparent, upload, admin
5
- Requires at least: 3.5
6
- Tested up to: 4.3.1
7
- Stable tag: 0.6.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Text Domain: easy-watermark
@@ -40,7 +40,7 @@ Note: Easy Watermark requires GD extension installed and enabled on a server to
40
 
41
  1. Unpack easy-watermark.zip and upload its content to the `/wp-content/plugins/` directory
42
  1. Activate the plugin through the 'Plugins' menu in WordPress
43
- 1. Plugin is working. Go to "Settings > Easy Watermark" to set up your watermark.
44
 
45
  == Frequently asked questions ==
46
 
@@ -59,10 +59,10 @@ You can go to "Media >> Easy Watermark" and click "Add watermark to all images"
59
  = How can I adjust watermark image position? =
60
  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.
61
 
62
- = Can I add both, text and image watermark at once? =
63
  Yes, there is a posibility to add only image, only text or both.
64
 
65
- = How Can I adjust text watermark? =
66
  You can choose text font from the list of ten fonts included to this plugin. In future releases you will be able to upload your own font file. You can also set font size, color, angel and opacity. Position of text watermark can be adjusted exactly like image position.
67
 
68
  = Can I use my font for text watermark? =
@@ -92,6 +92,9 @@ All available placeholders are listed in a box titled 'Placeholders' on the text
92
 
93
  == Changelog ==
94
 
 
 
 
95
  = 0.6.0 =
96
  * Added: backup option for watermarked images - allows to restore original image
97
  * Added: button to restore all original images on the plugins page
2
  Contributors: szaleq
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=wojtek%40szalkiewicz%2epl&lc=GB&item_name=Easy%20Watermark%20Wordpress%20Plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted
4
  Tags: watermark, image, picture, photo, media, gallery, signature, transparent, upload, admin
5
+ Requires at least: 3.8
6
+ Tested up to: 4.9.7
7
+ Stable tag: 0.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Text Domain: easy-watermark
40
 
41
  1. Unpack easy-watermark.zip and upload its content to the `/wp-content/plugins/` directory
42
  1. Activate the plugin through the 'Plugins' menu in WordPress
43
+ 1. Plugin is working. Go to "Settings > Easy Watermark" to set up your watermark.
44
 
45
  == Frequently asked questions ==
46
 
59
  = How can I adjust watermark image position? =
60
  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.
61
 
62
+ = Can I add both, text and image watermark at once? =
63
  Yes, there is a posibility to add only image, only text or both.
64
 
65
+ = How Can I adjust text watermark? =
66
  You can choose text font from the list of ten fonts included to this plugin. In future releases you will be able to upload your own font file. You can also set font size, color, angel and opacity. Position of text watermark can be adjusted exactly like image position.
67
 
68
  = Can I use my font for text watermark? =
92
 
93
  == Changelog ==
94
 
95
+ = 0.6.1 =
96
+ * Minor adjustments for newest WordPress version
97
+
98
  = 0.6.0 =
99
  * Added: backup option for watermarked images - allows to restore original image
100
  * Added: button to restore all original images on the plugins page
views/about.php CHANGED
@@ -4,6 +4,7 @@
4
  <p><?php _e('Plugin Version', 'easy-watermark'); ?>: <strong><?php echo EW_Plugin::getVersion();?></strong></p>
5
  <p><?php _e('Plugin Author', 'easy-watermark'); ?>: <a href="mailto:wojtek@szalkiewicz.pl">Wojtek Szałkiewicz</a></p>
6
  <p><?php if(EW_Plugin::isGDEnabled()) : _e('GD library is enabled.', 'easy-watermark'); else : ?><span style="color:red;"><?php _e('GD library is not available! Easy Watermark can\'t work without it.', 'easy-watermark'); ?></span><?php endif; ?></p>
 
7
  <a href="http://wordpress.org/extend/plugins/easy-watermark" target="_blank">
8
  <?php _e('Plugin page in WP repository', 'easy-watermark'); ?></a><br/>
9
  <a href="http://wordpress.org/extend/plugins/easy-watermark/faq" target="_blank">
4
  <p><?php _e('Plugin Version', 'easy-watermark'); ?>: <strong><?php echo EW_Plugin::getVersion();?></strong></p>
5
  <p><?php _e('Plugin Author', 'easy-watermark'); ?>: <a href="mailto:wojtek@szalkiewicz.pl">Wojtek Szałkiewicz</a></p>
6
  <p><?php if(EW_Plugin::isGDEnabled()) : _e('GD library is enabled.', 'easy-watermark'); else : ?><span style="color:red;"><?php _e('GD library is not available! Easy Watermark can\'t work without it.', 'easy-watermark'); ?></span><?php endif; ?></p>
7
+ <?php if(!EW_Plugin::isFreeTypeEnabled()) : ?><p><span style="color:red;"><?php _e('FreeType extension is not available! You will not be able to use text watermark.', 'easy-watermark'); ?></span></p><?php endif; ?>
8
  <a href="http://wordpress.org/extend/plugins/easy-watermark" target="_blank">
9
  <?php _e('Plugin page in WP repository', 'easy-watermark'); ?></a><br/>
10
  <a href="http://wordpress.org/extend/plugins/easy-watermark/faq" target="_blank">
views/settings-form-text.php CHANGED
@@ -91,16 +91,16 @@
91
  $s = $d / ( 1 - abs( 2 * $l - 1 ) );
92
 
93
  switch( $max ){
94
- case $r:
95
- $h = 60 * fmod( ( ( $g - $b ) / $d ), 6 );
96
  break;
97
 
98
- case $g:
99
- $h = 60 * ( ( $b - $r ) / $d + 2 );
100
  break;
101
 
102
- case $b:
103
- $h = 60 * ( ( $r - $g ) / $d + 4 );
104
  break;
105
  }
106
  }
91
  $s = $d / ( 1 - abs( 2 * $l - 1 ) );
92
 
93
  switch( $max ){
94
+ case $r:
95
+ $h = 60 * fmod( ( ( $g - $b ) / $d ), 6 );
96
  break;
97
 
98
+ case $g:
99
+ $h = 60 * ( ( $b - $r ) / $d + 2 );
100
  break;
101
 
102
+ case $b:
103
+ $h = 60 * ( ( $r - $g ) / $d + 4 );
104
  break;
105
  }
106
  }
views/settings-page.php CHANGED
@@ -3,15 +3,18 @@
3
  <div class="has-right-sidebar">
4
  <?php include dirname(__FILE__) . EWDS . 'settings-sidebar.php'; ?>
5
  <div id="post-body-content" class="has-sidebar-content">
6
- <?php screen_icon(); ?>
7
- <h2><?php _e('Easy Watermark Settings', 'easy-watermark'); ?></h2>
8
- <h3 class="nav-tab-wrapper">
9
  <?php
10
  foreach ( $this->tabs as $name => $caption ) {
11
  $active = $current_tab == $name ? 'nav-tab-active' : '';
12
  echo '<a class="nav-tab ' . $active . '" href="?page=' . $this->plugin->getSlug() . '-settings&tab=' . $name . '">' . $caption . '</a>';
13
  }
14
- ?></h3>
 
 
 
 
15
  <form method="post" action="options.php" id="easy-watermark-settings-form">
16
  <?php settings_fields('easy-watermark-settings-' . $current_tab); ?>
17
  <?php
@@ -23,6 +26,7 @@
23
  <input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
24
  </p>
25
  </form>
 
26
  </div>
27
  </div>
28
  </div>
3
  <div class="has-right-sidebar">
4
  <?php include dirname(__FILE__) . EWDS . 'settings-sidebar.php'; ?>
5
  <div id="post-body-content" class="has-sidebar-content">
6
+ <h1><?php _e('Easy Watermark Settings', 'easy-watermark'); ?></h1>
7
+ <h2 class="nav-tab-wrapper">
 
8
  <?php
9
  foreach ( $this->tabs as $name => $caption ) {
10
  $active = $current_tab == $name ? 'nav-tab-active' : '';
11
  echo '<a class="nav-tab ' . $active . '" href="?page=' . $this->plugin->getSlug() . '-settings&tab=' . $name . '">' . $caption . '</a>';
12
  }
13
+ ?></h2>
14
+ <?php if($current_tab=='text' && !EW_Plugin::isFreeTypeEnabled()): ?>
15
+ <h3><span style="color:red;"><?php _e('FreeType extension is not available. To use text watermark please install FreeType extension.', 'easy-watermark'); ?></span></h3>
16
+ <?php else: ?>
17
+
18
  <form method="post" action="options.php" id="easy-watermark-settings-form">
19
  <?php settings_fields('easy-watermark-settings-' . $current_tab); ?>
20
  <?php
26
  <input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
27
  </p>
28
  </form>
29
+ <?php endif; ?>
30
  </div>
31
  </div>
32
  </div>