Cookie Notice by dFactory - Version 1.2.7

Version Description

  • New: French translation, thanks to Laura Orsal
  • New: Deleting plugin settings on deactivation as an option
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Cookie Notice by dFactory
Version 1.2.7
Comparing to
See all releases

Code changes from version 1.2.6 to 1.2.7

cookie-notice.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Cookie Notice
4
  Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
5
- Version: 1.2.6
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
@@ -22,27 +22,38 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
22
  */
23
 
24
 
 
 
 
 
 
 
 
25
  class Cookie_Notice
26
  {
27
  private $defaults = array(
28
- 'position' => 'top',
29
- 'message_text' => '',
30
- 'css_style' => 'bootstrap',
31
- 'accept_text' => '',
32
- 'see_more' => 'no',
33
- 'time' => 'month',
34
- 'hide_effect' => 'fade',
35
- 'colors' => array(
36
- 'text' => '#fff',
37
- 'bar' => '#000',
38
- ),
39
- 'see_more_opt' => array(
40
- 'text' => '',
41
- 'link_type' => 'custom',
42
- 'id' => 'empty',
43
- 'link' => ''
 
 
 
 
44
  ),
45
- 'translate' => TRUE
46
  );
47
  private $positions = array();
48
  private $styles = array();
@@ -64,12 +75,12 @@ class Cookie_Notice
64
  register_activation_hook(__FILE__, array(&$this, 'activation'));
65
  register_deactivation_hook(__FILE__, array(&$this, 'deactivation'));
66
 
67
- //settings
68
- $this->options = array_merge(
69
- (($options = get_option('cookie_notice_options')) === FALSE ? $this->defaults : array_merge($this->defaults, $options))
70
  );
71
 
72
- //actions
73
  add_action('admin_init', array(&$this, 'register_settings'));
74
  add_action('admin_menu', array(&$this, 'admin_menu_options'));
75
  add_action('plugins_loaded', array(&$this, 'load_textdomain'));
@@ -78,7 +89,7 @@ class Cookie_Notice
78
  add_action('wp_enqueue_scripts', array(&$this, 'front_load_scripts_styles'));
79
  add_action('wp_footer', array(&$this, 'add_cookie_notice'), 1000);
80
 
81
- //filters
82
  add_filter('plugin_row_meta', array(&$this, 'plugin_extend_links'), 10, 2);
83
  add_filter('plugin_action_links', array(&$this, 'plugin_settings_link'), 10, 2);
84
  }
@@ -141,23 +152,23 @@ class Cookie_Notice
141
  )
142
  );
143
 
144
- if($this->options['translate'] === TRUE)
145
  {
146
- $this->options['translate'] = FALSE;
147
 
148
- $this->options['message_text'] = sanitize_text_field(__('We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.', 'cookie-notice'));
149
- $this->options['accept_text'] = sanitize_text_field(__('Ok', 'cookie-notice'));
150
- $this->options['see_more_opt']['text'] = sanitize_text_field(__('Read more', 'cookie-notice'));
151
 
152
- update_option('cookie_notice_options', $this->options);
153
  }
154
 
155
  if(function_exists('icl_register_string'))
156
  {
157
- icl_register_string('Cookie Notice', 'Message in the notice', $this->options['message_text']);
158
- icl_register_string('Cookie Notice', 'Button text', $this->options['accept_text']);
159
- icl_register_string('Cookie Notice', 'Read more text', $this->options['see_more_opt']['text']);
160
- icl_register_string('Cookie Notice', 'Custom link', $this->options['see_more_opt']['link']);
161
  }
162
  }
163
 
@@ -190,7 +201,7 @@ class Cookie_Notice
190
  <h2>'.__('Cookie Notice', 'cookie-notice').'</h2>
191
  <div class="cookie-notice-settings">
192
  <div class="df-credits">
193
- <h3 class="hndle">'.__('Cookie Notice', 'cookie-notice').'</h3>
194
  <div class="inside">
195
  <h4 class="inner">'.__('Need support?', 'cookie-notice').'</h4>
196
  <p class="inner">'.__('If you are having problems with this plugin, please talk about them in the', 'cookie-notice').' <a href="http://dfactory.eu/support/" target="_blank" title="'.__('Support forum', 'cookie-notice').'">'.__('Support forum', 'cookie-notice').'</a></p>
@@ -223,14 +234,15 @@ class Cookie_Notice
223
  {
224
  register_setting('cookie_notice_options', 'cookie_notice_options', array(&$this, 'validate_options'));
225
 
226
- //configuration
227
  add_settings_section('cookie_notice_configuration', __('Configuration', 'cookie-notice'), '', 'cookie_notice_options');
228
  add_settings_field('cn_message_text', __('Message', 'cookie-notice'), array(&$this, 'cn_message_text'), 'cookie_notice_options', 'cookie_notice_configuration');
229
  add_settings_field('cn_accept_text', __('Button text', 'cookie-notice'), array(&$this, 'cn_accept_text'), 'cookie_notice_options', 'cookie_notice_configuration');
230
  add_settings_field('cn_see_more', __('More info', 'cookie-notice'), array(&$this, 'cn_see_more'), 'cookie_notice_options', 'cookie_notice_configuration');
231
  add_settings_field('cn_time', __('Cookie expiry', 'cookie-notice'), array(&$this, 'cn_time'), 'cookie_notice_options', 'cookie_notice_configuration');
 
232
 
233
- //design
234
  add_settings_section('cookie_notice_design', __('Design', 'cookie-notice'), '', 'cookie_notice_options');
235
  add_settings_field('cn_position', __('Position', 'cookie-notice'), array(&$this, 'cn_position'), 'cookie_notice_options', 'cookie_notice_design');
236
  add_settings_field('cn_hide_effect', __('Animation', 'cookie-notice'), array(&$this, 'cn_hide_effect'), 'cookie_notice_options', 'cookie_notice_design');
@@ -239,11 +251,34 @@ class Cookie_Notice
239
  }
240
 
241
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
242
  public function cn_message_text()
243
  {
244
  echo '
245
  <div id="cn_message_text">
246
- <textarea name="cookie_notice_options[message_text]" class="large-text" cols="50" rows="5">'.esc_textarea($this->options['message_text']).'</textarea>
247
  <p class="description">'.__('Enter the cookie notice message.', 'cookie-notice').'</p>
248
  </div>';
249
  }
@@ -253,7 +288,7 @@ class Cookie_Notice
253
  {
254
  echo '
255
  <div id="cn_accept_text">
256
- <input type="text" name="cookie_notice_options[accept_text]" value="'.esc_attr($this->options['accept_text']).'" />
257
  <p class="description">'.__('The text to show on the button when cookies have not been accepted', 'cookie-notice').'</p>
258
  </div>';
259
  }
@@ -269,15 +304,15 @@ class Cookie_Notice
269
  $val = esc_attr($val);
270
 
271
  echo '
272
- <input id="cn-see-more-'.$val.'" type="radio" name="cookie_notice_options[see_more]" value="'.$val.'" '.checked($val, $this->options['see_more'], FALSE).' />
273
  <label for="cn-see-more-'.$val.'">'.esc_html($trans).'</label>';
274
  }
275
 
276
  echo '
277
  <p class="description">'.__('Enable or Disable Read more button.', 'cookie-notice').'</p>
278
  </div>
279
- <div id="cn_see_more_opt"'.($this->options['see_more'] === 'no' ? ' style="display: none;"' : '').'>
280
- <input type="text" name="cookie_notice_options[see_more_opt][text]" value="'.esc_attr($this->options['see_more_opt']['text']).'" />
281
  <p class="description">'.__('Button text', 'cookie-notice').'</p>
282
  <div id="cn_see_more_opt_custom_link">';
283
 
@@ -286,29 +321,29 @@ class Cookie_Notice
286
  $val = esc_attr($val);
287
 
288
  echo '
289
- <input id="cn-see-more-link-'.$val.'" type="radio" name="cookie_notice_options[see_more_opt][link_type]" value="'.$val.'" '.checked($val, $this->options['see_more_opt']['link_type'], FALSE).' />
290
  <label for="cn-see-more-link-'.$val.'">'.esc_html($trans).'</label>';
291
  }
292
 
293
  echo '
294
  </div>
295
  <p class="description">'.__('Select where to redirect user for more information about cookies.', 'cookie-notice').'</p>
296
- <div id="cn_see_more_opt_page"'.($this->options['see_more_opt']['link_type'] === 'custom' ? ' style="display: none;"' : '').'>
297
  <select name="cookie_notice_options[see_more_opt][id]">
298
- <option value="empty" '.selected('empty', $this->options['see_more_opt']['id'], FALSE).'>'.__('-- select page --', 'cookie-notice').'</option>';
299
 
300
  foreach($this->pages as $page)
301
  {
302
  echo '
303
- <option value="'.$page->ID.'" '.selected($page->ID, $this->options['see_more_opt']['id'], FALSE).'>'.esc_html($page->post_title).'</option>';
304
  }
305
 
306
  echo '
307
  </select>
308
  <p class="description">'.__('Select from one of your site\'s pages', 'cookie-notice').'</p>
309
  </div>
310
- <div id="cn_see_more_opt_link"'.($this->options['see_more_opt']['link_type'] === 'page' ? ' style="display: none;"' : '').'>
311
- <input type="text" name="cookie_notice_options[see_more_opt][link]" value="'.esc_attr($this->options['see_more_opt']['link']).'" />
312
  <p class="description">'.__('Enter the full URL starting with http://', 'cookie-notice').'</p>
313
  </div>
314
  </div>';
@@ -325,7 +360,7 @@ class Cookie_Notice
325
  {
326
  $time = esc_attr($time);
327
 
328
- echo '<option value="'.$time.'" '.selected($time, $this->options['time']).'>'.esc_html($arr[0]).'</option>';
329
  }
330
 
331
  echo '
@@ -345,7 +380,7 @@ class Cookie_Notice
345
  $val = esc_attr($val);
346
 
347
  echo '
348
- <input id="cn-position-'.$val.'" type="radio" name="cookie_notice_options[position]" value="'.$val.'" '.checked($val, $this->options['position'], FALSE).' />
349
  <label for="cn-position-'.$val.'">'.esc_html($trans).'</label>';
350
  }
351
 
@@ -365,7 +400,7 @@ class Cookie_Notice
365
  $val = esc_attr($val);
366
 
367
  echo '
368
- <input id="cn-hide-effect-'.$val.'" type="radio" name="cookie_notice_options[hide_effect]" value="'.$val.'" '.checked($val, $this->options['hide_effect'], FALSE).' />
369
  <label for="cn-hide-effect-'.$val.'">'.esc_html($trans).'</label>';
370
  }
371
 
@@ -385,7 +420,7 @@ class Cookie_Notice
385
  $val = esc_attr($val);
386
 
387
  echo '
388
- <input id="cn-css-style-'.$val.'" type="radio" name="cookie_notice_options[css_style]" value="'.$val.'" '.checked($val, $this->options['css_style'], FALSE).' />
389
  <label for="cn-css-style-'.$val.'">'.esc_html($trans).'</label>';
390
  }
391
 
@@ -406,7 +441,7 @@ class Cookie_Notice
406
 
407
  echo '
408
  <p><label>'.esc_html($trans).'</label>
409
- <input class="cn-color" type="text" name="cookie_notice_options[colors]['.$val.']" value="'.esc_attr($this->options['colors'][$val]).'" />'.
410
  '</p>';
