Cookie Consent - Version 2.2.2

Version Description

  • Fixed: text domain in class-ctcc-metafield (spotted by mmmisiek)
Download this release

Release Info

Developer Catapult_Themes
Plugin Icon 128x128 Cookie Consent
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

admin/class-ctcc-metafield.php CHANGED
@@ -32,7 +32,7 @@ if ( ! class_exists ( 'CTCC_Metafield' ) ) {
32
  $metaboxes = array (
33
  array (
34
  'ID' => 'ctcc_gallery_metabox',
35
- 'title' => __( 'Cookie Consent', 'dm_work' ),
36
  'callback' => 'meta_box_callback',
37
  'screens' => array( 'page', 'post' ),
38
  'context' => 'side',
32
  $metaboxes = array (
33
  array (
34
  'ID' => 'ctcc_gallery_metabox',
35
+ 'title' => __( 'Cookie Consent', 'uk-cookie-consent' ),
36
  'callback' => 'meta_box_callback',
37
  'screens' => array( 'page', 'post' ),
38
  'context' => 'side',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate Link: https://paypal.com
4
  Tags: cookie law, cookies, EU, implied consent, uk cookie consent, compliance, eu cookie law, eu privacy directive, privacy, privacy directive, consent, cookie, cookie compliance, cookie law, eu cookie, notice, notification, notify, cookie notice, cookie notification, cookie notify, wpml, cookie bar, cookie notification bar
5
  Requires at least: 4.3
6
  Tested up to: 4.6.1
7
- Stable tag: 2.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  The only cookie consent plugin you'll ever need.
@@ -70,12 +70,15 @@ You will find more details of the regulations on the [Information Commissioner's
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 2.2.1 =
74
- * Updated: better escapingn (suggested by @djpaul)
75
 
76
  = 2.2.0 =
77
- * Added: optionally exclude pages and posts from displaying the cookie notification (suggested by @jeffrobbins)
78
- * Added: close notification on scroll option (suggested by @jeffrobbins)
79
  * Added: class name for more info link
80
  * Fixed: x-close responsive margin
81
  * Updated: allow shortcodes in notification text
4
  Tags: cookie law, cookies, EU, implied consent, uk cookie consent, compliance, eu cookie law, eu privacy directive, privacy, privacy directive, consent, cookie, cookie compliance, cookie law, eu cookie, notice, notification, notify, cookie notice, cookie notification, cookie notify, wpml, cookie bar, cookie notification bar
5
  Requires at least: 4.3
6
  Tested up to: 4.6.1
7
+ Stable tag: 2.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  The only cookie consent plugin you'll ever need.
70
 
71
  == Changelog ==
72
 
73
+ = 2.2.2 =
74
+ * Fixed: text domain in class-ctcc-metafield (spotted by mmmisiek)
75
+
76
  = 2.2.1 =
77
+ * Updated: better escapingn (suggested by djpaul)
78
 
79
  = 2.2.0 =
80
+ * Added: optionally exclude pages and posts from displaying the cookie notification (suggested by jeffrobbins)
81
+ * Added: close notification on scroll option (suggested by jeffrobbins)
82
  * Added: class name for more info link
83
  * Fixed: x-close responsive margin
84
  * Updated: allow shortcodes in notification text
trunk/admin/class-ctcc-admin.php ADDED
@@ -0,0 +1,758 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Cookie Consent admin class
4
+ */
5
+
6
+ // Exit if accessed directly
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit;
9
+ }
10
+
11
+ /**
12
+ * Plugin admin class
13
+ **/
14
+ if ( ! class_exists ( 'CTCC_Admin' ) ) {
15
+
16
+ class CTCC_Admin {
17
+
18
+ public function __construct() {
19
+ //
20
+ }
21
+
22
+ /*
23
+ * Initialize the class and start calling our hooks and filters
24
+ * @since 2.0.0
25
+ */
26
+ public function init() {
27
+
28
+ add_action ( 'admin_menu', array ( $this, 'add_admin_menu' ) );
29
+ add_action ( 'admin_init', array ( $this, 'register_options_init' ) );
30
+ add_action ( 'admin_init', array ( $this, 'register_content_init' ) );
31
+ add_action ( 'admin_init', array ( $this, 'register_styles_init' ) );
32
+ add_action ( 'admin_enqueue_scripts', array ( $this, 'enqueue_scripts' ) );
33
+ add_action ( 'admin_footer', array ( $this, 'add_js' ) );
34
+
35
+ }
36
+
37
+ public function enqueue_scripts() {
38
+ wp_enqueue_style ( 'wp-color-picker' );
39
+ wp_enqueue_script ( 'wp-color-picker', false, array ( 'jquery' ) );
40
+ wp_enqueue_style ( 'ctcc-admin-style', CTCC_PLUGIN_URL . 'assets/css/admin-style.css' );
41
+ }
42
+
43
+ public function add_js() {
44
+ $screen = get_current_screen();
45
+ if ( $screen -> id == 'settings_page_ctcc' ) {
46
+ ?>
47
+ <script>
48
+ jQuery(document).ready(function($){
49
+ $('.cctc-color-field').wpColorPicker();
50
+ });
51
+ </script>
52
+ <?php }
53
+ }
54
+
55
+ // Add the menu item
56
+ public function add_admin_menu( ) {
57
+ add_options_page ( __('Cookie Consent', 'uk-cookie-consent'), __('Cookie Consent', 'uk-cookie-consent'), 'manage_options', 'ctcc', array ( $this, 'options_page' ) );
58
+ }
59
+
60
+ public function register_options_init( ) {
61
+
62
+ register_setting ( 'ctcc_options', 'ctcc_options_settings' );
63
+
64
+ add_settings_section (
65
+ 'ctcc_options_section',
66
+ __( 'General settings', 'uk-cookie-consent' ),
67
+ array ( $this, 'settings_section_callback' ),
68
+ 'ctcc_options'
69
+ );
70
+
71
+ add_settings_field (
72
+ 'closure',
73
+ __( 'Close', 'uk-cookie-consent' ),
74
+ array ( $this, 'closure_render' ),
75
+ 'ctcc_options',
76
+ 'ctcc_options_section'
77
+ );
78
+
79
+ add_settings_field (
80
+ 'first_page',
81
+ __( 'First Page Only', 'uk-cookie-consent' ),
82
+ array ( $this, 'first_page_render' ),
83
+ 'ctcc_options',
84
+ 'ctcc_options_section'
85
+ );
86
+
87
+ add_settings_field (
88
+ 'enable_metafield',
89
+ __( 'Selectively Exclude Pages', 'uk-cookie-consent' ),
90
+ array ( $this, 'enable_metafield_render' ),
91
+ 'ctcc_options',
92
+ 'ctcc_options_section'
93
+ );
94
+
95
+ add_settings_field (
96
+ 'duration',
97
+ __( 'Notification Duration', 'uk-cookie-consent' ),
98
+ array ( $this, 'duration_render' ),
99
+ 'ctcc_options',
100
+ 'ctcc_options_section'
101
+ );
102
+
103
+ add_settings_field (
104
+ 'scroll_height',
105
+ __( 'Scroll Height', 'uk-cookie-consent' ),
106
+ array ( $this, 'scroll_height_render' ),
107
+ 'ctcc_options',
108
+ 'ctcc_options_section'
109
+ );
110
+
111
+ add_settings_field (
112
+ 'cookie_expiry',
113
+ __( 'Cookie Expiry', 'uk-cookie-consent' ),
114
+ array ( $this, 'cookie_expiry_render' ),
115
+ 'ctcc_options',
116
+ 'ctcc_options_section'
117
+ );
118
+
119
+ add_settings_field (
120
+ 'cookie_version',
121
+ __( 'Cookie Version', 'uk-cookie-consent' ),
122
+ array ( $this, 'cookie_version_render' ),
123
+ 'ctcc_options',
124
+ 'ctcc_options_section'
125
+ );
126
+
127
+ // Set default options
128
+ $options = get_option ( 'ctcc_options_settings' );
129
+ if ( false === $options ) {
130
+ // Get defaults
131
+ $defaults = $this -> get_default_options_settings();
132
+ update_option ( 'ctcc_options_settings', $defaults );
133
+ }
134
+
135
+ }
136
+
137
+ public function sanitize_content( $input ){
138
+ $output = array();
139
+ foreach( $input as $key=>$value ) {
140
+ if( isset($input[$key] ) ) {
141
+ if( $key == 'notification_text' ) {
142
+ $output[$key] = esc_attr( $input[$key] );
143
+ } else if( $key == 'more_info_url' ) {
144
+ $output[$key] = esc_url( $input[$key] );
145
+ } else {
146
+ $output[$key] = sanitize_text_field( $input[$key] );
147
+ }
148
+ }
149
+ }
150
+ return $output;
151
+ }
152
+
153
+ public function register_content_init() {
154
+
155
+ register_setting ( 'ctcc_content', 'ctcc_content_settings', array( $this, 'sanitize_content') );
156
+
157
+ add_settings_section (
158
+ 'ctcc_content_section',
159
+ __( 'Content settings', 'uk-cookie-consent' ),
160
+ array ( $this, 'content_settings_section_callback' ),
161
+ 'ctcc_content'
162
+ );
163
+
164
+ add_settings_field (
165
+ 'heading_text',
166
+ __( 'Heading Text', 'uk-cookie-consent' ),
167
+ array ( $this, 'heading_text_render' ),
168
+ 'ctcc_content',
169
+ 'ctcc_content_section'
170
+ );
171
+
172
+ add_settings_field (
173
+ 'notification_text',
174
+ __( 'Notification Text', 'uk-cookie-consent' ),
175
+ array ( $this, 'notification_text_render' ),
176
+ 'ctcc_content',
177
+ 'ctcc_content_section'
178
+ );
179
+
180
+ add_settings_field (
181
+ 'more_info_text',
182
+ __( 'More Info Text', 'uk-cookie-consent' ),
183
+ array ( $this, 'more_info_text_render' ),
184
+ 'ctcc_content',
185
+ 'ctcc_content_section'
186
+ );
187
+
188
+ add_settings_field (
189
+ 'more_info_page',
190
+ __( 'More Info Page', 'uk-cookie-consent' ),
191
+ array ( $this, 'more_info_page_render' ),
192
+ 'ctcc_content',
193
+ 'ctcc_content_section'
194
+ );
195
+
196
+ add_settings_field (
197
+ 'more_info_url',
198
+ __( 'More Info URL', 'uk-cookie-consent' ),
199
+ array ( $this, 'more_info_url_render' ),
200
+ 'ctcc_content',
201
+ 'ctcc_content_section'
202
+ );
203
+
204
+ add_settings_field (
205
+ 'more_info_target',
206
+ __( 'More Info Target', 'uk-cookie-consent' ),
207
+ array ( $this, 'more_info_target_render' ),
208
+ 'ctcc_content',
209
+ 'ctcc_content_section'
210
+ );
211
+
212
+ add_settings_field (
213
+ 'accept_text',
214
+ __( 'Accept Text', 'uk-cookie-consent' ),
215
+ array ( $this, 'accept_text_render' ),
216
+ 'ctcc_content',
217
+ 'ctcc_content_section'
218
+ );
219
+
220
+ // Set default options
221
+ $options = get_option ( 'ctcc_content_settings' );
222
+ if ( false === $options ) {
223
+ // Get defaults
224
+ $defaults = $this -> get_default_content_settings();
225
+ update_option ( 'ctcc_content_settings', $defaults );
226
+ }
227
+
228
+ }
229
+
230
+ public function register_styles_init( ) {
231
+
232
+ register_setting ( 'ctcc_styles', 'ctcc_styles_settings' );
233
+
234
+ add_settings_section (
235
+ 'ctcc_styles_section',
236
+ __( 'Styles settings', 'uk-cookie-consent' ),
237
+ array ( $this, 'styles_settings_section_callback' ),
238
+ 'ctcc_styles'
239
+ );
240
+
241
+ add_settings_field (
242
+ 'position',
243
+ __( 'Position', 'uk-cookie-consent' ),
244
+ array ( $this, 'position_render' ),
245
+ 'ctcc_styles',
246
+ 'ctcc_styles_section'
247
+ );
248
+
249
+ add_settings_field (
250
+ 'container_class',
251
+ __( 'Container Class', 'uk-cookie-consent' ),
252
+ array ( $this, 'container_class_render' ),
253
+ 'ctcc_styles',
254
+ 'ctcc_styles_section'
255
+ );
256
+
257
+ add_settings_field (
258
+ 'enqueue_styles',
259
+ __( 'Include Stylesheet', 'uk-cookie-consent' ),
260
+ array ( $this, 'enqueue_styles_render' ),
261
+ 'ctcc_styles',
262
+ 'ctcc_styles_section'
263
+ );
264
+
265
+ add_settings_field (
266
+ 'rounded_corners',
267
+ __( 'Rounded Corners', 'uk-cookie-consent' ),
268
+ array ( $this, 'rounded_corners_render' ),
269
+ 'ctcc_styles',
270
+ 'ctcc_styles_section'
271
+ );
272
+
273
+ add_settings_field (
274
+ 'drop_shadow',
275
+ __( 'Drop Shadow', 'uk-cookie-consent' ),
276
+ array ( $this, 'drop_shadow_render' ),
277
+ 'ctcc_styles',
278
+ 'ctcc_styles_section'
279
+ );
280
+
281
+ add_settings_field (
282
+ 'display_accept_with_text',
283
+ __( 'Display Button With Text', 'uk-cookie-consent' ),
284
+ array ( $this, 'display_accept_with_text_render' ),
285
+ 'ctcc_styles',
286
+ 'ctcc_styles_section'
287
+ );
288
+
289
+ add_settings_field (
290
+ 'x_close',
291
+ __( 'Use X Close', 'uk-cookie-consent' ),
292
+ array ( $this, 'x_close_render' ),
293
+ 'ctcc_styles',
294
+ 'ctcc_styles_section'
295
+ );
296
+
297
+ add_settings_field (
298
+ 'text_color',
299
+ __( 'Text Color', 'uk-cookie-consent' ),
300
+ array ( $this, 'text_color_render' ),
301
+ 'ctcc_styles',
302
+ 'ctcc_styles_section'
303
+ );
304
+
305
+ add_settings_field (
306
+ 'bg_color',
307
+ __( 'Background Color', 'uk-cookie-consent' ),
308
+ array ( $this, 'bg_color_render' ),
309
+ 'ctcc_styles',
310
+ 'ctcc_styles_section'
311
+ );
312
+
313
+ add_settings_field (
314
+ 'link_color',
315
+ __( 'Link Color', 'uk-cookie-consent' ),
316
+ array ( $this, 'link_color_render' ),
317
+ 'ctcc_styles',
318
+ 'ctcc_styles_section'
319
+ );
320
+
321
+ add_settings_field (
322
+ 'button_color',
323
+ __( 'Button Color', 'uk-cookie-consent' ),
324
+ array ( $this, 'button_color_render' ),
325
+ 'ctcc_styles',
326
+ 'ctcc_styles_section'
327
+ );
328
+
329
+ add_settings_field (
330
+ 'button_bg_color',
331
+ __( 'Button Background', 'uk-cookie-consent' ),
332
+ array ( $this, 'button_bg_color_render' ),
333
+ 'ctcc_styles',
334
+ 'ctcc_styles_section'
335
+ );
336
+
337
+ add_settings_field (
338
+ 'bg_color',
339
+ __( 'Background Color', 'uk-cookie-consent' ),
340
+ array ( $this, 'bg_color_render' ),
341
+ 'ctcc_styles',
342
+ 'ctcc_styles_section'
343
+ );
344
+
345
+ add_settings_field (
346
+ 'flat_button',
347
+ __( 'Flat Button', 'uk-cookie-consent' ),
348
+ array ( $this, 'flat_button_render' ),
349
+ 'ctcc_styles',
350
+ 'ctcc_styles_section'
351
+ );
352
+
353
+ // Set default options
354
+ $options = get_option ( 'ctcc_styles_settings' );
355
+ if ( false === $options ) {
356
+ // Get defaults
357
+ $defaults = $this -> get_default_styles_settings();
358
+ update_option ( 'ctcc_styles_settings', $defaults );
359
+ }
360
+
361
+ }
362
+
363
+ public function get_default_options_settings() {
364
+ $defaults = array (
365
+ 'closure' => 'click',
366
+ 'scroll_height' => 200,
367
+ 'first_page' => 0,
368
+ 'enable_metafield' => 0,
369
+ 'duration' => 60,
370
+ 'cookie_expiry' => 30,
371
+ 'cookie_version' => 1
372
+ );
373
+ return $defaults;
374
+ }
375
+
376
+ public function get_default_content_settings() {
377
+
378
+ $previous_settings = get_option ( 'catapult_cookie_options' );
379
+ // Check for settings from previous version
380
+ if ( ! empty ( $previous_settings ) ) {
381
+ $defaults = array (
382
+ 'heading_text' => __( 'Cookies', 'uk-cookie-consent' ),
383
+ 'notification_text' => $previous_settings['catapult_cookie_text_settings'],
384
+ 'accept_text' => $previous_settings['catapult_cookie_accept_settings'],
385
+ 'more_info_text' => $previous_settings['catapult_cookie_more_settings'],
386
+ 'more_info_page' => '',
387
+ 'more_info_url' => site_url ( $previous_settings['catapult_cookie_link_settings'] ),
388
+ 'more_info_target' => '_blank',
389
+ );
390
+ } else {
391
+ $defaults = array (
392
+ 'heading_text' => __( 'Cookies', 'uk-cookie-consent' ),
393
+ 'notification_text' => __( 'This site uses cookies: ', 'uk-cookie-consent' ),
394
+ 'accept_text' => __( 'Okay, thanks', 'uk-cookie-consent' ),
395
+ 'more_info_text' => __( 'Find out more.', 'uk-cookie-consent' ),
396
+ 'more_info_page' => get_option( 'ctcc_more_info_page', '' ),
397
+ 'more_info_url' => '',
398
+ 'more_info_target' => '_blank',
399
+ );
400
+ }
401
+ return $defaults;
402
+
403
+ }
404
+
405
+ public function get_default_styles_settings() {
406
+ $previous_settings = get_option ( 'catapult_cookie_options' );
407
+ $defaults = array (
408
+ 'position' => 'top-bar',
409
+ 'container_class' => '',
410
+ 'enqueue_styles' => 1,
411
+ 'rounded_corners' => 1,
412
+ 'drop_shadow' => 1,
413
+ 'display_accept_with_text' => 1,
414
+ 'x_close' => 0,
415
+ 'text_color' => '#ddd',
416
+ 'bg_color' => '#464646',
417
+ 'link_color' => '#fff',
418
+ 'button_color' => '',
419
+ 'button_bg_color' => '',
420
+ 'flat_button' => 1,
421
+ );
422
+ // Check for settings from previous version
423
+
424
+ if ( ! empty ( $previous_settings['catapult_cookie_bar_position_settings'] ) ) {
425
+ $defaults['position'] = $previous_settings['catapult_cookie_bar_position_settings'] . '-bar';
426
+ }
427
+
428
+ if ( ! empty ( $previous_settings['catapult_cookie_text_colour_settings'] ) ) {
429
+ $defaults['text_color'] = $previous_settings['catapult_cookie_text_colour_settings'];
430
+ }
431
+
432
+ if ( ! empty ( $previous_settings['catapult_cookie_bg_colour_settings'] ) ) {
433
+ $defaults['bg_color'] = $previous_settings['catapult_cookie_bg_colour_settings'];
434
+ }
435
+
436
+ if ( ! empty ( $previous_settings['catapult_cookie_link_colour_settings'] ) ) {
437
+ $defaults['link_color'] = $previous_settings['catapult_cookie_link_colour_settings'];
438
+ }
439
+
440
+ if ( ! empty ( $previous_settings['catapult_cookie_link_colour_settings'] ) ) {
441
+ $defaults['link_color'] = $previous_settings['catapult_cookie_link_colour_settings'];
442
+ }
443
+
444
+ if ( ! empty ( $previous_settings['catapult_cookie_button_colour_settings'] ) ) {
445
+ $defaults['button_bg_color'] = $previous_settings['catapult_cookie_button_colour_settings'];
446
+ }
447
+
448
+ return $defaults;
449
+
450
+ }
451
+
452
+ public function closure_render() {
453
+ $options = get_option( 'ctcc_options_settings' ); ?>
454
+ <select name='ctcc_options_settings[closure]'>
455
+ <option value='click' <?php selected( $options['closure'], 'click' ); ?>><?php _e ( 'On Click', 'uk-cookie-consent' ); ?></option>
456
+ <option value='scroll' <?php selected( $options['closure'], 'scroll' ); ?>><?php _e ( 'On Scroll', 'uk-cookie-consent' ); ?></option>
457
+ <option value='timed' <?php selected( $options['closure'], 'timed' ); ?>><?php _e ( 'Timed', 'uk-cookie-consent' ); ?></option>
458
+
459
+ </select>
460
+ <p class="description"><?php _e ( 'How you want the user to close the notification', 'uk-cookie-consent' ); ?></p>
461
+ <?php
462
+ }
463
+
464
+ public function first_page_render() {
465
+ $options = get_option( 'ctcc_options_settings' ); ?>
466
+ <input type='checkbox' name='ctcc_options_settings[first_page]' <?php checked ( ! empty ( $options['first_page'] ), 1 ); ?> value='1'>
467
+ <p class="description"><?php _e ( 'Select this to show the notification only on the first page the user visits', 'uk-cookie-consent' ); ?></p>
468
+ <?php
469
+ }
470
+
471
+ public function scroll_height_render() {
472
+ $options = get_option( 'ctcc_options_settings' ); ?>
473
+ <input type="number" min="1" name="ctcc_options_settings[scroll_height]" value="<?php echo esc_attr( $options['scroll_height'] ); ?>">
474
+ <p class="description"><?php _e ( 'If you chose Scroll as the close method, enter the distance in pixels the user should scroll before the notification closes', 'uk-cookie-consent' ); ?></p>
475
+ <?php
476
+ }
477
+
478
+ public function duration_render() {
479
+ $options = get_option( 'ctcc_options_settings' ); ?>
480
+ <input type="number" min="1" name="ctcc_options_settings[duration]" value="<?php echo esc_attr( $options['duration'] ); ?>">
481
+ <p class="description"><?php _e ( 'If you chose Timer as the close method, enter how many seconds the notification should display for', 'uk-cookie-consent' ); ?></p>
482
+ <?php
483
+ }
484
+
485
+ public function cookie_expiry_render() {
486
+ $options = get_option( 'ctcc_options_settings' ); ?>
487
+ <input type="number" min="1" name="ctcc_options_settings[cookie_expiry]" value="<?php echo esc_attr( $options['cookie_expiry'] ); ?>">
488
+ <p class="description"><?php _e ( 'The number of days that the cookie is set for', 'uk-cookie-consent' ); ?></p>
489
+ <?php
490
+ }
491
+
492
+ public function cookie_version_render() {
493
+ $options = get_option( 'ctcc_options_settings' ); ?>
494
+ <input type="text" name="ctcc_options_settings[cookie_version]" value="<?php echo esc_attr( $options['cookie_version'] ); ?>">
495
+ <p class="description"><?php _e ( 'A version number for the cookie - update this to invalidate the cookie and force all users to view the notification again', 'uk-cookie-consent' ); ?></p>
496
+ <?php
497
+ }
498
+
499
+ /*
500
+ * Content renders
501
+ */
502
+
503
+ public function heading_text_render() {
504
+ $ctcc_content_settings = get_option( 'ctcc_content_settings' ); ?>
505
+ <input type="text" name="ctcc_content_settings[heading_text]" value="<?php echo esc_attr( $ctcc_content_settings['heading_text'] ); ?>">
506
+ <p class="description"><?php _e ( 'The heading text - only applies if you are not using a top or bottom bar', 'uk-cookie-consent' ); ?></p>
507
+ <?php
508
+ }
509
+
510
+ public function notification_text_render() {
511
+ $ctcc_content_settings = get_option( 'ctcc_content_settings' ); ?>
512
+ <input class="widefat" type="text" name="ctcc_content_settings[notification_text]" value="<?php echo esc_attr( $ctcc_content_settings['notification_text'] ); ?>">
513
+ <p class="description"><?php _e ( 'The default text to indicate that your site uses cookies', 'uk-cookie-consent' ); ?></p>
514
+ <?php
515
+ }
516
+
517
+ public function accept_text_render() {
518
+ $ctcc_content_settings = get_option( 'ctcc_content_settings' ); ?>
519
+ <input type="text" name="ctcc_content_settings[accept_text]" value="<?php echo esc_attr( $ctcc_content_settings['accept_text'] ); ?>">
520
+ <p class="description"><?php _e ( 'The default text to dismiss the notification', 'uk-cookie-consent' ); ?></p>
521
+ <?php
522
+ }
523
+
524
+ public function more_info_text_render() {
525
+ $ctcc_content_settings = get_option( 'ctcc_content_settings' ); ?>
526
+ <input type="text" name="ctcc_content_settings[more_info_text]" value="<?php echo esc_attr( $ctcc_content_settings['more_info_text'] ); ?>">
527
+ <p class="description"><?php _e ( 'The default text to use to link to a page providing further information', 'uk-cookie-consent' ); ?></p>
528
+ <?php
529
+ }
530
+
531
+ public function more_info_page_render() {
532
+ $ctcc_content_settings = get_option( 'ctcc_content_settings' );
533
+ // Get all pages
534
+ $pages = get_pages();
535
+ ?>
536
+ <?php if ( $pages ) { ?>
537
+ <select name='ctcc_content_settings[more_info_page]'>
538
+ <option></option>
539
+ <?php foreach ( $pages as $page ) { ?>
540
+ <option value='<?php echo $page -> ID; ?>' <?php selected( $ctcc_content_settings['more_info_page'], $page -> ID ); ?>><?php echo $page -> post_title; ?></option>
541
+ <?php } ?>
542
+ </select>
543
+ <p class="description"><?php _e ( 'The page containing further information about your cookie policy', 'discussion-board' ); ?></p>
544
+ <?php }
545
+ }
546
+
547
+ public function more_info_url_render() {
548
+ $ctcc_content_settings = get_option( 'ctcc_content_settings' ); ?>
549
+ <input type="url" name="ctcc_content_settings[more_info_url]" value="<?php echo esc_attr( $ctcc_content_settings['more_info_url'] ); ?>">
550
+ <p class="description"><?php _e ( 'You can add an absolute URL here to override the More Info Page setting above. Use this to link to an external website for further information about cookies.', 'uk-cookie-consent' ); ?></p>
551
+ <?php
552
+ }
553
+
554
+ public function more_info_target_render() {
555
+ $ctcc_content_settings = get_option( 'ctcc_content_settings' ); ?>
556
+ <select name='ctcc_content_settings[more_info_target]'>
557
+ <option value='_blank' <?php selected( $ctcc_content_settings['more_info_target'], '_blank' ); ?>><?php _e ( 'New Tab', 'uk-cookie-consent' ); ?></option>
558
+ <option value='_self' <?php selected( $ctcc_content_settings['more_info_target'], '_self' ); ?>><?php _e ( 'Same Tab', 'uk-cookie-consent' ); ?></option>
559
+ </select>
560
+ <p class="description"><?php _e ( 'Open the More Information page in the same or new tab.', 'uk-cookie-consent' ); ?></p>
561
+ <?php
562
+ }
563
+
564
+ /*
565
+ * Styles functions
566
+ */
567
+
568
+ public function position_render() {
569
+ $options = get_option( 'ctcc_styles_settings' ); ?>
570
+ <select name='ctcc_styles_settings[position]'>
571
+ <option value='top-bar' <?php selected( $options['position'], 'top-bar' ); ?>><?php _e ( 'Top Bar', 'uk-cookie-consent' ); ?></option>
572
+ <option value='bottom-bar' <?php selected( $options['position'], 'bottom-bar' ); ?>><?php _e ( 'Bottom Bar', 'uk-cookie-consent' ); ?></option>
573
+ <option value='top-left-block' <?php selected( $options['position'], 'top-left-block' ); ?>><?php _e ( 'Top Left Block', 'uk-cookie-consent' ); ?></option>
574
+ <option value='top-right-block' <?php selected( $options['position'], 'top-right-block' ); ?>><?php _e ( 'Top Right Block', 'uk-cookie-consent' ); ?></option>
575
+ <option value='bottom-left-block' <?php selected( $options['position'], 'bottom-left-block' ); ?>><?php _e ( 'Bottom Left Block', 'uk-cookie-consent' ); ?></option>
576
+ <option value='bottom-right-block' <?php selected( $options['position'], 'bottom-right-block' ); ?>><?php _e ( 'Bottom Right Block', 'uk-cookie-consent' ); ?></option>
577
+ </select>
578
+ <p class="description"><?php _e ( 'Where the notification should appear', 'uk-cookie-consent' ); ?></p>
579
+ <?php
580
+ }
581
+
582
+ public function container_class_render() {
583
+ $options = get_option( 'ctcc_styles_settings' ); ?>
584
+ <input type="text" name="ctcc_styles_settings[container_class]" value="<?php echo esc_attr( $options['container_class'] ); ?>">
585
+ <p class="description"><?php _e ( 'You can add an optional wrapper class, eg container, here to align the notification text with the rest of your content', 'uk-cookie-consent' ); ?></p>
586
+ <?php
587
+ }
588
+
589
+ public function enqueue_styles_render() {
590
+ $options = get_option( 'ctcc_styles_settings' ); ?>
591
+ <input type='checkbox' name='ctcc_styles_settings[enqueue_styles]' <?php checked ( ! empty ( $options['enqueue_styles'] ), 1 ); ?> value='1'>
592
+ <p class="description"><?php _e ( 'Deselect this to dequeue the plugin stylesheet', 'uk-cookie-consent' ); ?></p>
593
+ <?php
594
+ }
595
+
596
+ public function rounded_corners_render() {
597
+ $options = get_option( 'ctcc_styles_settings' ); ?>
598
+ <input type='checkbox' name='ctcc_styles_settings[rounded_corners]' <?php checked ( ! empty ( $options['rounded_corners'] ), 1 ); ?> value='1'>
599
+ <p class="description"><?php _e ( 'Round the corners on the block (doesn\'t apply to the top or bottom bar)', 'uk-cookie-consent' ); ?></p>
600
+ <?php
601
+ }
602
+
603
+ public function drop_shadow_render() {
604
+ $options = get_option( 'ctcc_styles_settings' ); ?>
605
+ <input type='checkbox' name='ctcc_styles_settings[drop_shadow]' <?php checked ( ! empty ( $options['drop_shadow'] ), 1 ); ?> value='1'>
606
+ <p class="description"><?php _e ( 'Add drop shadow to the block (doesn\'t apply to the top or bottom bar)', 'uk-cookie-consent' ); ?></p>
607
+ <?php
608
+ }
609
+
610
+ public function display_accept_with_text_render() {
611
+ $options = get_option( 'ctcc_styles_settings' ); ?>
612
+ <input type='checkbox' name='ctcc_styles_settings[display_accept_with_text]' <?php checked ( ! empty ( $options['display_accept_with_text'] ), 1 ); ?> value='1'>
613
+ <p class="description"><?php _e ( 'Display the confirmation button with notification text', 'uk-cookie-consent' ); ?></p>
614
+ <?php
615
+ }
616
+
617
+ public function x_close_render() {
618
+ $options = get_option( 'ctcc_styles_settings' ); ?>
619
+ <input type='checkbox' name='ctcc_styles_settings[x_close]' <?php checked ( ! empty ( $options['x_close'] ), 1 ); ?> value='1'>
620
+ <p class="description"><?php _e ( 'Remove confirmation button and use \'X\' icon instead', 'uk-cookie-consent' ); ?></p>
621
+ <?php
622
+ }
623
+
624
+ public function text_color_render() {
625
+ $options = get_option( 'ctcc_styles_settings' ); ?>
626
+ <input type="text" class="cctc-color-field" name="ctcc_styles_settings[text_color]" value="<?php echo esc_attr( $options['text_color'] ); ?>">
627
+ <p class="description"><?php _e ( 'The text color on the notification', 'uk-cookie-consent' ); ?></p>
628
+ <?php
629
+ }
630
+
631
+ public function bg_color_render() {
632
+ $options = get_option( 'ctcc_styles_settings' ); ?>
633
+ <input type="text" class="cctc-color-field" name="ctcc_styles_settings[bg_color]" value="<?php echo esc_attr( $options['bg_color'] ); ?>">
634
+ <p class="description"><?php _e ( 'The background color for the notification', 'uk-cookie-consent' ); ?></p>
635
+ <?php
636
+ }
637
+
638
+ public function link_color_render() {
639
+ $options = get_option( 'ctcc_styles_settings' ); ?>
640
+ <input type="text" class="cctc-color-field" name="ctcc_styles_settings[link_color]" value="<?php echo esc_attr( $options['link_color'] ); ?>">
641
+ <p class="description"><?php _e ( 'The link color on the notification', 'uk-cookie-consent' ); ?></p>
642
+ <?php
643
+ }
644
+
645
+ public function button_color_render() {
646
+ $options = get_option( 'ctcc_styles_settings' ); ?>
647
+ <input type="text" class="cctc-color-field" name="ctcc_styles_settings[button_color]" value="<?php echo esc_attr( $options['button_color'] ); ?>">
648
+ <p class="description"><?php _e ( 'The text color on the notification button', 'uk-cookie-consent' ); ?></p>
649
+ <?php
650
+ }
651
+
652
+ public function button_bg_color_render() {
653
+ $options = get_option( 'ctcc_styles_settings' ); ?>
654
+ <input type="text" class="cctc-color-field" name="ctcc_styles_settings[button_bg_color]" value="<?php echo esc_attr( $options['button_bg_color'] ); ?>">
655
+ <p class="description"><?php _e ( 'The background color on the notification button', 'uk-cookie-consent' ); ?></p>
656
+ <?php
657
+ }
658
+
659
+ public function flat_button_render() {
660
+ $options = get_option( 'ctcc_styles_settings' ); ?>
661
+ <input type='checkbox' name='ctcc_styles_settings[flat_button]' <?php checked ( ! empty ( $options['flat_button'] ), 1 ); ?> value='1'>
662
+ <p class="description"><?php _e ( 'Remove the border from the button', 'uk-cookie-consent' ); ?></p>
663
+ <?php
664
+ }
665
+
666
+ public function enable_metafield_render() {
667
+ $options = get_option( 'ctcc_options_settings' ); ?>
668
+ <input type='checkbox' name='ctcc_options_settings[enable_metafield]' <?php checked ( ! empty ( $options['enable_metafield'] ), 1 ); ?> value='1'>
669
+ <p class="description"><?php _e ( 'Select this to enable a metafield on pages and posts. Checking the metafield on a page or post will exclude that page from displaying the notification.', 'uk-cookie-consent' ); ?></p>
670
+ <?php
671
+ }
672
+
673
+ public function settings_section_callback() {
674
+ echo '<p>' .__( 'Basic settings', 'uk-cookie-consent' ) . '</p>';
675
+ }
676
+
677
+ public function content_settings_section_callback() {
678
+ echo '<p>' .__( 'Update the content displayed to the user', 'uk-cookie-consent' ) . '</p>';
679
+ }
680
+
681
+ public function styles_settings_section_callback() {
682
+ echo '<p>' .__( 'Change the styles here if you like - but it\'s better in the Customizer', 'uk-cookie-consent' ) . '</p>';
683
+ }
684
+
685
+ public function pages_settings_section_callback() {
686
+ echo '<p>' . __( 'Use this section to set exclusion rules for pages and posts.', 'uk-cookie-consent' ) . '</p>';
687
+ }
688
+
689
+ public function options_page() {
690
+ $reset = isset ( $_GET['reset'] ) ? $_GET['reset'] : '';
691
+ if ( isset ( $_POST['reset'] ) ) {
692
+
693
+ $defaults = $this -> get_default_styles_settings();
694
+ update_option ( 'ctcc_styles_settings', $defaults );
695
+
696
+ $defaults = $this -> get_default_content_settings();
697
+ update_option ( 'ctcc_content_settings', $defaults );
698
+
699
+ }
700
+ $current = isset ( $_GET['tab'] ) ? $_GET['tab'] : 'options';
701
+ $title = __( 'Cookie Consent', 'uk-cookie-consent' );
702
+ $tabs = array (
703
+ 'options' => __( 'General', 'uk-cookie-consent' ),
704
+ 'content' => __( 'Content', 'uk-cookie-consent' ),
705
+ 'styles' => __( 'Styles', 'uk-cookie-consent' )
706
+ );?>
707
+
708
+ <div class="wrap">
709
+ <h1><?php echo $title; ?></h1>
710
+ <div class="ctdb-outer-wrap">
711
+ <div class="ctdb-inner-wrap">
712
+ <h2 class="nav-tab-wrapper">
713
+ <?php foreach( $tabs as $tab => $name ) {
714
+ $class = ( $tab == $current ) ? ' nav-tab-active' : '';
715
+ echo "<a class='nav-tab$class' href='?page=ctcc&tab=$tab'>$name</a>";
716
+ } ?>
717
+ </h2>
718
+ <form action='options.php' method='post'>
719
+ <?php
720
+ settings_fields( 'ctcc_' . strtolower ( $current ) );
721
+ do_settings_sections( 'ctcc_' . strtolower ( $current ) );
722
+ submit_button();
723
+ ?>
724
+ </form>
725
+ <form method="post" action="">
726
+ <p class="submit">
727
+ <input name="reset" class="button button-secondary" type="submit" value="<?php _e ( 'Reset plugin defaults', 'uk-cookie-consent' ); ?>" >
728
+ <input type="hidden" name="action" value="reset" />
729
+ </p>
730
+ </form>
731
+ </div><!-- .ctdb-inner-wrap -->
732
+
733
+ <div class="ctdb-banners">
734
+ <div class="ctdb-banner hide-dbpro">
735
+ <a href="http://discussionboard.pro/?utm_source=plugin_ad&utm_medium=wp_plugin&utm_content=cookieconsent&utm_campaign=dbpro"><img src="<?php echo CTCC_PLUGIN_URL . 'assets/images/dbpro-ad-view.png'; ?>" alt="" ></a>
736
+ </div>
737
+ <div class="ctdb-banner">
738
+ <a href="http://superheroslider.catapultthemes.com/?utm_source=plugin_ad&utm_medium=wp_plugin&utm_content=cookieconsent&utm_campaign=superhero"><img src="<?php echo CTCC_PLUGIN_URL . 'assets/images/superhero-ad1.png'; ?>" alt="" ></a>
739
+ </div>
740
+ <div class="ctdb-banner">
741
+ <a href="https://sellastic.com/?ref=1&utm_source=plugin_ad&utm_medium=wp_plugin&utm_content=cookieconsent&utm_campaign=sellastic"><img src="<?php echo CTCC_PLUGIN_URL . 'assets/images/sellastic-ad1.jpg'; ?>" alt="" ></a>
742
+ </div>
743
+ <div class="ctdb-banner">
744
+ <a href="http://mode.catapultthemes.com/?utm_source=plugin_ad&utm_medium=wp_plugin&utm_content=cookieconsent&utm_campaign=themes"><img src="<?php echo CTCC_PLUGIN_URL . 'assets/images/themes-ad1.png'; ?>" alt="" ></a>
745
+ </div>
746
+ </div>
747
+
748
+ </div><!-- .ctdb-outer-wrap -->
749
+ </div><!-- .wrap -->
750
+ <?php
751
+ }
752
+
753
+
754
+ }
755
+
756
+ }
757
+
758
+
trunk/admin/class-ctcc-metafield.php ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Cookie Consent metafield class
4
+ */
5
+
6
+ // Exit if accessed directly
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit;
9
+ }
10
+
11
+ if ( ! class_exists ( 'CTCC_Metafield' ) ) {
12
+
13
+ class CTCC_Metafield {
14
+
15
+ public function __construct() {
16
+ //
17
+ }
18
+
19
+ /*
20
+ * Initialize the class and start calling our hooks and filters
21
+ * @since 2.0.0
22
+ */
23
+ public function init() {
24
+
25
+ add_action( 'add_meta_boxes', array ( $this, 'add_meta_box' ) );
26
+ add_action( 'save_post', array ( $this, 'save_metabox_data' ) );
27
+
28
+ }
29
+
30
+ public function metaboxes() {
31
+
32
+ $metaboxes = array (
33
+ array (
34
+ 'ID' => 'ctcc_gallery_metabox',
35
+ 'title' => __( 'Cookie Consent', 'uk-cookie-consent' ),
36
+ 'callback' => 'meta_box_callback',
37
+ 'screens' => array( 'page', 'post' ),
38
+ 'context' => 'side',
39
+ 'priority' => 'default',
40
+ 'fields' => array (
41
+ array (
42
+ 'ID' => 'ctcc_exclude',
43
+ 'name' => 'ctcc_exclude',
44
+ 'title' => __( 'Exclude from cookie notice', 'uk-cookie-consent' ),
45
+ 'type' => 'checkbox',
46
+ 'class' => ''
47
+ ),
48
+ ),
49
+ ),
50
+ );
51
+
52
+ return $metaboxes;
53
+
54
+ }
55
+
56
+ /*
57
+ * Register the metabox
58
+ * @since 1.0.0
59
+ */
60
+ public function add_meta_box() {
61
+
62
+ $metaboxes = $this->metaboxes();
63
+
64
+ foreach ( $metaboxes as $metabox ) {
65
+ add_meta_box (
66
+ $metabox['ID'],
67
+ $metabox['title'],
68
+ array ( $this, 'meta_box_callback' ),
69
+ $metabox['screens'],
70
+ $metabox['context'],
71
+ $metabox['priority'],
72
+ $metabox['fields']
73
+ );
74
+
75
+ }
76
+
77
+ }
78
+
79
+ /*
80
+ * Metabox callbacks
81
+ * @since 1.0.0
82
+ */
83
+ public function meta_box_callback ( $post, $fields ) {
84
+
85
+ wp_nonce_field ( 'save_metabox_data', 'ctcc_metabox_nonce' );
86
+
87
+ if ( $fields['args'] ) {
88
+
89
+ foreach ( $fields['args'] as $field ) {
90
+
91
+ switch ( $field['type'] ) {
92
+
93
+ case 'checkbox':
94
+ $this -> metabox_checkbox_output ( $post, $field );
95
+ break;
96
+
97
+ }
98
+
99
+ }
100
+
101
+ }
102
+
103
+ }
104
+
105
+ /*
106
+ * Metabox callback for checkbox
107
+ * @since 1.0.0
108
+ */
109
+ public function metabox_checkbox_output( $post, $field ) {
110
+
111
+ $field_value = 0;
112
+
113
+ // First check if we're on the post-new screen
114
+ global $pagenow;
115
+ if ( in_array ( $pagenow, array( 'post-new.php' ) ) ) {
116
+ // This is a new post screen so we can apply the default value
117
+ $field_value = $field['default'];
118
+ } else {
119
+ $custom = get_post_custom ( $post->ID );
120
+ if ( isset ( $custom[$field['ID']][0] ) ) {
121
+ $field_value = $custom[$field['ID']][0];
122
+ }
123
+ }
124
+ ?>
125
+ <div class="dm-work-metafield <?php echo $field['class']; ?>">
126
+
127
+ <input type="checkbox" id="<?php echo $field['name']; ?>" name="<?php echo $field['name']; ?>" value="1" <?php checked ( 1, $field_value ); ?>>
128
+ <label for="<?php echo $field['name']; ?>"><?php echo $field['title']; ?></label>
129
+ <?php if ( ! empty ( $field['label'] ) ) { ?>
130
+ <?php echo $field['label']; ?>
131
+ <?php } ?>
132
+ </div>
133
+ <?php
134
+ }
135
+
136
+ /*
137
+ * Save
138
+ * @since 1.0.0
139
+ */
140
+ public function save_metabox_data( $post_id ) {
141
+
142
+ // Check the nonce is set
143
+ if ( ! isset ( $_POST['ctcc_metabox_nonce'] ) ) {
144
+ return;
145
+ }
146
+
147
+ // Verify the nonce
148
+ if ( ! wp_verify_nonce ( $_POST['ctcc_metabox_nonce'], 'save_metabox_data' ) ) {
149
+ return;
150
+ }
151
+
152
+ // If this is an autosave, our form has not been submitted, so we don't want to do anything.
153
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
154
+ return;
155
+ }
156
+
157
+ // Check the user's permissions.
158
+ if ( ! current_user_can( 'edit_post', $post_id ) ) {
159
+ return;
160
+ }
161
+
162
+ // Save all our metaboxes
163
+ $metaboxes = $this -> metaboxes();
164
+ foreach ( $metaboxes as $metabox ) {
165
+ if ( $metabox['fields'] ) {
166
+ foreach ( $metabox['fields'] as $field ) {
167
+
168
+ if ( $field['type'] != 'divider' ) {
169
+
170
+ if ( isset ( $_POST[$field['name']] ) ) {
171
+ if ( $field['type'] == 'wysiwyg' ) {
172
+ $data = $_POST[$field['name']];
173
+ } else {
174
+ $data = sanitize_text_field ( $_POST[$field['name']] );
175
+ }
176
+ update_post_meta ( $post_id, $field['ID'], $data );
177
+ } else {
178
+ delete_post_meta ( $post_id, $field['ID'] );
179
+ }
180
+ }
181
+ }
182
+ }
183
+ }
184
+
185
+ }
186
+
187
+ }
188
+
189
+ }
trunk/admin/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
trunk/assets/css/admin-style.css ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ctdb-outer-wrap {
2
+ margin-right: 300px;
3
+ padding: 0;
4
+ }
5
+ .ctdb-inner-wrap {
6
+ position: relative;
7
+ width: 100%;
8
+ min-width: 463px;
9
+ float: left;
10
+ }
11
+ .ctdb-banners {
12
+ float: right;
13
+ margin-right: -300px;
14
+ width: 280px;
15
+ }
16
+ .ctdb-banners img {
17
+ max-width: 100%;
18
+ }
19
+ .ctdb-banner {
20
+ margin-bottom: 1.5em;
21
+ }
22
+ @media only screen and (max-width: 850px) {
23
+ .ctdb-outer-wrap {
24
+ margin-right: 0;
25
+ }
26
+ .ctdb-inner-wrap {
27
+ position: relative;
28
+ width: 100%;
29
+ min-width: 0;
30
+ float: none;
31
+ }
32
+ .ctdb-banners {
33
+ float: none;
34
+ margin-right: 0;
35
+ width: 100%;
36
+ }
37
+ .ctdb-banner {
38
+ float: left;
39
+ margin-right: 20px;
40
+ }
41
+ }
trunk/assets/css/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
trunk/assets/css/style.css ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ html.has-cookie-bar.cookie-bar-top-bar {
2
+ margin-top: 30px;
3
+ -webkit-transition: all 0.25s;
4
+ -moz-transition: all 0.25s;
5
+ transition: all 0.25s;
6
+ }
7
+ #catapult-cookie-bar {
8
+ box-sizing: border-box;
9
+ max-height: 0;
10
+ opacity: 0;
11
+ direction: ltr;
12
+ padding: 0 20px;
13
+ z-index: 99999;
14
+ overflow: hidden;
15
+ text-align:left;
16
+ -webkit-transition: all 0.25s;
17
+ -moz-transition: all 0.25s;
18
+ transition: all 0.25s;
19
+ }
20
+ #catapult-cookie-bar.rounded-corners {
21
+ border-radius: 3px;
22
+ }
23
+ #catapult-cookie-bar.drop-shadow {
24
+ -webkit-box-shadow: 0px 3px 9px 0px rgba(0,0,0,0.4);
25
+ -moz-box-shadow: 0px 3px 9px 0px rgba(0,0,0,0.4);
26
+ box-shadow: 0px 3px 9px 0px rgba(0,0,0,0.4);
27
+ }
28
+ .cookie-bar-block #catapult-cookie-bar {
29
+ max-height: 999px;
30
+ -webkit-transition: opacity 0.25s;
31
+ -moz-transition: opacity 0.25s;
32
+ transition: opacity 0.25s;
33
+ }
34
+ .has-cookie-bar #catapult-cookie-bar {
35
+ opacity: 1;
36
+ max-height: 999px;
37
+ min-height: 30px;
38
+ padding: 15px 20px 15px;
39
+ }
40
+ .cookie-bar-block #catapult-cookie-bar span {
41
+ display: block;
42
+ margin: 1em 0;
43
+ }
44
+ .cookie-bar-bar #catapult-cookie-bar.float-accept span.ctcc-right-side {
45
+ float: right;
46
+ }
47
+ button#catapultCookie {
48
+ cursor: pointer;
49
+ margin:0 20px 0 0;
50
+ }
51
+ .cookie-bar-bar button#catapultCookie {
52
+ margin:0 0 0 20px;
53
+ }
54
+ .cookie-bar-bar .ctcc-inner {
55
+ display: -webkit-flex;
56
+ display: flex;
57
+ -webkit-align-items: center;
58
+ align-items: center;
59
+ -webkit-justify-content: center;
60
+ justify-content: center;
61
+ position: relative;
62
+ }
63
+ .cookie-bar-bar .float-accept .ctcc-inner {
64
+ -webkit-justify-content: space-between;
65
+ justify-content: space-between;
66
+ }
67
+ @media screen and (max-width: 991px) {
68
+ .ctcc-left-side {
69
+ margin-right: 1em;
70
+ }
71
+ }
72
+ .ctcc-right-side {
73
+ -webkit-flex-shrink: 0;
74
+ flex-shrink: 0;
75
+ }
76
+ .cookie-bar-block #catapult-cookie-bar h3 {
77
+ margin: 0.5em 0 0;
78
+ }
79
+ .use_x_close .x_close {
80
+ position: absolute;
81
+ top: 10px;
82
+ right: 10px;
83
+ cursor: pointer;
84
+ font-family: sans-serif;
85
+ -webkit-transition-duration:0.5s;
86
+ transition-duration:0.5s;
87
+ }
88
+ .cookie-bar-bar .use_x_close .x_close {
89
+ right: 0;
90
+ top: 50%;
91
+ -webkit-transform: translateY(-50%);
92
+ transform: translateY(-50%);
93
+ }
94
+ .x_close {
95
+ -webkit-backface-visibility: hidden;
96
+ backface-visibility: hidden;
97
+ -webkit-transform: translate3d(0px,0px,0px);
98
+ width: 14px;
99
+ height: 30px;
100
+ position: relative;
101
+ margin: 0 auto;
102
+ -webkit-transform: rotate(0deg);
103
+ -moz-transform: rotate(0deg);
104
+ -o-transform: rotate(0deg);
105
+ transform: rotate(0deg);
106
+ -webkit-transition: .5s ease-in-out;
107
+ -moz-transition: .5s ease-in-out;
108
+ -o-transition: .5s ease-in-out;
109
+ transition: .5s ease-in-out;
110
+ cursor: pointer;
111
+ }
112
+ .x_close span {
113
+ display: block;
114
+ position: absolute;
115
+ height: 3px;
116
+ width: 14px;
117
+ background: #111;
118
+ border-radius: 6px;
119
+ opacity: 1;
120
+ left: 0;
121
+ -webkit-transform: rotate(0deg);
122
+ -moz-transform: rotate(0deg);
123
+ -o-transform: rotate(0deg);
124
+ transform: rotate(0deg);
125
+ -webkit-transition: .25s ease-in-out;
126
+ -moz-transition: .25s ease-in-out;
127
+ -o-transition: .25s ease-in-out;
128
+ transition: .25s ease-in-out;
129
+ transition-delay: .14s;
130
+ -webkit-transition-delay: .14s;
131
+ -moz-transition-delay: .14s;
132
+ }
133
+ .x_close span:nth-child(1),
134
+ .x_close span:nth-child(2) {
135
+ top: 14px;
136
+ }
137
+ .x_close span:nth-child(1) {
138
+ -webkit-transform: rotate(45deg);
139
+ -moz-transform: rotate(45deg);
140
+ -o-transform: rotate(45deg);
141
+ transform: rotate(45deg);
142
+ }
143
+ .x_close span:nth-child(2) {
144
+ -webkit-transform: rotate(-45deg);
145
+ -moz-transform: rotate(-45deg);
146
+ -o-transform: rotate(-45deg);
147
+ transform: rotate(-45deg);
148
+ }
149
+ .x_close:hover span:nth-child(1) {
150
+ -webkit-transform: rotate(0);
151
+ -moz-transform: rotate(0);
152
+ -o-transform: rotate(0);
153
+ transform: rotate(0);
154
+ }
155
+ .x_close:hover span:nth-child(2) {
156
+ -webkit-transform: rotate(0);
157
+ -moz-transform: rotate(0);
158
+ -o-transform: rotate(0);
159
+ transform: rotate(0);
160
+ }
trunk/assets/images/dbpro-ad-view.png ADDED
Binary file
trunk/assets/images/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
trunk/assets/images/sellastic-ad1.jpg ADDED
Binary file
trunk/assets/images/superhero-ad1.png ADDED
Binary file
trunk/assets/images/themes-ad1.jpg ADDED
Binary file
trunk/assets/images/themes-ad1.png ADDED
Binary file
trunk/assets/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
trunk/assets/js/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
trunk/assets/js/uk-cookie-consent-js.js ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //All the cookie setting stuff
2
+ function catapultSetCookie(cookieName, cookieValue, nDays) {
3
+ var today = new Date();
4
+ var expire = new Date();
5
+ if (nDays==null || nDays==0) nDays=1;
6
+ expire.setTime(today.getTime() + 3600000*24*nDays);
7
+ document.cookie = cookieName+"="+escape(cookieValue)+ ";expires="+expire.toGMTString()+"; path=/";
8
+ }
9
+ function catapultReadCookie(cookieName) {
10
+ var theCookie=" "+document.cookie;
11
+ var ind=theCookie.indexOf(" "+cookieName+"=");
12
+ if (ind==-1) ind=theCookie.indexOf(";"+cookieName+"=");
13
+ if (ind==-1 || cookieName=="") return "";
14
+ var ind1=theCookie.indexOf(";",ind+1);
15
+ if (ind1==-1) ind1=theCookie.length;
16
+ // Returns true if the versions match
17
+ return ctcc_vars.version == unescape(theCookie.substring(ind+cookieName.length+2,ind1));
18
+ }
19
+ function catapultDeleteCookie(cookieName) {
20
+ document.cookie = cookieName + '=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/';
21
+ }
22
+ function catapultAcceptCookies() {
23
+ catapultSetCookie('catAccCookies', ctcc_vars.version, ctcc_vars.expiry);
24
+ jQuery("html").removeClass('has-cookie-bar');
25
+ jQuery("html").css("margin-top","0");
26
+ }
27
+ // The function called by the timer
28
+ function ctccCloseNotification() {
29
+ catapultAcceptCookies();
30
+ }
31
+ // The function called if first page only is specified
32
+ function ctccFirstPage() {
33
+ if ( ctcc_vars.method ) {
34
+ catapultSetCookie('catAccCookies', ctcc_vars.version, ctcc_vars.expiry);
35
+ }
36
+ }
37
+ jQuery(document).ready(function($){
38
+ $('.x_close').on('click', function(){
39
+ catapultAcceptCookies();
40
+ });
41
+ });
trunk/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
trunk/languages/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
trunk/languages/uk-cookie-consent-en_GB.mo ADDED
Binary file
trunk/languages/uk-cookie-consent-en_GB.po ADDED
@@ -0,0 +1,410 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Cookie Consent 2.0.0\n"
4
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/uk-cookie-"
5
+ "consent\n"
6
+ "POT-Creation-Date: 2016-01-13 00:18+0100\n"
7
+ "PO-Revision-Date: 2016-01-13 00:18+0100\n"
8
+ "Last-Translator: Jędrzej Raczyński <jedrzejraczynski@gmail.com>\n"
9
+ "Language-Team: Catapult_Themes <info@catapultthemes.com>\n"
10
+ "Language: en\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.8.6\n"
15
+ "X-Poedit-KeywordsList: gettext;gettext_noop;_e;_n;__\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #. Plugin Name of the plugin/theme
20
+ #: admin/class-ctcc-admin.php:56 admin/class-ctcc-admin.php:630
21
+ #: public/customizer.php:17
22
+ msgid "Cookie Consent"
23
+ msgstr ""
24
+
25
+ #: admin/class-ctcc-admin.php:65
26
+ msgid "General settings"
27
+ msgstr ""
28
+
29
+ #: admin/class-ctcc-admin.php:72
30
+ msgid "Close"
31
+ msgstr ""
32
+
33
+ #: admin/class-ctcc-admin.php:80
34
+ msgid "First Page Only"
35
+ msgstr ""
36
+
37
+ #: admin/class-ctcc-admin.php:88
38
+ msgid "Notification Duration"
39
+ msgstr ""
40
+
41
+ #: admin/class-ctcc-admin.php:96
42
+ msgid "Cookie Expiry"
43
+ msgstr ""
44
+
45
+ #: admin/class-ctcc-admin.php:104
46
+ msgid "Cookie Version"
47
+ msgstr ""
48
+
49
+ #: admin/class-ctcc-admin.php:126
50
+ msgid "Content settings"
51
+ msgstr ""
52
+
53
+ #: admin/class-ctcc-admin.php:133
54
+ msgid "Heading Text"
55
+ msgstr ""
56
+
57
+ #: admin/class-ctcc-admin.php:141
58
+ msgid "Notification Text"
59
+ msgstr ""
60
+
61
+ #: admin/class-ctcc-admin.php:149
62
+ msgid "More Info Text"
63
+ msgstr ""
64
+
65
+ #: admin/class-ctcc-admin.php:157
66
+ msgid "More Info Page"
67
+ msgstr ""
68
+
69
+ #: admin/class-ctcc-admin.php:165
70
+ msgid "More Info URL"
71
+ msgstr ""
72
+
73
+ #: admin/class-ctcc-admin.php:173
74
+ msgid "More Info Target"
75
+ msgstr ""
76
+
77
+ #: admin/class-ctcc-admin.php:181
78
+ msgid "Accept Text"
79
+ msgstr ""
80
+
81
+ #: admin/class-ctcc-admin.php:203
82
+ msgid "Styles settings"
83
+ msgstr ""
84
+
85
+ #: admin/class-ctcc-admin.php:210 public/customizer.php:34
86
+ msgid "Position"
87
+ msgstr ""
88
+
89
+ #: admin/class-ctcc-admin.php:218 public/customizer.php:58
90
+ msgid "Container Class"
91
+ msgstr ""
92
+
93
+ #: admin/class-ctcc-admin.php:226
94
+ msgid "Include Stylesheet"
95
+ msgstr ""
96
+
97
+ #: admin/class-ctcc-admin.php:234 public/customizer.php:90
98
+ msgid "Rounded Corners"
99
+ msgstr ""
100
+
101
+ #: admin/class-ctcc-admin.php:242 public/customizer.php:106
102
+ msgid "Drop Shadow"
103
+ msgstr ""
104
+
105
+ #: admin/class-ctcc-admin.php:250 public/customizer.php:122
106
+ msgid "Display Button With Text"
107
+ msgstr ""
108
+
109
+ #: admin/class-ctcc-admin.php:258 public/customizer.php:138
110
+ msgid "Use X Close"
111
+ msgstr ""
112
+
113
+ #: admin/class-ctcc-admin.php:266 public/customizer.php:154
114
+ msgid "Text Color"
115
+ msgstr ""
116
+
117
+ #: admin/class-ctcc-admin.php:274 admin/class-ctcc-admin.php:306
118
+ #: public/customizer.php:170
119
+ msgid "Background Color"
120
+ msgstr ""
121
+
122
+ #: admin/class-ctcc-admin.php:282 public/customizer.php:186
123
+ msgid "Link Color"
124
+ msgstr ""
125
+
126
+ #: admin/class-ctcc-admin.php:290 public/customizer.php:202
127
+ msgid "Button Color"
128
+ msgstr ""
129
+
130
+ #: admin/class-ctcc-admin.php:298 public/customizer.php:218
131
+ msgid "Button Background"
132
+ msgstr ""
133
+
134
+ #: admin/class-ctcc-admin.php:339 admin/class-ctcc-admin.php:349
135
+ msgid "Cookies"
136
+ msgstr ""
137
+
138
+ #: admin/class-ctcc-admin.php:350
139
+ msgid "This site uses cookies: "
140
+ msgstr ""
141
+
142
+ #: admin/class-ctcc-admin.php:351
143
+ msgid "Okay, thanks"
144
+ msgstr ""
145
+
146
+ #: admin/class-ctcc-admin.php:352
147
+ msgid "Find out more."
148
+ msgstr ""
149
+
150
+ #: admin/class-ctcc-admin.php:411
151
+ msgid "On Click"
152
+ msgstr ""
153
+
154
+ #: admin/class-ctcc-admin.php:412
155
+ msgid "Timed"
156
+ msgstr ""
157
+
158
+ #: admin/class-ctcc-admin.php:414
159
+ msgid "How you want the user to close the notification"
160
+ msgstr ""
161
+
162
+ #: admin/class-ctcc-admin.php:421
163
+ msgid ""
164
+ "Select this to show the notification only on the first page the user visits"
165
+ msgstr ""
166
+
167
+ #: admin/class-ctcc-admin.php:428
168
+ msgid ""
169
+ "If you chose Timer as the close method, enter how many seconds the "
170
+ "notification should display for"
171
+ msgstr ""
172
+
173
+ #: admin/class-ctcc-admin.php:435
174
+ msgid "The number of days that the cookie is set for"
175
+ msgstr ""
176
+
177
+ #: admin/class-ctcc-admin.php:442
178
+ msgid ""
179
+ "A version number for the cookie - update this to invalidate the cookie and "
180
+ "force all users to view the notification again"
181
+ msgstr ""
182
+
183
+ #: admin/class-ctcc-admin.php:453
184
+ msgid ""
185
+ "The heading text - only applies if you are not using a top or bottom bar"
186
+ msgstr ""
187
+
188
+ #: admin/class-ctcc-admin.php:460
189
+ msgid "The default text to indicate that your site uses cookies"
190
+ msgstr ""
191
+
192
+ #: admin/class-ctcc-admin.php:467
193
+ msgid "The default text to dismiss the notification"
194
+ msgstr ""
195
+
196
+ #: admin/class-ctcc-admin.php:474
197
+ msgid "The default text to use to link to a page providing further information"
198
+ msgstr ""
199
+
200
+ #: admin/class-ctcc-admin.php:490
201
+ msgid "The page containing further information about your cookie policy"
202
+ msgstr ""
203
+
204
+ #: admin/class-ctcc-admin.php:497
205
+ msgid ""
206
+ "You can add an absolute URL here to override the More Info Page setting "
207
+ "above. Use this to link to an external website for further information about "
208
+ "cookies."
209
+ msgstr ""
210
+
211
+ #: admin/class-ctcc-admin.php:504
212
+ msgid "New Tab"
213
+ msgstr ""
214
+
215
+ #: admin/class-ctcc-admin.php:505
216
+ msgid "Same Tab"
217
+ msgstr ""
218
+
219
+ #: admin/class-ctcc-admin.php:507
220
+ msgid "Open the More Information page in the same or new tab."
221
+ msgstr ""
222
+
223
+ #: admin/class-ctcc-admin.php:518 public/customizer.php:36
224
+ msgid "Top Bar"
225
+ msgstr ""
226
+
227
+ #: admin/class-ctcc-admin.php:519 public/customizer.php:37
228
+ msgid "Bottom Bar"
229
+ msgstr ""
230
+
231
+ #: admin/class-ctcc-admin.php:520 public/customizer.php:38
232
+ msgid "Top Left Block"
233
+ msgstr ""
234
+
235
+ #: admin/class-ctcc-admin.php:521 public/customizer.php:39
236
+ msgid "Top Right Block"
237
+ msgstr ""
238
+
239
+ #: admin/class-ctcc-admin.php:522 public/customizer.php:40
240
+ msgid "Bottom Left Block"
241
+ msgstr ""
242
+
243
+ #: admin/class-ctcc-admin.php:523 public/customizer.php:41
244
+ msgid "Bottom Right Block"
245
+ msgstr ""
246
+
247
+ #: admin/class-ctcc-admin.php:525
248
+ msgid "Where the notification should appear"
249
+ msgstr ""
250
+
251
+ #: admin/class-ctcc-admin.php:532
252
+ msgid ""
253
+ "You can add an optional wrapper class, eg container, here to align the "
254
+ "notification text with the rest of your content"
255
+ msgstr ""
256
+
257
+ #: admin/class-ctcc-admin.php:539
258
+ msgid "Deselect this to dequeue the plugin stylesheet"
259
+ msgstr ""
260
+
261
+ #: admin/class-ctcc-admin.php:546
262
+ msgid "Round the corners on the block (doesn't apply to the top or bottom bar)"
263
+ msgstr ""
264
+
265
+ #: admin/class-ctcc-admin.php:553
266
+ msgid "Add drop shadow to the block (doesn't apply to the top or bottom bar)"
267
+ msgstr ""
268
+
269
+ #: admin/class-ctcc-admin.php:560
270
+ msgid "Display the confirmation button with notification text"
271
+ msgstr ""
272
+
273
+ #: admin/class-ctcc-admin.php:567
274
+ msgid "Remove confirmation button and use 'X' icon instead"
275
+ msgstr ""
276
+
277
+ #: admin/class-ctcc-admin.php:574
278
+ msgid "The text color on the notification"
279
+ msgstr ""
280
+
281
+ #: admin/class-ctcc-admin.php:581
282
+ msgid "The background color for the notification"
283
+ msgstr ""
284
+
285
+ #: admin/class-ctcc-admin.php:588
286
+ msgid "The link color on the notification"
287
+ msgstr ""
288
+
289
+ #: admin/class-ctcc-admin.php:595
290
+ msgid "The text color on the notification button"
291
+ msgstr ""
292
+
293
+ #: admin/class-ctcc-admin.php:602
294
+ msgid "The background color on the notification button"
295
+ msgstr ""
296
+
297
+ #: admin/class-ctcc-admin.php:607
298
+ msgid "<p>Basic settings</p>"
299
+ msgstr ""
300
+
301
+ #: admin/class-ctcc-admin.php:611
302
+ msgid "<p>Update the content displayed to the user</p>"
303
+ msgstr ""
304
+
305
+ #: admin/class-ctcc-admin.php:615
306
+ msgid ""
307
+ "<p>Change the styles here if you like - but it's better in the Customizer</p>"
308
+ msgstr ""
309
+
310
+ #: admin/class-ctcc-admin.php:632
311
+ msgid "General"
312
+ msgstr ""
313
+
314
+ #: admin/class-ctcc-admin.php:633
315
+ msgid "Content"
316
+ msgstr ""
317
+
318
+ #: admin/class-ctcc-admin.php:634
319
+ msgid "Styles"
320
+ msgstr ""
321
+
322
+ #: admin/class-ctcc-admin.php:656
323
+ msgid "Reset plugin defaults"
324
+ msgstr ""
325
+
326
+ #: public/customizer.php:43
327
+ msgid "Position and placement."
328
+ msgstr ""
329
+
330
+ #: public/customizer.php:59
331
+ msgid "Optional wrapper class."
332
+ msgstr ""
333
+
334
+ #: public/customizer.php:74
335
+ msgid "Enqueue Styles"
336
+ msgstr ""
337
+
338
+ #: public/customizer.php:75
339
+ msgid "Deselect this to dequeue the plugin stylesheet."
340
+ msgstr ""
341
+
342
+ #: public/customizer.php:91
343
+ msgid "Round the corners on the block."
344
+ msgstr ""
345
+
346
+ #: public/customizer.php:107
347
+ msgid "Add drop shadow to the block."
348
+ msgstr ""
349
+
350
+ #: public/customizer.php:123
351
+ msgid "Deselect to float button to right."
352
+ msgstr ""
353
+
354
+ #: public/customizer.php:139
355
+ msgid "Replace confirmation button with 'X' icon."
356
+ msgstr ""
357
+
358
+ #: public/customizer.php:155
359
+ msgid "Text color for your notification bar."
360
+ msgstr ""
361
+
362
+ #: public/customizer.php:171
363
+ msgid "Background color for your notification bar."
364
+ msgstr ""
365
+
366
+ #: public/customizer.php:187
367
+ msgid "Link color for your notification bar."
368
+ msgstr ""
369
+
370
+ #: public/customizer.php:203
371
+ msgid "Text color for your notification bar button."
372
+ msgstr ""
373
+
374
+ #: public/customizer.php:219
375
+ msgid "Background color for your notification bar button."
376
+ msgstr ""
377
+
378
+ #: uk-cookie-consent.php:54
379
+ msgid "Cookie Policy"
380
+ msgstr ""
381
+
382
+ #: uk-cookie-consent.php:55
383
+ msgid ""
384
+ "This site uses cookies - small text files that are placed on your machine to "
385
+ "help the site provide a better user experience. In general, cookies are used "
386
+ "to retain user preferences, store information for things like shopping "
387
+ "carts, and provide anonymised tracking data to third party applications like "
388
+ "Google Analytics. As a rule, cookies will make your browsing experience "
389
+ "better. However, you may prefer to disable cookies on this site and on "
390
+ "others. The most effective way to do this is to disable cookies in your "
391
+ "browser. We suggest consulting the Help section of your browser or taking a "
392
+ "look at <a href=\"http://www.aboutcookies.org\">the About Cookies website</"
393
+ "a> which offers guidance for all modern browsers"
394
+ msgstr ""
395
+
396
+ #. Plugin URI of the plugin/theme
397
+ msgid "http://catapultthemes.com/cookie-consent/"
398
+ msgstr ""
399
+
400
+ #. Description of the plugin/theme
401
+ msgid "The only cookie consent plugin you'll ever need."
402
+ msgstr ""
403
+
404
+ #. Author of the plugin/theme
405
+ msgid "Catapult_Themes"
406
+ msgstr ""
407
+
408
+ #. Author URI of the plugin/theme
409
+ msgid "http://catapultthemes.com/"
410
+ msgstr ""
trunk/languages/uk-cookie-consent-it_IT.mo ADDED
Binary file
trunk/languages/uk-cookie-consent-it_IT.po ADDED
@@ -0,0 +1,453 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2016 Cookie Consent
2
+ # This file is distributed under the same license as the Cookie Consent package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Cookie Consent 2.0.3\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/uk-cookie-"
7
+ "consent\n"
8
+ "POT-Creation-Date: 2016-01-12 23:15:34+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2016-07-27 17:07+0100\n"
13
+ "Last-Translator: Angelo Giammarresi <info@wocmultimedia.com>\n"
14
+ "Language-Team: Angelo Giammarresi <info@wocmultimedia.com>\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "Language: it_IT\n"
17
+ "X-Generator: Poedit 1.5.7\n"
18
+
19
+ #. #-#-#-#-# uk-cookie-consent.pot (Cookie Consent 2.0.3) #-#-#-#-#
20
+ #. Plugin Name of the plugin/theme
21
+ #: admin/class-ctcc-admin.php:56 admin/class-ctcc-admin.php:630
22
+ #: public/customizer.php:17
23
+ msgid "Cookie Consent"
24
+ msgstr "Consenso Cookie "
25
+
26
+ #: admin/class-ctcc-admin.php:65
27
+ msgid "General settings"
28
+ msgstr "Impostazioni Generali"
29
+
30
+ #: admin/class-ctcc-admin.php:72
31
+ msgid "Close"
32
+ msgstr "Chiudi"
33
+
34
+ #: admin/class-ctcc-admin.php:80
35
+ msgid "First Page Only"
36
+ msgstr "Solo Prima Pagina"
37
+
38
+ #: admin/class-ctcc-admin.php:88
39
+ msgid "Notification Duration"
40
+ msgstr "Durata Avviso"
41
+
42
+ #: admin/class-ctcc-admin.php:96
43
+ msgid "Cookie Expiry"
44
+ msgstr "Scadenza Cookie"
45
+
46
+ #: admin/class-ctcc-admin.php:104
47
+ msgid "Cookie Version"
48
+ msgstr "Versione Cookie"
49
+
50
+ #: admin/class-ctcc-admin.php:126
51
+ msgid "Content settings"
52
+ msgstr "Impostazioni contenuti"
53
+
54
+ #: admin/class-ctcc-admin.php:133
55
+ msgid "Heading Text"
56
+ msgstr "Testo Intestazione"
57
+
58
+ #: admin/class-ctcc-admin.php:141
59
+ msgid "Notification Text"
60
+ msgstr "Testo Avviso"
61
+
62
+ #: admin/class-ctcc-admin.php:149
63
+ msgid "More Info Text"
64
+ msgstr "Testo Maggiori Informazioni"
65
+
66
+ #: admin/class-ctcc-admin.php:157
67
+ msgid "More Info Page"
68
+ msgstr "Pagina Maggiori Informazioni"
69
+
70
+ #: admin/class-ctcc-admin.php:165
71
+ msgid "More Info URL"
72
+ msgstr "URL di Approfondimento"
73
+
74
+ #: admin/class-ctcc-admin.php:173
75
+ msgid "More Info Target"
76
+ msgstr "Destinazione Pagina Informazioni"
77
+
78
+ #: admin/class-ctcc-admin.php:181
79
+ msgid "Accept Text"
80
+ msgstr "Testo Accettazione"
81
+
82
+ #: admin/class-ctcc-admin.php:203
83
+ msgid "Styles settings"
84
+ msgstr "Impostazioni Stili"
85
+
86
+ #: admin/class-ctcc-admin.php:210 public/customizer.php:34
87
+ msgid "Position"
88
+ msgstr "Posizione"
89
+
90
+ #: admin/class-ctcc-admin.php:218 public/customizer.php:58
91
+ msgid "Container Class"
92
+ msgstr "Classe Container"
93
+
94
+ #: admin/class-ctcc-admin.php:226
95
+ msgid "Include Stylesheet"
96
+ msgstr "Includere Foglio di Stile"
97
+
98
+ #: admin/class-ctcc-admin.php:234 public/customizer.php:90
99
+ msgid "Rounded Corners"
100
+ msgstr "Spigoli Arrotondati"
101
+
102
+ #: admin/class-ctcc-admin.php:242 public/customizer.php:106
103
+ msgid "Drop Shadow"
104
+ msgstr "Ombra Esterna"
105
+
106
+ #: admin/class-ctcc-admin.php:250 public/customizer.php:122
107
+ msgid "Display Button With Text"
108
+ msgstr "Visualizza pulsante con testo"
109
+
110
+ #: admin/class-ctcc-admin.php:258 public/customizer.php:138
111
+ msgid "Use X Close"
112
+ msgstr "Usa una X per chiudere"
113
+
114
+ #: admin/class-ctcc-admin.php:266 public/customizer.php:154
115
+ msgid "Text Color"
116
+ msgstr "Colore Testo"
117
+
118
+ #: admin/class-ctcc-admin.php:274 admin/class-ctcc-admin.php:306
119
+ #: public/customizer.php:170
120
+ msgid "Background Color"
121
+ msgstr "Colore Sfondo"
122
+
123
+ #: admin/class-ctcc-admin.php:282 public/customizer.php:186
124
+ msgid "Link Color"
125
+ msgstr "Colore Link"
126
+
127
+ #: admin/class-ctcc-admin.php:290 public/customizer.php:202
128
+ msgid "Button Color"
129
+ msgstr "Colore Testo Pulsante"
130
+
131
+ #: admin/class-ctcc-admin.php:298 public/customizer.php:218
132
+ msgid "Button Background"
133
+ msgstr "Colore Sfondo Pulsante"
134
+
135
+ #: admin/class-ctcc-admin.php:339 admin/class-ctcc-admin.php:349
136
+ msgid "Cookies"
137
+ msgstr "Cookies"
138
+
139
+ #: admin/class-ctcc-admin.php:350
140
+ msgid "This site uses cookies: "
141
+ msgstr "Questo sito utilizza i cookie:"
142
+
143
+ #: admin/class-ctcc-admin.php:351
144
+ msgid "Okay, thanks"
145
+ msgstr "Va bene, grazie"
146
+
147
+ #: admin/class-ctcc-admin.php:352
148
+ msgid "Find out more."
149
+ msgstr "Leggi di più."
150
+
151
+ #: admin/class-ctcc-admin.php:411
152
+ msgid "On Click"
153
+ msgstr "Quando Clicchi"
154
+
155
+ #: admin/class-ctcc-admin.php:412
156
+ msgid "Timed"
157
+ msgstr "Temporizzato"
158
+
159
+ #: admin/class-ctcc-admin.php:414
160
+ msgid "How you want the user to close the notification"
161
+ msgstr "Come desideri che l'utente chiuda la notifica"
162
+
163
+ #: admin/class-ctcc-admin.php:421
164
+ msgid ""
165
+ "Select this to show the notification only on the first page the user visits"
166
+ msgstr ""
167
+ "Seleziona questa casella se vuoi mostrare l'avviso solo nella prima pagina "
168
+ "che l'utente visita"
169
+
170
+ #: admin/class-ctcc-admin.php:428
171
+ msgid ""
172
+ "If you chose Timer as the close method, enter how many seconds the "
173
+ "notification should display for"
174
+ msgstr ""
175
+ "Se scegli Temporizzato come metodo di chiusura, devi inserire quanti secondi "
176
+ "desideri che l'avviso venga mostrato prima di chiudersi"
177
+
178
+ #: admin/class-ctcc-admin.php:435
179
+ msgid "The number of days that the cookie is set for"
180
+ msgstr "Il numero di giorni che il cookie viene tenuto in memoria"
181
+
182
+ #: admin/class-ctcc-admin.php:442
183
+ msgid ""
184
+ "A version number for the cookie - update this to invalidate the cookie and "
185
+ "force all users to view the notification again"
186
+ msgstr ""
187
+ "Contatore numerico del cookie - se il inserisci un valore maggiore di 1 si "
188
+ "annulla il cookie e si obbliga l'utente a rivedere nuovamente l'avviso per "
189
+ "il numero di volte che imposti in questa casella"
190
+
191
+ #: admin/class-ctcc-admin.php:453
192
+ msgid ""
193
+ "The heading text - only applies if you are not using a top or bottom bar"
194
+ msgstr ""
195
+ "Il testo dell'Intestazione - appare solo quando la posizione scelta "
196
+ "dell'avviso non è in Alto o in Basso"
197
+
198
+ #: admin/class-ctcc-admin.php:460
199
+ msgid "The default text to indicate that your site uses cookies"
200
+ msgstr ""
201
+ "Il testo predefinito per indicare che il tuo sito sta utilizzando i cookie"
202
+
203
+ #: admin/class-ctcc-admin.php:467
204
+ msgid "The default text to dismiss the notification"
205
+ msgstr "Il testo predefinito per chiudere l'avviso"
206
+
207
+ #: admin/class-ctcc-admin.php:474
208
+ msgid "The default text to use to link to a page providing further information"
209
+ msgstr ""
210
+ "Il testo predefinito da usare come link per la pagina di approfondimento "
211
+ "delle informazioni sui cookie"
212
+
213
+ #: admin/class-ctcc-admin.php:490
214
+ msgid "The page containing further information about your cookie policy"
215
+ msgstr ""
216
+ "La pagina contenente le informazioni di approfondimento sull'utilizzo dei "
217
+ "cookie"
218
+
219
+ #: admin/class-ctcc-admin.php:497
220
+ msgid ""
221
+ "You can add an absolute URL here to override the More Info Page setting "
222
+ "above. Use this to link to an external website for further information about "
223
+ "cookies."
224
+ msgstr ""
225
+ "Puoi inserire qui una URL assoluta e non tener conto delle impostazioni "
226
+ "soprastanti per la Pagina Maggiori Informazioni"
227
+
228
+ #: admin/class-ctcc-admin.php:504
229
+ msgid "New Tab"
230
+ msgstr "Nuova Scheda"
231
+
232
+ #: admin/class-ctcc-admin.php:505
233
+ msgid "Same Tab"
234
+ msgstr "Stessa Scheda"
235
+
236
+ #: admin/class-ctcc-admin.php:507
237
+ msgid "Open the More Information page in the same or new tab."
238
+ msgstr ""
239
+ "Apre la Pagina Maggiori Informazioni nella stessa scheda oppure in una nuova "
240
+ "scheda."
241
+
242
+ #: admin/class-ctcc-admin.php:518 public/customizer.php:36
243
+ msgid "Top Bar"
244
+ msgstr "Barra in Alto"
245
+
246
+ #: admin/class-ctcc-admin.php:519 public/customizer.php:37
247
+ msgid "Bottom Bar"
248
+ msgstr "Barra in Basso"
249
+
250
+ #: admin/class-ctcc-admin.php:520 public/customizer.php:38
251
+ msgid "Top Left Block"
252
+ msgstr "Blocco in Alto a Sinistra"
253
+
254
+ #: admin/class-ctcc-admin.php:521 public/customizer.php:39
255
+ msgid "Top Right Block"
256
+ msgstr "Blocco in Alto a Destra"
257
+
258
+ #: admin/class-ctcc-admin.php:522 public/customizer.php:40
259
+ msgid "Bottom Left Block"
260
+ msgstr "Blocco in Basso a Sinistra"
261
+
262
+ #: admin/class-ctcc-admin.php:523 public/customizer.php:41
263
+ msgid "Bottom Right Block"
264
+ msgstr "Blocco in Basso a Destra"
265
+
266
+ #: admin/class-ctcc-admin.php:525
267
+ msgid "Where the notification should appear"
268
+ msgstr "Dove vuoi che appaia l'avviso o notifica"
269
+
270
+ #: admin/class-ctcc-admin.php:532
271
+ msgid ""
272
+ "You can add an optional wrapper class, eg container, here to align the "
273
+ "notification text with the rest of your content"
274
+ msgstr ""
275
+ "Si può aggiungere qui opzionalmente una classe wrapper, es. container, per "
276
+ "allineare il testo della notifica con il resto del contenuto"
277
+
278
+ #: admin/class-ctcc-admin.php:539
279
+ msgid "Deselect this to dequeue the plugin stylesheet"
280
+ msgstr ""
281
+ "Deseleziona la casella per non aggiungere il foglio di stile del plugin"
282
+
283
+ #: admin/class-ctcc-admin.php:546
284
+ msgid "Round the corners on the block (doesn't apply to the top or bottom bar)"
285
+ msgstr ""
286
+ "Arrotonda gli angoli del blocco contenente l'avviso (non funziona con Barra "
287
+ "in Alto e Barra in Basso)"
288
+
289
+ #: admin/class-ctcc-admin.php:553
290
+ msgid "Add drop shadow to the block (doesn't apply to the top or bottom bar)"
291
+ msgstr ""
292
+ "Aggiunge un'ombra esterna al blocco contenente l'avviso (non funziona con "
293
+ "Barra in Alto e Barra in Basso)"
294
+
295
+ #: admin/class-ctcc-admin.php:560
296
+ msgid "Display the confirmation button with notification text"
297
+ msgstr "Visualizza il pulsante di accettazione con il testo di notifica"
298
+
299
+ #: admin/class-ctcc-admin.php:567
300
+ msgid "Remove confirmation button and use 'X' icon instead"
301
+ msgstr ""
302
+ "Rimuove il pulsante di accettazione e al suo posto utilizza l'icona di una "
303
+ "'X' per chiudere l'avviso"
304
+
305
+ #: admin/class-ctcc-admin.php:574
306
+ msgid "The text color on the notification"
307
+ msgstr "Il colore del testo della notifica"
308
+
309
+ #: admin/class-ctcc-admin.php:581
310
+ msgid "The background color for the notification"
311
+ msgstr "Il colore di sfondo della notifica"
312
+
313
+ #: admin/class-ctcc-admin.php:588
314
+ msgid "The link color on the notification"
315
+ msgstr "Il colore del link usato nella notifica"
316
+
317
+ #: admin/class-ctcc-admin.php:595
318
+ msgid "The text color on the notification button"
319
+ msgstr "Il colore del testo del pulsante della notifica"
320
+
321
+ #: admin/class-ctcc-admin.php:602
322
+ msgid "The background color on the notification button"
323
+ msgstr "Il colore dello sfondo del pulsante della notifica"
324
+
325
+ #: admin/class-ctcc-admin.php:607
326
+ msgid "<p>Basic settings</p>"
327
+ msgstr "<p>Impostazioni di base</p>"
328
+
329
+ #: admin/class-ctcc-admin.php:611
330
+ msgid "<p>Update the content displayed to the user</p>"
331
+ msgstr "<p>Aggiorna il contenuto mostrato all'utente</p>"
332
+
333
+ #: admin/class-ctcc-admin.php:615
334
+ msgid ""
335
+ "<p>Change the styles here if you like - but it's better in the Customizer</p>"
336
+ msgstr ""
337
+ "<p>Si può cambiare qui gli stili se si desiera - ma è meglio utilizzare "
338
+ "Personalizza (Customizer) di WP </p>"
339
+
340
+ #: admin/class-ctcc-admin.php:632
341
+ msgid "General"
342
+ msgstr "Generale"
343
+
344
+ #: admin/class-ctcc-admin.php:633
345
+ msgid "Content"
346
+ msgstr "Contenuto"
347
+
348
+ #: admin/class-ctcc-admin.php:634
349
+ msgid "Styles"
350
+ msgstr "Stili"
351
+
352
+ #: admin/class-ctcc-admin.php:656
353
+ msgid "Reset plugin defaults"
354
+ msgstr "Ripristina impostazioni predefinite del plugin"
355
+
356
+ #: public/customizer.php:43
357
+ msgid "Position and placement."
358
+ msgstr "Posizione e posizionamento."
359
+
360
+ #: public/customizer.php:59
361
+ msgid "Optional wrapper class."
362
+ msgstr "Classe wrapper opzionale."
363
+
364
+ #: public/customizer.php:74
365
+ msgid "Enqueue Styles"
366
+ msgstr "Stili di accodamento"
367
+
368
+ #: public/customizer.php:75
369
+ msgid "Deselect this to dequeue the plugin stylesheet."
370
+ msgstr ""
371
+ "Deselezionare per annullare l'accodamento del foglio di stile del plugin."
372
+
373
+ #: public/customizer.php:91
374
+ msgid "Round the corners on the block."
375
+ msgstr "Arrotonda gli angoli del blocco."
376
+
377
+ #: public/customizer.php:107
378
+ msgid "Add drop shadow to the block."
379
+ msgstr "Aggiunge un'ombra esterna al blocco."
380
+
381
+ #: public/customizer.php:123
382
+ msgid "Deselect to float button to right."
383
+ msgstr "Deselezionare per spostare il pulsante alla destra."
384
+
385
+ #: public/customizer.php:139
386
+ msgid "Replace confirmation button with 'X' icon."
387
+ msgstr "Rimpiazza il pulsante di accettazione con una 'X'."
388
+
389
+ #: public/customizer.php:155
390
+ msgid "Text color for your notification bar."
391
+ msgstr "Il colore del testo per la barra di notifica."
392
+
393
+ #: public/customizer.php:171
394
+ msgid "Background color for your notification bar."
395
+ msgstr "Il colore dello sfondo della barra di notifica."
396
+
397
+ #: public/customizer.php:187
398
+ msgid "Link color for your notification bar."
399
+ msgstr "Il colore del link per la barra di notifica."
400
+
401
+ #: public/customizer.php:203
402
+ msgid "Text color for your notification bar button."
403
+ msgstr "Il colore del testo per il pulsante nella barra di notifica"
404
+
405
+ #: public/customizer.php:219
406
+ msgid "Background color for your notification bar button."
407
+ msgstr "Il colore dello sfondo per il pulsante nella barra di notifica"
408
+
409
+ #: uk-cookie-consent.php:54
410
+ msgid "Cookie Policy"
411
+ msgstr "Cookie Policy"
412
+
413
+ #: uk-cookie-consent.php:55
414
+ msgid ""
415
+ "This site uses cookies - small text files that are placed on your machine to "
416
+ "help the site provide a better user experience. In general, cookies are used "
417
+ "to retain user preferences, store information for things like shopping "
418
+ "carts, and provide anonymised tracking data to third party applications like "
419
+ "Google Analytics. As a rule, cookies will make your browsing experience "
420
+ "better. However, you may prefer to disable cookies on this site and on "
421
+ "others. The most effective way to do this is to disable cookies in your "
422
+ "browser. We suggest consulting the Help section of your browser or taking a "
423
+ "look at <a href=\"http://www.aboutcookies.org\">the About Cookies website</"
424
+ "a> which offers guidance for all modern browsers"
425
+ msgstr ""
426
+ "Questo sito utilizza cookies - piccoli file di testo che vengono depositati "
427
+ "sul vostro computer per aiutare il sito a fornire una migliore esperienza "
428
+ "utente. In generale, i cookie vengono utilizzati per mantenere le preferenze "
429
+ "degli utenti, memorizzano le informazioni per cose come carrelli della "
430
+ "spesa, e fornire dati di monitoraggio anonimi per applicazioni di terze "
431
+ "parti come Google Analytics. Come regola generale, i cookie renderanno la "
432
+ "vostra esperienza di navigazione migliore. Tuttavia, si può scegliere di "
433
+ "disabilitare i cookie su questo sito e su altri. Il modo più efficace per "
434
+ "farlo è quello di disabilitare i cookie nel proprio browser. Si consiglia di "
435
+ "consultare la sezione Guida del browser o di dare un'occhiata a <a href="
436
+ "\"http://www.aboutcookies.org\"> About Cookies sito </a>, che offre una "
437
+ "guida per tutti i browser moderni"
438
+
439
+ #. Plugin URI of the plugin/theme
440
+ msgid "http://catapultthemes.com/cookie-consent/"
441
+ msgstr "http://catapultthemes.com/cookie-consent/"
442
+
443
+ #. Description of the plugin/theme
444
+ msgid "The only cookie consent plugin you'll ever need."
445
+ msgstr "Il solo plugin per il consenso dei cookie di cui avrai bisogno."
446
+
447
+ #. Author of the plugin/theme
448
+ msgid "Catapult_Themes"
449
+ msgstr "Catapult_Themes"
450
+
451
+ #. Author URI of the plugin/theme
452
+ msgid "http://catapultthemes.com/"
453
+ msgstr "http://catapultthemes.com/"
trunk/languages/uk-cookie-consent-pl_PL.mo ADDED
Binary file
trunk/languages/uk-cookie-consent-pl_PL.po ADDED
@@ -0,0 +1,672 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of Development (trunk) in Polish
2
+ # This file is distributed under the same license as the Development (trunk) package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: UK Cookie Consent v1.8.2\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/uk-cookie-"
7
+ "consent\n"
8
+ "POT-Creation-Date: 2016-01-13 00:16+0100\n"
9
+ "PO-Revision-Date: 2016-01-13 00:17+0100\n"
10
+ "Last-Translator: Jędrzej Raczyński <jedrzejraczynski@gmail.com>\n"
11
+ "Language-Team: Patu design <biuro@patudesign.pl>\n"
12
+ "Language: pl\n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: 8bit\n"
16
+ "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
17
+ "|| n%100>=20) ? 1 : 2);\n"
18
+ "X-Generator: Poedit 1.8.6\n"
19
+ "X-Poedit-SourceCharset: UTF-8\n"
20
+
21
+ #. Plugin Name of the plugin/theme
22
+ #: admin/class-ctcc-admin.php:56 admin/class-ctcc-admin.php:630
23
+ #: public/customizer.php:17
24
+ msgid "Cookie Consent"
25
+ msgstr "Zgoda na Cookies"
26
+
27
+ #: admin/class-ctcc-admin.php:65
28
+ msgid "General settings"
29
+ msgstr "Ustawienia"
30
+
31
+ #: admin/class-ctcc-admin.php:72
32
+ msgid "Close"
33
+ msgstr "Zamknij"
34
+
35
+ #: admin/class-ctcc-admin.php:80
36
+ msgid "First Page Only"
37
+ msgstr "Tylko na pierwszej stronie"
38
+
39
+ #: admin/class-ctcc-admin.php:88
40
+ msgid "Notification Duration"
41
+ msgstr "Czas trwania powiadomienia"
42
+
43
+ #: admin/class-ctcc-admin.php:96
44
+ msgid "Cookie Expiry"
45
+ msgstr "Czas do wygaśnięcia akceptacji"
46
+
47
+ #: admin/class-ctcc-admin.php:104
48
+ msgid "Cookie Version"
49
+ msgstr "Wersja ciasteczka"
50
+
51
+ #: admin/class-ctcc-admin.php:126
52
+ msgid "Content settings"
53
+ msgstr "Ustawienia treści"
54
+
55
+ #: admin/class-ctcc-admin.php:133
56
+ msgid "Heading Text"
57
+ msgstr "Tekst nagłówka"
58
+
59
+ #: admin/class-ctcc-admin.php:141
60
+ msgid "Notification Text"
61
+ msgstr "Tekst powiadomienia"
62
+
63
+ #: admin/class-ctcc-admin.php:149
64
+ msgid "More Info Text"
65
+ msgstr "Tekst odnośnika więcej informacji"
66
+
67
+ #: admin/class-ctcc-admin.php:157
68
+ msgid "More Info Page"
69
+ msgstr "Strona więcej informacji"
70
+
71
+ #: admin/class-ctcc-admin.php:165
72
+ msgid "More Info URL"
73
+ msgstr "URL strony Więcej informacji"
74
+
75
+ #: admin/class-ctcc-admin.php:173
76
+ msgid "More Info Target"
77
+ msgstr "Cel odnośnika Więcej informacji"
78
+
79
+ #: admin/class-ctcc-admin.php:181
80
+ msgid "Accept Text"
81
+ msgstr "Tekst przyciska akceptacji"
82
+
83
+ #: admin/class-ctcc-admin.php:203
84
+ msgid "Styles settings"
85
+ msgstr "Ustawienia stylów"
86
+
87
+ #: admin/class-ctcc-admin.php:210 public/customizer.php:34
88
+ msgid "Position"
89
+ msgstr "Pozycja"
90
+
91
+ #: admin/class-ctcc-admin.php:218 public/customizer.php:58
92
+ msgid "Container Class"
93
+ msgstr "Klasa pojemnika"
94
+
95
+ #: admin/class-ctcc-admin.php:226
96
+ msgid "Include Stylesheet"
97
+ msgstr "Dołączaj style"
98
+
99
+ #: admin/class-ctcc-admin.php:234 public/customizer.php:90
100
+ msgid "Rounded Corners"
101
+ msgstr "Zaokrąglone rogi"
102
+
103
+ #: admin/class-ctcc-admin.php:242 public/customizer.php:106
104
+ msgid "Drop Shadow"
105
+ msgstr "Cień"
106
+
107
+ #: admin/class-ctcc-admin.php:250 public/customizer.php:122
108
+ msgid "Display Button With Text"
109
+ msgstr "Pokazuj przycisk z tekstem"
110
+
111
+ #: admin/class-ctcc-admin.php:258 public/customizer.php:138
112
+ msgid "Use X Close"
113
+ msgstr "Używaj zamknięcia X"
114
+
115
+ #: admin/class-ctcc-admin.php:266 public/customizer.php:154
116
+ msgid "Text Color"
117
+ msgstr "Kolor tekstu"
118
+
119
+ #: admin/class-ctcc-admin.php:274 admin/class-ctcc-admin.php:306
120
+ #: public/customizer.php:170
121
+ msgid "Background Color"
122
+ msgstr "Kolor tła"
123
+
124
+ #: admin/class-ctcc-admin.php:282 public/customizer.php:186
125
+ msgid "Link Color"
126
+ msgstr "Kolor odnośnika"
127
+
128
+ #: admin/class-ctcc-admin.php:290 public/customizer.php:202
129
+ msgid "Button Color"
130
+ msgstr "Kolor tekstu przycisku"
131
+
132
+ #: admin/class-ctcc-admin.php:298 public/customizer.php:218
133
+ msgid "Button Background"
134
+ msgstr "Tło przycisku"
135
+
136
+ #: admin/class-ctcc-admin.php:339 admin/class-ctcc-admin.php:349
137
+ msgid "Cookies"
138
+ msgstr "pliki Cookies"
139
+
140
+ #: admin/class-ctcc-admin.php:350
141
+ msgid "This site uses cookies: "
142
+ msgstr ""
143
+ "Serwis wykorzystuje pliki cookies. Korzystając ze strony wyrażasz zgodę na "
144
+ "wykorzystywanie plików cookies."
145
+
146
+ #: admin/class-ctcc-admin.php:351
147
+ msgid "Okay, thanks"
148
+ msgstr "Ok, rozumiem"
149
+
150
+ #: admin/class-ctcc-admin.php:352
151
+ msgid "Find out more."
152
+ msgstr "dowiedz się więcej."
153
+
154
+ #: admin/class-ctcc-admin.php:411
155
+ msgid "On Click"
156
+ msgstr "Po kliknięciu"
157
+
158
+ #: admin/class-ctcc-admin.php:412
159
+ msgid "Timed"
160
+ msgstr "Po czasie"
161
+
162
+ #: admin/class-ctcc-admin.php:414
163
+ msgid "How you want the user to close the notification"
164
+ msgstr "Jak chcesz, by użytkownik zamykał powiadomienie"
165
+
166
+ #: admin/class-ctcc-admin.php:421
167
+ msgid ""
168
+ "Select this to show the notification only on the first page the user visits"
169
+ msgstr ""
170
+ "Zaznacz tę opcję, by pokazywać powiadomienie tylko na pierwszej stronie, "
171
+ "jaką odwiedzi użytkownik"
172
+
173
+ #: admin/class-ctcc-admin.php:428
174
+ msgid ""
175
+ "If you chose Timer as the close method, enter how many seconds the "
176
+ "notification should display for"
177
+ msgstr ""
178
+ "Wprowadź ile sekund powiadomienia ma być wyświetlane jeśli wybierzesz opcję "
179
+ "'Po czasie' jako metodę zamknięcia"
180
+
181
+ #: admin/class-ctcc-admin.php:435
182
+ msgid "The number of days that the cookie is set for"
183
+ msgstr "Na ile dni zgoda na pliki Cookies jest akceptowana"
184
+
185
+ #: admin/class-ctcc-admin.php:442
186
+ msgid ""
187
+ "A version number for the cookie - update this to invalidate the cookie and "
188
+ "force all users to view the notification again"
189
+ msgstr ""
190
+ "Numer wersji ciasteczka - zaktualizuj to pole, by unieważnić wszystkie "
191
+ "dotychczasowe akceptacje i wymusić ponowne prezentowanie powiadomienia dla "
192
+ "użytkowników, którzy już raz je akceptowali"
193
+
194
+ #: admin/class-ctcc-admin.php:453
195
+ msgid ""
196
+ "The heading text - only applies if you are not using a top or bottom bar"
197
+ msgstr ""
198
+ "Tekst nagłówka - dotyczy jedynie, jeśli używać opcji prezentacji "
199
+ "powiadomienia w rogu"
200
+
201
+ #: admin/class-ctcc-admin.php:460
202
+ msgid "The default text to indicate that your site uses cookies"
203
+ msgstr "Domyślny tekst powiadamiający o używaniu plików Cookies na tej stronie"
204
+
205
+ #: admin/class-ctcc-admin.php:467
206
+ msgid "The default text to dismiss the notification"
207
+ msgstr "Domyślny tekst aby wyrazić zgodę na pliki Cookies"
208
+
209
+ #: admin/class-ctcc-admin.php:474
210
+ msgid "The default text to use to link to a page providing further information"
211
+ msgstr "Domyślny tekst odnośnika do strony dostarczającej więcej informacji"
212
+
213
+ #: admin/class-ctcc-admin.php:490
214
+ msgid "The page containing further information about your cookie policy"
215
+ msgstr ""
216
+ "Strona zawierająca więcej informacji odnośnie twojej polityki plików Cookies."
217
+
218
+ #: admin/class-ctcc-admin.php:497
219
+ msgid ""
220
+ "You can add an absolute URL here to override the More Info Page setting "
221
+ "above. Use this to link to an external website for further information about "
222
+ "cookies."
223
+ msgstr ""
224
+ "Możesz tutaj wprowadzić URL aby nadpisać ustawienie powyżej. Używaj tego "
225
+ "pola by odnośnik wskazywał strony zewnętrzne zawierające więcej informacji o "
226
+ "plikach Cookies."
227
+
228
+ #: admin/class-ctcc-admin.php:504
229
+ msgid "New Tab"
230
+ msgstr "Nowa zakładka"
231
+
232
+ #: admin/class-ctcc-admin.php:505
233
+ msgid "Same Tab"
234
+ msgstr "Ta sama zakładka"
235
+
236
+ #: admin/class-ctcc-admin.php:507
237
+ msgid "Open the More Information page in the same or new tab."
238
+ msgstr "Otwórz stronę Więcej informacji w tej samej lub nowej zakładce."
239
+
240
+ #: admin/class-ctcc-admin.php:518 public/customizer.php:36
241
+ msgid "Top Bar"
242
+ msgstr "Pasek na górze"
243
+
244
+ #: admin/class-ctcc-admin.php:519 public/customizer.php:37
245
+ msgid "Bottom Bar"
246
+ msgstr "Pasek na dole"
247
+
248
+ #: admin/class-ctcc-admin.php:520 public/customizer.php:38
249
+ msgid "Top Left Block"
250
+ msgstr "Lewy górny róg"
251
+
252
+ #: admin/class-ctcc-admin.php:521 public/customizer.php:39
253
+ msgid "Top Right Block"
254
+ msgstr "Prawy górny róg"
255
+
256
+ #: admin/class-ctcc-admin.php:522 public/customizer.php:40
257
+ msgid "Bottom Left Block"
258
+ msgstr "Lewy dolny róg"
259
+
260
+ #: admin/class-ctcc-admin.php:523 public/customizer.php:41
261
+ msgid "Bottom Right Block"
262
+ msgstr "Prawy dolny róg"
263
+
264
+ #: admin/class-ctcc-admin.php:525
265
+ msgid "Where the notification should appear"
266
+ msgstr "Gdzie powiadomienie powinno się pojawić"
267
+
268
+ #: admin/class-ctcc-admin.php:532
269
+ msgid ""
270
+ "You can add an optional wrapper class, eg container, here to align the "
271
+ "notification text with the rest of your content"
272
+ msgstr ""
273
+ "Możesz dodać opcjonalną klasę obwaluty - np. kontener - aby uspójnić pole "
274
+ "powiadomień z resztą zawartości Twojej strony"
275
+
276
+ #: admin/class-ctcc-admin.php:539
277
+ msgid "Deselect this to dequeue the plugin stylesheet"
278
+ msgstr ""
279
+ "Odznacz to pole aby wyłączyć style wtyczki. Pamiętaj, by dodać style do "
280
+ "Twojego szablonu."
281
+
282
+ #: admin/class-ctcc-admin.php:546
283
+ msgid "Round the corners on the block (doesn't apply to the top or bottom bar)"
284
+ msgstr ""
285
+ "Zaokrągl rogi bloku (nieaplikowalne jeśli używasz opcji paska na górze bądź "
286
+ "na dole strony)"
287
+
288
+ #: admin/class-ctcc-admin.php:553
289
+ msgid "Add drop shadow to the block (doesn't apply to the top or bottom bar)"
290
+ msgstr ""
291
+ "Dodaj cień do bloku (nieaplikowalne jeśli używasz opcji paska na górze bądź "
292
+ "na dole strony)"
293
+
294
+ #: admin/class-ctcc-admin.php:560
295
+ msgid "Display the confirmation button with notification text"
296
+ msgstr "pokazuj przycisk akceptacji razem z tekstem"
297
+
298
+ #: admin/class-ctcc-admin.php:567
299
+ msgid "Remove confirmation button and use 'X' icon instead"
300
+ msgstr "Usuń przycisk akceptacji i wyświetlaj zamiast niego ikonę 'X'"
301
+
302
+ #: admin/class-ctcc-admin.php:574
303
+ msgid "The text color on the notification"
304
+ msgstr "Kolor tekstu na powiadomieniu"
305
+
306
+ #: admin/class-ctcc-admin.php:581
307
+ msgid "The background color for the notification"
308
+ msgstr "Kolor tła powiadomienia"
309
+
310
+ #: admin/class-ctcc-admin.php:588
311
+ msgid "The link color on the notification"
312
+ msgstr "Kolor odnośnika na powiadomieniu"
313
+
314
+ #: admin/class-ctcc-admin.php:595
315
+ msgid "The text color on the notification button"
316
+ msgstr "Kolor tekstu na przycisku na powiadomieniu"
317
+
318
+ #: admin/class-ctcc-admin.php:602
319
+ msgid "The background color on the notification button"
320
+ msgstr "Kolor tła przycisku na pasku powiadomienia"
321
+
322
+ #: admin/class-ctcc-admin.php:607
323
+ msgid "<p>Basic settings</p>"
324
+ msgstr "<p>Ustawienia podstawowe</p>"
325
+
326
+ #: admin/class-ctcc-admin.php:611
327
+ msgid "<p>Update the content displayed to the user</p>"
328
+ msgstr "<p>Możesz tutaj zaktualizować treści prezentowane dla użytkownika</p>"
329
+
330
+ #: admin/class-ctcc-admin.php:615
331
+ msgid ""
332
+ "<p>Change the styles here if you like - but it's better in the Customizer</p>"
333
+ msgstr ""
334
+ "<p>Zmieniaj style tutaj wedle Twojej woli - te same ustawienia są dostępne "
335
+ "także w Personalizacji wyglądu</p>"
336
+
337
+ #: admin/class-ctcc-admin.php:632
338
+ msgid "General"
339
+ msgstr "Ogólne"
340
+
341
+ #: admin/class-ctcc-admin.php:633
342
+ msgid "Content"
343
+ msgstr "Treść"
344
+
345
+ #: admin/class-ctcc-admin.php:634
346
+ msgid "Styles"
347
+ msgstr "Stylizacja"
348
+
349
+ #: admin/class-ctcc-admin.php:656
350
+ msgid "Reset plugin defaults"
351
+ msgstr "Resetuj ustawienia wtyczki"
352
+
353
+ #: public/customizer.php:43
354
+ msgid "Position and placement."
355
+ msgstr "Pozycja i położenie."
356
+
357
+ #: public/customizer.php:59
358
+ msgid "Optional wrapper class."
359
+ msgstr "Opcjonalna klasa obwoluty."
360
+
361
+ #: public/customizer.php:74
362
+ msgid "Enqueue Styles"
363
+ msgstr "Użyj styli predefiniowanych"
364
+
365
+ #: public/customizer.php:75
366
+ msgid "Deselect this to dequeue the plugin stylesheet."
367
+ msgstr "Odznacz to pole by wyłączyć style dołączone do tej wtyczki."
368
+
369
+ #: public/customizer.php:91
370
+ msgid "Round the corners on the block."
371
+ msgstr "Zaokrągl rogi na bloku."
372
+
373
+ #: public/customizer.php:107
374
+ msgid "Add drop shadow to the block."
375
+ msgstr ""
376
+ "Dodaj cień pod blokiem (niedostępne, gdy powiadomienie wyświetlaje jest jako "
377
+ "pasek)."
378
+
379
+ #: public/customizer.php:123
380
+ msgid "Deselect to float button to right."
381
+ msgstr "Odznacz, by przycisk był równany do prawej."
382
+
383
+ #: public/customizer.php:139
384
+ msgid "Replace confirmation button with 'X' icon."
385
+ msgstr "Zamień przycisk akceptacji na ikonę 'X'."
386
+
387
+ #: public/customizer.php:155
388
+ msgid "Text color for your notification bar."
389
+ msgstr "Kolor tekstu na pasku powiadomienia."
390
+
391
+ #: public/customizer.php:171
392
+ msgid "Background color for your notification bar."
393
+ msgstr "Kolor tła paska powiadomienia."
394
+
395
+ #: public/customizer.php:187
396
+ msgid "Link color for your notification bar."
397
+ msgstr "Kolor odnośnika na pasku powiadomienia."
398
+
399
+ #: public/customizer.php:203
400
+ msgid "Text color for your notification bar button."
401
+ msgstr "Kolor tekstu na przycisku na pasku powiadomienia."
402
+
403
+ #: public/customizer.php:219
404
+ msgid "Background color for your notification bar button."
405
+ msgstr "Kolor tła przycisku na pasku powiadomienia."
406
+
407
+ #: uk-cookie-consent.php:54
408
+ msgid "Cookie Policy"
409
+ msgstr "Polityka Cookies"
410
+
411
+ #: uk-cookie-consent.php:55
412
+ msgid ""
413
+ "This site uses cookies - small text files that are placed on your machine to "
414
+ "help the site provide a better user experience. In general, cookies are used "
415
+ "to retain user preferences, store information for things like shopping "
416
+ "carts, and provide anonymised tracking data to third party applications like "
417
+ "Google Analytics. As a rule, cookies will make your browsing experience "
418
+ "better. However, you may prefer to disable cookies on this site and on "
419
+ "others. The most effective way to do this is to disable cookies in your "
420
+ "browser. We suggest consulting the Help section of your browser or taking a "
421
+ "look at <a href=\"http://www.aboutcookies.org\">the About Cookies website</"
422
+ "a> which offers guidance for all modern browsers"
423
+ msgstr ""
424
+ "<p>Polityka cookies sporządzona została zgodnie z obowiązkami wynikającymi z "
425
+ "nowelizacji Prawa Telekomunikacyjnego, które weszły w życie 22 marca 2013 "
426
+ "roku. Obowiązki te podobnie są realizowane w całej Europie wskutek "
427
+ "implementowania dyrektywy europejskiej.</p>\n"
428
+ "<p>Niniejsza polityka cookies dotyczy usług oferowanych w ramach tej strony "
429
+ "(Serwis).<br>\n"
430
+ "Serwis nie zbiera w sposób automatyczny żadnych informacji, z wyjątkiem "
431
+ "informacji zawartych w plikach cookies.</p>\n"
432
+ "<p>Pliki cookies (tzw. ciasteczka) stanowią dane informatyczne, w "
433
+ "szczególności pliki tekstowe, które przechowywane są w urządzeniu końcowym "
434
+ "Użytkownika Serwisu i przeznaczone są do korzystania ze stron internetowych "
435
+ "Serwisu. Cookies zazwyczaj zawierają nazwę strony internetowej, z której "
436
+ "pochodzą, czas przechowywania ich na urządzeniu końcowym oraz unikalny "
437
+ "numer.\n"
438
+ "Podmiotem zamieszczającym na urządzeniu końcowym Użytkownika Serwisu pliki "
439
+ "cookies oraz uzyskującym do nich dostęp jest operator tej strony.</p>\n"
440
+ "<p>Pliki cookies wykorzystywane są w celu:\n"
441
+ "<ul><li>dostosowania zawartości stron internetowych do preferencji "
442
+ "Użytkownika oraz optymalizacji korzystania ze stron internetowych; w "
443
+ "szczególności pliki te pozwalają rozpoznać urządzenie Użytkownika Serwisu i "
444
+ "odpowiednio wyświetlić stronę internetową, dostosowaną do jego "
445
+ "indywidualnych potrzeb;</li>\n"
446
+ "<li>tworzenia statystyk, które pomagają zrozumieć, w jaki sposób Użytkownicy "
447
+ "Serwisu korzystają ze stron internetowych, co umożliwia ulepszanie ich "
448
+ "struktury i zawartości;</li>\n"
449
+ "</ul></p>\n"
450
+ "<p>W ramach Serwisu stosowane są dwa zasadnicze typy plików cookies: sesyjne "
451
+ "(session cookies) oraz stałe (persistent cookies). Cookies sesyjne są "
452
+ "plikami tymczasowymi, które przechowywane są w urządzeniu końcowym "
453
+ "Użytkownika do czasu wylogowania, opuszczenia strony internetowej lub "
454
+ "wyłączenia oprogramowania (przeglądarki internetowej). Stałe pliki cookies "
455
+ "przechowywane są w urządzeniu końcowym Użytkownika przez czas określony w "
456
+ "parametrach plików cookies lub do czasu ich usunięcia przez Użytkownika.</"
457
+ "p>\n"
458
+ "<p>W ramach Serwisu stosowane są następujące rodzaje plików cookies:\n"
459
+ "<ul>\n"
460
+ "<li>niezbędne pliki cookies, umożliwiające korzystanie z usług dostępnych w "
461
+ "ramach Serwisu, np. uwierzytelniające pliki cookies wykorzystywane do usług "
462
+ "wymagających uwierzytelniania w ramach Serwisu;</li>\n"
463
+ "<li>pliki cookies służące do zapewnienia bezpieczeństwa, np. wykorzystywane "
464
+ "do wykrywania nadużyć w zakresie uwierzytelniania w ramach Serwisu;</li>\n"
465
+ "<li>wydajnościowe pliki cookies, umożliwiające zbieranie informacji o "
466
+ "sposobie korzystania ze stron internetowych Serwisu;</li>\n"
467
+ "<li>funkcjonalne pliki cookies, umożliwiające zapamiętanie wybranych przez "
468
+ "Użytkownika ustawień i personalizację interfejsu Użytkownika, np. w zakresie "
469
+ "wybranego języka lub regionu, z którego pochodzi Użytkownik, rozmiaru "
470
+ "czcionki, wyglądu strony internetowej itp.;</li>\n"
471
+ "<li>reklamowe pliki cookies, umożliwiające dostarczanie Użytkownikom treści "
472
+ "reklamowych bardziej dostosowanych do ich zainteresowań.\n"
473
+ "</li>\n"
474
+ "</ul></p>\n"
475
+ "<p>W wielu przypadkach oprogramowanie służące do przeglądania stron "
476
+ "internetowych (przeglądarka internetowa) domyślnie dopuszcza przechowywanie "
477
+ "plików cookies w urządzeniu końcowym Użytkownika. Użytkownicy Serwisu mogą "
478
+ "dokonać w każdym czasie zmiany ustawień dotyczących plików cookies. "
479
+ "Ustawienia te mogą zostać zmienione w szczególności w taki sposób, aby "
480
+ "blokować automatyczną obsługę plików cookies w ustawieniach przeglądarki "
481
+ "internetowej bądź informować o ich każdorazowym zamieszczeniu w urządzeniu "
482
+ "Użytkownika Serwisu. Szczegółowe informacje o możliwości i sposobach obsługi "
483
+ "plików cookies dostępne są w ustawieniach oprogramowania (przeglądarki "
484
+ "internetowej).</p>\n"
485
+ "<p>Operator Serwisu informuje, że ograniczenia stosowania plików cookies "
486
+ "mogą wpłynąć na niektóre funkcjonalności dostępne na stronach internetowych "
487
+ "Serwisu.</p>\n"
488
+ "<p>Pliki cookies zamieszczane w urządzeniu końcowym Użytkownika Serwisu i "
489
+ "wykorzystywane mogą być również przez współpracujących z operatorem Serwisu "
490
+ "reklamodawców oraz partnerów.</p>\n"
491
+ "<p>Więcej informacji na temat plików cookies dostępnych jest pod adresem <a "
492
+ "href=\"http://www.wszystkoociasteczkach.pl\">www.wszystkoociasteczkach.pl</"
493
+ "a> lub w sekcji Pomoc w menu przeglądarki internetowej.</p>"
494
+
495
+ #. Plugin URI of the plugin/theme
496
+ msgid "http://catapultthemes.com/cookie-consent/"
497
+ msgstr "http://catapultthemes.com/cookie-consent/"
498
+
499
+ #. Description of the plugin/theme
500
+ msgid "The only cookie consent plugin you'll ever need."
501
+ msgstr ""
502
+ "Jedyna wtyczka zgody na pliki Cookies jaką kiedykolwiek będziesz potrzebować."
503
+
504
+ #. Author of the plugin/theme
505
+ msgid "Catapult_Themes"
506
+ msgstr "Catapult_Themes"
507
+
508
+ #. Author URI of the plugin/theme
509
+ msgid "http://catapultthemes.com/"
510
+ msgstr "http://catapultthemes.com/"
511
+
512
+ #~ msgid "No problem"
513
+ #~ msgstr "Akceptuję"
514
+
515
+ #~ msgid "Read more."
516
+ #~ msgstr "Czytaj całość"
517
+
518
+ #~ msgid "UK Cookie Consent"
519
+ #~ msgstr "Zgoda na Cookies PL"
520
+
521
+ #~ msgid "Click to toggle"
522
+ #~ msgstr "Kliknij aby przełączyć"
523
+
524
+ #~ msgid "Did this plugin help you?"
525
+ #~ msgstr "Czy ta wtyczka pomogła?"
526
+
527
+ #~ msgid ""
528
+ #~ "If this plugin helped you out in your project, please show your support:"
529
+ #~ msgstr "Jeśli ta wtyczka pomogła Ci w projekcie, okaż swoje poparcie:"
530
+
531
+ #~ msgid "Rate it"
532
+ #~ msgstr "Oceń"
533
+
534
+ #~ msgid "Tweet it"
535
+ #~ msgstr "Tweetnij"
536
+
537
+ #~ msgid "Other plugins you might like"
538
+ #~ msgstr "Inne nasze wtyczki"
539
+
540
+ #~ msgid "If you liked this plugin, you may care to try the following:"
541
+ #~ msgstr "Jeśli polubiłeś tą wtyczkę, może też spodobają ci się:"
542
+
543
+ #~ msgid "Slide out tab"
544
+ #~ msgstr "Wysuwana zakładka"
545
+
546
+ #~ msgid "Display a sliding tab for marketing, promotional or other content."
547
+ #~ msgstr ""
548
+ #~ "Wyświetla wysuwaną zakładkę dla treści marketingowych, promocyjnych lub "
549
+ #~ "innych."
550
+
551
+ #~ msgid ""
552
+ #~ "http://www.ico.gov.uk/for_organisations/"
553
+ #~ "privacy_and_electronic_communications/the_guide/cookies.aspx"
554
+ #~ msgstr ""
555
+ #~ "http://www.ico.gov.uk/for_organisations/"
556
+ #~ "privacy_and_electronic_communications/the_guide/cookies.aspx"
557
+
558
+ #~ msgid "Information Commissioner's Office Guidance on Cookies"
559
+ #~ msgstr ""
560
+ #~ "Wytyczne kancelarii brytyjskiego komisarza ds. Informacji odnośnie plików "
561
+ #~ "Cookies"
562
+
563
+ #~ msgid "http://www.aboutcookies.org/default.aspx"
564
+ #~ msgstr "http://wszystkoociasteczkach.pl/"
565
+
566
+ #~ msgid "AboutCookies.org"
567
+ #~ msgstr "WszystkoOCiasteczkach.pl"
568
+
569
+ #~ msgid "Our interpretation of the guidance"
570
+ #~ msgstr "Nasza interpretacja wskazówek (po angielsku)"
571
+
572
+ #~ msgid "Support"
573
+ #~ msgstr "Wsparcie"
574
+
575
+ #~ msgid "Latest from the support forum"
576
+ #~ msgstr "Najnowsze z naszego forum wsparcia"
577
+
578
+ #~ msgid "Check out the forum"
579
+ #~ msgstr "Zajrzyj na nasze forum"
580
+
581
+ #~ msgid "cookie-policy"
582
+ #~ msgstr "polityka-cookies"
583
+
584
+ #~ msgid ""
585
+ #~ "Your Cookies Policy page is <a href=\"%s\">here</a>. You may wish to "
586
+ #~ "create a menu item or other link on your site to this page."
587
+ #~ msgstr ""
588
+ #~ "Twoja strona z polityką Cookies jest <a href=\"%s\">tutaj</a>. Możesz jej "
589
+ #~ "używać w menu lub jako odnośnik na swojej stronie."
590
+
591
+ #~ msgid "Info page permalink"
592
+ #~ msgstr "Bezpośredni odnośnik do strony z informacjami"
593
+
594
+ #~ msgid "Bar colour"
595
+ #~ msgstr "Kolor paska"
596
+
597
+ #~ msgid ""
598
+ #~ "You can just use these settings as they are or update the text as you "
599
+ #~ "wish. We recommend keeping it brief."
600
+ #~ msgstr ""
601
+ #~ "Możesz użyć ponizszych ustawień takimi jakimi są lub zaktualizować ich "
602
+ #~ "tekst jeśli wolisz."
603
+
604
+ #~ msgid ""
605
+ #~ "The plug-in automatically creates a page called \"Cookie Policy\" and "
606
+ #~ "sets the default More Info link to yoursitename.com/cookie-policy."
607
+ #~ msgstr ""
608
+ #~ "Ta wtyczka automatycznie tworzy stronę nazwaną \"Polityka Cookies\" i "
609
+ #~ "ustawia ją jako domyślną dla pola Więcej informacji"
610
+
611
+ #~ msgid ""
612
+ #~ "If you find the page hasn't been created, hit the Save Changes button on "
613
+ #~ "this page."
614
+ #~ msgstr ""
615
+ #~ "Jeśli uważasz, że strona nie została utworzona, wciśnij przycisk Zapisz "
616
+ #~ "zmiany na tej stronie."
617
+
618
+ #~ msgid ""
619
+ #~ "If you would like to change the permalink, just update the Info page "
620
+ #~ "permalink setting, e.g. enter \"?page_id=4\" if you are using the default "
621
+ #~ "permalink settings (and 4 is the id of your new Cookie Policy page)."
622
+ #~ msgstr ""
623
+ #~ "Jeśli chcesz zmienić bezpośredni odnośnik wystarczy, że zaktualizujesz "
624
+ #~ "ustawienie bezpośredniego odnośnika do strony z informacjami, np. "
625
+ #~ "wprowadź adres \"?page_id=4\" jeśli używasz domyślnych ustawień "
626
+ #~ "bezpośrednich odnośników oraz strona z Polityką Cookie ma ID 4."
627
+
628
+ #~ msgid ""
629
+ #~ "For any support queries, please post on the <a href=\"%s\">WordPress "
630
+ #~ "forum</a>."
631
+ #~ msgstr ""
632
+ #~ "W razie potrzeby wsparcia prosimy o umieszczanie postów na <a href=\"%s"
633
+ #~ "\">forum WordPress</a>."
634
+
635
+ #~ msgid ""
636
+ #~ "And if this plug-in has been helpful to you, then <a href=\"%s\">please "
637
+ #~ "rate it</a>."
638
+ #~ msgstr ""
639
+ #~ "Jeśli ta wtyczka jest dla Ciebie pomocna, <a href=\"%s\">prosimy o jej "
640
+ #~ "ocenę</a>."
641
+
642
+ #~ msgid "Top"
643
+ #~ msgstr "Na górze"
644
+
645
+ #~ msgid "http://catapultdesign.co.uk/plugin/uk-cookie-consent/"
646
+ #~ msgstr "http://catapultdesign.co.uk/plugin/uk-cookie-consent/"
647
+
648
+ #~ msgid ""
649
+ #~ "Simple plug-in to help compliance with the UK interpretation of the EU "
650
+ #~ "regulations regarding usage of website cookies. A user to your site is "
651
+ #~ "presented with a clear yet unobtrusive notification that the site is "
652
+ #~ "using cookies and may then acknowledge and dismiss the notification or "
653
+ #~ "click to find out more. The plug-in does not disable cookies on your site "
654
+ #~ "or prevent the user from continuing to browse the site - it comes with "
655
+ #~ "standard wording on what cookies are and advice on how to disable them in "
656
+ #~ "the browser. The plug-in follows the notion of \"implied consent\" as "
657
+ #~ "described by the UK's Information Commissioner and makes the assumption "
658
+ #~ "that most users who choose not to accept cookies will do so for all "
659
+ #~ "websites."
660
+ #~ msgstr ""
661
+ #~ "Prosta wtyczka wprowadzająca zgodność z polskimi przepisami wykładni UE "
662
+ #~ "dotyczących wykorzystania stron internetowych plików cookie. "
663
+ #~ "Użytkownikowi przedstawiana jest jasne i przejrzyste powiadomienie, że "
664
+ #~ "witryna używa plików cookie. Powiadomienie posiada funkcjonalność "
665
+ #~ "potwierdzenia oraz link do strony, aby dowiedzieć się więcej. Ta wtyczka "
666
+ #~ "nie wyłącza użytkowania plików cookie na twojej witrynie oraz nie "
667
+ #~ "powstrzymuje użytkownika przed kontynuowaniem przeglądania strony - "
668
+ #~ "ogranicza się do standardowych formuł, co to są pliki cookies i radzi, "
669
+ #~ "jak je wyłączyć w przeglądarce. Wtyczka przyjmuje pojęcie \"domniemanej "
670
+ #~ "zgody\" na wykorzystanie plików cookie - zakłada, że większość "
671
+ #~ "użytkowników, którzy nie zdecydują się na akceptowanie plików cookie "
672
+ #~ "będzie je blokować dla wszystkich stron."
trunk/languages/uk-cookie-consent-ru_RU.mo ADDED
Binary file
trunk/languages/uk-cookie-consent-ru_RU.po ADDED
@@ -0,0 +1,439 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2016 Cookie Consent
2
+ # This file is distributed under the same license as the Cookie Consent package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Cookie Consent 2.0.3\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/uk-cookie-"
7
+ "consent\n"
8
+ "POT-Creation-Date: 2016-01-14 14:28+0300\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2016-01-14 22:15+0300\n"
13
+ "Language-Team: \n"
14
+ "X-Generator: Poedit 1.8.6\n"
15
+ "Last-Translator: \n"
16
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
17
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Language: ru_RU\n"
19
+
20
+ #. Plugin Name of the plugin/theme
21
+ #: admin/class-ctcc-admin.php:56 admin/class-ctcc-admin.php:630
22
+ #: public/customizer.php:17
23
+ msgid "Cookie Consent"
24
+ msgstr "Разрешить Cookie"
25
+
26
+ #: admin/class-ctcc-admin.php:65
27
+ msgid "General settings"
28
+ msgstr "Общие настройки"
29
+
30
+ #: admin/class-ctcc-admin.php:72
31
+ msgid "Close"
32
+ msgstr "Закрыть"
33
+
34
+ #: admin/class-ctcc-admin.php:80
35
+ msgid "First Page Only"
36
+ msgstr "Только первую страницу"
37
+
38
+ #: admin/class-ctcc-admin.php:88
39
+ msgid "Notification Duration"
40
+ msgstr "Длительность уведомления"
41
+
42
+ #: admin/class-ctcc-admin.php:96
43
+ msgid "Cookie Expiry"
44
+ msgstr "Cookie истек"
45
+
46
+ #: admin/class-ctcc-admin.php:104
47
+ msgid "Cookie Version"
48
+ msgstr "Версия Cookie"
49
+
50
+ #: admin/class-ctcc-admin.php:126
51
+ msgid "Content settings"
52
+ msgstr "Настройки контента"
53
+
54
+ #: admin/class-ctcc-admin.php:133
55
+ msgid "Heading Text"
56
+ msgstr "Заголовок Текста"
57
+
58
+ #: admin/class-ctcc-admin.php:141
59
+ msgid "Notification Text"
60
+ msgstr "Текст Уведомления"
61
+
62
+ #: admin/class-ctcc-admin.php:149
63
+ msgid "More Info Text"
64
+ msgstr "Подробнее Текст"
65
+
66
+ #: admin/class-ctcc-admin.php:157
67
+ msgid "More Info Page"
68
+ msgstr "Подробнее Страница"
69
+
70
+ #: admin/class-ctcc-admin.php:165
71
+ msgid "More Info URL"
72
+ msgstr "Подробнее URL-адрес"
73
+
74
+ #: admin/class-ctcc-admin.php:173
75
+ msgid "More Info Target"
76
+ msgstr "Подробнее Target"
77
+
78
+ #: admin/class-ctcc-admin.php:181
79
+ msgid "Accept Text"
80
+ msgstr "Принять текст"
81
+
82
+ #: admin/class-ctcc-admin.php:203
83
+ msgid "Styles settings"
84
+ msgstr "Стили настройки"
85
+
86
+ #: admin/class-ctcc-admin.php:210 public/customizer.php:34
87
+ msgid "Position"
88
+ msgstr "Позиция"
89
+
90
+ #: admin/class-ctcc-admin.php:218 public/customizer.php:58
91
+ msgid "Container Class"
92
+ msgstr "Контейнер класса"
93
+
94
+ #: admin/class-ctcc-admin.php:226
95
+ msgid "Include Stylesheet"
96
+ msgstr "Включить Таблицу Стилей"
97
+
98
+ #: admin/class-ctcc-admin.php:234 public/customizer.php:90
99
+ msgid "Rounded Corners"
100
+ msgstr "Закругленные углы"
101
+
102
+ #: admin/class-ctcc-admin.php:242 public/customizer.php:106
103
+ msgid "Drop Shadow"
104
+ msgstr "Тень"
105
+
106
+ #: admin/class-ctcc-admin.php:250 public/customizer.php:122
107
+ msgid "Display Button With Text"
108
+ msgstr "Отображения кнопки с текстом"
109
+
110
+ #: admin/class-ctcc-admin.php:258 public/customizer.php:138
111
+ msgid "Use X Close"
112
+ msgstr "Используйте X Закрыть"
113
+
114
+ #: admin/class-ctcc-admin.php:266 public/customizer.php:154
115
+ msgid "Text Color"
116
+ msgstr "Цвет Текста"
117
+
118
+ #: admin/class-ctcc-admin.php:274 admin/class-ctcc-admin.php:306
119
+ #: public/customizer.php:170
120
+ msgid "Background Color"
121
+ msgstr "Цвет Фона"
122
+
123
+ #: admin/class-ctcc-admin.php:282 public/customizer.php:186
124
+ msgid "Link Color"
125
+ msgstr "Цвет Ссылок"
126
+
127
+ #: admin/class-ctcc-admin.php:290 public/customizer.php:202
128
+ msgid "Button Color"
129
+ msgstr "Цвет Кнопки"
130
+
131
+ #: admin/class-ctcc-admin.php:298 public/customizer.php:218
132
+ msgid "Button Background"
133
+ msgstr "Фон Кнопки"
134
+
135
+ #: admin/class-ctcc-admin.php:339 admin/class-ctcc-admin.php:349
136
+ msgid "Cookies"
137
+ msgstr "Cookies"
138
+
139
+ #: admin/class-ctcc-admin.php:350
140
+ msgid "This site uses cookies: "
141
+ msgstr "Этот сайт использует куки:"
142
+
143
+ #: admin/class-ctcc-admin.php:351
144
+ msgid "Okay, thanks"
145
+ msgstr "Хорошо, спасибо"
146
+
147
+ #: admin/class-ctcc-admin.php:352
148
+ msgid "Find out more."
149
+ msgstr "Узнать больше."
150
+
151
+ #: admin/class-ctcc-admin.php:411
152
+ msgid "On Click"
153
+ msgstr "При нажатии"
154
+
155
+ #: admin/class-ctcc-admin.php:412
156
+ msgid "Timed"
157
+ msgstr "Временный"
158
+
159
+ #: admin/class-ctcc-admin.php:414
160
+ msgid "How you want the user to close the notification"
161
+ msgstr "Как вы хотите, чтобы пользователь мог закрыть уведомление"
162
+
163
+ #: admin/class-ctcc-admin.php:421
164
+ msgid ""
165
+ "Select this to show the notification only on the first page the user visits"
166
+ msgstr ""
167
+ "Выберите это, чтобы показать уведомление только на первой странице "
168
+ "пользовательских посещений"
169
+
170
+ #: admin/class-ctcc-admin.php:428
171
+ msgid ""
172
+ "If you chose Timer as the close method, enter how many seconds the "
173
+ "notification should display for"
174
+ msgstr ""
175
+ "Если вы выбираете Таймер, как метод закрыть, введите в течение сколько "
176
+ "секунд уведомление должно отображаться"
177
+
178
+ #: admin/class-ctcc-admin.php:435
179
+ msgid "The number of days that the cookie is set for"
180
+ msgstr "Число дней, для которых установлен cookie"
181
+
182
+ #: admin/class-ctcc-admin.php:442
183
+ msgid ""
184
+ "A version number for the cookie - update this to invalidate the cookie and "
185
+ "force all users to view the notification again"
186
+ msgstr ""
187
+ "Номер версии для cookie - обновляет это, чтобы лишить законной силы cookie и "
188
+ "вынудить всех пользователей просмотреть уведомление снова"
189
+
190
+ #: admin/class-ctcc-admin.php:453
191
+ msgid ""
192
+ "The heading text - only applies if you are not using a top or bottom bar"
193
+ msgstr ""
194
+ "Заголовок текста - применяется только если Вы не используете верхний или "
195
+ "нижний бар"
196
+
197
+ #: admin/class-ctcc-admin.php:460
198
+ msgid "The default text to indicate that your site uses cookies"
199
+ msgstr "Текст по умолчанию, чтобы указать, что ваш сайт использует cookies"
200
+
201
+ #: admin/class-ctcc-admin.php:467
202
+ msgid "The default text to dismiss the notification"
203
+ msgstr "Текст по умолчанию, чтобы закрыть уведомление"
204
+
205
+ #: admin/class-ctcc-admin.php:474
206
+ msgid "The default text to use to link to a page providing further information"
207
+ msgstr ""
208
+ "Текст по умолчанию, чтобы использовать ссылку на страницу с изложением "
209
+ "дополнительной информации"
210
+
211
+ #: admin/class-ctcc-admin.php:490
212
+ msgid "The page containing further information about your cookie policy"
213
+ msgstr "Страница, содержащая дополнительную информацию о Вашей политике cookie"
214
+
215
+ #: admin/class-ctcc-admin.php:497
216
+ msgid ""
217
+ "You can add an absolute URL here to override the More Info Page setting "
218
+ "above. Use this to link to an external website for further information about "
219
+ "cookies."
220
+ msgstr ""
221
+ "Вы можете добавить абсолютный URL-адрес здесь, чтобы переопределить "
222
+ "Подробнее страница настройки выше. Используйте это, чтобы создать ссылку на "
223
+ "внешний веб-сайт для получения дополнительной информации о файлах cookie."
224
+
225
+ #: admin/class-ctcc-admin.php:504
226
+ msgid "New Tab"
227
+ msgstr "Новая Вкладка"
228
+
229
+ #: admin/class-ctcc-admin.php:505
230
+ msgid "Same Tab"
231
+ msgstr "Та же вкладка"
232
+
233
+ #: admin/class-ctcc-admin.php:507
234
+ msgid "Open the More Information page in the same or new tab."
235
+ msgstr "Откройте на странице \"Подробнее\" в той же или новой вкладке."
236
+
237
+ #: admin/class-ctcc-admin.php:518 public/customizer.php:36
238
+ msgid "Top Bar"
239
+ msgstr "Главная панель"
240
+
241
+ #: admin/class-ctcc-admin.php:519 public/customizer.php:37
242
+ msgid "Bottom Bar"
243
+ msgstr "Нижняя панель"
244
+
245
+ #: admin/class-ctcc-admin.php:520 public/customizer.php:38
246
+ msgid "Top Left Block"
247
+ msgstr "Верхний левый блок"
248
+
249
+ #: admin/class-ctcc-admin.php:521 public/customizer.php:39
250
+ msgid "Top Right Block"
251
+ msgstr "Верхний правый блок"
252
+
253
+ #: admin/class-ctcc-admin.php:522 public/customizer.php:40
254
+ msgid "Bottom Left Block"
255
+ msgstr "Нижний левый блок"
256
+
257
+ #: admin/class-ctcc-admin.php:523 public/customizer.php:41
258
+ msgid "Bottom Right Block"
259
+ msgstr "Нижний правый блок"
260
+
261
+ #: admin/class-ctcc-admin.php:525
262
+ msgid "Where the notification should appear"
263
+ msgstr "Где уведомление должно появиться"
264
+
265
+ #: admin/class-ctcc-admin.php:532
266
+ msgid ""
267
+ "You can add an optional wrapper class, eg container, here to align the "
268
+ "notification text with the rest of your content"
269
+ msgstr ""
270
+ "Вы можете добавить дополнительный класс обертки, например контейнер здесь, "
271
+ "чтобы выровнять текст уведомления с остальной частью Вашего содержания"
272
+
273
+ #: admin/class-ctcc-admin.php:539
274
+ msgid "Deselect this to dequeue the plugin stylesheet"
275
+ msgstr "Отключите этот плагин для извлечения стилей"
276
+
277
+ #: admin/class-ctcc-admin.php:546
278
+ msgid "Round the corners on the block (doesn't apply to the top or bottom bar)"
279
+ msgstr ""
280
+ "Закруглить углы на блоке (не применяется для верхней или нижней панели)"
281
+
282
+ #: admin/class-ctcc-admin.php:553
283
+ msgid "Add drop shadow to the block (doesn't apply to the top or bottom bar)"
284
+ msgstr "Добавление тени к блоку (не применяется для верхней или нижней панели)"
285
+
286
+ #: admin/class-ctcc-admin.php:560
287
+ msgid "Display the confirmation button with notification text"
288
+ msgstr "Выведите на экран кнопку подтверждения с текстом уведомления"
289
+
290
+ #: admin/class-ctcc-admin.php:567
291
+ msgid "Remove confirmation button and use 'X' icon instead"
292
+ msgstr "Удалите кнопку подтверждения и используйте значок 'X' вместо этого"
293
+
294
+ #: admin/class-ctcc-admin.php:574
295
+ msgid "The text color on the notification"
296
+ msgstr "Цвет текста на уведомлении"
297
+
298
+ #: admin/class-ctcc-admin.php:581
299
+ msgid "The background color for the notification"
300
+ msgstr "Цвет фона для уведомления"
301
+
302
+ #: admin/class-ctcc-admin.php:588
303
+ msgid "The link color on the notification"
304
+ msgstr "Цвет ссылки на уведомлении"
305
+
306
+ #: admin/class-ctcc-admin.php:595
307
+ msgid "The text color on the notification button"
308
+ msgstr "Цвет текста на кнопке уведомления"
309
+
310
+ #: admin/class-ctcc-admin.php:602
311
+ msgid "The background color on the notification button"
312
+ msgstr "Цвет фона на кнопке уведомления"
313
+
314
+ #: admin/class-ctcc-admin.php:607
315
+ msgid "<p>Basic settings</p>"
316
+ msgstr "<p>Основные параметры настройки</p>"
317
+
318
+ #: admin/class-ctcc-admin.php:611
319
+ msgid "<p>Update the content displayed to the user</p>"
320
+ msgstr "<p>Обновите содержание, выведенное на экран пользователю</p>"
321
+
322
+ #: admin/class-ctcc-admin.php:615
323
+ msgid ""
324
+ "<p>Change the styles here if you like - but it's better in the Customizer</p>"
325
+ msgstr ""
326
+ "<p>Измените стили здесь, если Вам нравится - но это лучше в Настройщике</p>"
327
+
328
+ #: admin/class-ctcc-admin.php:632
329
+ msgid "General"
330
+ msgstr "Общие"
331
+
332
+ #: admin/class-ctcc-admin.php:633
333
+ msgid "Content"
334
+ msgstr "Содержание"
335
+
336
+ #: admin/class-ctcc-admin.php:634
337
+ msgid "Styles"
338
+ msgstr "Стили"
339
+
340
+ #: admin/class-ctcc-admin.php:656
341
+ msgid "Reset plugin defaults"
342
+ msgstr "Сброс плагина по умолчанию"
343
+
344
+ #: public/customizer.php:43
345
+ msgid "Position and placement."
346
+ msgstr "Позиция и размещение."
347
+
348
+ #: public/customizer.php:59
349
+ msgid "Optional wrapper class."
350
+ msgstr "Дополнительный класс обертки."
351
+
352
+ #: public/customizer.php:74
353
+ msgid "Enqueue Styles"
354
+ msgstr "Добавляет Стили"
355
+
356
+ #: public/customizer.php:75
357
+ msgid "Deselect this to dequeue the plugin stylesheet."
358
+ msgstr "Отключите этот плагин для извлечения стилей."
359
+
360
+ #: public/customizer.php:91
361
+ msgid "Round the corners on the block."
362
+ msgstr "Закруглить углы на блоке."
363
+
364
+ #: public/customizer.php:107
365
+ msgid "Add drop shadow to the block."
366
+ msgstr "Добавление тени к блоку."
367
+
368
+ #: public/customizer.php:123
369
+ msgid "Deselect to float button to right."
370
+ msgstr "Снимите флажок, чтобы поплавок кнопка направо."
371
+
372
+ #: public/customizer.php:139
373
+ msgid "Replace confirmation button with 'X' icon."
374
+ msgstr "Заменить кнопку подтверждения со значком 'X'."
375
+
376
+ #: public/customizer.php:155
377
+ msgid "Text color for your notification bar."
378
+ msgstr "Цвет текста для панели уведомлений."
379
+
380
+ #: public/customizer.php:171
381
+ msgid "Background color for your notification bar."
382
+ msgstr "Цвет фона для Вашей панели уведомления."
383
+
384
+ #: public/customizer.php:187
385
+ msgid "Link color for your notification bar."
386
+ msgstr "Цвет ссылки для Вашей панели уведомления."
387
+
388
+ #: public/customizer.php:203
389
+ msgid "Text color for your notification bar button."
390
+ msgstr "Цвет текста для Вашей кнопки панели уведомления."
391
+
392
+ #: public/customizer.php:219
393
+ msgid "Background color for your notification bar button."
394
+ msgstr "Цвет фона для Вашей кнопки панели уведомления."
395
+
396
+ #: uk-cookie-consent.php:54
397
+ msgid "Cookie Policy"
398
+ msgstr "Политика cookie"
399
+
400
+ #: uk-cookie-consent.php:55
401
+ msgid ""
402
+ "This site uses cookies - small text files that are placed on your machine to "
403
+ "help the site provide a better user experience. In general, cookies are used "
404
+ "to retain user preferences, store information for things like shopping "
405
+ "carts, and provide anonymised tracking data to third party applications like "
406
+ "Google Analytics. As a rule, cookies will make your browsing experience "
407
+ "better. However, you may prefer to disable cookies on this site and on "
408
+ "others. The most effective way to do this is to disable cookies in your "
409
+ "browser. We suggest consulting the Help section of your browser or taking a "
410
+ "look at <a href=\"http://www.aboutcookies.org\">the About Cookies website</"
411
+ "a> which offers guidance for all modern browsers"
412
+ msgstr ""
413
+ "Этот сайт использует cookie - небольшие текстовые файлы, которые помещены в "
414
+ "Вашу машину, чтобы помочь сайту обеспечивать лучший пользовательский опыт. В "
415
+ "целом cookie используются, чтобы сохранить пользовательские настройки, "
416
+ "хранить информацию для вещей как магазинные тележки и обеспечить "
417
+ "анонимизированные данные отслеживания для сторонних приложений как Google "
418
+ "Analytics. Как правило cookie заставят Ваш просмотр испытать лучше. Однако "
419
+ "Вы можете предпочесть отключать cookie на этом сайте и на других. Самый "
420
+ "эффективный способ сделать это должно отключить cookie в Вашем браузере. Мы "
421
+ "предлагаем консультироваться с разделом Help Вашего браузера или смотреть на "
422
+ "<a href=\"http://www.aboutcookies.org\"> О веб-сайте Cookie , который "
423
+ "предлагает руководство для всех современных браузеров</href>"
424
+
425
+ #. Plugin URI of the plugin/theme
426
+ msgid "http://catapultthemes.com/cookie-consent/"
427
+ msgstr "http://catapultthemes.com/cookie-consent/"
428
+
429
+ #. Description of the plugin/theme
430
+ msgid "The only cookie consent plugin you'll ever need."
431
+ msgstr "Единственный cookie плагин, в котором Вы будете когда-либо нуждаться."
432
+
433
+ #. Author of the plugin/theme
434
+ msgid "Catapult_Themes"
435
+ msgstr "Catapult_Themes"
436
+
437
+ #. Author URI of the plugin/theme
438
+ msgid "http://catapultthemes.com/"
439
+ msgstr "http://catapultthemes.com/"
trunk/languages/uk-cookie-consent-sk_SK.mo ADDED
Binary file
trunk/languages/uk-cookie-consent-sk_SK.po ADDED
@@ -0,0 +1,436 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2016 Cookie Consent
2
+ # This file is distributed under the same license as the Cookie Consent package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Cookie Consent 2.0.3\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/uk-cookie-"
7
+ "consent\n"
8
+ "POT-Creation-Date: 2016-01-27 12:42+0100\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2016-01-27 14:13+0100\n"
13
+ "Language-Team: \n"
14
+ "X-Generator: Poedit 1.8.6\n"
15
+ "Last-Translator: \n"
16
+ "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
17
+ "Language: sk_SK\n"
18
+
19
+ #. Plugin Name of the plugin/theme
20
+ #: admin/class-ctcc-admin.php:56 admin/class-ctcc-admin.php:630
21
+ #: public/customizer.php:17
22
+ msgid "Cookie Consent"
23
+ msgstr "Cookie Consent"
24
+
25
+ #: admin/class-ctcc-admin.php:65
26
+ msgid "General settings"
27
+ msgstr "Hlavné nastavenia"
28
+
29
+ #: admin/class-ctcc-admin.php:72
30
+ msgid "Close"
31
+ msgstr "Zatvoriť"
32
+
33
+ #: admin/class-ctcc-admin.php:80
34
+ msgid "First Page Only"
35
+ msgstr "Iba na prvej strane"
36
+
37
+ #: admin/class-ctcc-admin.php:88
38
+ msgid "Notification Duration"
39
+ msgstr "Dĺžka zobrazenia"
40
+
41
+ #: admin/class-ctcc-admin.php:96
42
+ msgid "Cookie Expiry"
43
+ msgstr "Čas vypršania Cookie "
44
+
45
+ #: admin/class-ctcc-admin.php:104
46
+ msgid "Cookie Version"
47
+ msgstr "Verzia Cookie"
48
+
49
+ #: admin/class-ctcc-admin.php:126
50
+ msgid "Content settings"
51
+ msgstr "Nastavenia obsahu"
52
+
53
+ #: admin/class-ctcc-admin.php:133
54
+ msgid "Heading Text"
55
+ msgstr "Text hlavičky"
56
+
57
+ #: admin/class-ctcc-admin.php:141
58
+ msgid "Notification Text"
59
+ msgstr "Text oznámenia"
60
+
61
+ #: admin/class-ctcc-admin.php:149
62
+ msgid "More Info Text"
63
+ msgstr "Text \"Viac informácií\""
64
+
65
+ #: admin/class-ctcc-admin.php:157
66
+ msgid "More Info Page"
67
+ msgstr "Stránka s viac informáciami"
68
+
69
+ #: admin/class-ctcc-admin.php:165
70
+ msgid "More Info URL"
71
+ msgstr "URL s viac informáciami"
72
+
73
+ #: admin/class-ctcc-admin.php:173
74
+ msgid "More Info Target"
75
+ msgstr "Cieľ pre viac informácií"
76
+
77
+ #: admin/class-ctcc-admin.php:181
78
+ msgid "Accept Text"
79
+ msgstr "Text \"Akceptovať\""
80
+
81
+ #: admin/class-ctcc-admin.php:203
82
+ msgid "Styles settings"
83
+ msgstr "Nastavenia štýlov"
84
+
85
+ #: admin/class-ctcc-admin.php:210 public/customizer.php:34
86
+ msgid "Position"
87
+ msgstr "Umiestnenie"
88
+
89
+ #: admin/class-ctcc-admin.php:218 public/customizer.php:58
90
+ msgid "Container Class"
91
+ msgstr "Container Class"
92
+
93
+ #: admin/class-ctcc-admin.php:226
94
+ msgid "Include Stylesheet"
95
+ msgstr "Použiť CSS štýl"
96
+
97
+ #: admin/class-ctcc-admin.php:234 public/customizer.php:90
98
+ msgid "Rounded Corners"
99
+ msgstr "Okrúhle rohy"
100
+
101
+ #: admin/class-ctcc-admin.php:242 public/customizer.php:106
102
+ msgid "Drop Shadow"
103
+ msgstr "Vytvoriť tieň"
104
+
105
+ #: admin/class-ctcc-admin.php:250 public/customizer.php:122
106
+ msgid "Display Button With Text"
107
+ msgstr "Zobraziť tlačítko s textom"
108
+
109
+ #: admin/class-ctcc-admin.php:258 public/customizer.php:138
110
+ msgid "Use X Close"
111
+ msgstr "Použiť zatvorenie pomocou \"X\""
112
+
113
+ #: admin/class-ctcc-admin.php:266 public/customizer.php:154
114
+ msgid "Text Color"
115
+ msgstr "Farba textu"
116
+
117
+ #: admin/class-ctcc-admin.php:274 admin/class-ctcc-admin.php:306
118
+ #: public/customizer.php:170
119
+ msgid "Background Color"
120
+ msgstr "Farba pozadia"
121
+
122
+ #: admin/class-ctcc-admin.php:282 public/customizer.php:186
123
+ msgid "Link Color"
124
+ msgstr "Farba odkazu"
125
+
126
+ #: admin/class-ctcc-admin.php:290 public/customizer.php:202
127
+ msgid "Button Color"
128
+ msgstr "Farba tlačítka"
129
+
130
+ #: admin/class-ctcc-admin.php:298 public/customizer.php:218
131
+ msgid "Button Background"
132
+ msgstr "Pozadie tlačítka"
133
+
134
+ #: admin/class-ctcc-admin.php:339 admin/class-ctcc-admin.php:349
135
+ msgid "Cookies"
136
+ msgstr "Cookies"
137
+
138
+ #: admin/class-ctcc-admin.php:350
139
+ msgid "This site uses cookies: "
140
+ msgstr "Táto stránka používa cookies:"
141
+
142
+ #: admin/class-ctcc-admin.php:351
143
+ msgid "Okay, thanks"
144
+ msgstr "Dobre"
145
+
146
+ #: admin/class-ctcc-admin.php:352
147
+ msgid "Find out more."
148
+ msgstr "Zistiť viac."
149
+
150
+ #: admin/class-ctcc-admin.php:411
151
+ msgid "On Click"
152
+ msgstr "Po kliknutí"
153
+
154
+ #: admin/class-ctcc-admin.php:412
155
+ msgid "Timed"
156
+ msgstr "Po čase"
157
+
158
+ #: admin/class-ctcc-admin.php:414
159
+ msgid "How you want the user to close the notification"
160
+ msgstr "Ako si želáte, aby používateľ zatvoril notifikáciu o cookies"
161
+
162
+ #: admin/class-ctcc-admin.php:421
163
+ msgid ""
164
+ "Select this to show the notification only on the first page the user visits"
165
+ msgstr ""
166
+ "Zvoľte túto možnosť, aby sa notifikácia zobrazovala iba na prvej stránke, "
167
+ "ktorú návštevník otvorí"
168
+
169
+ #: admin/class-ctcc-admin.php:428
170
+ msgid ""
171
+ "If you chose Timer as the close method, enter how many seconds the "
172
+ "notification should display for"
173
+ msgstr ""
174
+ "Ak ste zvolili \"Po čase\" ako metódu zatvorenia notifikácie, sem vložte čas "
175
+ "v sekundách po koľkých má byť notifikácia zatvorená"
176
+
177
+ #: admin/class-ctcc-admin.php:435
178
+ msgid "The number of days that the cookie is set for"
179
+ msgstr "Počet dní, kým cookie vyprší"
180
+
181
+ #: admin/class-ctcc-admin.php:442
182
+ msgid ""
183
+ "A version number for the cookie - update this to invalidate the cookie and "
184
+ "force all users to view the notification again"
185
+ msgstr ""
186
+ "Verzia cookie - zmeňte toto číslo, aby sa znova všetkým používateľom "
187
+ "zobrazila notifikácia"
188
+
189
+ #: admin/class-ctcc-admin.php:453
190
+ msgid ""
191
+ "The heading text - only applies if you are not using a top or bottom bar"
192
+ msgstr ""
193
+ "Text hlavičky - týka sa iba prípadov, keď nie je použítý horný alebo spodný "
194
+ "riadok na zobrazenie notifikácie"
195
+
196
+ #: admin/class-ctcc-admin.php:460
197
+ msgid "The default text to indicate that your site uses cookies"
198
+ msgstr "PRedvolený text na informovanie, že stránka používa cookies"
199
+
200
+ #: admin/class-ctcc-admin.php:467
201
+ msgid "The default text to dismiss the notification"
202
+ msgstr "Predvolený text na zatvorenie notifikácie"
203
+
204
+ #: admin/class-ctcc-admin.php:474
205
+ msgid "The default text to use to link to a page providing further information"
206
+ msgstr "Predvolený text na odkaz na stránku s viac informáciami"
207
+
208
+ #: admin/class-ctcc-admin.php:490
209
+ msgid "The page containing further information about your cookie policy"
210
+ msgstr "Stránka obsahujúca viac informácií o pravidlácha použitia cookies"
211
+
212
+ #: admin/class-ctcc-admin.php:497
213
+ msgid ""
214
+ "You can add an absolute URL here to override the More Info Page setting "
215
+ "above. Use this to link to an external website for further information about "
216
+ "cookies."
217
+ msgstr ""
218
+ "Tu môžete vložiť absolútnu URL na prepísanie stránky s viac informáciami "
219
+ "uvedenej vyššie. Používajte v prípade, že chcete návšetevníkov odkáazať na "
220
+ "externú stránku"
221
+
222
+ #: admin/class-ctcc-admin.php:504
223
+ msgid "New Tab"
224
+ msgstr "Nová záložka"
225
+
226
+ #: admin/class-ctcc-admin.php:505
227
+ msgid "Same Tab"
228
+ msgstr "Tá istá záložka"
229
+
230
+ #: admin/class-ctcc-admin.php:507
231
+ msgid "Open the More Information page in the same or new tab."
232
+ msgstr "Otvoriť viac informácií v novej alebo tej istej záložke"
233
+
234
+ #: admin/class-ctcc-admin.php:518 public/customizer.php:36
235
+ msgid "Top Bar"
236
+ msgstr "Horný panel"
237
+
238
+ #: admin/class-ctcc-admin.php:519 public/customizer.php:37
239
+ msgid "Bottom Bar"
240
+ msgstr "Dolný panel"
241
+
242
+ #: admin/class-ctcc-admin.php:520 public/customizer.php:38
243
+ msgid "Top Left Block"
244
+ msgstr "Ľavý horný blok"
245
+
246
+ #: admin/class-ctcc-admin.php:521 public/customizer.php:39
247
+ msgid "Top Right Block"
248
+ msgstr "Pravý horný blok"
249
+
250
+ #: admin/class-ctcc-admin.php:522 public/customizer.php:40
251
+ msgid "Bottom Left Block"
252
+ msgstr "Ľavý spodný blok"
253
+
254
+ #: admin/class-ctcc-admin.php:523 public/customizer.php:41
255
+ msgid "Bottom Right Block"
256
+ msgstr "Pravý spodný blok"
257
+
258
+ #: admin/class-ctcc-admin.php:525
259
+ msgid "Where the notification should appear"
260
+ msgstr "Kde má byť notifikácia zobrazená"
261
+
262
+ #: admin/class-ctcc-admin.php:532
263
+ msgid ""
264
+ "You can add an optional wrapper class, eg container, here to align the "
265
+ "notification text with the rest of your content"
266
+ msgstr ""
267
+ "Tu môžete vložiť triedu, napr. container, aby bola notifikácia správne "
268
+ "zarovnaná so zvyškom obsahu"
269
+
270
+ #: admin/class-ctcc-admin.php:539
271
+ msgid "Deselect this to dequeue the plugin stylesheet"
272
+ msgstr "Odškrtnite toto políčko, aby bol zrušený štýl z modulu"
273
+
274
+ #: admin/class-ctcc-admin.php:546
275
+ msgid "Round the corners on the block (doesn't apply to the top or bottom bar)"
276
+ msgstr "Zaobliť rohy bloku (netýka sa horného a spodného riadku)"
277
+
278
+ #: admin/class-ctcc-admin.php:553
279
+ msgid "Add drop shadow to the block (doesn't apply to the top or bottom bar)"
280
+ msgstr "Pridať tieň pod blok (netýka sa horného a spodného riadku)"
281
+
282
+ #: admin/class-ctcc-admin.php:560
283
+ msgid "Display the confirmation button with notification text"
284
+ msgstr "Zobraziť tlačítko na zatvorenie s textom"
285
+
286
+ #: admin/class-ctcc-admin.php:567
287
+ msgid "Remove confirmation button and use 'X' icon instead"
288
+ msgstr "Zrušiť tlačítko na potvrdenie a zatvárať pomocou \"X\""
289
+
290
+ #: admin/class-ctcc-admin.php:574
291
+ msgid "The text color on the notification"
292
+ msgstr "Farba textu notifikácie"
293
+
294
+ #: admin/class-ctcc-admin.php:581
295
+ msgid "The background color for the notification"
296
+ msgstr "Farba pozadia notifikácie"
297
+
298
+ #: admin/class-ctcc-admin.php:588
299
+ msgid "The link color on the notification"
300
+ msgstr "Farba odkazu notifikácie"
301
+
302
+ #: admin/class-ctcc-admin.php:595
303
+ msgid "The text color on the notification button"
304
+ msgstr "Farba textu tlačítka"
305
+
306
+ #: admin/class-ctcc-admin.php:602
307
+ msgid "The background color on the notification button"
308
+ msgstr "Farba pozadia tlačítka"
309
+
310
+ #: admin/class-ctcc-admin.php:607
311
+ msgid "<p>Basic settings</p>"
312
+ msgstr "<p>Základné nastavenia</p>"
313
+
314
+ #: admin/class-ctcc-admin.php:611
315
+ msgid "<p>Update the content displayed to the user</p>"
316
+ msgstr "<p>Upraviť obsah zobrazený používateľovi</p>"
317
+
318
+ #: admin/class-ctcc-admin.php:615
319
+ msgid ""
320
+ "<p>Change the styles here if you like - but it's better in the Customizer</p>"
321
+ msgstr ""
322
+ "<p>Tu môžete zmeniť stýly ak chcete, ale je lepšie zvoliť Editor štýlov</p>"
323
+
324
+ #: admin/class-ctcc-admin.php:632
325
+ msgid "General"
326
+ msgstr "Hlavné"
327
+
328
+ #: admin/class-ctcc-admin.php:633
329
+ msgid "Content"
330
+ msgstr "Obsah"
331
+
332
+ #: admin/class-ctcc-admin.php:634
333
+ msgid "Styles"
334
+ msgstr "Štýly"
335
+
336
+ #: admin/class-ctcc-admin.php:656
337
+ msgid "Reset plugin defaults"
338
+ msgstr "Resetovať na predvolené nastavenia"
339
+
340
+ #: public/customizer.php:43
341
+ msgid "Position and placement."
342
+ msgstr "Umiestnenie."
343
+
344
+ #: public/customizer.php:59
345
+ msgid "Optional wrapper class."
346
+ msgstr "Voliteľná wrapper class."
347
+
348
+ #: public/customizer.php:74
349
+ msgid "Enqueue Styles"
350
+ msgstr "Pripojiť štýly"
351
+
352
+ #: public/customizer.php:75
353
+ msgid "Deselect this to dequeue the plugin stylesheet."
354
+ msgstr "Odznačte toto políčko pre vyradenie predvolených štýlov modulu"
355
+
356
+ #: public/customizer.php:91
357
+ msgid "Round the corners on the block."
358
+ msgstr "Oválne rohy bloku"
359
+
360
+ #: public/customizer.php:107
361
+ msgid "Add drop shadow to the block."
362
+ msgstr "Pridať tieň bloku"
363
+
364
+ #: public/customizer.php:123
365
+ msgid "Deselect to float button to right."
366
+ msgstr "Odškrtnite pre zarovnanie tlačítka doprava"
367
+
368
+ #: public/customizer.php:139
369
+ msgid "Replace confirmation button with 'X' icon."
370
+ msgstr "Zameniť tlačítko za \"X\""
371
+
372
+ #: public/customizer.php:155
373
+ msgid "Text color for your notification bar."
374
+ msgstr "Farba textu notifikačného panelu"
375
+
376
+ #: public/customizer.php:171
377
+ msgid "Background color for your notification bar."
378
+ msgstr "Farba pozadia notifikačného panelu"
379
+
380
+ #: public/customizer.php:187
381
+ msgid "Link color for your notification bar."
382
+ msgstr "Farba odkazu notifikačného panelu"
383
+
384
+ #: public/customizer.php:203
385
+ msgid "Text color for your notification bar button."
386
+ msgstr "Farba textu tlačítka"
387
+
388
+ #: public/customizer.php:219
389
+ msgid "Background color for your notification bar button."
390
+ msgstr "Farba pozadia tlačítka"
391
+
392
+ #: uk-cookie-consent.php:54
393
+ msgid "Cookie Policy"
394
+ msgstr "Pravidlá použitia Cookies"
395
+
396
+ #: uk-cookie-consent.php:55
397
+ msgid ""
398
+ "This site uses cookies - small text files that are placed on your machine to "
399
+ "help the site provide a better user experience. In general, cookies are used "
400
+ "to retain user preferences, store information for things like shopping "
401
+ "carts, and provide anonymised tracking data to third party applications like "
402
+ "Google Analytics. As a rule, cookies will make your browsing experience "
403
+ "better. However, you may prefer to disable cookies on this site and on "
404
+ "others. The most effective way to do this is to disable cookies in your "
405
+ "browser. We suggest consulting the Help section of your browser or taking a "
406
+ "look at <a href=\"http://www.aboutcookies.org\">the About Cookies website</"
407
+ "a> which offers guidance for all modern browsers"
408
+ msgstr ""
409
+ "Táto stránka používa cookies - malé textové súbory, ktoré sú uložené na "
410
+ "Vašom počítači, aby pomohli stránke zlepšiť užívateľský komfort. Cookies sú "
411
+ "všeobecne používané na uloženie nastavení používateľa a informácií ako napr. "
412
+ "obsah nákupného vozíka alebo anonymné zbieranie informácií pre tretie strany "
413
+ "ako Google Analytics. Je pravidlom, že cookies zlepšia komfort prezerania "
414
+ "stránok. Napriek tomu ale môžete uprednostniť zakázanie cookies na tejto "
415
+ "alebo iných stránkach. Najjednoduchšia možnosť je zakázať cookies vo Vašom "
416
+ "prehliadači. Odporúčame postupovať pomocou Nápovedy Vašeho webového "
417
+ "prehliadača, prípadne <a href=\"http://www.aboutcookies.org\">stránky "
418
+ "venovanej cookies</a>, ktorá obsahuje návody pre všetky moderné prehliadače."
419
+
420
+ #. Plugin URI of the plugin/theme
421
+ msgid "http://catapultthemes.com/cookie-consent/"
422
+ msgstr "http://catapultthemes.com/cookie-consent/"
423
+
424
+ #. Description of the plugin/theme
425
+ msgid "The only cookie consent plugin you'll ever need."
426
+ msgstr ""
427
+ "Jediný plugin na informovanie o použití cookies, ktorý kedy budete "
428
+ "potrebovať."
429
+
430
+ #. Author of the plugin/theme
431
+ msgid "Catapult_Themes"
432
+ msgstr "Catapult_Themes"
433
+
434
+ #. Author URI of the plugin/theme
435
+ msgid "http://catapultthemes.com/"
436
+ msgstr "http://catapultthemes.com/"
trunk/languages/uk-cookie-consent.pot ADDED
@@ -0,0 +1,408 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2016 Cookie Consent
2
+ # This file is distributed under the same license as the Cookie Consent package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Cookie Consent 2.0.3\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/uk-cookie-"
7
+ "consent\n"
8
+ "POT-Creation-Date: 2016-01-12 23:15:34+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+
16
+ #. #-#-#-#-# uk-cookie-consent.pot (Cookie Consent 2.0.3) #-#-#-#-#
17
+ #. Plugin Name of the plugin/theme
18
+ #: admin/class-ctcc-admin.php:56 admin/class-ctcc-admin.php:630
19
+ #: public/customizer.php:17
20
+ msgid "Cookie Consent"
21
+ msgstr ""
22
+
23
+ #: admin/class-ctcc-admin.php:65
24
+ msgid "General settings"
25
+ msgstr ""
26
+
27
+ #: admin/class-ctcc-admin.php:72
28
+ msgid "Close"
29
+ msgstr ""
30
+
31
+ #: admin/class-ctcc-admin.php:80
32
+ msgid "First Page Only"
33
+ msgstr ""
34
+
35
+ #: admin/class-ctcc-admin.php:88
36
+ msgid "Notification Duration"
37
+ msgstr ""
38
+
39
+ #: admin/class-ctcc-admin.php:96
40
+ msgid "Cookie Expiry"
41
+ msgstr ""
42
+
43
+ #: admin/class-ctcc-admin.php:104
44
+ msgid "Cookie Version"
45
+ msgstr ""
46
+
47
+ #: admin/class-ctcc-admin.php:126
48
+ msgid "Content settings"
49
+ msgstr ""
50
+
51
+ #: admin/class-ctcc-admin.php:133
52
+ msgid "Heading Text"
53
+ msgstr ""
54
+
55
+ #: admin/class-ctcc-admin.php:141
56
+ msgid "Notification Text"
57
+ msgstr ""
58
+
59
+ #: admin/class-ctcc-admin.php:149
60
+ msgid "More Info Text"
61
+ msgstr ""
62
+
63
+ #: admin/class-ctcc-admin.php:157
64
+ msgid "More Info Page"
65
+ msgstr ""
66
+
67
+ #: admin/class-ctcc-admin.php:165
68
+ msgid "More Info URL"
69
+ msgstr ""
70
+
71
+ #: admin/class-ctcc-admin.php:173
72
+ msgid "More Info Target"
73
+ msgstr ""
74
+
75
+ #: admin/class-ctcc-admin.php:181
76
+ msgid "Accept Text"
77
+ msgstr ""
78
+
79
+ #: admin/class-ctcc-admin.php:203
80
+ msgid "Styles settings"
81
+ msgstr ""
82
+
83
+ #: admin/class-ctcc-admin.php:210 public/customizer.php:34
84
+ msgid "Position"
85
+ msgstr ""
86
+
87
+ #: admin/class-ctcc-admin.php:218 public/customizer.php:58
88
+ msgid "Container Class"
89
+ msgstr ""
90
+
91
+ #: admin/class-ctcc-admin.php:226
92
+ msgid "Include Stylesheet"
93
+ msgstr ""
94
+
95
+ #: admin/class-ctcc-admin.php:234 public/customizer.php:90
96
+ msgid "Rounded Corners"
97
+ msgstr ""
98
+
99
+ #: admin/class-ctcc-admin.php:242 public/customizer.php:106
100
+ msgid "Drop Shadow"
101
+ msgstr ""
102
+
103
+ #: admin/class-ctcc-admin.php:250 public/customizer.php:122
104
+ msgid "Display Button With Text"
105
+ msgstr ""
106
+
107
+ #: admin/class-ctcc-admin.php:258 public/customizer.php:138
108
+ msgid "Use X Close"
109
+ msgstr ""
110
+
111
+ #: admin/class-ctcc-admin.php:266 public/customizer.php:154
112
+ msgid "Text Color"
113
+ msgstr ""
114
+
115
+ #: admin/class-ctcc-admin.php:274 admin/class-ctcc-admin.php:306
116
+ #: public/customizer.php:170
117
+ msgid "Background Color"
118
+ msgstr ""
119
+
120
+ #: admin/class-ctcc-admin.php:282 public/customizer.php:186
121
+ msgid "Link Color"
122
+ msgstr ""
123
+
124
+ #: admin/class-ctcc-admin.php:290 public/customizer.php:202
125
+ msgid "Button Color"
126
+ msgstr ""
127
+
128
+ #: admin/class-ctcc-admin.php:298 public/customizer.php:218
129
+ msgid "Button Background"
130
+ msgstr ""
131
+
132
+ #: admin/class-ctcc-admin.php:339 admin/class-ctcc-admin.php:349
133
+ msgid "Cookies"
134
+ msgstr ""
135
+
136
+ #: admin/class-ctcc-admin.php:350
137
+ msgid "This site uses cookies: "
138
+ msgstr ""
139
+
140
+ #: admin/class-ctcc-admin.php:351
141
+ msgid "Okay, thanks"
142
+ msgstr ""
143
+
144
+ #: admin/class-ctcc-admin.php:352
145
+ msgid "Find out more."
146
+ msgstr ""
147
+
148
+ #: admin/class-ctcc-admin.php:411
149
+ msgid "On Click"
150
+ msgstr ""
151
+
152
+ #: admin/class-ctcc-admin.php:412
153
+ msgid "Timed"
154
+ msgstr ""
155
+
156
+ #: admin/class-ctcc-admin.php:414
157
+ msgid "How you want the user to close the notification"
158
+ msgstr ""
159
+
160
+ #: admin/class-ctcc-admin.php:421
161
+ msgid ""
162
+ "Select this to show the notification only on the first page the user visits"
163
+ msgstr ""
164
+
165
+ #: admin/class-ctcc-admin.php:428
166
+ msgid ""
167
+ "If you chose Timer as the close method, enter how many seconds the "
168
+ "notification should display for"
169
+ msgstr ""
170
+
171
+ #: admin/class-ctcc-admin.php:435
172
+ msgid "The number of days that the cookie is set for"
173
+ msgstr ""
174
+
175
+ #: admin/class-ctcc-admin.php:442
176
+ msgid ""
177
+ "A version number for the cookie - update this to invalidate the cookie and "
178
+ "force all users to view the notification again"
179
+ msgstr ""
180
+
181
+ #: admin/class-ctcc-admin.php:453
182
+ msgid ""
183
+ "The heading text - only applies if you are not using a top or bottom bar"
184
+ msgstr ""
185
+
186
+ #: admin/class-ctcc-admin.php:460
187
+ msgid "The default text to indicate that your site uses cookies"
188
+ msgstr ""
189
+
190
+ #: admin/class-ctcc-admin.php:467
191
+ msgid "The default text to dismiss the notification"
192
+ msgstr ""
193
+
194
+ #: admin/class-ctcc-admin.php:474
195
+ msgid "The default text to use to link to a page providing further information"
196
+ msgstr ""
197
+
198
+ #: admin/class-ctcc-admin.php:490
199
+ msgid "The page containing further information about your cookie policy"
200
+ msgstr ""
201
+
202
+ #: admin/class-ctcc-admin.php:497
203
+ msgid ""
204
+ "You can add an absolute URL here to override the More Info Page setting "
205
+ "above. Use this to link to an external website for further information about "
206
+ "cookies."
207
+ msgstr ""
208
+
209
+ #: admin/class-ctcc-admin.php:504
210
+ msgid "New Tab"
211
+ msgstr ""
212
+
213
+ #: admin/class-ctcc-admin.php:505
214
+ msgid "Same Tab"
215
+ msgstr ""
216
+
217
+ #: admin/class-ctcc-admin.php:507
218
+ msgid "Open the More Information page in the same or new tab."
219
+ msgstr ""
220
+
221
+ #: admin/class-ctcc-admin.php:518 public/customizer.php:36
222
+ msgid "Top Bar"
223
+ msgstr ""
224
+
225
+ #: admin/class-ctcc-admin.php:519 public/customizer.php:37
226
+ msgid "Bottom Bar"
227
+ msgstr ""
228
+
229
+ #: admin/class-ctcc-admin.php:520 public/customizer.php:38
230
+ msgid "Top Left Block"
231
+ msgstr ""
232
+
233
+ #: admin/class-ctcc-admin.php:521 public/customizer.php:39
234
+ msgid "Top Right Block"
235
+ msgstr ""
236
+
237
+ #: admin/class-ctcc-admin.php:522 public/customizer.php:40
238
+ msgid "Bottom Left Block"
239
+ msgstr ""
240
+
241
+ #: admin/class-ctcc-admin.php:523 public/customizer.php:41
242
+ msgid "Bottom Right Block"
243
+ msgstr ""
244
+
245
+ #: admin/class-ctcc-admin.php:525
246
+ msgid "Where the notification should appear"
247
+ msgstr ""
248
+
249
+ #: admin/class-ctcc-admin.php:532
250
+ msgid ""
251
+ "You can add an optional wrapper class, eg container, here to align the "
252
+ "notification text with the rest of your content"
253
+ msgstr ""
254
+
255
+ #: admin/class-ctcc-admin.php:539
256
+ msgid "Deselect this to dequeue the plugin stylesheet"
257
+ msgstr ""
258
+
259
+ #: admin/class-ctcc-admin.php:546
260
+ msgid "Round the corners on the block (doesn't apply to the top or bottom bar)"
261
+ msgstr ""
262
+
263
+ #: admin/class-ctcc-admin.php:553
264
+ msgid "Add drop shadow to the block (doesn't apply to the top or bottom bar)"
265
+ msgstr ""
266
+
267
+ #: admin/class-ctcc-admin.php:560
268
+ msgid "Display the confirmation button with notification text"
269
+ msgstr ""
270
+
271
+ #: admin/class-ctcc-admin.php:567
272
+ msgid "Remove confirmation button and use 'X' icon instead"
273
+ msgstr ""
274
+
275
+ #: admin/class-ctcc-admin.php:574
276
+ msgid "The text color on the notification"
277
+ msgstr ""
278
+
279
+ #: admin/class-ctcc-admin.php:581
280
+ msgid "The background color for the notification"
281
+ msgstr ""
282
+
283
+ #: admin/class-ctcc-admin.php:588
284
+ msgid "The link color on the notification"
285
+ msgstr ""
286
+
287
+ #: admin/class-ctcc-admin.php:595
288
+ msgid "The text color on the notification button"
289
+ msgstr ""
290
+
291
+ #: admin/class-ctcc-admin.php:602
292
+ msgid "The background color on the notification button"
293
+ msgstr ""
294
+
295
+ #: admin/class-ctcc-admin.php:607
296
+ msgid "<p>Basic settings</p>"
297
+ msgstr ""
298
+
299
+ #: admin/class-ctcc-admin.php:611
300
+ msgid "<p>Update the content displayed to the user</p>"
301
+ msgstr ""
302
+
303
+ #: admin/class-ctcc-admin.php:615
304
+ msgid ""
305
+ "<p>Change the styles here if you like - but it's better in the Customizer</p>"
306
+ msgstr ""
307
+
308
+ #: admin/class-ctcc-admin.php:632
309
+ msgid "General"
310
+ msgstr ""
311
+
312
+ #: admin/class-ctcc-admin.php:633
313
+ msgid "Content"
314
+ msgstr ""
315
+
316
+ #: admin/class-ctcc-admin.php:634
317
+ msgid "Styles"
318
+ msgstr ""
319
+
320
+ #: admin/class-ctcc-admin.php:656
321
+ msgid "Reset plugin defaults"
322
+ msgstr ""
323
+
324
+ #: public/customizer.php:43
325
+ msgid "Position and placement."
326
+ msgstr ""
327
+
328
+ #: public/customizer.php:59
329
+ msgid "Optional wrapper class."
330
+ msgstr ""
331
+
332
+ #: public/customizer.php:74
333
+ msgid "Enqueue Styles"
334
+ msgstr ""
335
+
336
+ #: public/customizer.php:75
337
+ msgid "Deselect this to dequeue the plugin stylesheet."
338
+ msgstr ""
339
+
340
+ #: public/customizer.php:91
341
+ msgid "Round the corners on the block."
342
+ msgstr ""
343
+
344
+ #: public/customizer.php:107
345
+ msgid "Add drop shadow to the block."
346
+ msgstr ""
347
+
348
+ #: public/customizer.php:123
349
+ msgid "Deselect to float button to right."
350
+ msgstr ""
351
+
352
+ #: public/customizer.php:139
353
+ msgid "Replace confirmation button with 'X' icon."
354
+ msgstr ""
355
+
356
+ #: public/customizer.php:155
357
+ msgid "Text color for your notification bar."
358
+ msgstr ""
359
+
360
+ #: public/customizer.php:171
361
+ msgid "Background color for your notification bar."
362
+ msgstr ""
363
+
364
+ #: public/customizer.php:187
365
+ msgid "Link color for your notification bar."
366
+ msgstr ""
367
+
368
+ #: public/customizer.php:203
369
+ msgid "Text color for your notification bar button."
370
+ msgstr ""
371
+
372
+ #: public/customizer.php:219
373
+ msgid "Background color for your notification bar button."
374
+ msgstr ""
375
+
376
+ #: uk-cookie-consent.php:54
377
+ msgid "Cookie Policy"
378
+ msgstr ""
379
+
380
+ #: uk-cookie-consent.php:55
381
+ msgid ""
382
+ "This site uses cookies - small text files that are placed on your machine to "
383
+ "help the site provide a better user experience. In general, cookies are used "
384
+ "to retain user preferences, store information for things like shopping "
385
+ "carts, and provide anonymised tracking data to third party applications like "
386
+ "Google Analytics. As a rule, cookies will make your browsing experience "
387
+ "better. However, you may prefer to disable cookies on this site and on "
388
+ "others. The most effective way to do this is to disable cookies in your "
389
+ "browser. We suggest consulting the Help section of your browser or taking a "
390
+ "look at <a href=\"http://www.aboutcookies.org\">the About Cookies website</"
391
+ "a> which offers guidance for all modern browsers"
392
+ msgstr ""
393
+
394
+ #. Plugin URI of the plugin/theme
395
+ msgid "http://catapultthemes.com/cookie-consent/"
396
+ msgstr ""
397
+
398
+ #. Description of the plugin/theme
399
+ msgid "The only cookie consent plugin you'll ever need."
400
+ msgstr ""
401
+
402
+ #. Author of the plugin/theme
403
+ msgid "Catapult_Themes"
404
+ msgstr ""
405
+
406
+ #. Author URI of the plugin/theme
407
+ msgid "http://catapultthemes.com/"
408
+ msgstr ""
trunk/public/class-ctcc-public.php ADDED
@@ -0,0 +1,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Public class
4
+ */
5
+
6
+ // Exit if accessed directly
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit;
9
+ }
10
+
11
+ /**
12
+ * Plugin public class
13
+ **/
14
+ if ( ! class_exists( 'CTCC_Public' ) ) { // Don't initialise if there's already a class activated
15
+
16
+ class CTCC_Public {
17
+
18
+ public function __construct() {
19
+ //
20
+ }
21
+
22
+ /*
23
+ * Initialize the class and start calling our hooks and filters
24
+ * @since 2.0.0
25
+ */
26
+ public function init() {
27
+ add_action ( 'wp_enqueue_scripts', array ( $this, 'enqueue_scripts' ) );
28
+ add_action ( 'wp_head', array ( $this, 'add_css' ) );
29
+ add_action ( 'wp_footer', array ( $this, 'add_js' ), 1000 );
30
+ add_action ( 'wp_footer', array ( $this, 'add_notification_bar' ), 1000 );
31
+ }
32
+
33
+ /*
34
+ * Enqueue styles and scripts
35
+ * @since 2.0.0
36
+ */
37
+ public function enqueue_scripts() {
38
+ $exclude = $this->show_bar();
39
+ // Only do all this if post isn't excluded
40
+ if( ! empty( $exclude ) ) {
41
+ $ctcc_options_settings = get_option ( 'ctcc_options_settings' );
42
+ $options = get_option ( 'ctcc_styles_settings' );
43
+ if ( isset ( $options['enqueue_styles'] ) ) {
44
+ wp_enqueue_style ( 'cookie-consent-style', CTCC_PLUGIN_URL . 'assets/css/style.css', '2.0.0' );
45
+ }
46
+ wp_enqueue_script ( 'cookie-consent', CTCC_PLUGIN_URL . 'assets/js/uk-cookie-consent-js.js', array ( 'jquery' ), '2.0.0', true );
47
+ wp_localize_script (
48
+ 'cookie-consent',
49
+ 'ctcc_vars',
50
+ array (
51
+ 'expiry' => $ctcc_options_settings['cookie_expiry'],
52
+ 'method' => isset ( $ctcc_options_settings['first_page'] ),
53
+ 'version' => $ctcc_options_settings['cookie_version'],
54
+ )
55
+ );
56
+ }
57
+ }
58
+
59
+ /*
60
+ * Check if post or page is excluded from displaying the bar
61
+ * @since 2.2.0
62
+ */
63
+ public function show_bar() {
64
+ global $post;
65
+ $options = get_option( 'ctcc_options_settings' );
66
+ if( isset( $post->ID) ) {
67
+ $post_id = $post->ID;
68
+ $excluded = get_post_meta( $post_id, 'ctcc_exclude', true );
69
+ if( $excluded == 1 && ! empty( $options['enable_metafield'] ) ) {
70
+ return false;
71
+ }
72
+ }
73
+ return true;
74
+ }
75
+
76
+ /*
77
+ * Add some CSS to the header
78
+ * @since 2.0.0
79
+ */
80
+ public function add_css() {
81
+ $exclude = $this->show_bar();
82
+ // Only do all this if post isn't excluded
83
+ if( ! empty( $exclude ) ) {
84
+ $options = get_option ( 'ctcc_options_settings' );
85
+ $ctcc_styles_settings = get_option ( 'ctcc_styles_settings' );
86
+ $position_css = 'position: fixed;
87
+ left: 0;
88
+ top: 0;
89
+ width: 100%;';
90
+ // Figure out the bar position
91
+ if ( $ctcc_styles_settings['position'] == 'top-bar' ) {
92
+ $position_css = 'position: fixed;
93
+ left: 0;
94
+ top: 0;
95
+ width: 100%;';
96
+ } else if ( $ctcc_styles_settings['position'] == 'bottom-bar' ) {
97
+ $position_css = 'position: fixed;
98
+ left: 0;
99
+ bottom: 0;
100
+ width: 100%;';
101
+ } else if ( $ctcc_styles_settings['position'] == 'top-right-block' ) {
102
+ $position_css = 'position: fixed;
103
+ right: 20px;
104
+ top: 6%;
105
+ width: 300px;';
106
+ } else if ( $ctcc_styles_settings['position'] == 'top-left-block' ) {
107
+ $position_css = 'position: fixed;
108
+ left: 20px;
109
+ top: 6%;
110
+ width: 300px;';
111
+ } else if ( $ctcc_styles_settings['position'] == 'bottom-left-block' ) {
112
+ $position_css = 'position: fixed;
113
+ left: 20px;
114
+ bottom: 6%;
115
+ width: 300px;';
116
+ } else if ( $ctcc_styles_settings['position'] == 'bottom-right-block' ) {
117
+ $position_css = 'position: fixed;
118
+ right: 20px;
119
+ bottom: 6%;
120
+ width: 300px;';
121
+ }
122
+ // Get our styles
123
+ $text_color = $ctcc_styles_settings['text_color'];
124
+ $position = 'top';
125
+ $bg_color = $ctcc_styles_settings['bg_color'];
126
+ $link_color = $ctcc_styles_settings['link_color'];
127
+ $button_bg = $ctcc_styles_settings['button_bg_color'];
128
+ $button_color = $ctcc_styles_settings['button_color'];
129
+ if ( ! empty ( $ctcc_styles_settings['flat_button'] ) ){
130
+ $button_style = 'border: 0; padding: 6px 9px; border-radius: 3px;';
131
+ } else {
132
+ $button_style = '';
133
+ }
134
+ // Build our CSS
135
+ $css = '<style id="ctcc-css" type="text/css" media="screen">';
136
+ $css .= '
137
+ #catapult-cookie-bar {
138
+ box-sizing: border-box;
139
+ max-height: 0;
140
+ opacity: 0;
141
+ z-index: 99999;
142
+ overflow: hidden;
143
+ color: ' . $text_color . ';
144
+ ' . $position_css . '
145
+ background-color: ' . $bg_color . ';
146
+ }
147
+ #catapult-cookie-bar a {
148
+ color: ' . $link_color . ';
149
+ }
150
+ #catapult-cookie-bar .x_close span {
151
+ background-color: ' . $button_color . ';
152
+ }
153
+ button#catapultCookie {
154
+ background:' . $button_bg . ';
155
+ color: ' . $button_color . ';
156
+ ' . $button_style . '
157
+ }
158
+ #catapult-cookie-bar h3 {
159
+ color: ' . $text_color . ';
160
+ }
161
+ .has-cookie-bar #catapult-cookie-bar {
162
+ opacity: 1;
163
+ max-height: 999px;
164
+ min-height: 30px;
165
+ }';
166
+ $css .= '</style>';
167
+ echo $css;
168
+ // Add it to the header
169
+ }
170
+ }
171
+
172
+ /*
173
+ * Add some JS to the footer
174
+ * @since 2.0.0
175
+ */
176
+ public function add_js() {
177
+
178
+ $exclude = $this->show_bar();
179
+ // Only do all this if post isn't excluded
180
+ if( ! empty( $exclude ) ) {
181
+ $options = get_option( 'ctcc_options_settings' );
182
+ $ctcc_styles_settings = get_option ( 'ctcc_styles_settings' );
183
+
184
+ if ( $ctcc_styles_settings['position'] == 'top-bar' || $ctcc_styles_settings['position'] == 'bottom-bar' ) {
185
+ $type = 'bar';
186
+ } else {
187
+ $type = 'block';
188
+ } ?>
189
+
190
+ <script type="text/javascript">
191
+ jQuery(document).ready(function($){
192
+ <?php if ( isset ( $_GET['cookie'] ) ) { ?>
193
+ catapultDeleteCookie('catAccCookies');
194
+ <?php } ?>
195
+ if(!catapultReadCookie("catAccCookies")){ // If the cookie has not been set then show the bar
196
+ $("html").addClass("has-cookie-bar");
197
+ $("html").addClass("cookie-bar-<?php echo $ctcc_styles_settings['position']; ?>");
198
+ $("html").addClass("cookie-bar-<?php echo $type; ?>");
199
+ <?php // Move the HTML down if the bar is at the top
200
+ if ( $ctcc_styles_settings['position'] == 'top-bar' ) {
201
+ ?>
202
+ // Wait for the animation on the html to end before recalculating the required top margin
203
+ $("html").on('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(e) {
204
+ // code to execute after transition ends
205
+ var barHeight = $('#catapult-cookie-bar').outerHeight();
206
+ $("html").css("margin-top",barHeight);
207
+ $("body.admin-bar").css("margin-top",barHeight-32); // Push the body down if the admin bar is active
208
+ });
209
+ <?php } ?>
210
+ }
211
+ <?php if ( $options['closure'] == 'timed' ) {
212
+ // Add some script if it's on a timer
213
+ $duration = absint($options['duration']) * 1000; ?>
214
+ setTimeout(ctccCloseNotification, <?php echo $duration; ?>);
215
+ <?php } else if( $options['closure'] == 'scroll' ) {
216
+ if( isset( $options['scroll_height'] ) && intval( $options['scroll_height'] ) > 0 ) {
217
+ $height = intval( $options['scroll_height'] );
218
+ } else {
219
+ $height = 200;
220
+ }
221
+ ?>
222
+ $(window).scroll(function(){
223
+ var scroll = $(window).scrollTop();
224
+ if ( scroll > <?php echo $height; ?> ) {
225
+ ctccCloseNotification();
226
+ }
227
+ });
228
+ <?php } ?>
229
+ <?php if ( ! empty ( $options['first_page'] ) ) {
230
+ // Add some script if the notification only displays on the first page ?>
231
+ ctccFirstPage();
232
+ <?php } ?>
233
+ });
234
+ </script>
235
+
236
+ <?php }
237
+
238
+ }
239
+
240
+ /*
241
+ * Add the notification bar itself
242
+ * @since 2.0.0
243
+ */
244
+ public function add_notification_bar() {
245
+
246
+ $exclude = $this->show_bar();
247
+ // Only do all this if post isn't excluded
248
+ if( ! empty( $exclude ) ) {
249
+
250
+ $ctcc_options_settings = get_option ( 'ctcc_options_settings' );
251
+ $ctcc_content_settings = get_option ( 'ctcc_content_settings' );
252
+ $ctcc_styles_settings = get_option ( 'ctcc_styles_settings' );
253
+
254
+ // Check if it's a block or a bar
255
+ $is_block = true;
256
+ if ( $ctcc_styles_settings['position'] == 'top-bar' || $ctcc_styles_settings['position'] == 'bottom-bar' ) {
257
+ $is_block = false; // It's a bar
258
+ }
259
+
260
+ // Add some classes to the block
261
+ $classes = '';
262
+ if ( $is_block ) {
263
+ if ( ! empty ( $ctcc_styles_settings['rounded_corners'] ) ) {
264
+ $classes .= ' rounded-corners';
265
+ }
266
+ if ( ! empty ( $ctcc_styles_settings['drop_shadow'] ) ) {
267
+ $classes .= ' drop-shadow';
268
+ }
269
+ }
270
+ if ( ! empty ( $ctcc_styles_settings['x_close'] ) ) {
271
+ $classes .= ' use_x_close';
272
+ }
273
+ if ( empty ( $ctcc_styles_settings['display_accept_with_text'] ) ) {
274
+ $classes .= ' float-accept';
275
+ }
276
+
277
+ // Allowed tags
278
+ $allowed = array (
279
+ 'a' => array (
280
+ 'href' => array(),
281
+ 'title' => array()
282
+ ),
283
+ 'br' => array(),
284
+ 'em' => array(),
285
+ 'strong' => array(),
286
+ 'p' => array()
287
+ );
288
+
289
+ $content = '';
290
+ $close_content = '';
291
+
292
+ // Print the notification bar
293
+ $content = '<div id="catapult-cookie-bar" class="' . $classes . '">';
294
+
295
+ // Add a custom wrapper class if specified
296
+ if ( $ctcc_styles_settings['position'] == 'top-bar' || $ctcc_styles_settings['position'] == 'bottom-bar' ) {
297
+ $content .= '<div class="ctcc-inner ' . esc_attr ( str_replace ( '.', '', $ctcc_styles_settings['container_class'] ) ) . '">';
298
+ $close_content = '</div><!-- custom wrapper class -->';
299
+ }
300
+
301
+ // Add a title if it's a block
302
+ if ( $ctcc_styles_settings['position'] != 'top-bar' && $ctcc_styles_settings['position'] != 'bottom-bar' ) {
303
+ $heading_text = wp_kses ( $ctcc_content_settings['heading_text'], $allowed );
304
+ $heading_text = apply_filters( 'ctcc_heading_text', $heading_text );
305
+ $content .= sprintf ( '<h3>%s</h3>',
306
+ $heading_text
307
+ );
308
+ }
309
+
310
+ // Make the Read More link
311
+ $more_text = '';
312
+ if ( $ctcc_content_settings['more_info_text'] ) {
313
+ // Find what page we're linking to
314
+ if ( ! empty ( $ctcc_content_settings['more_info_url'] ) ) {
315
+ // Check the absolute URL first
316
+ $link = $ctcc_content_settings['more_info_url'];
317
+ } else {
318
+ // Use the internal page
319
+ $link = get_permalink ( $ctcc_content_settings['more_info_page'] );
320
+ }
321
+ $more_info_text = wp_kses ( $ctcc_content_settings['more_info_text'], $allowed );
322
+ $more_info_text = apply_filters( 'ctcc_more_info_text', $more_info_text );
323
+ $more_text = sprintf (
324
+ '<a class="ctcc-more-info-link" tabindex=0 target="%s" href="%s">%s</a>',
325
+ esc_attr ( $ctcc_content_settings['more_info_target'] ),
326
+ esc_url ( $link ),
327
+ $more_info_text
328
+ );
329
+ }
330
+
331
+ $button_text = '';
332
+ if ( empty ( $ctcc_styles_settings['x_close'] ) ) {
333
+ $accept_text = wp_kses ( $ctcc_content_settings['accept_text'], $allowed );
334
+ $accept_text = apply_filters( 'ctcc_accept_text', $accept_text );
335
+ $button_text = sprintf (
336
+ '<button id="catapultCookie" tabindex=0 onclick="catapultAcceptCookies();">%s</button>',
337
+ $accept_text
338
+ );
339
+ }
340
+
341
+ // The main bar content
342
+ $notification_text = wp_kses_post ( do_shortcode( $ctcc_content_settings['notification_text'] ) );
343
+ $notification_text = apply_filters( 'ctcc_notification_text', $notification_text );
344
+ $content .= sprintf (
345
+ '<span class="ctcc-left-side">%s %s</span><span class="ctcc-right-side">%s</span>',
346
+ $notification_text,
347
+ $more_text,
348
+ $button_text
349
+ );
350
+
351
+ // X close button
352
+ if ( ! empty ( $ctcc_styles_settings['x_close'] ) ) {
353
+ $content .= '<div class="x_close"><span></span><span></span></div>';
354
+ }
355
+
356
+ // Close custom wrapper class if used
357
+ $content .= $close_content;
358
+
359
+ $content .= '</div><!-- #catapult-cookie-bar -->';
360
+
361
+ echo apply_filters ( 'catapult_cookie_content', $content, $ctcc_content_settings );
362
+
363
+ }
364
+
365
+ }
366
+
367
+ }
368
+
369
+ }
trunk/public/customizer.php ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Customizer
4
+ */
5
+
6
+ // Exit if accessed directly
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit;
9
+ }
10
+
11
+ function ctcc_customize_register( $wp_customize ) {
12
+ // Do stuff with $wp_customize, the WP_Customize_Manager object.
13
+ //$options = get_option( 'ctcc_styles_settings' );
14
+ //echo $options['text_color'];
15
+
16
+ $wp_customize -> add_section ( 'cctc', array (
17
+ 'title' => __( 'Cookie Consent', 'uk-cookie-consent' ),
18
+ 'priority' => 999
19
+ ) );
20
+
21
+ $wp_customize -> add_setting( 'ctcc_styles_settings[position]', array(
22
+ 'type' => 'option', // or 'option'
23
+ 'capability' => 'edit_theme_options',
24
+ 'theme_supports' => '', // Rarely needed.
25
+ 'default' => '',
26
+ 'transport' => 'refresh', // or postMessage
27
+ 'sanitize_callback' => '',
28
+ 'sanitize_js_callback' => '', // Basically to_json.
29
+ ) );
30
+ $wp_customize -> add_control( 'ctcc_styles_settings[position]', array(
31
+ 'type' => 'select',
32
+ 'priority' => 1, // Within the section.
33
+ 'section' => 'cctc', // Required, core or custom.
34
+ 'label' => __( 'Position', 'uk-cookie-consent' ),
35
+ 'choices' => array (
36
+ 'top-bar' => __( 'Top Bar', 'uk-cookie-consent' ),
37
+ 'bottom-bar' => __( 'Bottom Bar', 'uk-cookie-consent' ),
38
+ 'top-left-block' => __( 'Top Left Block', 'uk-cookie-consent' ),
39
+ 'top-right-block' => __( 'Top Right Block', 'uk-cookie-consent' ),
40
+ 'bottom-left-block' => __( 'Bottom Left Block', 'uk-cookie-consent' ),
41
+ 'bottom-right-block' => __( 'Bottom Right Block', 'uk-cookie-consent' ),
42
+ ),
43
+ 'description' => __( 'Position and placement.', 'uk-cookie-consent' )
44
+ ) );
45
+ $wp_customize -> add_setting( 'ctcc_styles_settings[container_class]', array(
46
+ 'type' => 'option', // or 'option'
47
+ 'capability' => 'edit_theme_options',
48
+ 'theme_supports' => '', // Rarely needed.
49
+ 'default' => '',
50
+ 'transport' => 'refresh', // or postMessage
51
+ 'sanitize_callback' => '',
52
+ 'sanitize_js_callback' => '', // Basically to_json.
53
+ ) );
54
+ $wp_customize -> add_control( 'ctcc_styles_settings[container_class]', array(
55
+ 'type' => 'text',
56
+ 'priority' => 2, // Within the section.
57
+ 'section' => 'cctc', // Required, core or custom.
58
+ 'label' => __( 'Container Class', 'uk-cookie-consent' ),
59
+ 'description' => __( 'Optional wrapper class.', 'uk-cookie-consent' )
60
+ ) );
61
+ $wp_customize -> add_setting( 'ctcc_styles_settings[enqueue_styles]', array(
62
+ 'type' => 'option', // or 'option'
63
+ 'capability' => 'edit_theme_options',
64
+ 'theme_supports' => '', // Rarely needed.
65
+ 'default' => '',
66
+ 'transport' => 'refresh', // or postMessage
67
+ 'sanitize_callback' => '',
68
+ 'sanitize_js_callback' => '', // Basically to_json.
69
+ ) );
70
+ $wp_customize -> add_control( 'ctcc_styles_settings[enqueue_styles]', array(
71
+ 'type' => 'checkbox',
72
+ 'priority' => 4, // Within the section.
73
+ 'section' => 'cctc', // Required, core or custom.
74
+ 'label' => __( 'Enqueue Styles', 'uk-cookie-consent' ),
75
+ 'description' => __( 'Deselect this to dequeue the plugin stylesheet.', 'uk-cookie-consent' )
76
+ ) );
77
+ $wp_customize -> add_setting( 'ctcc_styles_settings[rounded_corners]', array(
78
+ 'type' => 'option', // or 'option'
79
+ 'capability' => 'edit_theme_options',
80
+ 'theme_supports' => '', // Rarely needed.
81
+ 'default' => '',
82
+ 'transport' => 'refresh', // or postMessage
83
+ 'sanitize_callback' => '',
84
+ 'sanitize_js_callback' => '', // Basically to_json.
85
+ ) );
86
+ $wp_customize -> add_control( 'ctcc_styles_settings[rounded_corners]', array(
87
+ 'type' => 'checkbox',
88
+ 'priority' => 6, // Within the section.
89
+ 'section' => 'cctc', // Required, core or custom.
90
+ 'label' => __( 'Rounded Corners', 'uk-cookie-consent' ),
91
+ 'description' => __( 'Round the corners on the block.', 'uk-cookie-consent' )
92
+ ) );
93
+ $wp_customize -> add_setting( 'ctcc_styles_settings[drop_shadow]', array(
94
+ 'type' => 'option', // or 'option'
95
+ 'capability' => 'edit_theme_options',
96
+ 'theme_supports' => '', // Rarely needed.
97
+ 'default' => '',
98
+ 'transport' => 'refresh', // or postMessage
99
+ 'sanitize_callback' => '',
100
+ 'sanitize_js_callback' => '', // Basically to_json.
101
+ ) );
102
+ $wp_customize -> add_control( 'ctcc_styles_settings[drop_shadow]', array(
103
+ 'type' => 'checkbox',
104
+ 'priority' => 8, // Within the section.
105
+ 'section' => 'cctc', // Required, core or custom.
106
+ 'label' => __( 'Drop Shadow', 'uk-cookie-consent' ),
107
+ 'description' => __( 'Add drop shadow to the block.', 'uk-cookie-consent' )
108
+ ) );
109
+ $wp_customize -> add_setting( 'ctcc_styles_settings[display_accept_with_text]', array(
110
+ 'type' => 'option', // or 'option'
111
+ 'capability' => 'edit_theme_options',
112
+ 'theme_supports' => '', // Rarely needed.
113
+ 'default' => '',
114
+ 'transport' => 'refresh', // or postMessage
115
+ 'sanitize_callback' => '',
116
+ 'sanitize_js_callback' => '', // Basically to_json.
117
+ ) );
118
+ $wp_customize -> add_control( 'ctcc_styles_settings[display_accept_with_text]', array(
119
+ 'type' => 'checkbox',
120
+ 'priority' => 9, // Within the section.
121
+ 'section' => 'cctc', // Required, core or custom.
122
+ 'label' => __( 'Display Button With Text', 'uk-cookie-consent' ),
123
+ 'description' => __( 'Deselect to float button to right.', 'uk-cookie-consent' )
124
+ ) );
125
+ $wp_customize -> add_setting( 'ctcc_styles_settings[x_close]', array(
126
+ 'type' => 'option', // or 'option'
127
+ 'capability' => 'edit_theme_options',
128
+ 'theme_supports' => '', // Rarely needed.
129
+ 'default' => '',
130
+ 'transport' => 'refresh', // or postMessage
131
+ 'sanitize_callback' => '',
132
+ 'sanitize_js_callback' => '', // Basically to_json.
133
+ ) );
134
+ $wp_customize -> add_control( 'ctcc_styles_settings[x_close]', array(
135
+ 'type' => 'checkbox',
136
+ 'priority' => 10, // Within the section.
137
+ 'section' => 'cctc', // Required, core or custom.
138
+ 'label' => __( 'Use X Close', 'uk-cookie-consent' ),
139
+ 'description' => __( 'Replace confirmation button with \'X\' icon.', 'uk-cookie-consent' )
140
+ ) );
141
+ $wp_customize -> add_setting( 'ctcc_styles_settings[text_color]', array(
142
+ 'type' => 'option', // or 'option'
143
+ 'capability' => 'edit_theme_options',
144
+ 'theme_supports' => '', // Rarely needed.
145
+ 'default' => '',
146
+ 'transport' => 'refresh', // or postMessage
147
+ 'sanitize_callback' => '',
148
+ 'sanitize_js_callback' => '', // Basically to_json.
149
+ ) );
150
+ $wp_customize -> add_control( 'ctcc_styles_settings[text_color]', array(
151
+ 'type' => 'color',
152
+ 'priority' => 15, // Within the section.
153
+ 'section' => 'cctc', // Required, core or custom.
154
+ 'label' => __( 'Text Color', 'uk-cookie-consent' ),
155
+ 'description' => __( 'Text color for your notification bar.', 'uk-cookie-consent' )
156
+ ) );
157
+ $wp_customize -> add_setting( 'ctcc_styles_settings[bg_color]', array(
158
+ 'type' => 'option', // or 'option'
159
+ 'capability' => 'edit_theme_options',
160
+ 'theme_supports' => '', // Rarely needed.
161
+ 'default' => '',
162
+ 'transport' => 'refresh', // or postMessage
163
+ 'sanitize_callback' => '',
164
+ 'sanitize_js_callback' => '', // Basically to_json.
165
+ ) );
166
+ $wp_customize -> add_control( 'ctcc_styles_settings[bg_color]', array(
167
+ 'type' => 'color',
168
+ 'priority' => 20, // Within the section.
169
+ 'section' => 'cctc', // Required, core or custom.
170
+ 'label' => __( 'Background Color', 'uk-cookie-consent' ),
171
+ 'description' => __( 'Background color for your notification bar.', 'uk-cookie-consent' )
172
+ ) );
173
+ $wp_customize -> add_setting( 'ctcc_styles_settings[link_color]', array(
174
+ 'type' => 'option', // or 'option'
175
+ 'capability' => 'edit_theme_options',
176
+ 'theme_supports' => '', // Rarely needed.
177
+ 'default' => '',
178
+ 'transport' => 'refresh', // or postMessage
179
+ 'sanitize_callback' => '',
180
+ 'sanitize_js_callback' => '', // Basically to_json.
181
+ ) );
182
+ $wp_customize -> add_control( 'ctcc_styles_settings[link_color]', array(
183
+ 'type' => 'color',
184
+ 'priority' => 30, // Within the section.
185
+ 'section' => 'cctc', // Required, core or custom.
186
+ 'label' => __( 'Link Color', 'uk-cookie-consent' ),
187
+ 'description' => __( 'Link color for your notification bar.', 'uk-cookie-consent' )
188
+ ) );
189
+ $wp_customize -> add_setting( 'ctcc_styles_settings[button_color]', array(
190
+ 'type' => 'option', // or 'option'
191
+ 'capability' => 'edit_theme_options',
192
+ 'theme_supports' => '', // Rarely needed.
193
+ 'default' => '',
194
+ 'transport' => 'refresh', // or postMessage
195
+ 'sanitize_callback' => '',
196
+ 'sanitize_js_callback' => '', // Basically to_json.
197
+ ) );
198
+ $wp_customize -> add_control( 'ctcc_styles_settings[button_color]', array(
199
+ 'type' => 'color',
200
+ 'priority' => 40, // Within the section.
201
+ 'section' => 'cctc', // Required, core or custom.
202
+ 'label' => __( 'Button Color', 'uk-cookie-consent' ),
203
+ 'description' => __( 'Text color for your notification bar button.', 'uk-cookie-consent' )
204
+ ) );
205
+ $wp_customize -> add_setting( 'ctcc_styles_settings[button_bg_color]', array(
206
+ 'type' => 'option', // or 'option'
207
+ 'capability' => 'edit_theme_options',
208
+ 'theme_supports' => '', // Rarely needed.
209
+ 'default' => '',
210
+ 'transport' => 'refresh', // or postMessage
211
+ 'sanitize_callback' => '',
212
+ 'sanitize_js_callback' => '', // Basically to_json.
213
+ ) );
214
+ $wp_customize -> add_control( 'ctcc_styles_settings[button_bg_color]', array(
215
+ 'type' => 'color',
216
+ 'priority' => 50, // Within the section.
217
+ 'section' => 'cctc', // Required, core or custom.
218
+ 'label' => __( 'Button Background', 'uk-cookie-consent' ),
219
+ 'description' => __( 'Background color for your notification bar button.', 'uk-cookie-consent' )
220
+ ) );
221
+ $wp_customize -> add_setting( 'ctcc_styles_settings[flat_button]', array(
222
+ 'type' => 'option', // or 'option'
223
+ 'capability' => 'edit_theme_options',
224
+ 'theme_supports' => '', // Rarely needed.
225
+ 'default' => '',
226
+ 'transport' => 'refresh', // or postMessage
227
+ 'sanitize_callback' => '',
228
+ 'sanitize_js_callback' => '', // Basically to_json.
229
+ ) );
230
+ $wp_customize -> add_control( 'ctcc_styles_settings[flat_button]', array(
231
+ 'type' => 'checkbox',
232
+ 'priority' => 60, // Within the section.
233
+ 'section' => 'cctc', // Required, core or custom.
234
+ 'label' => __( 'Flat Button', 'uk-cookie-consent' ),
235
+ 'description' => __( 'Deselect to inherit button styles from the theme.', 'uk-cookie-consent' )
236
+ ) );
237
+ }
238
+ add_action( 'customize_register', 'ctcc_customize_register' );
trunk/public/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
trunk/readme.txt ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Cookie Consent ===
2
+ Contributors: Catapult_Themes, husobj, jraczynski
3
+ Donate Link: https://paypal.com
4
+ Tags: cookie law, cookies, EU, implied consent, uk cookie consent, compliance, eu cookie law, eu privacy directive, privacy, privacy directive, consent, cookie, cookie compliance, cookie law, eu cookie, notice, notification, notify, cookie notice, cookie notification, cookie notify, wpml, cookie bar, cookie notification bar
5
+ Requires at least: 4.3
6
+ Tested up to: 4.6.1
7
+ Stable tag: 2.2.2
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+ The only cookie consent plugin you'll ever need.
11
+
12
+ == Description ==
13
+ Cookie Consent is one of the simplest and most popular cookie notification plugins out there. It's been actively developed and supported since 2012 and has over 100 5 star reviews.
14
+
15
+ > <strong>New in 2.2.0:</strong><br>Easily select pages or posts where the cookie notification doesn't display. You now have complete control over which pages display a notification and which don't.<br>Close on scroll - optionally choose scrolling as closure method.
16
+
17
+ = Simple set up =
18
+ One of the most popular aspects of the plugin is its simplicity of use - simply install and activate the plugin to automatically add the cookie consent notification bar. There is no need to configure it. On activation, the plugin creates and populates a page on your site with information about your cookie policy and automatically links to the page from the notification bar. So if you're using the default settings, it's a matter of seconds to get up and running.
19
+
20
+ = Features =
21
+ * Choice of dismissal method - on click, on scroll, or timed
22
+ * Choice of dismissal element - either button or 'x' close
23
+ * Option to show the notification on the first page only - subsequent pages visited by the user will not display the message
24
+ * Option to exclude selected pages and posts from displaying the notification
25
+ * Choice of position - either top or bottom bar, or floating in one of the corners of the screen
26
+ * Translation support
27
+ * Responsive
28
+ * Customization options - including the ability to update styles from within the customizer
29
+ * Inherits your theme styles where possible
30
+ * The option to use an absolute or external URL to link to for further information
31
+ * Set the cookie duration
32
+ * Set the cookie version - updating a version will reset the cookie on all user sites
33
+
34
+ = Translations =
35
+
36
+ * English
37
+ * Polish (jraczynski)
38
+ * Russian
39
+ * Slovakian (lacike)
40
+ * Italian (wocmultimedia)
41
+
42
+ = EU Directive =
43
+ We think this is the simplest but most effective method of dealing with the legislation.
44
+
45
+ The plug-in is a straightforward approach to help you comply with the EU regulations regarding usage of website cookies. It follows the notion of "implied consent" as described by the UK's Information Commissioner and makes the assumption that most users who choose not to accept cookies will do so for all websites. A user to your site is presented with a clear yet unobtrusive notification that the site is using cookies and may then acknowledge and dismiss the notification or click to find out more. The plug-in automatically creates a new page with pre-populated information on cookies and how to disable them, which you may edit further if you wish.
46
+
47
+ Importantly, the plug-in does not disable cookies on your site or prevent the user from continuing to browse the site. Several plug-ins have adopted the "explicit consent" approach which obliges users to opt in to cookies on your site. This is likely to deter visitors.
48
+
49
+ == Installation ==
50
+ 1. Upload the `uk-cookie-consent` folder to the `/wp-content/plugins/` directory
51
+ 1. Activate the plugin through the 'Plugins' menu in WordPress
52
+ 1. Browse to the Cookie Consent option page in Settings to configure
53
+ == Frequently Asked Questions ==
54
+
55
+ = Where can I find out more about this plug-in? =
56
+ You can find out more about the plug-in on [its plug-in page](http://catapultthemes.com/cookie-consent/).
57
+ = Is there a demo? =
58
+ Yep. Take a look at [the demo](http://cookieconsent.catapultthemes.com/). Reset the cookie by [going to this URL](http://cookieconsent.catapultthemes.com/?cookie=delete).
59
+ = Does this definitely cover me under the legislation? =
60
+ You have to make up your own mind about that or consult a legal expert.
61
+ = Where can I find out more about the UK laws regarding cookies? =
62
+ You will find more details of the regulations on the [Information Commissioner's Office site](http://www.ico.gov.uk/for_organisations/privacy_and_electronic_communications/the_guide/cookies.aspx).
63
+
64
+ == Screenshots ==
65
+ 1. Notification bar along the top of the screen
66
+ 2. Detail of notification bar on the bottom of the screen
67
+ 3. Notification box in corner
68
+ 4. Customization panel
69
+ 5. Example settings page
70
+
71
+ == Changelog ==
72
+
73
+ = 2.2.2 =
74
+ * Fixed: text domain in class-ctcc-metafield (spotted by mmmisiek)
75
+
76
+ = 2.2.1 =
77
+ * Updated: better escapingn (suggested by djpaul)
78
+
79
+ = 2.2.0 =
80
+ * Added: optionally exclude pages and posts from displaying the cookie notification (suggested by jeffrobbins)
81
+ * Added: close notification on scroll option (suggested by jeffrobbins)
82
+ * Added: class name for more info link
83
+ * Fixed: x-close responsive margin
84
+ * Updated: allow shortcodes in notification text
85
+ * Updated: better settings sanitization
86
+
87
+ = 2.1.7 =
88
+ * Updated: admin styles
89
+
90
+ = 2.1.6 =
91
+ * Updated: wpml-config.xml file (thanks to vukvukovich)
92
+
93
+ = 2.1.5 =
94
+ * Fixed: added missing Italian translation files
95
+
96
+ = 2.1.4 =
97
+ * Fixed: replaced wpml-config.xml file
98
+
99
+ = 2.1.3 =
100
+ * Updated: tags
101
+
102
+ = 2.1.2 =
103
+ * Updated: translation list
104
+
105
+ = 2.1.1 =
106
+ * Fixed: missing images in admin
107
+
108
+ = 2.1.0 =
109
+ * Added: Italian translation (thanks to wocmultimedia)
110
+ * Added: wpml-config.xml file
111
+ * Added: filters on all content
112
+ * Fixed: x button colour set by button colour
113
+ * Updated: changed button and 'read more' elements' tabindex to 0
114
+ * Updated: x button now CSS to avoid missing Unicode character
115
+
116
+ = 2.0.12 =
117
+ * Fixed: added flex-shrink: 0 to prevent button overflowing container on mobile
118
+ = 2.0.11 =
119
+ * Fixed: syntax error in class-ctcc-public.php
120
+ = 2.0.10 =
121
+ * Added: priority on add_js
122
+ = 2.0.9 =
123
+ * Fixed: prevent JavaScript conflict by calling color picker script on non-plugin pages
124
+ = 2.0.8 =
125
+ * Updated: admin images in assets folder
126
+ = 2.0.7 =
127
+ * Added: Slovakian translation (thanks to lacike)
128
+ = 2.0.6 =
129
+ * Added: flat button option
130
+ * Added: Russian translation
131
+ = 2.0.5 =
132
+ * Fixed: notification hides correctly when stylesheet is dequeued
133
+ = 2.0.4 =
134
+ * Added: Polish translation (thanks to jraczynski for all items in this update)
135
+ * Updated: .pot file generated with l18n tool
136
+ * Updated: correct text domain in customizer.php
137
+ * Updated: removed spaces in translator functions
138
+ * Updated: plugin name translatable
139
+ = 2.0.3 =
140
+ * Fixed: more_info_target option not saving
141
+ * Fixed: button text getting cropped
142
+ * Changed: default position of accept button with notification text
143
+ = 2.0.2 =
144
+ * Fixed: retain settings from previous version
145
+ = 2.0.1 =
146
+ * Fixed: admin formatting
147
+ = 2.0.0 =
148
+ * Major rewrite
149
+ * Added: Choice of dismissal method - either on click by the user or timed
150
+ * Added: Choice of dismissal element - either button or 'x' close
151
+ * Added: Option to show the notification on the first page only - subsequent pages visited by the user will not display the message
152
+ * Added: Choice of position - either top or bottom bar, or floating in one of the corners of the screen
153
+ * Changed: Better translation support
154
+ * Changed: Better responsive support
155
+ * Changed: More customization options - including the ability to update styles from within the customizer
156
+ * Changed: Inherits your theme styles where possible
157
+ * Changed: The option to use an absolute or external URL to link to for further information
158
+ * Added: Set the cookie duration
159
+ * Added: Set the cookie version - updating a version will reset the cookie on all user sites
160
+ = 1.8.2 =
161
+ * Admin update
162
+
163
+ = 1.8.1 =
164
+ * Fixed empty space at top of screen when bar is located at the bottom of screen
165
+ = 1.8 =
166
+ * Move HTML down to accommodate notification bar rather than obscuring content
167
+ * Enqueues JS in footer
168
+ * Improved translation support
169
+ = 1.7.1 =
170
+ * Ready for WP 3.8
171
+ = 1.7 =
172
+ * Updates to settings page
173
+ = 1.6 =
174
+ * Moved JS to footer (thanks to Andreas Larsen for the suggestion)
175
+ = 1.5 =
176
+ * Switched the logic so that the bar is initially hidden on the page and only displays if user has not previously dismissed it.
177
+ * Gives a slightly better performance.
178
+ * Thanks to chrisHe for the suggestion.
179
+ = 1.4.2. =
180
+ * Policy page created on register_activation_hook now
181
+ = 1.4.1 =
182
+ * Tweak to ensure jQuery is a dependency
183
+ = 1.4 =
184
+ * This plug-in now uses JavaScript to test whether the user has dismissed the front-end notification in order to solve issues with caching plug-ins.
185
+ * Added configuration options for colour and position of bar.
186
+ * Set notification button and link to first element in tab list.
187
+ * Thanks to husobj for contributions and suggestions including localisation and enqueueing scripts and stylesheets
188
+ = 1.3 =
189
+ * Reinstated user-defined permalink field
190
+ = 1.25 =
191
+ * Minor admin update
192
+ = 1.24 =
193
+ * Fixed text alignment issue with Thesis framework (thanks to cavnit for pointing this one out)
194
+ = 1.23 =
195
+ * Minor admin update
196
+ = 1.22 =
197
+ * Minor admin update
198
+
199
+ = 1.21 =
200
+ * Added resources to Settings page
201
+ = 1.2 =
202
+ * Change title of Cookies page to Cookie Policy and removed option to change title
203
+ * Added trailing slash to Cookie Policy url (thanks to mikeotgaar for spotting this)
204
+ = 1.1 =
205
+ * Added default text to messages
206
+
207
+ == Translations ==
208
+ * English
209
+ * Polish
210
+ * Russian
211
+ * Slovakian
212
+ * Italian
213
+
214
+ == Upgrade Notice ==
215
+ Please note that the upgrade to version 2.x is significant. Although we've made every effort to ensure your settings are retained from previous versions, you may notice minor design differences to the notification bar.
trunk/uk-cookie-consent.php ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Cookie Consent
4
+ Plugin URI: http://catapultthemes.com/cookie-consent/
5
+ Description: The only cookie consent plugin you'll ever need.
6
+ Version: 2.2.2
7
+ Author: Catapult_Themes
8
+ Author URI: http://catapultthemes.com/
9
+ Text Domain: uk-cookie-consent
10
+ Domain Path: /languages
11
+ */
12
+ // Exit if accessed directly
13
+ if ( ! defined( 'ABSPATH' ) ) {
14
+ exit;
15
+ }
16
+ /**
17
+ * Define constants
18
+ **/
19
+ if ( ! defined( 'CTCC_PLUGIN_URL' ) ) {
20
+ define( 'CTCC_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
21
+ }
22
+
23
+ if ( is_admin() ) {
24
+ require_once dirname( __FILE__ ) . '/admin/class-ctcc-admin.php';
25
+ $CTCC_Admin = new CTCC_Admin();
26
+ $CTCC_Admin -> init();
27
+
28
+ $options = get_option( 'ctcc_options_settings' );
29
+ // Add the metafield if enabled
30
+ if( ! empty( $options['enable_metafield'] ) ) {
31
+ require_once dirname( __FILE__ ) . '/admin/class-ctcc-metafield.php';
32
+ $CTCC_Metafield = new CTCC_Metafield();
33
+ $CTCC_Metafield -> init();
34
+ }
35
+ } else {
36
+ require_once dirname( __FILE__ ) . '/public/class-ctcc-public.php';
37
+ $CTCC_Public = new CTCC_Public();
38
+ $CTCC_Public -> init();
39
+ }
40
+ require_once dirname( __FILE__ ) . '/public/customizer.php';
41
+
42
+
43
+ function ctcc_load_plugin_textdomain() {
44
+ load_plugin_textdomain( 'uk-cookie-consent', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
45
+ }
46
+ add_action( 'plugins_loaded', 'ctcc_load_plugin_textdomain' );
47
+
48
+ /*
49
+ * Automatically create cookie policy page on activation
50
+ *
51
+ */
52
+ function ctcc_create_policy_page() {
53
+ //Check to see if the info page has been created
54
+ $more_info_page = get_option ( 'ctcc_more_info_page' );
55
+ if ( empty ( $more_info_page ) ) { // The page hasn't been set yet
56
+ // Create the page parameters
57
+ $pagename = __( 'Cookie Policy', 'uk-cookie-consent' );
58
+ $content = __( 'This site uses cookies - small text files that are placed on your machine to help the site provide a better user experience. In general, cookies are used to retain user preferences, store information for things like shopping carts, and provide anonymised tracking data to third party applications like Google Analytics. As a rule, cookies will make your browsing experience better. However, you may prefer to disable cookies on this site and on others. The most effective way to do this is to disable cookies in your browser. We suggest consulting the Help section of your browser or taking a look at <a href="http://www.aboutcookies.org">the About Cookies website</a> which offers guidance for all modern browsers', 'uk-cookie-consent' );
59
+ $cpage = get_page_by_title ( $pagename ); // Double check there's not already a Cookie Policy page
60
+ if ( !$cpage ) {
61
+ global $user_ID;
62
+ $page['post_type'] = 'page';
63
+ $page['post_content'] = $content;
64
+ $page['post_parent'] = 0;
65
+ $page['post_author'] = $user_ID;
66
+ $page['post_status'] = 'publish';
67
+ $page['post_title'] = $pagename;
68
+ $pageid = wp_insert_post ( $page );
69
+ } else {
70
+ // There's already a page called Cookie Policy so we'll use that
71
+ $pageid = $cpage -> ID;
72
+ }
73
+ // Update the option
74
+ update_option ( 'ctcc_more_info_page', $pageid );
75
+ }
76
+ }
77
+ register_activation_hook ( __FILE__, 'ctcc_create_policy_page' );
trunk/wpml-config.xml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <wpml-config>
2
+ <admin-texts>
3
+ <key name="ctcc_options_settings">
4
+ <key name="closure" />
5
+ <key name="first_page" />
6
+ <key name="duration" />
7
+ <key name="cookie_expiry" />
8
+ <key name="cookie_version" />
9
+ </key>
10
+ <key name="ctcc_content_settings">
11
+ <key name="heading_text"/>
12
+ <key name="notification_text"/>
13
+ <key name="accept_text"/>
14
+ <key name="more_info_text"/>
15
+ <key name="more_info_page"/>
16
+ <key name="more_info_url"/>
17
+ <key name="more_info_target"/>
18
+ </key>
19
+ <key name="ctcc_styles_settings">
20
+ <key name="position" />
21
+ <key name="container_class" />
22
+ <key name="enqueue_styles" />
23
+ <key name="rounded_corners" />
24
+ <key name="drop_shadow" />
25
+ <key name="display_accept_with_text" />
26
+ <key name="x_close" />
27
+ <key name="text_color" />
28
+ <key name="bg_color" />
29
+ <key name="link_color" />
30
+ <key name="button_color" />
31
+ <key name="button_bg_color" />
32
+ <key name="bg_color" />
33
+ <key name="flat_button" />
34
+ </key>
35
+ </admin-texts>
36
+ </wpml-config>
uk-cookie-consent.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cookie Consent
4
  Plugin URI: http://catapultthemes.com/cookie-consent/
5
  Description: The only cookie consent plugin you'll ever need.
6
- Version: 2.2.1
7
  Author: Catapult_Themes
8
  Author URI: http://catapultthemes.com/
9
  Text Domain: uk-cookie-consent
3
  Plugin Name: Cookie Consent
4
  Plugin URI: http://catapultthemes.com/cookie-consent/
5
  Description: The only cookie consent plugin you'll ever need.
6
+ Version: 2.2.2
7
  Author: Catapult_Themes
8
  Author URI: http://catapultthemes.com/
9
  Text Domain: uk-cookie-consent