411
  }
412
 
@@ -420,29 +455,32 @@ class Cookie_Notice
420
  if(isset($_POST['save_cookie_notice_options']))
421
  {
422
  //position
423
- $input['position'] = sanitize_text_field(isset($input['position']) && in_array($input['position'], array_keys($this->positions)) ? $input['position'] : $this->defaults['position']);
424
 
425
  //colors
426
- $input['colors']['text'] = sanitize_text_field(isset($input['colors']['text']) && $input['colors']['text'] !== '' && preg_match('/^#[a-f0-9]{6}$/', $input['colors']['text']) === 1 ? $input['colors']['text'] : $this->defaults['colors']['text']);
427
- $input['colors']['bar'] = sanitize_text_field(isset($input['colors']['bar']) && $input['colors']['bar'] !== '' && preg_match('/^#[a-f0-9]{6}$/', $input['colors']['bar']) === 1 ? $input['colors']['bar'] : $this->defaults['colors']['bar']);
428
 
429
  //texts
430
- $input['message_text'] = sanitize_text_field(isset($input['message_text']) && $input['message_text'] !== '' ? $input['message_text'] : $this->defaults['message_text']);
431
- $input['accept_text'] = sanitize_text_field(isset($input['accept_text']) && $input['accept_text'] !== '' ? $input['accept_text'] : $this->defaults['accept_text']);
432
 
433
  //css
434
- $input['css_style'] = sanitize_text_field(isset($input['css_style']) && in_array($input['css_style'], array_keys($this->styles)) ? $input['css_style'] : $this->defaults['css_style']);
435
 
436
  //time
437
- $input['time'] = sanitize_text_field(isset($input['time']) && in_array($input['time'], array_keys($this->times)) ? $input['time'] : $this->defaults['time']);
438
 
439
  //hide effect
440
- $input['hide_effect'] = sanitize_text_field(isset($input['hide_effect']) && in_array($input['hide_effect'], array_keys($this->effects)) ? $input['hide_effect'] : $this->defaults['hide_effect']);
 
 
 
441
 
442
  //see more
443
- $input['see_more'] = sanitize_text_field(isset($input['see_more']) && in_array($input['see_more'], array_keys($this->choices)) ? $input['see_more'] : $this->defaults['see_more']);
444
- $input['see_more_opt']['text'] = sanitize_text_field(isset($input['see_more_opt']['text']) && $input['see_more_opt']['text'] !== '' ? $input['see_more_opt']['text'] : $this->defaults['see_more_opt']['text']);
445
- $input['see_more_opt']['link_type'] = sanitize_text_field(isset($input['see_more_opt']['link_type']) && in_array($input['see_more_opt']['link_type'], array_keys($this->links)) ? $input['see_more_opt']['link_type'] : $this->defaults['see_more_opt']['link_type']);
446
 
447
  if($input['see_more_opt']['link_type'] === 'custom')
448
  {
@@ -466,23 +504,23 @@ class Cookie_Notice
466
  {
467
  if(function_exists('icl_t'))
468
  {
469
- $this->options['message_text'] = icl_t('Cookie Notice', 'Message in the notice', $this->options['message_text']);
470
- $this->options['accept_text'] = icl_t('Cookie Notice', 'Button text', $this->options['accept_text']);
471
- $this->options['see_more_opt']['text'] = icl_t('Cookie Notice', 'Read more text', $this->options['see_more_opt']['text']);
472
- $this->options['see_more_opt']['link'] = icl_t('Cookie Notice', 'Custom link', $this->options['see_more_opt']['link']);
473
  }
474
 
475
  if(function_exists('icl_object_id'))
476
- $this->options['see_more_opt']['id'] = icl_object_id($this->options['see_more_opt']['id'], 'page', TRUE);
477
 
478
  $options = apply_filters('cn_cookie_notice_args', array(
479
- 'position' => $this->options['position'],
480
- 'css_style' => $this->options['css_style'],
481
- 'colors' => $this->options['colors'],
482
- 'message_text' => $this->options['message_text'],
483
- 'accept_text' => $this->options['accept_text'],
484
- 'see_more' => $this->options['see_more'],
485
- 'see_more_opt' => $this->options['see_more_opt'],
486
  ));
487
 
488
  $output = '
@@ -522,6 +560,15 @@ class Cookie_Notice
522
  }
523
 
524
 
 
 
 
 
 
 
 
 
 
525
  /**
526
  * Add links to Settings page
527
  */
@@ -548,7 +595,8 @@ class Cookie_Notice
548
  */
549
  public function activation()
550
  {
551
- add_option('cookie_notice_options', $this->defaults, '', 'no');
 
552
  }
553
 
554
 
@@ -557,7 +605,10 @@ class Cookie_Notice
557
  */
558
  public function deactivation()
559
  {
560
- delete_option('cookie_notice_options');
 
 
 
561
  }
562
 
563
 
@@ -599,10 +650,10 @@ class Cookie_Notice
599
  'cnArgs',
600
  array(
601
  'ajaxurl' => admin_url('admin-ajax.php'),
602
- 'hideEffect' => $this->options['hide_effect'],
603
  'cookieName' => $this->cookie['name'],
604
  'cookieValue' => $this->cookie['value'],
605
- 'cookieTime' => $this->times[$this->options['time']][1],
606
  'cookiePath' => (defined('COOKIEPATH') ? COOKIEPATH : ''),
607
  'cookieDomain' => (defined('COOKIE_DOMAIN') ? COOKIE_DOMAIN : '')
608
  )
@@ -612,6 +663,4 @@ class Cookie_Notice
612
  }
613
  }
614
  }
615
-
616
- $cookie_notice = new Cookie_Notice();
617
  ?>
2
  /*
3
  Plugin Name: Cookie Notice
4
  Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
5
+ Version: 1.2.7
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
22
  */
23
 
24
 
25
+ if(!defined('ABSPATH')) exit;
26
+
27
+ $cookie_notice = new Cookie_Notice();
28
+
29
+ include_once(plugin_dir_path(__FILE__).'includes/update.php');
30
+
31
+
32
  class Cookie_Notice
33
  {
34
  private $defaults = array(
35
+ 'general' => array(
36
+ 'position' => 'top',
37
+ 'message_text' => '',
38
+ 'css_style' => 'bootstrap',
39
+ 'accept_text' => '',
40
+ 'see_more' => 'no',
41
+ 'time' => 'month',
42
+ 'hide_effect' => 'fade',
43
+ 'colors' => array(
44
+ 'text' => '#fff',
45
+ 'bar' => '#000',
46
+ ),
47
+ 'see_more_opt' => array(
48
+ 'text' => '',
49
+ 'link_type' => 'custom',
50
+ 'id' => 'empty',
51
+ 'link' => ''
52
+ ),
53
+ 'translate' => true,
54
+ 'deactivation_delete' => 'no'
55
  ),
56
+ 'version' => '1.2.7'
57
  );
58
  private $positions = array();
59
  private $styles = array();
75
  register_activation_hook(__FILE__, array(&$this, 'activation'));
76
  register_deactivation_hook(__FILE__, array(&$this, 'deactivation'));
77
 
78
+ // settings
79
+ $this->options = array(
80
+ 'general' => array_merge($this->defaults['general'], get_option('cookie_notice_options', $this->defaults['general']))
81
  );
82
 
83
+ // actions
84
  add_action('admin_init', array(&$this, 'register_settings'));
85
  add_action('admin_menu', array(&$this, 'admin_menu_options'));
86
  add_action('plugins_loaded', array(&$this, 'load_textdomain'));
89
  add_action('wp_enqueue_scripts', array(&$this, 'front_load_scripts_styles'));
90
  add_action('wp_footer', array(&$this, 'add_cookie_notice'), 1000);
91
 
92
+ // filters
93
  add_filter('plugin_row_meta', array(&$this, 'plugin_extend_links'), 10, 2);
94
  add_filter('plugin_action_links', array(&$this, 'plugin_settings_link'), 10, 2);
95
  }
152
  )
153
  );
154
 
155
+ if($this->options['general']['translate'] === TRUE)
156
  {
157
+ $this->options['general']['translate'] = FALSE;
158
 
159
+ $this->options['general']['message_text'] = sanitize_text_field(__('We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.', 'cookie-notice'));
160
+ $this->options['general']['accept_text'] = sanitize_text_field(__('Ok', 'cookie-notice'));
161
+ $this->options['general']['see_more_opt']['text'] = sanitize_text_field(__('Read more', 'cookie-notice'));
162
 
163
+ update_option('cookie_notice_options', $this->options['general']);
164
  }
165
 
166
  if(function_exists('icl_register_string'))
167
  {
168
+ icl_register_string('Cookie Notice', 'Message in the notice', $this->options['general']['message_text']);
169
+ icl_register_string('Cookie Notice', 'Button text', $this->options['general']['accept_text']);
170
+ icl_register_string('Cookie Notice', 'Read more text', $this->options['general']['see_more_opt']['text']);
171
+ icl_register_string('Cookie Notice', 'Custom link', $this->options['general']['see_more_opt']['link']);
172
  }
173
  }
174
 
201
  <h2>'.__('Cookie Notice', 'cookie-notice').'</h2>
202
  <div class="cookie-notice-settings">
203
  <div class="df-credits">
204
+ <h3 class="hndle">'.__('Cookie Notice', 'cookie-notice').' '.$this->defaults['version'].'</h3>
205
  <div class="inside">
206
  <h4 class="inner">'.__('Need support?', 'cookie-notice').'</h4>
207
  <p class="inner">'.__('If you are having problems with this plugin, please talk about them in the', 'cookie-notice').' <a href="http://dfactory.eu/support/" target="_blank" title="'.__('Support forum', 'cookie-notice').'">'.__('Support forum', 'cookie-notice').'</a></p>
234
  {
235
  register_setting('cookie_notice_options', 'cookie_notice_options', array(&$this, 'validate_options'));
236
 
237
+ // configuration
238
  add_settings_section('cookie_notice_configuration', __('Configuration', 'cookie-notice'), '', 'cookie_notice_options');
239
  add_settings_field('cn_message_text', __('Message', 'cookie-notice'), array(&$this, 'cn_message_text'), 'cookie_notice_options', 'cookie_notice_configuration');
240
  add_settings_field('cn_accept_text', __('Button text', 'cookie-notice'), array(&$this, 'cn_accept_text'), 'cookie_notice_options', 'cookie_notice_configuration');
241
  add_settings_field('cn_see_more', __('More info', 'cookie-notice'), array(&$this, 'cn_see_more'), 'cookie_notice_options', 'cookie_notice_configuration');
242
  add_settings_field('cn_time', __('Cookie expiry', 'cookie-notice'), array(&$this, 'cn_time'), 'cookie_notice_options', 'cookie_notice_configuration');
243
+ add_settings_field('cn_deactivation_delete', __('Deactivation', 'cookie-notice'), array(&$this, 'cn_deactivation_delete'), 'cookie_notice_options', 'cookie_notice_configuration');
244
 
245
+ // design
246
  add_settings_section('cookie_notice_design', __('Design', 'cookie-notice'), '', 'cookie_notice_options');
247
  add_settings_field('cn_position', __('Position', 'cookie-notice'), array(&$this, 'cn_position'), 'cookie_notice_options', 'cookie_notice_design');
248
  add_settings_field('cn_hide_effect', __('Animation', 'cookie-notice'), array(&$this, 'cn_hide_effect'), 'cookie_notice_options', 'cookie_notice_design');
251
  }
252
 
253
 
254
+ /**
255
+ *
256
+ */
257
+ public function cn_deactivation_delete()
258
+ {
259
+ echo '
260
+ <div id="cn_deactivation_delete">
261
+ <fieldset>';
262
+
263
+ foreach($this->choices as $val => $trans)
264
+ {
265
+ echo '
266
+ <input id="cn-deactivation-delete-'.$val.'" type="radio" name="cookie_notice_options[deactivation_delete]" value="'.$val.'" '.checked($val, $this->options['general']['deactivation_delete'], false).'/><label for="cn-deactivation-delete-'.$val.'">'.$trans.'</label>';
267
+ }
268
+
269
+ echo '
270
+ <br/>
271
+ <span class="description">'.__('Enable if you want all plugin data to be deleted on deactivation.', 'cookie-notice').'</span>
272
+ </fieldset>
273
+ </div>';
274
+ }
275
+
276
+
277
  public function cn_message_text()
278
  {
279
  echo '
280
  <div id="cn_message_text">
281
+ <textarea name="cookie_notice_options[message_text]" class="large-text" cols="50" rows="5">'.esc_textarea($this->options['general']['message_text']).'</textarea>
282
  <p class="description">'.__('Enter the cookie notice message.', 'cookie-notice').'</p>
283
  </div>';
284
  }
288
  {
289
  echo '
290
  <div id="cn_accept_text">
291
+ <input type="text" name="cookie_notice_options[accept_text]" value="'.esc_attr($this->options['general']['accept_text']).'" />
292
  <p class="description">'.__('The text to show on the button when cookies have not been accepted', 'cookie-notice').'</p>
293
  </div>';
294
  }
304
  $val = esc_attr($val);
305
 
306
  echo '
307
+ <input id="cn-see-more-'.$val.'" type="radio" name="cookie_notice_options[see_more]" value="'.$val.'" '.checked($val, $this->options['general']['see_more'], FALSE).' />
308
  <label for="cn-see-more-'.$val.'">'.esc_html($trans).'</label>';
309
  }
310
 
311
  echo '
312
  <p class="description">'.__('Enable or Disable Read more button.', 'cookie-notice').'</p>
313
  </div>
314
+ <div id="cn_see_more_opt"'.($this->options['general']['see_more'] === 'no' ? ' style="display: none;"' : '').'>
315
+ <input type="text" name="cookie_notice_options[see_more_opt][text]" value="'.esc_attr($this->options['general']['see_more_opt']['text']).'" />
316
  <p class="description">'.__('Button text', 'cookie-notice').'</p>
317
  <div id="cn_see_more_opt_custom_link">';
318
 
321
  $val = esc_attr($val);
322
 
323
  echo '
324
+ <input id="cn-see-more-link-'.$val.'" type="radio" name="cookie_notice_options[see_more_opt][link_type]" value="'.$val.'" '.checked($val, $this->options['general']['see_more_opt']['link_type'], FALSE).' />
325
  <label for="cn-see-more-link-'.$val.'">'.esc_html($trans).'</label>';
326
  }
327
 
328
  echo '
329
  </div>
330
  <p class="description">'.__('Select where to redirect user for more information about cookies.', 'cookie-notice').'</p>
331
+ <div id="cn_see_more_opt_page"'.($this->options['general']['see_more_opt']['link_type'] === 'custom' ? ' style="display: none;"' : '').'>
332
  <select name="cookie_notice_options[see_more_opt][id]">
333
+ <option value="empty" '.selected('empty', $this->options['general']['see_more_opt']['id'], FALSE).'>'.__('-- select page --', 'cookie-notice').'</option>';
334
 
335
  foreach($this->pages as $page)
336
  {
337
  echo '
338
+ <option value="'.$page->ID.'" '.selected($page->ID, $this->options['general']['see_more_opt']['id'], FALSE).'>'.esc_html($page->post_title).'</option>';
339
  }
340
 
341
  echo '
342
  </select>
343
  <p class="description">'.__('Select from one of your site\'s pages', 'cookie-notice').'</p>
344
  </div>
345
+ <div id="cn_see_more_opt_link"'.($this->options['general']['see_more_opt']['link_type'] === 'page' ? ' style="display: none;"' : '').'>
346
+ <input type="text" name="cookie_notice_options[see_more_opt][link]" value="'.esc_attr($this->options['general']['see_more_opt']['link']).'" />
347
  <p class="description">'.__('Enter the full URL starting with http://', 'cookie-notice').'</p>
348
  </div>
349
  </div>';
360
  {
361
  $time = esc_attr($time);
362
 
363
+ echo '<option value="'.$time.'" '.selected($time, $this->options['general']['time']).'>'.esc_html($arr[0]).'</option>';
364
  }
365
 
366
  echo '
380
  $val = esc_attr($val);
381
 
382
  echo '
383
+ <input id="cn-position-'.$val.'" type="radio" name="cookie_notice_options[position]" value="'.$val.'" '.checked($val, $this->options['general']['position'], FALSE).' />
384
  <label for="cn-position-'.$val.'">'.esc_html($trans).'</label>';
385
  }
386
 
400
  $val = esc_attr($val);
401
 
402
  echo '
403
+ <input id="cn-hide-effect-'.$val.'" type="radio" name="cookie_notice_options[hide_effect]" value="'.$val.'" '.checked($val, $this->options['general']['hide_effect'], FALSE).' />
404
  <label for="cn-hide-effect-'.$val.'">'.esc_html($trans).'</label>';
405
  }
406
 
420
  $val = esc_attr($val);
421
 
422
  echo '
423
+ <input id="cn-css-style-'.$val.'" type="radio" name="cookie_notice_options[css_style]" value="'.$val.'" '.checked($val, $this->options['general']['css_style'], FALSE).' />
424
  <label for="cn-css-style-'.$val.'">'.esc_html($trans).'</label>';
425
  }
426
 
441
 
442
  echo '
443
  <p><label>'.esc_html($trans).'</label>
444
+ <input class="cn-color" type="text" name="cookie_notice_options[colors]['.$val.']" value="'.esc_attr($this->options['general']['colors'][$val]).'" />'.
445
  '</p>';
446
  }
447
 
455
  if(isset($_POST['save_cookie_notice_options']))
456
  {
457
  //position
458
+ $input['position'] = sanitize_text_field(isset($input['position']) && in_array($input['position'], array_keys($this->positions)) ? $input['position'] : $this->defaults['general']['position']);
459
 
460
  //colors
461
+ $input['colors']['text'] = sanitize_text_field(isset($input['colors']['text']) && $input['colors']['text'] !== '' && preg_match('/^#[a-f0-9]{6}$/', $input['colors']['text']) === 1 ? $input['colors']['text'] : $this->defaults['general']['colors']['text']);
462
+ $input['colors']['bar'] = sanitize_text_field(isset($input['colors']['bar']) && $input['colors']['bar'] !== '' && preg_match('/^#[a-f0-9]{6}$/', $input['colors']['bar']) === 1 ? $input['colors']['bar'] : $this->defaults['general']['colors']['bar']);
463
 
464
  //texts
465
+ $input['message_text'] = sanitize_text_field(isset($input['message_text']) && $input['message_text'] !== '' ? $input['message_text'] : $this->defaults['general']['message_text']);
466
+ $input['accept_text'] = sanitize_text_field(isset($input['accept_text']) && $input['accept_text'] !== '' ? $input['accept_text'] : $this->defaults['general']['accept_text']);
467
 
468
  //css
469
+ $input['css_style'] = sanitize_text_field(isset($input['css_style']) && in_array($input['css_style'], array_keys($this->styles)) ? $input['css_style'] : $this->defaults['general']['css_style']);
470
 
471
  //time
472
+ $input['time'] = sanitize_text_field(isset($input['time']) && in_array($input['time'], array_keys($this->times)) ? $input['time'] : $this->defaults['general']['time']);
473
 
474
  //hide effect
475
+ $input['hide_effect'] = sanitize_text_field(isset($input['hide_effect']) && in_array($input['hide_effect'], array_keys($this->effects)) ? $input['hide_effect'] : $this->defaults['general']['hide_effect']);
476
+
477
+ // deactivation
478
+ $input['deactivation_delete'] = (isset($input['deactivation_delete']) && in_array($input['deactivation_delete'], array_keys($this->choices)) ? $input['deactivation_delete'] : $this->defaults['general']['deactivation_delete']);
479
 
480
  //see more
481
+ $input['see_more'] = sanitize_text_field(isset($input['see_more']) && in_array($input['see_more'], array_keys($this->choices)) ? $input['see_more'] : $this->defaults['general']['see_more']);
482
+ $input['see_more_opt']['text'] = sanitize_text_field(isset($input['see_more_opt']['text']) && $input['see_more_opt']['text'] !== '' ? $input['see_more_opt']['text'] : $this->defaults['general']['see_more_opt']['text']);
483
+ $input['see_more_opt']['link_type'] = sanitize_text_field(isset($input['see_more_opt']['link_type']) && in_array($input['see_more_opt']['link_type'], array_keys($this->links)) ? $input['see_more_opt']['link_type'] : $this->defaults['general']['see_more_opt']['link_type']);
484
 
485
  if($input['see_more_opt']['link_type'] === 'custom')
486
  {
504
  {
505
  if(function_exists('icl_t'))
506
  {
507
+ $this->options['general']['message_text'] = icl_t('Cookie Notice', 'Message in the notice', $this->options['general']['message_text']);
508
+ $this->options['general']['accept_text'] = icl_t('Cookie Notice', 'Button text', $this->options['general']['accept_text']);
509
+ $this->options['general']['see_more_opt']['text'] = icl_t('Cookie Notice', 'Read more text', $this->options['general']['see_more_opt']['text']);
510
+ $this->options['general']['see_more_opt']['link'] = icl_t('Cookie Notice', 'Custom link', $this->options['general']['see_more_opt']['link']);
511
  }
512
 
513
  if(function_exists('icl_object_id'))
514
+ $this->options['general']['see_more_opt']['id'] = icl_object_id($this->options['general']['see_more_opt']['id'], 'page', TRUE);
515
 
516
  $options = apply_filters('cn_cookie_notice_args', array(
517
+ 'position' => $this->options['general']['position'],
518
+ 'css_style' => $this->options['general']['css_style'],
519
+ 'colors' => $this->options['general']['colors'],
520
+ 'message_text' => $this->options['general']['message_text'],
521
+ 'accept_text' => $this->options['general']['accept_text'],
522
+ 'see_more' => $this->options['general']['see_more'],
523
+ 'see_more_opt' => $this->options['general']['see_more_opt'],
524
  ));
525
 
526
  $output = '
560
  }
561
 
562
 
563
+ /**
564
+ * Gets default settings
565
+ */
566
+ public function get_defaults()
567
+ {
568
+ return $this->defaults;
569
+ }
570
+
571
+
572
  /**
573
  * Add links to Settings page
574
  */
595
  */
596
  public function activation()
597
  {
598
+ add_option('cookie_notice_options', $this->defaults['general'], '', 'no');
599
+ add_option('cookie_notice_version', $this->defaults['version'], '', 'no');
600
  }
601
 
602
 
605
  */
606
  public function deactivation()
607
  {
608
+ if($this->options['general']['deactivation_delete'] === 'yes')
609
+ {
610
+ delete_option('cookie_notice_options');
611
+ }
612
  }
613
 
614
 
650
  'cnArgs',
651
  array(
652
  'ajaxurl' => admin_url('admin-ajax.php'),
653
+ 'hideEffect' => $this->options['general']['hide_effect'],
654
  'cookieName' => $this->cookie['name'],
655
  'cookieValue' => $this->cookie['value'],
656
+ 'cookieTime' => $this->times[$this->options['general']['time']][1],
657
  'cookiePath' => (defined('COOKIEPATH') ? COOKIEPATH : ''),
658
  'cookieDomain' => (defined('COOKIE_DOMAIN') ? COOKIE_DOMAIN : '')
659
  )
663
  }
664
  }
665
  }
 
 
666
  ?>
includes/update.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(!defined('ABSPATH')) exit;
3
+
4
+ new Cookie_Notice_Update($cookie_notice);
5
+
6
+ class Cookie_Notice_Update
7
+ {
8
+ private $defaults;
9
+
10
+
11
+ public function __construct($cookie_notice)
12
+ {
13
+ // attributes
14
+ $this->defaults = $cookie_notice->get_defaults();
15
+
16
+ // actions
17
+ add_action('init', array(&$this, 'check_update'));
18
+ }
19
+
20
+
21
+ /**
22
+ *
23
+ */
24
+ public function check_update()
25
+ {
26
+ if(!current_user_can('manage_options'))
27
+ return;
28
+
29
+ // gets current database version
30
+ $current_db_version = get_option('cookie_notice_version', '1.0.0');
31
+
32
+ // new version?
33
+ if(version_compare($current_db_version, $this->defaults['version'], '<'))
34
+ {
35
+ // updates plugin version
36
+ update_option('cookie_notice_version', $this->defaults['version']);
37
+ }
38
+ }
39
+ }
40
+ ?>
languages/cookie-notice-fr_FR.mo ADDED
Binary file
languages/cookie-notice-fr_FR.po ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Cookie Notice\n"
4
+ "POT-Creation-Date: 2013-07-02 18:32+0100\n"
5
+ "PO-Revision-Date: 2014-07-21 18:36+0100\n"
6
+ "Last-Translator: Laura Orsal <laura@orsal.fr>\n"
7
+ "Language-Team: dFactory <info@dfactory.eu>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.6.6\n"
12
+ "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
16
+ "Language: fr_FR\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../cookie-notice.php:84
20
+ msgid "Top"
21
+ msgstr "Haut"
22
+
23
+ #: ../cookie-notice.php:85
24
+ msgid "Bottom"
25
+ msgstr "Bas"
26
+
27
+ #: ../cookie-notice.php:89 ../cookie-notice.php:120
28
+ msgid "None"
29
+ msgstr "Aucun"
30
+
31
+ #: ../cookie-notice.php:90
32
+ msgid "WordPress"
33
+ msgstr "WordPress"
34
+
35
+ #: ../cookie-notice.php:91
36
+ msgid "Bootstrap"
37
+ msgstr "Bootstrap"
38
+
39
+ #: ../cookie-notice.php:95
40
+ msgid "Enable"
41
+ msgstr "Activer"
42
+
43
+ #: ../cookie-notice.php:96
44
+ msgid "Disable"
45
+ msgstr "Désactiver"
46
+
47
+ #: ../cookie-notice.php:100
48
+ msgid "Custom link"
49
+ msgstr "Lien personnalisé"
50
+
51
+ #: ../cookie-notice.php:101
52
+ msgid "Page link"
53
+ msgstr "Lien de page"
54
+
55
+ #: ../cookie-notice.php:105
56
+ msgid "Text color"
57
+ msgstr "Couleur du texte"
58
+
59
+ #: ../cookie-notice.php:106
60
+ msgid "Bar color"
61
+ msgstr "Couleur de la barre"
62
+
63
+ #: ../cookie-notice.php:110
64
+ msgid "1 day"
65
+ msgstr "1 jour"
66
+
67
+ #: ../cookie-notice.php:111
68
+ msgid "1 week"
69
+ msgstr "1 semaine"
70
+
71
+ #: ../cookie-notice.php:112
72
+ msgid "1 month"
73
+ msgstr "1 mois"
74
+
75
+ #: ../cookie-notice.php:113
76
+ msgid "3 months"
77
+ msgstr "3 mois"
78
+
79
+ #: ../cookie-notice.php:114
80
+ msgid "6 months"
81
+ msgstr "6 mois"
82
+
83
+ #: ../cookie-notice.php:115
84
+ msgid "1 year"
85
+ msgstr "1 année"
86
+
87
+ #: ../cookie-notice.php:116
88
+ msgid "infinity"
89
+ msgstr "illimitée"
90
+
91
+ #: ../cookie-notice.php:121
92
+ msgid "Fade"
93
+ msgstr "Fondu"
94
+
95
+ #: ../cookie-notice.php:122
96
+ msgid "Slide"
97
+ msgstr "Glissement"
98
+
99
+ #: ../cookie-notice.php:154 ../cookie-notice.php:155 ../cookie-notice.php:167
100
+ #: ../cookie-notice.php:180
101
+ msgid "Cookie Notice"
102
+ msgstr "Cookie Notice"
103
+
104
+ #: ../cookie-notice.php:182
105
+ msgid "Need support?"
106
+ msgstr "Besoin d'aide ?"
107
+
108
+ #: ../cookie-notice.php:183
109
+ msgid ""
110
+ "If you are having problems with this plugin, please talk about them in the"
111
+ msgstr ""
112
+ "Si vous rencontrez des problèmes avec ce plugin, veuillez en parler dans le"
113
+
114
+ #: ../cookie-notice.php:183
115
+ msgid "Support forum"
116
+ msgstr "Forum pour le support"
117
+
118
+ #: ../cookie-notice.php:185
119
+ msgid "Do you like this plugin?"
120
+ msgstr "Vous aimez ce plugin ?"
121
+
122
+ #: ../cookie-notice.php:186
123
+ msgid "Rate it 5"
124
+ msgstr "Noter sur 5"
125
+
126
+ #: ../cookie-notice.php:186
127
+ msgid "on WordPress.org"
128
+ msgstr "sur WordPress.org"
129
+
130
+ #: ../cookie-notice.php:187
131
+ msgid "Blog about it & link to the"
132
+ msgstr "Blog et lien vers la"
133
+
134
+ #: ../cookie-notice.php:187
135
+ msgid "plugin page"
136
+ msgstr "page du plugin"
137
+
138
+ #: ../cookie-notice.php:188
139
+ msgid "Check out our other"
140
+ msgstr "Découvrir nos autres"
141
+
142
+ #: ../cookie-notice.php:188
143
+ msgid "WordPress plugins"
144
+ msgstr "plugins WordPress"
145
+
146
+ #: ../cookie-notice.php:204
147
+ msgid "Configuration"
148
+ msgstr "Configuration"
149
+
150
+ #: ../cookie-notice.php:205
151
+ msgid "Message"
152
+ msgstr "Message"
153
+
154
+ #: ../cookie-notice.php:206 ../cookie-notice.php:256
155
+ msgid "Button text"
156
+ msgstr "Texte du bouton"
157
+
158
+ #: ../cookie-notice.php:207
159
+ msgid "More info"
160
+ msgstr "En savoir plus"
161
+
162
+ #: ../cookie-notice.php:208
163
+ msgid "Cookie expiry"
164
+ msgstr "Expiration des cookies"
165
+
166
+ #: ../cookie-notice.php:211
167
+ msgid "Design"
168
+ msgstr "Design"
169
+
170
+ #: ../cookie-notice.php:212
171
+ msgid "Position"
172
+ msgstr "Position"
173
+
174
+ #: ../cookie-notice.php:213
175
+ msgid "Hide animation"
176
+ msgstr "Cacher l'animation"
177
+
178
+ #: ../cookie-notice.php:214
179
+ msgid "Button style"
180
+ msgstr "Style du bouton"
181
+
182
+ #: ../cookie-notice.php:215
183
+ msgid "Colors"
184
+ msgstr "Couleurs"
185
+
186
+ #: ../cookie-notice.php:224
187
+ msgid "Enter the cookie notice message."
188
+ msgstr "Saisir le message d'avis relatif aux cookies."
189
+
190
+ #: ../cookie-notice.php:234
191
+ msgid "The text to show on the button when cookies have not been accepted"
192
+ msgstr "Texte à afficher sur le bouton si les cookies n'ont pas été acceptés."
193
+
194
+ #: ../cookie-notice.php:252
195
+ msgid "Enable or Disable Read more button."
196
+ msgstr "Activer ou désactiver le bouton En savoir plus."
197
+
198
+ #: ../cookie-notice.php:268
199
+ msgid "Select where to redirect user for more information about cookies."
200
+ msgstr ""
201
+ "Sélectionner l'endroit où rediriger l'utilisateur pour plus d'informations "
202
+ "sur les cookies."
203
+
204
+ #: ../cookie-notice.php:271
205
+ msgid "-- select page --"
206
+ msgstr "-- sélectionner page --"
207
+
208
+ #: ../cookie-notice.php:281
209
+ msgid "Select from one of your site's pages"
210
+ msgstr "Sélectionner une page de votre site"
211
+
212
+ #: ../cookie-notice.php:285
213
+ msgid "Enter the full URL starting with http://"
214
+ msgstr "Saisir l'URL complète en commençant par http://"
215
+
216
+ #: ../cookie-notice.php:304
217
+ msgid "The ammount of time that cookie should be stored for."
218
+ msgstr "La durée de stockage des cookies."
219
+
220
+ #: ../cookie-notice.php:322
221
+ msgid "Select location for your cookie notice."
222
+ msgstr "Sélectionner la position de votre avis relatif aux cookies."
223
+
224
+ #: ../cookie-notice.php:340
225
+ msgid "Cookie notice acceptance animation."
226
+ msgstr "Animation de l'acceptation de l'avis relatif aux cookies."
227
+
228
+ #: ../cookie-notice.php:358
229
+ msgid "Choose buttons style."
230
+ msgstr "Choisir le style des boutons."
231
+
232
+ #: ../cookie-notice.php:473
233
+ msgid "Support"
234
+ msgstr "Support"
235
+
236
+ #: ../cookie-notice.php:495
237
+ msgid "Settings"
238
+ msgstr "Paramètres"
239
+
240
+ #: ../cookie-notice.php:524
241
+ msgid ""
242
+ "We use cookies to ensure that we give you the best experience on our "
243
+ "website. If you continue to use this site we will assume that you are happy "
244
+ "with it."
245
+ msgstr ""
246
+ "Nous utilisons des cookies pour vous garantir la meilleure expérience sur "
247
+ "notre site. Si vous continuez à utiliser ce dernier, nous considérerons que "
248
+ "vous acceptez l'utilisation des cookies."
249
+
250
+ #: ../cookie-notice.php:525
251
+ msgid "Ok"
252
+ msgstr "Ok"
253
+
254
+ #: ../cookie-notice.php:526
255
+ msgid "Read more"
256
+ msgstr "En savoir plus"
languages/cookie-notice-pl_PL.mo CHANGED
Binary file
languages/cookie-notice-pl_PL.po CHANGED
@@ -1,380 +1,383 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Cookie Notice\n"
4
- "POT-Creation-Date: 2013-07-02 18:33+0100\n"
5
- "PO-Revision-Date: 2013-07-02 18:46+0100\n"
6
- "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
- "Language-Team: dFactory <info@dfactory.eu>\n"
8
- "Language: English\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.5\n"
13
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: ..\n"
17
-
18
- #: ../cookie-notice.php:84
19
- msgid "Top"
20
- msgstr "Na górze"
21
-
22
- #: ../cookie-notice.php:85
23
- msgid "Bottom"
24
- msgstr "Na dole"
25
-
26
- #: ../cookie-notice.php:89 ../cookie-notice.php:120
27
- msgid "None"
28
- msgstr "Brak"
29
-
30
- #: ../cookie-notice.php:90
31
- msgid "WordPress"
32
- msgstr "WordPress"
33
-
34
- #: ../cookie-notice.php:91
35
- msgid "Bootstrap"
36
- msgstr "Bootstrap"
37
-
38
- #: ../cookie-notice.php:95
39
- msgid "Enable"
40
- msgstr "Włącz"
41
-
42
- #: ../cookie-notice.php:96
43
- msgid "Disable"
44
- msgstr "Wyłącz"
45
-
46
- #: ../cookie-notice.php:100
47
- msgid "Custom link"
48
- msgstr "Własny link"
49
-
50
- #: ../cookie-notice.php:101
51
- msgid "Page link"
52
- msgstr "Link do strony"
53
-
54
- #: ../cookie-notice.php:105
55
- msgid "Text color"
56
- msgstr "Kolor tekstu"
57
-
58
- #: ../cookie-notice.php:106
59
- msgid "Bar color"
60
- msgstr "Kolor tła"
61
-
62
- #: ../cookie-notice.php:110
63
- msgid "1 day"
64
- msgstr "1 dzień"
65
-
66
- #: ../cookie-notice.php:111
67
- msgid "1 week"
68
- msgstr "1 tydzień"
69
-
70
- #: ../cookie-notice.php:112
71
- msgid "1 month"
72
- msgstr "1 miesiąc"
73
-
74
- #: ../cookie-notice.php:113
75
- msgid "3 months"
76
- msgstr "3 miesiące"
77
-
78
- #: ../cookie-notice.php:114
79
- msgid "6 months"
80
- msgstr "6 miesięcy"
81
-
82
- #: ../cookie-notice.php:115
83
- msgid "1 year"
84
- msgstr "1 rok"
85
-
86
- #: ../cookie-notice.php:116
87
- msgid "infinity"
88
- msgstr "W nieskończoność"
89
-
90
- #: ../cookie-notice.php:121
91
- msgid "Fade"
92
- msgstr "Zanikanie"
93
-
94
- #: ../cookie-notice.php:122
95
- msgid "Slide"
96
- msgstr "Przesuwanie"
97
-
98
- #: ../cookie-notice.php:154 ../cookie-notice.php:155 ../cookie-notice.php:167
99
- #: ../cookie-notice.php:180
100
- msgid "Cookie Notice"
101
- msgstr "Ciasteczka"
102
-
103
- #: ../cookie-notice.php:182
104
- msgid "Need support?"
105
- msgstr "Potrzebujesz pomocy?"
106
-
107
- #: ../cookie-notice.php:183
108
- msgid ""
109
- "If you are having problems with this plugin, please talk about them in the"
110
- msgstr "Jeśli masz jakieś problemy z tą wtyczką, powiedz o nich"
111
-
112
- #: ../cookie-notice.php:183
113
- msgid "Support forum"
114
- msgstr "Forum pomocy"
115
-
116
- #: ../cookie-notice.php:185
117
- msgid "Do you like this plugin?"
118
- msgstr "Lubisz tę wtyczkę?"
119
-
120
- #: ../cookie-notice.php:186
121
- msgid "Rate it 5"
122
- msgstr "Oceń ją na 5"
123
-
124
- #: ../cookie-notice.php:186
125
- msgid "on WordPress.org"
126
- msgstr "na WordPress.org"
127
-
128
- #: ../cookie-notice.php:187
129
- msgid "Blog about it & link to the"
130
- msgstr "Napisz o niej i dodaj link"
131
-
132
- #: ../cookie-notice.php:187
133
- msgid "plugin page"
134
- msgstr "do strony wtyczki"
135
-
136
- #: ../cookie-notice.php:188
137
- msgid "Check out our other"
138
- msgstr "Sprawdż nasze inne"
139
-
140
- #: ../cookie-notice.php:188
141
- msgid "WordPress plugins"
142
- msgstr "wtyczki do WordPressa"
143
-
144
- #: ../cookie-notice.php:204
145
- msgid "Configuration"
146
- msgstr "Konfiguracja"
147
-
148
- #: ../cookie-notice.php:205
149
- msgid "Message"
150
- msgstr "Wiadomość"
151
-
152
- #: ../cookie-notice.php:206 ../cookie-notice.php:256
153
- msgid "Button text"
154
- msgstr "Tekst przycisku"
155
-
156
- #: ../cookie-notice.php:207
157
- msgid "More info"
158
- msgstr "Więcej informacji"
159
-
160
- #: ../cookie-notice.php:208
161
- msgid "Cookie expiry"
162
- msgstr "Wygasanie cookie"
163
-
164
- #: ../cookie-notice.php:211
165
- msgid "Design"
166
- msgstr "Wygląd"
167
-
168
- #: ../cookie-notice.php:212
169
- msgid "Position"
170
- msgstr "Pozycja"
171
-
172
- #: ../cookie-notice.php:213
173
- msgid "Hide animation"
174
- msgstr "Ukrywanie animacji"
175
-
176
- #: ../cookie-notice.php:214
177
- msgid "Button style"
178
- msgstr "Styl przycisku"
179
-
180
- #: ../cookie-notice.php:215
181
- msgid "Colors"
182
- msgstr "Kolorystyka"
183
-
184
- #: ../cookie-notice.php:224
185
- msgid "Enter the cookie notice message."
186
- msgstr "Wpisz treść informacji o ciasteczkach."
187
-
188
- #: ../cookie-notice.php:234
189
- msgid "The text to show on the button when cookies have not been accepted"
190
- msgstr ""
191
- "Tekst przycisku, który będzie wyświetlany gdy ciasteczka nie zostały jeszcze "
192
- "zaakceptowane."
193
-
194
- #: ../cookie-notice.php:252
195
- msgid "Enable or Disable Read more button."
196
- msgstr "Włącz lub wyłącz przycisk z linkiem do dodatkowych informacji."
197
-
198
- #: ../cookie-notice.php:268
199
- msgid "Select where to redirect user for more information about cookies."
200
- msgstr ""
201
- "Wybierz dokąd przekierować użytkownika aby uzyskał więcej informacji o "
202
- "ciasteczkach."
203
-
204
- #: ../cookie-notice.php:271
205
- msgid "-- select page --"
206
- msgstr "-- wybierz stronę --"
207
-
208
- #: ../cookie-notice.php:281
209
- msgid "Select from one of your site's pages"
210
- msgstr "Wybierz jedną z istniejących stron."
211
-
212
- #: ../cookie-notice.php:285
213
- msgid "Enter the full URL starting with http://"
214
- msgstr "Podaj pełny adres URL zaczynający się od http://"
215
-
216
- #: ../cookie-notice.php:304
217
- msgid "The ammount of time that cookie should be stored for."
218
- msgstr "Okres czasu przez jaki będzie przechowywane ciasteczko."
219
-
220
- #: ../cookie-notice.php:322
221
- msgid "Select location for your cookie notice."
222
- msgstr "Wybierz pozycję wiadomości o ciasteczkach."
223
-
224
- #: ../cookie-notice.php:340
225
- msgid "Cookie notice acceptance animation."
226
- msgstr "Animacja po akceptacji ciasteczek."
227
-
228
- #: ../cookie-notice.php:358
229
- msgid "Choose buttons style."
230
- msgstr "Wybierz styl dla przycisków."
231
-
232
- #: ../cookie-notice.php:473
233
- msgid "Support"
234
- msgstr "Forum pomocy"
235
-
236
- #: ../cookie-notice.php:495
237
- msgid "Settings"
238
- msgstr "Ustawienia"
239
-
240
- #: ../cookie-notice.php:524
241
- msgid ""
242
- "We use cookies to ensure that we give you the best experience on our "
243
- "website. If you continue to use this site we will assume that you are happy "
244
- "with it."
245
- msgstr ""
246
- "Ta strona korzysta z ciasteczek aby świadczyć usługi na najwyższym poziomie. "
247
- "Dalsze korzystanie ze strony oznacza, że zgadzasz się na ich użycie."
248
-
249
- #: ../cookie-notice.php:525
250
- msgid "Ok"
251
- msgstr "Zamknij"
252
-
253
- #: ../cookie-notice.php:526
254
- msgid "Read more"
255
- msgstr "Dowiedz się więcej"
256
-
257
- #~ msgid "Widgets"
258
- #~ msgstr "Widgety"
259
-
260
- #~ msgid "Pages"
261
- #~ msgstr "Strony"
262
-
263
- #~ msgid "Custom Post Types"
264
- #~ msgstr "Własne typy wpisów"
265
-
266
- #~ msgid "Custom Post Type Archives"
267
- #~ msgstr "Archiwa własnych typów wpisów"
268
-
269
- #~ msgid "Categories"
270
- #~ msgstr "Kategorie"
271
-
272
- #~ msgid "Taxonomies"
273
- #~ msgstr "Taksonomie"
274
-
275
- #~ msgid "Others"
276
- #~ msgstr "Inne"
277
-
278
- #~ msgid "Users"
279
- #~ msgstr "Użytkownicy"
280
-
281
- #~ msgid "Languages"
282
- #~ msgstr "Języki"
283
-
284
- #~ msgid "Front Page"
285
- #~ msgstr "Strona główna"
286
-
287
- #~ msgid "Blog Page"
288
- #~ msgstr "Strona z wpisami"
289
-
290
- #~ msgid "Single Posts"
291
- #~ msgstr "Pojedyncze wpisy"
292
-
293
- #~ msgid "Sticky Posts"
294
- #~ msgstr "Wpisy przyklejone"
295
-
296
- #~ msgid "Author Archive"
297
- #~ msgstr "Archiwum autora"
298
-
299
- #~ msgid "Date Archive"
300
- #~ msgstr "Archiwum daty"
301
-
302
- #~ msgid "404 Page"
303
- #~ msgstr "Strona błędów 404"
304
-
305
- #~ msgid "Search Page"
306
- #~ msgstr "Strona wyszukiwania"
307
-
308
- #~ msgid "Logged in users"
309
- #~ msgstr "Zalogowani użytkownicy"
310
-
311
- #~ msgid "Logged out users"
312
- #~ msgstr "Wylogowani użytkownicy"
313
-
314
- #~ msgid "Restrict widgets"
315
- #~ msgstr "Ograniczenia widgetów"
316
-
317
- #~ msgid ""
318
- #~ "Use this settings to manage access to widgets page and to restrict "
319
- #~ "availability of certain widgets, sidebars and widgets options to site "
320
- #~ "administrators only."
321
- #~ msgstr ""
322
- #~ "Użyj tych ustawień aby określić kto może mieć dostęp do widgetów, jakie "
323
- #~ "widgety, panele boczne i ustawienia widgetów są dostępne dla użytkowników "
324
- #~ "a jakie tylko dla administratorów."
325
-
326
- #~ msgid "Restrict Users"
327
- #~ msgstr "Ograniczenia użytkowników"
328
-
329
- #~ msgid "Select user roles restricted to manage widgets."
330
- #~ msgstr "Wybierz role użytkowników, którzy mogą zarządzać widgetami."
331
-
332
- #~ msgid "Restrict Sidebars"
333
- #~ msgstr "Ograniczenia paneli bocznych"
334
-
335
- #~ msgid "Select which sidebars will be restricted to admins only."
336
- #~ msgstr ""
337
- #~ "Wybierz panele boczne, które będą dostępne tylko dla administratorów."
338
-
339
- #~ msgid "Restrict Widgets"
340
- #~ msgstr "Ograniczenia widgetów"
341
-
342
- #~ msgid "Select which widgets will be restricted to admins only."
343
- #~ msgstr "Wybierz widgety, któe będą dostępne tylko dla administratorów."
344
-
345
- #~ msgid "Restrict Widget Options"
346
- #~ msgstr "Ograniczenia opcji widgetów"
347
-
348
- #~ msgid "Select which widget options will be restricted to admins only."
349
- #~ msgstr ""
350
- #~ "Wybierz które opcje widgetów, będą dostępne tylko dla administratorów."
351
-
352
- #~ msgid "Restrict Option Groups"
353
- #~ msgstr "Ograniczenia grup opcji"
354
-
355
- #~ msgid "Display widget options in groups"
356
- #~ msgstr "Wyświetl opcje widgetów w grupach"
357
-
358
- #~ msgid "Plugin Deactivation"
359
- #~ msgstr "Deaktywacja wtyczki"
360
-
361
- #~ msgid "Remove all plugin data on deactivation"
362
- #~ msgstr "Usuń wszystkie dane wtyczki podczas deaktywacji"
363
-
364
- #~ msgid "Created by"
365
- #~ msgstr "Stworzone przez"
366
-
367
- #~ msgid "Single %s"
368
- #~ msgstr "Pojedyncze %s"
369
-
370
- #~ msgid "%s Archive"
371
- #~ msgstr "Archiwum %s"
372
-
373
- #~ msgid "Display / Hide Widget"
374
- #~ msgstr "Wyświetl / Ukryj widget"
375
-
376
- #~ msgid "Display widget on selected"
377
- #~ msgstr "Wyświetl widget na wybranych stronach"
378
-
379
- #~ msgid "Hide widget on selected"
380
- #~ msgstr "Ukryj widget na wybranych stronach"
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Cookie Notice\n"
4
+ "POT-Creation-Date: 2014-07-25 09:45+0100\n"
5
+ "PO-Revision-Date: 2014-07-25 09:45+0100\n"
6
+ "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
+ "Language-Team: dFactory <info@dfactory.eu>\n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.6\n"
13
+ "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../cookie-notice.php:101
19
+ msgid "Top"
20
+ msgstr "Na górze"
21
+
22
+ #: ../cookie-notice.php:102
23
+ msgid "Bottom"
24
+ msgstr "Na dole"
25
+
26
+ #: ../cookie-notice.php:106 ../cookie-notice.php:137
27
+ msgid "None"
28
+ msgstr "Brak"
29
+
30
+ #: ../cookie-notice.php:107
31
+ msgid "WordPress"
32
+ msgstr "WordPress"
33
+
34
+ #: ../cookie-notice.php:108
35
+ msgid "Bootstrap"
36
+ msgstr "Bootstrap"
37
+
38
+ #: ../cookie-notice.php:112
39
+ msgid "Enable"
40
+ msgstr "Włącz"
41
+
42
+ #: ../cookie-notice.php:113
43
+ msgid "Disable"
44
+ msgstr "Wyłącz"
45
+
46
+ #: ../cookie-notice.php:117
47
+ msgid "Custom link"
48
+ msgstr "Własny link"
49
+
50
+ #: ../cookie-notice.php:118
51
+ msgid "Page link"
52
+ msgstr "Link do strony"
53
+
54
+ #: ../cookie-notice.php:122
55
+ msgid "Text color"
56
+ msgstr "Kolor tekstu"
57
+
58
+ #: ../cookie-notice.php:123
59
+ msgid "Bar color"
60
+ msgstr "Kolor tła"
61
+
62
+ #: ../cookie-notice.php:127
63
+ msgid "1 day"
64
+ msgstr "1 dzień"
65
+
66
+ #: ../cookie-notice.php:128
67
+ msgid "1 week"
68
+ msgstr "1 tydzień"
69
+
70
+ #: ../cookie-notice.php:129
71
+ msgid "1 month"
72
+ msgstr "1 miesiąc"
73
+
74
+ #: ../cookie-notice.php:130
75
+ msgid "3 months"
76
+ msgstr "3 miesiące"
77
+
78
+ #: ../cookie-notice.php:131
79
+ msgid "6 months"
80
+ msgstr "6 miesięcy"
81
+
82
+ #: ../cookie-notice.php:132
83
+ msgid "1 year"
84
+ msgstr "1 rok"
85
+
86
+ #: ../cookie-notice.php:133
87
+ msgid "infinity"
88
+ msgstr "W nieskończoność"
89
+
90
+ #: ../cookie-notice.php:138
91
+ msgid "Fade"
92
+ msgstr "Zanikanie"
93
+
94
+ #: ../cookie-notice.php:139
95
+ msgid "Slide"
96
+ msgstr "Przesuwanie"
97
+
98
+ #: ../cookie-notice.php:159
99
+ msgid ""
100
+ "We use cookies to ensure that we give you the best experience on our "
101
+ "website. If you continue to use this site we will assume that you are happy "
102
+ "with it."
103
+ msgstr ""
104
+ "Ta strona korzysta z ciasteczek aby świadczyć usługi na najwyższym poziomie. "
105
+ "Dalsze korzystanie ze strony oznacza, że zgadzasz się na ich użycie."
106
+
107
+ #: ../cookie-notice.php:160
108
+ msgid "Ok"
109
+ msgstr "Zamknij"
110
+
111
+ #: ../cookie-notice.php:161
112
+ msgid "Read more"
113
+ msgstr "Dowiedz się więcej"
114
+
115
+ #: ../cookie-notice.php:188 ../cookie-notice.php:189 ../cookie-notice.php:201
116
+ #: ../cookie-notice.php:204
117
+ msgid "Cookie Notice"
118
+ msgstr "Ciasteczka"
119
+
120
+ #: ../cookie-notice.php:206
121
+ msgid "Need support?"
122
+ msgstr "Potrzebujesz pomocy?"
123
+
124
+ #: ../cookie-notice.php:207
125
+ msgid ""
126
+ "If you are having problems with this plugin, please talk about them in the"
127
+ msgstr "Jeśli masz jakieś problemy z tą wtyczką, powiedz o nich"
128
+
129
+ #: ../cookie-notice.php:207
130
+ msgid "Support forum"
131
+ msgstr "Forum pomocy"
132
+
133
+ #: ../cookie-notice.php:209
134
+ msgid "Do you like this plugin?"
135
+ msgstr "Lubisz tę wtyczkę?"
136
+
137
+ #: ../cookie-notice.php:210
138
+ msgid "Rate it 5"
139
+ msgstr "Oceń ją na 5"
140
+
141
+ #: ../cookie-notice.php:210
142
+ msgid "on WordPress.org"
143
+ msgstr "na WordPress.org"
144
+
145
+ #: ../cookie-notice.php:211
146
+ msgid "Blog about it & link to the"
147
+ msgstr "Napisz o niej i dodaj link"
148
+
149
+ #: ../cookie-notice.php:211
150
+ msgid "plugin page"
151
+ msgstr "do strony wtyczki"
152
+
153
+ #: ../cookie-notice.php:212
154
+ msgid "Check out our other"
155
+ msgstr "Sprawdż nasze inne"
156
+
157
+ #: ../cookie-notice.php:212
158
+ msgid "WordPress plugins"
159
+ msgstr "wtyczki do WordPressa"
160
+
161
+ #: ../cookie-notice.php:238
162
+ msgid "Configuration"
163
+ msgstr "Konfiguracja"
164
+
165
+ #: ../cookie-notice.php:239
166
+ msgid "Message"
167
+ msgstr "Wiadomość"
168
+
169
+ #: ../cookie-notice.php:240 ../cookie-notice.php:316
170
+ msgid "Button text"
171
+ msgstr "Tekst przycisku"
172
+
173
+ #: ../cookie-notice.php:241
174
+ msgid "More info"
175
+ msgstr "Więcej informacji"
176
+
177
+ #: ../cookie-notice.php:242
178
+ msgid "Cookie expiry"
179
+ msgstr "Wygasanie cookie"
180
+
181
+ #: ../cookie-notice.php:243
182
+ msgid "Deactivation"
183
+ msgstr "Deaktywacja"
184
+
185
+ #: ../cookie-notice.php:246
186
+ msgid "Design"
187
+ msgstr "Wygląd"
188
+
189
+ #: ../cookie-notice.php:247
190
+ msgid "Position"
191
+ msgstr "Pozycja"
192
+
193
+ #: ../cookie-notice.php:248
194
+ msgid "Animation"
195
+ msgstr "Animacja"
196
+
197
+ #: ../cookie-notice.php:249
198
+ msgid "Button style"
199
+ msgstr "Styl przycisku"
200
+
201
+ #: ../cookie-notice.php:250
202
+ msgid "Colors"
203
+ msgstr "Kolorystyka"
204
+
205
+ #: ../cookie-notice.php:271
206
+ msgid "Enable if you want all plugin data to be deleted on deactivation."
207
+ msgstr ""
208
+ "Włącz jeśli chcesz usunąć wszystkie dane wtyczki podczas jej deaktywacji."
209
+
210
+ #: ../cookie-notice.php:282
211
+ msgid "Enter the cookie notice message."
212
+ msgstr "Wpisz treść informacji o ciasteczkach."
213
+
214
+ #: ../cookie-notice.php:292
215
+ msgid "The text to show on the button when cookies have not been accepted"
216
+ msgstr ""
217
+ "Tekst przycisku, który będzie wyświetlany gdy ciasteczka nie zostały jeszcze "
218
+ "zaakceptowane."
219
+
220
+ #: ../cookie-notice.php:312
221
+ msgid "Enable or Disable Read more button."
222
+ msgstr "Włącz lub wyłącz przycisk z linkiem do dodatkowych informacji."
223
+
224
+ #: ../cookie-notice.php:330
225
+ msgid "Select where to redirect user for more information about cookies."
226
+ msgstr ""
227
+ "Wybierz dokąd przekierować użytkownika aby uzyskał więcej informacji o "
228
+ "ciasteczkach."
229
+
230
+ #: ../cookie-notice.php:333
231
+ msgid "-- select page --"
232
+ msgstr "-- wybierz stronę --"
233
+
234
+ #: ../cookie-notice.php:343
235
+ msgid "Select from one of your site's pages"
236
+ msgstr "Wybierz jedną z istniejących stron."
237
+
238
+ #: ../cookie-notice.php:347
239
+ msgid "Enter the full URL starting with http://"
240
+ msgstr "Podaj pełny adres URL zaczynający się od http://"
241
+
242
+ #: ../cookie-notice.php:368
243
+ msgid "The ammount of time that cookie should be stored for."
244
+ msgstr "Okres czasu przez jaki będzie przechowywane ciasteczko."
245
+
246
+ #: ../cookie-notice.php:388
247
+ msgid "Select location for your cookie notice."
248
+ msgstr "Wybierz pozycję wiadomości o ciasteczkach."
249
+
250
+ #: ../cookie-notice.php:408
251
+ msgid "Cookie notice acceptance animation."
252
+ msgstr "Animacja po akceptacji ciasteczek."
253
+
254
+ #: ../cookie-notice.php:428
255
+ msgid "Choose buttons style."
256
+ msgstr "Wybierz styl dla przycisków."
257
+
258
+ #: ../cookie-notice.php:555
259
+ msgid "Support"
260
+ msgstr "Forum pomocy"
261
+
262
+ #: ../cookie-notice.php:586
263
+ msgid "Settings"
264
+ msgstr "Ustawienia"
265
+
266
+ #~ msgid "Widgets"
267
+ #~ msgstr "Widgety"
268
+
269
+ #~ msgid "Pages"
270
+ #~ msgstr "Strony"
271
+
272
+ #~ msgid "Custom Post Types"
273
+ #~ msgstr "Własne typy wpisów"
274
+
275
+ #~ msgid "Custom Post Type Archives"
276
+ #~ msgstr "Archiwa własnych typów wpisów"
277
+
278
+ #~ msgid "Categories"
279
+ #~ msgstr "Kategorie"
280
+
281
+ #~ msgid "Taxonomies"
282
+ #~ msgstr "Taksonomie"
283
+
284
+ #~ msgid "Others"
285
+ #~ msgstr "Inne"
286
+
287
+ #~ msgid "Users"
288
+ #~ msgstr "Użytkownicy"
289
+
290
+ #~ msgid "Languages"
291
+ #~ msgstr "Języki"
292
+
293
+ #~ msgid "Front Page"
294
+ #~ msgstr "Strona główna"
295
+
296
+ #~ msgid "Blog Page"
297
+ #~ msgstr "Strona z wpisami"
298
+
299
+ #~ msgid "Single Posts"
300
+ #~ msgstr "Pojedyncze wpisy"
301
+
302
+ #~ msgid "Sticky Posts"
303
+ #~ msgstr "Wpisy przyklejone"
304
+
305
+ #~ msgid "Author Archive"
306
+ #~ msgstr "Archiwum autora"
307
+
308
+ #~ msgid "Date Archive"
309
+ #~ msgstr "Archiwum daty"
310
+
311
+ #~ msgid "404 Page"
312
+ #~ msgstr "Strona błędów 404"
313
+
314
+ #~ msgid "Search Page"
315
+ #~ msgstr "Strona wyszukiwania"
316
+
317
+ #~ msgid "Logged in users"
318
+ #~ msgstr "Zalogowani użytkownicy"
319
+
320
+ #~ msgid "Logged out users"
321
+ #~ msgstr "Wylogowani użytkownicy"
322
+
323
+ #~ msgid "Restrict widgets"
324
+ #~ msgstr "Ograniczenia widgetów"
325
+
326
+ #~ msgid ""
327
+ #~ "Use this settings to manage access to widgets page and to restrict "
328
+ #~ "availability of certain widgets, sidebars and widgets options to site "
329
+ #~ "administrators only."
330
+ #~ msgstr ""
331
+ #~ "Użyj tych ustawień aby określić kto może mieć dostęp do widgetów, jakie "
332
+ #~ "widgety, panele boczne i ustawienia widgetów są dostępne dla użytkowników "
333
+ #~ "a jakie tylko dla administratorów."
334
+
335
+ #~ msgid "Restrict Users"
336
+ #~ msgstr "Ograniczenia użytkowników"
337
+
338
+ #~ msgid "Select user roles restricted to manage widgets."
339
+ #~ msgstr "Wybierz role użytkowników, którzy mogą zarządzać widgetami."
340
+
341
+ #~ msgid "Restrict Sidebars"
342
+ #~ msgstr "Ograniczenia paneli bocznych"
343
+
344
+ #~ msgid "Select which sidebars will be restricted to admins only."
345
+ #~ msgstr ""
346
+ #~ "Wybierz panele boczne, które będą dostępne tylko dla administratorów."
347
+
348
+ #~ msgid "Restrict Widgets"
349
+ #~ msgstr "Ograniczenia widgetów"
350
+
351
+ #~ msgid "Select which widgets will be restricted to admins only."
352
+ #~ msgstr "Wybierz widgety, któe będą dostępne tylko dla administratorów."
353
+
354
+ #~ msgid "Restrict Widget Options"
355
+ #~ msgstr "Ograniczenia opcji widgetów"
356
+
357
+ #~ msgid "Select which widget options will be restricted to admins only."
358
+ #~ msgstr ""
359
+ #~ "Wybierz które opcje widgetów, będą dostępne tylko dla administratorów."
360
+
361
+ #~ msgid "Restrict Option Groups"
362
+ #~ msgstr "Ograniczenia grup opcji"
363
+
364
+ #~ msgid "Display widget options in groups"
365
+ #~ msgstr "Wyświetl opcje widgetów w grupach"
366
+
367
+ #~ msgid "Created by"
368
+ #~ msgstr "Stworzone przez"
369
+
370
+ #~ msgid "Single %s"
371
+ #~ msgstr "Pojedyncze %s"
372
+
373
+ #~ msgid "%s Archive"
374
+ #~ msgstr "Archiwum %s"
375
+
376
+ #~ msgid "Display / Hide Widget"
377
+ #~ msgstr "Wyświetl / Ukryj widget"
378
+
379
+ #~ msgid "Display widget on selected"
380
+ #~ msgstr "Wyświetl widget na wybranych stronach"
381
+
382
+ #~ msgid "Hide widget on selected"
383
+ #~ msgstr "Ukryj widget na wybranych stronach"
languages/cookie-notice.pot CHANGED
@@ -1,249 +1,257 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cookie Notice\n"
4
- "POT-Creation-Date: 2013-07-02 18:32+0100\n"
5
- "PO-Revision-Date: 2013-07-02 18:32+0100\n"
6
- "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
- "Language: English\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.5\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../cookie-notice.php:84
19
  msgid "Top"
20
  msgstr ""
21
 
22
- #: ../cookie-notice.php:85
23
  msgid "Bottom"
24
  msgstr ""
25
 
26
- #: ../cookie-notice.php:89 ../cookie-notice.php:120
27
  msgid "None"
28
  msgstr ""
29
 
30
- #: ../cookie-notice.php:90
31
  msgid "WordPress"
32
  msgstr ""
33
 
34
- #: ../cookie-notice.php:91
35
  msgid "Bootstrap"
36
  msgstr ""
37
 
38
- #: ../cookie-notice.php:95
39
  msgid "Enable"
40
  msgstr ""
41
 
42
- #: ../cookie-notice.php:96
43
  msgid "Disable"
44
  msgstr ""
45
 
46
- #: ../cookie-notice.php:100
47
  msgid "Custom link"
48
  msgstr ""
49
 
50
- #: ../cookie-notice.php:101
51
  msgid "Page link"
52
  msgstr ""
53
 
54
- #: ../cookie-notice.php:105
55
  msgid "Text color"
56
  msgstr ""
57
 
58
- #: ../cookie-notice.php:106
59
  msgid "Bar color"
60
  msgstr ""
61
 
62
- #: ../cookie-notice.php:110
63
  msgid "1 day"
64
  msgstr ""
65
 
66
- #: ../cookie-notice.php:111
67
  msgid "1 week"
68
  msgstr ""
69
 
70
- #: ../cookie-notice.php:112
71
  msgid "1 month"
72
  msgstr ""
73
 
74
- #: ../cookie-notice.php:113
75
  msgid "3 months"
76
  msgstr ""
77
 
78
- #: ../cookie-notice.php:114
79
  msgid "6 months"
80
  msgstr ""
81
 
82
- #: ../cookie-notice.php:115
83
  msgid "1 year"
84
  msgstr ""
85
 
86
- #: ../cookie-notice.php:116
87
  msgid "infinity"
88
  msgstr ""
89
 
90
- #: ../cookie-notice.php:121
91
  msgid "Fade"
92
  msgstr ""
93
 
94
- #: ../cookie-notice.php:122
95
  msgid "Slide"
96
  msgstr ""
97
 
98
- #: ../cookie-notice.php:154 ../cookie-notice.php:155 ../cookie-notice.php:167
99
- #: ../cookie-notice.php:180
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  msgid "Cookie Notice"
101
  msgstr ""
102
 
103
- #: ../cookie-notice.php:182
104
  msgid "Need support?"
105
  msgstr ""
106
 
107
- #: ../cookie-notice.php:183
108
  msgid ""
109
  "If you are having problems with this plugin, please talk about them in the"
110
  msgstr ""
111
 
112
- #: ../cookie-notice.php:183
113
  msgid "Support forum"
114
  msgstr ""
115
 
116
- #: ../cookie-notice.php:185
117
  msgid "Do you like this plugin?"
118
  msgstr ""
119
 
120
- #: ../cookie-notice.php:186
121
  msgid "Rate it 5"
122
  msgstr ""
123
 
124
- #: ../cookie-notice.php:186
125
  msgid "on WordPress.org"
126
  msgstr ""
127
 
128
- #: ../cookie-notice.php:187
129
  msgid "Blog about it & link to the"
130
  msgstr ""
131
 
132
- #: ../cookie-notice.php:187
133
  msgid "plugin page"
134
  msgstr ""
135
 
136
- #: ../cookie-notice.php:188
137
  msgid "Check out our other"
138
  msgstr ""
139
 
140
- #: ../cookie-notice.php:188
141
  msgid "WordPress plugins"
142
  msgstr ""
143
 
144
- #: ../cookie-notice.php:204
145
  msgid "Configuration"
146
  msgstr ""
147
 
148
- #: ../cookie-notice.php:205
149
  msgid "Message"
150
  msgstr ""
151
 
152
- #: ../cookie-notice.php:206 ../cookie-notice.php:256
153
  msgid "Button text"
154
  msgstr ""
155
 
156
- #: ../cookie-notice.php:207
157
  msgid "More info"
158
  msgstr ""
159
 
160
- #: ../cookie-notice.php:208
161
  msgid "Cookie expiry"
162
  msgstr ""
163
 
164
- #: ../cookie-notice.php:211
 
 
 
 
165
  msgid "Design"
166
  msgstr ""
167
 
168
- #: ../cookie-notice.php:212
169
  msgid "Position"
170
  msgstr ""
171
 
172
- #: ../cookie-notice.php:213
173
- msgid "Hide animation"
174
  msgstr ""
175
 
176
- #: ../cookie-notice.php:214
177
  msgid "Button style"
178
  msgstr ""
179
 
180
- #: ../cookie-notice.php:215
181
  msgid "Colors"
182
  msgstr ""
183
 
184
- #: ../cookie-notice.php:224
 
 
 
 
185
  msgid "Enter the cookie notice message."
186
  msgstr ""
187
 
188
- #: ../cookie-notice.php:234
189
  msgid "The text to show on the button when cookies have not been accepted"
190
  msgstr ""
191
 
192
- #: ../cookie-notice.php:252
193
  msgid "Enable or Disable Read more button."
194
  msgstr ""
195
 
196
- #: ../cookie-notice.php:268
197
  msgid "Select where to redirect user for more information about cookies."
198
  msgstr ""
199
 
200
- #: ../cookie-notice.php:271
201
  msgid "-- select page --"
202
  msgstr ""
203
 
204
- #: ../cookie-notice.php:281
205
  msgid "Select from one of your site's pages"
206
  msgstr ""
207
 
208
- #: ../cookie-notice.php:285
209
  msgid "Enter the full URL starting with http://"
210
  msgstr ""
211
 
212
- #: ../cookie-notice.php:304
213
  msgid "The ammount of time that cookie should be stored for."
214
  msgstr ""
215
 
216
- #: ../cookie-notice.php:322
217
  msgid "Select location for your cookie notice."
218
  msgstr ""
219
 
220
- #: ../cookie-notice.php:340
221
  msgid "Cookie notice acceptance animation."
222
  msgstr ""
223
 
224
- #: ../cookie-notice.php:358
225
  msgid "Choose buttons style."
226
  msgstr ""
227
 
228
- #: ../cookie-notice.php:473
229
  msgid "Support"
230
  msgstr ""
231
 
232
- #: ../cookie-notice.php:495
233
  msgid "Settings"
234
  msgstr ""
235
-
236
- #: ../cookie-notice.php:524
237
- msgid ""
238
- "We use cookies to ensure that we give you the best experience on our "
239
- "website. If you continue to use this site we will assume that you are happy "
240
- "with it."
241
- msgstr ""
242
-
243
- #: ../cookie-notice.php:525
244
- msgid "Ok"
245
- msgstr ""
246
-
247
- #: ../cookie-notice.php:526
248
- msgid "Read more"
249
- msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cookie Notice\n"
4
+ "POT-Creation-Date: 2014-07-25 09:45+0100\n"
5
+ "PO-Revision-Date: 2014-07-25 09:45+0100\n"
6
+ "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
+ "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.6\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../cookie-notice.php:101
19
  msgid "Top"
20
  msgstr ""
21
 
22
+ #: ../cookie-notice.php:102
23
  msgid "Bottom"
24
  msgstr ""
25
 
26
+ #: ../cookie-notice.php:106 ../cookie-notice.php:137
27
  msgid "None"
28
  msgstr ""
29
 
30
+ #: ../cookie-notice.php:107
31
  msgid "WordPress"
32
  msgstr ""
33
 
34
+ #: ../cookie-notice.php:108
35
  msgid "Bootstrap"
36
  msgstr ""
37
 
38
+ #: ../cookie-notice.php:112
39
  msgid "Enable"
40
  msgstr ""
41
 
42
+ #: ../cookie-notice.php:113
43
  msgid "Disable"
44
  msgstr ""
45
 
46
+ #: ../cookie-notice.php:117
47
  msgid "Custom link"
48
  msgstr ""
49
 
50
+ #: ../cookie-notice.php:118
51
  msgid "Page link"
52
  msgstr ""
53
 
54
+ #: ../cookie-notice.php:122
55
  msgid "Text color"
56
  msgstr ""
57
 
58
+ #: ../cookie-notice.php:123
59
  msgid "Bar color"
60
  msgstr ""
61
 
62
+ #: ../cookie-notice.php:127
63
  msgid "1 day"
64
  msgstr ""
65
 
66
+ #: ../cookie-notice.php:128
67
  msgid "1 week"
68
  msgstr ""
69
 
70
+ #: ../cookie-notice.php:129
71
  msgid "1 month"
72
  msgstr ""
73
 
74
+ #: ../cookie-notice.php:130
75
  msgid "3 months"
76
  msgstr ""
77
 
78
+ #: ../cookie-notice.php:131
79
  msgid "6 months"
80
  msgstr ""
81
 
82
+ #: ../cookie-notice.php:132
83
  msgid "1 year"
84
  msgstr ""
85
 
86
+ #: ../cookie-notice.php:133
87
  msgid "infinity"
88
  msgstr ""
89
 
90
+ #: ../cookie-notice.php:138
91
  msgid "Fade"
92
  msgstr ""
93
 
94
+ #: ../cookie-notice.php:139
95
  msgid "Slide"
96
  msgstr ""
97
 
98
+ #: ../cookie-notice.php:159
99
+ msgid ""
100
+ "We use cookies to ensure that we give you the best experience on our "
101
+ "website. If you continue to use this site we will assume that you are happy "
102
+ "with it."
103
+ msgstr ""
104
+
105
+ #: ../cookie-notice.php:160
106
+ msgid "Ok"
107
+ msgstr ""
108
+
109
+ #: ../cookie-notice.php:161
110
+ msgid "Read more"
111
+ msgstr ""
112
+
113
+ #: ../cookie-notice.php:188 ../cookie-notice.php:189 ../cookie-notice.php:201
114
+ #: ../cookie-notice.php:204
115
  msgid "Cookie Notice"
116
  msgstr ""
117
 
118
+ #: ../cookie-notice.php:206
119
  msgid "Need support?"
120
  msgstr ""
121
 
122
+ #: ../cookie-notice.php:207
123
  msgid ""
124
  "If you are having problems with this plugin, please talk about them in the"
125
  msgstr ""
126
 
127
+ #: ../cookie-notice.php:207
128
  msgid "Support forum"
129
  msgstr ""
130
 
131
+ #: ../cookie-notice.php:209
132
  msgid "Do you like this plugin?"
133
  msgstr ""
134
 
135
+ #: ../cookie-notice.php:210
136
  msgid "Rate it 5"
137
  msgstr ""
138
 
139
+ #: ../cookie-notice.php:210
140
  msgid "on WordPress.org"
141
  msgstr ""
142
 
143
+ #: ../cookie-notice.php:211
144
  msgid "Blog about it & link to the"
145
  msgstr ""
146
 
147
+ #: ../cookie-notice.php:211
148
  msgid "plugin page"
149
  msgstr ""
150
 
151
+ #: ../cookie-notice.php:212
152
  msgid "Check out our other"
153
  msgstr ""
154
 
155
+ #: ../cookie-notice.php:212
156
  msgid "WordPress plugins"
157
  msgstr ""
158
 
159
+ #: ../cookie-notice.php:238
160
  msgid "Configuration"
161
  msgstr ""
162
 
163
+ #: ../cookie-notice.php:239
164
  msgid "Message"
165
  msgstr ""
166
 
167
+ #: ../cookie-notice.php:240 ../cookie-notice.php:316
168
  msgid "Button text"
169
  msgstr ""
170
 
171
+ #: ../cookie-notice.php:241
172
  msgid "More info"
173
  msgstr ""
174
 
175
+ #: ../cookie-notice.php:242
176
  msgid "Cookie expiry"
177
  msgstr ""
178
 
179
+ #: ../cookie-notice.php:243
180
+ msgid "Deactivation"
181
+ msgstr ""
182
+
183
+ #: ../cookie-notice.php:246
184
  msgid "Design"
185
  msgstr ""
186
 
187
+ #: ../cookie-notice.php:247
188
  msgid "Position"
189
  msgstr ""
190
 
191
+ #: ../cookie-notice.php:248
192
+ msgid "Animation"
193
  msgstr ""
194
 
195
+ #: ../cookie-notice.php:249
196
  msgid "Button style"
197
  msgstr ""
198
 
199
+ #: ../cookie-notice.php:250
200
  msgid "Colors"
201
  msgstr ""
202
 
203
+ #: ../cookie-notice.php:271
204
+ msgid "Enable if you want all plugin data to be deleted on deactivation."
205
+ msgstr ""
206
+
207
+ #: ../cookie-notice.php:282
208
  msgid "Enter the cookie notice message."
209
  msgstr ""
210
 
211
+ #: ../cookie-notice.php:292
212
  msgid "The text to show on the button when cookies have not been accepted"
213
  msgstr ""
214
 
215
+ #: ../cookie-notice.php:312
216
  msgid "Enable or Disable Read more button."
217
  msgstr ""
218
 
219
+ #: ../cookie-notice.php:330
220
  msgid "Select where to redirect user for more information about cookies."
221
  msgstr ""
222
 
223
+ #: ../cookie-notice.php:333
224
  msgid "-- select page --"
225
  msgstr ""
226
 
227
+ #: ../cookie-notice.php:343
228
  msgid "Select from one of your site's pages"
229
  msgstr ""
230
 
231
+ #: ../cookie-notice.php:347
232
  msgid "Enter the full URL starting with http://"
233
  msgstr ""
234
 
235
+ #: ../cookie-notice.php:368
236
  msgid "The ammount of time that cookie should be stored for."
237
  msgstr ""
238
 
239
+ #: ../cookie-notice.php:388
240
  msgid "Select location for your cookie notice."
241
  msgstr ""
242
 
243
+ #: ../cookie-notice.php:408
244
  msgid "Cookie notice acceptance animation."
245
  msgstr ""
246
 
247
+ #: ../cookie-notice.php:428
248
  msgid "Choose buttons style."
249
  msgstr ""
250
 
251
+ #: ../cookie-notice.php:555
252
  msgid "Support"
253
  msgstr ""
254
 
255
+ #: ../cookie-notice.php:586
256
  msgid "Settings"
257
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dfactory
3
  Donate link: http://www.dfactory.eu/
4
  Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
5
  Requires at least: 3.3
6
- Tested up to: 3.9.0
7
- Stable tag: 1.2.6
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -30,6 +30,7 @@ For more information, check out plugin page at [dFactory](http://www.dfactory.eu
30
  = Translations: =
31
  * German - by Alex Ernst
32
  * Dutch - by [Heleen van den Bos](http://www.bostekst.nl/)
 
33
  * Polish - by Bartosz Arendt
34
  * Portuguese - by Luis Maia
35
  * Spanish - by Fernando Blasco
@@ -51,6 +52,10 @@ No questions yet.
51
 
52
  == Changelog ==
53
 
 
 
 
 
54
  = 1.2.6 =
55
  * New: German translation, thanks to Alex Ernst
56
 
@@ -89,5 +94,6 @@ Initial release
89
 
90
  == Upgrade Notice ==
91
 
92
- = 1.2.6 =
93
- * New: German translation, thanks to Alex Ernst
 
3
  Donate link: http://www.dfactory.eu/
4
  Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
5
  Requires at least: 3.3
6
+ Tested up to: 3.9.1
7
+ Stable tag: 1.2.7
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
30
  = Translations: =
31
  * German - by Alex Ernst
32
  * Dutch - by [Heleen van den Bos](http://www.bostekst.nl/)
33
+ * French - by [Laura Orsal](http://www.traductrice-independante.fr)
34
  * Polish - by Bartosz Arendt
35
  * Portuguese - by Luis Maia
36
  * Spanish - by Fernando Blasco
52
 
53
  == Changelog ==
54
 
55
+ = 1.2.7 =
56
+ * New: French translation, thanks to [Laura Orsal](http://www.traductrice-independante.fr)
57
+ * New: Deleting plugin settings on deactivation as an option
58
+
59
  = 1.2.6 =
60
  * New: German translation, thanks to Alex Ernst
61
 
94
 
95
  == Upgrade Notice ==
96
 
97
+ = 1.2.7 =
98
+ * New: French translation, thanks to [Laura Orsal](http://www.traductrice-independante.fr)
99
+ * New: Deleting plugin settings on deactivation as an option