Cookie Consent - Version 2.0.2

Version Description

  • Fix: retain settings from previous version
  • Added: Reset button to restore default settings
Download this release

Release Info

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

Code changes from version 2.0.1 to 2.0.2

Thumbs.db CHANGED
Binary file
admin/class-ctcc-admin.php CHANGED
@@ -323,19 +323,36 @@ if ( ! class_exists ( 'CTCC_Admin' ) ) {
323
  }
324
 
325
  public function get_default_content_settings() {
326
- $defaults = array (
327
- 'heading_text' => __ ( 'Cookies', 'uk-cookie-consent' ),
328
- 'notification_text' => __ ( 'This site uses cookies to improve your experience.', 'uk-cookie-consent' ),
329
- 'accept_text' => __ ( 'No problem', 'uk-cookie-consent' ),
330
- 'more_info_text' => __ ( 'Read more.', 'uk-cookie-consent' ),
331
- 'more_info_page' => get_option( 'ctcc_more_info_page', '' ),
332
- 'more_info_url' => '',
333
- 'more_info_target' => '_blank',
334
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  return $defaults;
 
336
  }
337
 
338
  public function get_default_styles_settings() {
 
339
  $defaults = array (
340
  'position' => 'bottom-bar',
341
  'container_class' => '',
@@ -349,6 +366,14 @@ if ( ! class_exists ( 'CTCC_Admin' ) ) {
349
  'button_color' => '',
350
  'button_bg_color' => '',
351
  );
 
 
 
 
 
 
 
 
352
  return $defaults;
353
  }
354
 
@@ -556,6 +581,16 @@ if ( ! class_exists ( 'CTCC_Admin' ) ) {
556
  }
557
 
558
  public function options_page() {
 
 
 
 
 
 
 
 
 
 
559
  $current = isset ( $_GET['tab'] ) ? $_GET['tab'] : 'options';
560
  $title = __( 'Cookie Consent', 'uk-cookie-consent' );
561
  $tabs = array (
@@ -581,6 +616,12 @@ if ( ! class_exists ( 'CTCC_Admin' ) ) {
581
  submit_button();
582
  ?>
583
  </form>
 
 
 
 
 
 
584
  </div><!-- .ctdb-inner-wrap -->
585
  <div class="ctdb-banners">
586
  <div class="ctdb-banner">
323
  }
324
 
325
  public function get_default_content_settings() {
326
+
327
+ $previous_settings = get_option ( 'catapult_cookie_options' );
328
+ // Check for settings from previous version
329
+ if ( ! empty ( $previous_settings ) ) {
330
+ $defaults = array (
331
+ 'heading_text' => __ ( 'Cookies', 'uk-cookie-consent' ),
332
+ 'notification_text' => $previous_settings['catapult_cookie_text_settings'],
333
+ 'accept_text' => $previous_settings['catapult_cookie_accept_settings'],
334
+ 'more_info_text' => $previous_settings['catapult_cookie_more_settings'],
335
+ 'more_info_page' => '',
336
+ 'more_info_url' => site_url ( $previous_settings['catapult_cookie_link_settings'] ),
337
+ 'more_info_target' => '_blank',
338
+ );
339
+ } else {
340
+ $defaults = array (
341
+ 'heading_text' => __ ( 'Cookies', 'uk-cookie-consent' ),
342
+ 'notification_text' => __ ( 'This site uses cookies to improve your experience.', 'uk-cookie-consent' ),
343
+ 'accept_text' => __ ( 'No problem', 'uk-cookie-consent' ),
344
+ 'more_info_text' => __ ( 'Read more.', 'uk-cookie-consent' ),
345
+ 'more_info_page' => get_option( 'ctcc_more_info_page', '' ),
346
+ 'more_info_url' => '',
347
+ 'more_info_target' => '_blank',
348
+ );
349
+ }
350
  return $defaults;
351
+
352
  }
353
 
354
  public function get_default_styles_settings() {
355
+ $previous_settings = get_option ( 'catapult_cookie_options' );
356
  $defaults = array (
357
  'position' => 'bottom-bar',
358
  'container_class' => '',
366
  'button_color' => '',
367
  'button_bg_color' => '',
368
  );
369
+ // Check for settings from previous version
370
+ if ( ! empty ( $previous_settings ) ) {
371
+ $defaults['position'] = $previous_settings['catapult_cookie_bar_position_settings'] . '-bar';
372
+ $defaults['text_color'] = $previous_settings['catapult_cookie_text_colour_settings'];
373
+ $defaults['bg_color'] = $previous_settings['catapult_cookie_bg_colour_settings'];
374
+ $defaults['link_color'] = $previous_settings['catapult_cookie_link_colour_settings'];
375
+ $defaults['button_bg_color'] = $previous_settings['catapult_cookie_button_colour_settings'];
376
+ }
377
  return $defaults;
378
  }
379
 
581
  }
582
 
583
  public function options_page() {
584
+ $reset = isset ( $_GET['reset'] ) ? $_GET['reset'] : '';
585
+ if ( isset ( $_POST['reset'] ) ) {
586
+
587
+ $defaults = $this -> get_default_styles_settings();
588
+ update_option ( 'ctcc_styles_settings', $defaults );
589
+
590
+ $defaults = $this -> get_default_content_settings();
591
+ update_option ( 'ctcc_content_settings', $defaults );
592
+
593
+ }
594
  $current = isset ( $_GET['tab'] ) ? $_GET['tab'] : 'options';
595
  $title = __( 'Cookie Consent', 'uk-cookie-consent' );
596
  $tabs = array (
616
  submit_button();
617
  ?>
618
  </form>
619
+ <form method="post" action="">
620
+ <p class="submit">
621
+ <input name="reset" class="button button-secondary" type="submit" value="<?php _e ( 'Reset plugin defaults', 'uk-cookie-consent' ); ?>" >
622
+ <input type="hidden" name="action" value="reset" />
623
+ </p>
624
+ </form>
625
  </div><!-- .ctdb-inner-wrap -->
626
  <div class="ctdb-banners">
627
  <div class="ctdb-banner">
languages/uk-cookie-consent.po CHANGED
@@ -1,374 +1,374 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Cookie Consent 2.0.0\n"
4
- "POT-Creation-Date: 2016-01-12 08:29-0000\n"
5
- "PO-Revision-Date: 2016-01-12 08:29-0000\n"
6
- "Last-Translator: <hello@catapultdesign.co.uk>\n"
7
- "Language-Team: Catapult_Themes <info@catapultthemes.com>\n"
8
- "Language: English\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
- "X-Poedit-KeywordsList: gettext;gettext_noop;_e;_n;__\n"
14
- "X-Poedit-Basepath: ../\n"
15
- "X-Poedit-SearchPath-0: .\n"
16
-
17
- #: uk-cookie-consent.php:54
18
- msgid "Cookie Policy"
19
- msgstr ""
20
-
21
- #: uk-cookie-consent.php:55
22
- msgid ""
23
- "This site uses cookies - small text files that are placed on your machine to "
24
- "help the site provide a better user experience. In general, cookies are used "
25
- "to retain user preferences, store information for things like shopping "
26
- "carts, and provide anonymised tracking data to third party applications like "
27
- "Google Analytics. As a rule, cookies will make your browsing experience "
28
- "better. However, you may prefer to disable cookies on this site and on "
29
- "others. The most effective way to do this is to disable cookies in your "
30
- "browser. We suggest consulting the Help section of your browser or taking a "
31
- "look at <a href=\"http://www.aboutcookies.org\">the About Cookies website</"
32
- "a> which offers guidance for all modern browsers"
33
- msgstr ""
34
-
35
- #: admin/class-ctcc-admin.php:65
36
- msgid "General settings"
37
- msgstr ""
38
-
39
- #: admin/class-ctcc-admin.php:72
40
- msgid "Close"
41
- msgstr ""
42
-
43
- #: admin/class-ctcc-admin.php:80
44
- msgid "First Page Only"
45
- msgstr ""
46
-
47
- #: admin/class-ctcc-admin.php:88
48
- msgid "Notification Duration"
49
- msgstr ""
50
-
51
- #: admin/class-ctcc-admin.php:96
52
- msgid "Cookie Expiry"
53
- msgstr ""
54
-
55
- #: admin/class-ctcc-admin.php:104
56
- msgid "Cookie Version"
57
- msgstr ""
58
-
59
- #: admin/class-ctcc-admin.php:126
60
- msgid "Content settings"
61
- msgstr ""
62
-
63
- #: admin/class-ctcc-admin.php:133
64
- msgid "Heading Text"
65
- msgstr ""
66
-
67
- #: admin/class-ctcc-admin.php:141
68
- msgid "Notification Text"
69
- msgstr ""
70
-
71
- #: admin/class-ctcc-admin.php:149
72
- msgid "More Info Text"
73
- msgstr ""
74
-
75
- #: admin/class-ctcc-admin.php:157
76
- msgid "More Info Page"
77
- msgstr ""
78
-
79
- #: admin/class-ctcc-admin.php:165
80
- msgid "More Info URL"
81
- msgstr ""
82
-
83
- #: admin/class-ctcc-admin.php:173
84
- msgid "More Info Target"
85
- msgstr ""
86
-
87
- #: admin/class-ctcc-admin.php:181
88
- msgid "Accept Text"
89
- msgstr ""
90
-
91
- #: admin/class-ctcc-admin.php:203
92
- msgid "Styles settings"
93
- msgstr ""
94
-
95
- #: admin/class-ctcc-admin.php:210 public/customizer.php:34
96
- msgid "Position"
97
- msgstr ""
98
-
99
- #: admin/class-ctcc-admin.php:218 public/customizer.php:58
100
- msgid "Container Class"
101
- msgstr ""
102
-
103
- #: admin/class-ctcc-admin.php:226
104
- msgid "Include Stylesheet"
105
- msgstr ""
106
-
107
- #: admin/class-ctcc-admin.php:234 public/customizer.php:90
108
- msgid "Rounded Corners"
109
- msgstr ""
110
-
111
- #: admin/class-ctcc-admin.php:242 public/customizer.php:106
112
- msgid "Drop Shadow"
113
- msgstr ""
114
-
115
- #: admin/class-ctcc-admin.php:250 public/customizer.php:122
116
- msgid "Use X Close"
117
- msgstr ""
118
-
119
- #: admin/class-ctcc-admin.php:258 public/customizer.php:138
120
- msgid "Text Color"
121
- msgstr ""
122
-
123
- #: admin/class-ctcc-admin.php:266 admin/class-ctcc-admin.php:298
124
- #: public/customizer.php:154
125
- msgid "Background Color"
126
- msgstr ""
127
-
128
- #: admin/class-ctcc-admin.php:274 public/customizer.php:170
129
- msgid "Link Color"
130
- msgstr ""
131
-
132
- #: admin/class-ctcc-admin.php:282 public/customizer.php:186
133
- msgid "Button Color"
134
- msgstr ""
135
-
136
- #: admin/class-ctcc-admin.php:290 public/customizer.php:202
137
- msgid "Button Background"
138
- msgstr ""
139
-
140
- #: admin/class-ctcc-admin.php:327
141
- msgid "Cookies"
142
- msgstr ""
143
-
144
- #: admin/class-ctcc-admin.php:328
145
- msgid "This site uses cookies to improve your experience."
146
- msgstr ""
147
-
148
- #: admin/class-ctcc-admin.php:329
149
- msgid "No problem"
150
- msgstr ""
151
-
152
- #: admin/class-ctcc-admin.php:330
153
- msgid "Read more."
154
- msgstr ""
155
-
156
- #: admin/class-ctcc-admin.php:358
157
- msgid "On Click"
158
- msgstr ""
159
-
160
- #: admin/class-ctcc-admin.php:359
161
- msgid "Timed"
162
- msgstr ""
163
-
164
- #: admin/class-ctcc-admin.php:361
165
- msgid "How you want the user to close the notification"
166
- msgstr ""
167
-
168
- #: admin/class-ctcc-admin.php:368
169
- msgid ""
170
- "Select this to show the notification only on the first page the user visits"
171
- msgstr ""
172
-
173
- #: admin/class-ctcc-admin.php:375
174
- msgid ""
175
- "If you chose Timer as the close method, enter how many seconds the "
176
- "notification should display for"
177
- msgstr ""
178
-
179
- #: admin/class-ctcc-admin.php:382
180
- msgid "The number of days that the cookie is set for"
181
- msgstr ""
182
-
183
- #: admin/class-ctcc-admin.php:389
184
- msgid ""
185
- "A version number for the cookie - update this to invalidate the cookie and "
186
- "force all users to view the notification again"
187
- msgstr ""
188
-
189
- #: admin/class-ctcc-admin.php:400
190
- msgid ""
191
- "The heading text - only applies if you are not using a top or bottom bar"
192
- msgstr ""
193
-
194
- #: admin/class-ctcc-admin.php:407
195
- msgid "The default text to indicate that your site uses cookies"
196
- msgstr ""
197
-
198
- #: admin/class-ctcc-admin.php:414
199
- msgid "The default text to dismiss the notification"
200
- msgstr ""
201
-
202
- #: admin/class-ctcc-admin.php:421
203
- msgid "The default text to use to link to a page providing further information"
204
- msgstr ""
205
-
206
- #: admin/class-ctcc-admin.php:437
207
- msgid "The page containing further information about your cookie policy"
208
- msgstr ""
209
-
210
- #: admin/class-ctcc-admin.php:444
211
- msgid ""
212
- "You can add an absolute URL here to override the More Info Page setting "
213
- "above. Use this to link to an external website for further information about "
214
- "cookies."
215
- msgstr ""
216
-
217
- #: admin/class-ctcc-admin.php:451
218
- msgid "New Tab"
219
- msgstr ""
220
-
221
- #: admin/class-ctcc-admin.php:452
222
- msgid "Same Tab"
223
- msgstr ""
224
-
225
- #: admin/class-ctcc-admin.php:454
226
- msgid "Open the More Information page in the same or new tab."
227
- msgstr ""
228
-
229
- #: admin/class-ctcc-admin.php:465 public/customizer.php:36
230
- msgid "Top Bar"
231
- msgstr ""
232
-
233
- #: admin/class-ctcc-admin.php:466 public/customizer.php:37
234
- msgid "Bottom Bar"
235
- msgstr ""
236
-
237
- #: admin/class-ctcc-admin.php:467 public/customizer.php:38
238
- msgid "Top Left Block"
239
- msgstr ""
240
-
241
- #: admin/class-ctcc-admin.php:468 public/customizer.php:39
242
- msgid "Top Right Block"
243
- msgstr ""
244
-
245
- #: admin/class-ctcc-admin.php:469 public/customizer.php:40
246
- msgid "Bottom Left Block"
247
- msgstr ""
248
-
249
- #: admin/class-ctcc-admin.php:470 public/customizer.php:41
250
- msgid "Bottom Right Block"
251
- msgstr ""
252
-
253
- #: admin/class-ctcc-admin.php:472
254
- msgid "Where the notification should appear"
255
- msgstr ""
256
-
257
- #: admin/class-ctcc-admin.php:479
258
- msgid ""
259
- "You can add an optional wrapper class, eg container, here to align the "
260
- "notification text with the rest of your content"
261
- msgstr ""
262
-
263
- #: admin/class-ctcc-admin.php:486
264
- msgid "Deselect this to dequeue the plugin stylesheet"
265
- msgstr ""
266
-
267
- #: admin/class-ctcc-admin.php:493
268
- msgid "Round the corners on the block (doesn't apply to the top or bottom bar)"
269
- msgstr ""
270
-
271
- #: admin/class-ctcc-admin.php:500
272
- msgid "Add drop shadow to the block (doesn't apply to the top or bottom bar)"
273
- msgstr ""
274
-
275
- #: admin/class-ctcc-admin.php:507
276
- msgid "Remove confirmation button and use 'X' icon instead"
277
- msgstr ""
278
-
279
- #: admin/class-ctcc-admin.php:514
280
- msgid "The text color on the notification"
281
- msgstr ""
282
-
283
- #: admin/class-ctcc-admin.php:521
284
- msgid "The background color for the notification"
285
- msgstr ""
286
-
287
- #: admin/class-ctcc-admin.php:528
288
- msgid "The link color on the notification"
289
- msgstr ""
290
-
291
- #: admin/class-ctcc-admin.php:535
292
- msgid "The text color on the notification button"
293
- msgstr ""
294
-
295
- #: admin/class-ctcc-admin.php:542
296
- msgid "The background color on the notification button"
297
- msgstr ""
298
-
299
- #: admin/class-ctcc-admin.php:547
300
- msgid "<p>Basic settings</p>"
301
- msgstr ""
302
-
303
- #: admin/class-ctcc-admin.php:551
304
- msgid "<p>Update the content displayed to the user</p>"
305
- msgstr ""
306
-
307
- #: admin/class-ctcc-admin.php:555
308
- msgid ""
309
- "<p>Change the styles here if you like - but it's better in the Customizer</p>"
310
- msgstr ""
311
-
312
- #: admin/class-ctcc-admin.php:560 public/customizer.php:17
313
- msgid "Cookie Consent"
314
- msgstr ""
315
-
316
- #: admin/class-ctcc-admin.php:562
317
- msgid "General"
318
- msgstr ""
319
-
320
- #: admin/class-ctcc-admin.php:563
321
- msgid "Content"
322
- msgstr ""
323
-
324
- #: admin/class-ctcc-admin.php:564
325
- msgid "Styles"
326
- msgstr ""
327
-
328
- #: public/customizer.php:43
329
- msgid "Position and placement."
330
- msgstr ""
331
-
332
- #: public/customizer.php:59
333
- msgid "Optional wrapper class."
334
- msgstr ""
335
-
336
- #: public/customizer.php:74
337
- msgid "Enqueue Styles"
338
- msgstr ""
339
-
340
- #: public/customizer.php:75
341
- msgid "Deselect this to dequeue the plugin stylesheet."
342
- msgstr ""
343
-
344
- #: public/customizer.php:91
345
- msgid "Round the corners on the block."
346
- msgstr ""
347
-
348
- #: public/customizer.php:107
349
- msgid "Add drop shadow to the block."
350
- msgstr ""
351
-
352
- #: public/customizer.php:123
353
- msgid "Replace confirmation button with 'X' icon."
354
- msgstr ""
355
-
356
- #: public/customizer.php:139
357
- msgid "Text color for your notification bar."
358
- msgstr ""
359
-
360
- #: public/customizer.php:155
361
- msgid "Background color for your notification bar."
362
- msgstr ""
363
-
364
- #: public/customizer.php:171
365
- msgid "Link color for your notification bar."
366
- msgstr ""
367
-
368
- #: public/customizer.php:187
369
- msgid "Text color for your notification bar button."
370
- msgstr ""
371
-
372
- #: public/customizer.php:203
373
- msgid "Background color for your notification bar button."
374
- msgstr ""
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Cookie Consent 2.0.0\n"
4
+ "POT-Creation-Date: 2016-01-12 08:29-0000\n"
5
+ "PO-Revision-Date: 2016-01-12 08:29-0000\n"
6
+ "Last-Translator: <hello@catapultdesign.co.uk>\n"
7
+ "Language-Team: Catapult_Themes <info@catapultthemes.com>\n"
8
+ "Language: English\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: gettext;gettext_noop;_e;_n;__\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "X-Poedit-SearchPath-0: .\n"
16
+
17
+ #: uk-cookie-consent.php:54
18
+ msgid "Cookie Policy"
19
+ msgstr ""
20
+
21
+ #: uk-cookie-consent.php:55
22
+ msgid ""
23
+ "This site uses cookies - small text files that are placed on your machine to "
24
+ "help the site provide a better user experience. In general, cookies are used "
25
+ "to retain user preferences, store information for things like shopping "
26
+ "carts, and provide anonymised tracking data to third party applications like "
27
+ "Google Analytics. As a rule, cookies will make your browsing experience "
28
+ "better. However, you may prefer to disable cookies on this site and on "
29
+ "others. The most effective way to do this is to disable cookies in your "
30
+ "browser. We suggest consulting the Help section of your browser or taking a "
31
+ "look at <a href=\"http://www.aboutcookies.org\">the About Cookies website</"
32
+ "a> which offers guidance for all modern browsers"
33
+ msgstr ""
34
+
35
+ #: admin/class-ctcc-admin.php:65
36
+ msgid "General settings"
37
+ msgstr ""
38
+
39
+ #: admin/class-ctcc-admin.php:72
40
+ msgid "Close"
41
+ msgstr ""
42
+
43
+ #: admin/class-ctcc-admin.php:80
44
+ msgid "First Page Only"
45
+ msgstr ""
46
+
47
+ #: admin/class-ctcc-admin.php:88
48
+ msgid "Notification Duration"
49
+ msgstr ""
50
+
51
+ #: admin/class-ctcc-admin.php:96
52
+ msgid "Cookie Expiry"
53
+ msgstr ""
54
+
55
+ #: admin/class-ctcc-admin.php:104
56
+ msgid "Cookie Version"
57
+ msgstr ""
58
+
59
+ #: admin/class-ctcc-admin.php:126
60
+ msgid "Content settings"
61
+ msgstr ""
62
+
63
+ #: admin/class-ctcc-admin.php:133
64
+ msgid "Heading Text"
65
+ msgstr ""
66
+
67
+ #: admin/class-ctcc-admin.php:141
68
+ msgid "Notification Text"
69
+ msgstr ""
70
+
71
+ #: admin/class-ctcc-admin.php:149
72
+ msgid "More Info Text"
73
+ msgstr ""
74
+
75
+ #: admin/class-ctcc-admin.php:157
76
+ msgid "More Info Page"
77
+ msgstr ""
78
+
79
+ #: admin/class-ctcc-admin.php:165
80
+ msgid "More Info URL"
81
+ msgstr ""
82
+
83
+ #: admin/class-ctcc-admin.php:173
84
+ msgid "More Info Target"
85
+ msgstr ""
86
+
87
+ #: admin/class-ctcc-admin.php:181
88
+ msgid "Accept Text"
89
+ msgstr ""
90
+
91
+ #: admin/class-ctcc-admin.php:203
92
+ msgid "Styles settings"
93
+ msgstr ""
94
+
95
+ #: admin/class-ctcc-admin.php:210 public/customizer.php:34
96
+ msgid "Position"
97
+ msgstr ""
98
+
99
+ #: admin/class-ctcc-admin.php:218 public/customizer.php:58
100
+ msgid "Container Class"
101
+ msgstr ""
102
+
103
+ #: admin/class-ctcc-admin.php:226
104
+ msgid "Include Stylesheet"
105
+ msgstr ""
106
+
107
+ #: admin/class-ctcc-admin.php:234 public/customizer.php:90
108
+ msgid "Rounded Corners"
109
+ msgstr ""
110
+
111
+ #: admin/class-ctcc-admin.php:242 public/customizer.php:106
112
+ msgid "Drop Shadow"
113
+ msgstr ""
114
+
115
+ #: admin/class-ctcc-admin.php:250 public/customizer.php:122
116
+ msgid "Use X Close"
117
+ msgstr ""
118
+
119
+ #: admin/class-ctcc-admin.php:258 public/customizer.php:138
120
+ msgid "Text Color"
121
+ msgstr ""
122
+
123
+ #: admin/class-ctcc-admin.php:266 admin/class-ctcc-admin.php:298
124
+ #: public/customizer.php:154
125
+ msgid "Background Color"
126
+ msgstr ""
127
+
128
+ #: admin/class-ctcc-admin.php:274 public/customizer.php:170
129
+ msgid "Link Color"
130
+ msgstr ""
131
+
132
+ #: admin/class-ctcc-admin.php:282 public/customizer.php:186
133
+ msgid "Button Color"
134
+ msgstr ""
135
+
136
+ #: admin/class-ctcc-admin.php:290 public/customizer.php:202
137
+ msgid "Button Background"
138
+ msgstr ""
139
+
140
+ #: admin/class-ctcc-admin.php:327
141
+ msgid "Cookies"
142
+ msgstr ""
143
+
144
+ #: admin/class-ctcc-admin.php:328
145
+ msgid "This site uses cookies to improve your experience."
146
+ msgstr ""
147
+
148
+ #: admin/class-ctcc-admin.php:329
149
+ msgid "No problem"
150
+ msgstr ""
151
+
152
+ #: admin/class-ctcc-admin.php:330
153
+ msgid "Read more."
154
+ msgstr ""
155
+
156
+ #: admin/class-ctcc-admin.php:358
157
+ msgid "On Click"
158
+ msgstr ""
159
+
160
+ #: admin/class-ctcc-admin.php:359
161
+ msgid "Timed"
162
+ msgstr ""
163
+
164
+ #: admin/class-ctcc-admin.php:361
165
+ msgid "How you want the user to close the notification"
166
+ msgstr ""
167
+
168
+ #: admin/class-ctcc-admin.php:368
169
+ msgid ""
170
+ "Select this to show the notification only on the first page the user visits"
171
+ msgstr ""
172
+
173
+ #: admin/class-ctcc-admin.php:375
174
+ msgid ""
175
+ "If you chose Timer as the close method, enter how many seconds the "
176
+ "notification should display for"
177
+ msgstr ""
178
+
179
+ #: admin/class-ctcc-admin.php:382
180
+ msgid "The number of days that the cookie is set for"
181
+ msgstr ""
182
+
183
+ #: admin/class-ctcc-admin.php:389
184
+ msgid ""
185
+ "A version number for the cookie - update this to invalidate the cookie and "
186
+ "force all users to view the notification again"
187
+ msgstr ""
188
+
189
+ #: admin/class-ctcc-admin.php:400
190
+ msgid ""
191
+ "The heading text - only applies if you are not using a top or bottom bar"
192
+ msgstr ""
193
+
194
+ #: admin/class-ctcc-admin.php:407
195
+ msgid "The default text to indicate that your site uses cookies"
196
+ msgstr ""
197
+
198
+ #: admin/class-ctcc-admin.php:414
199
+ msgid "The default text to dismiss the notification"
200
+ msgstr ""
201
+
202
+ #: admin/class-ctcc-admin.php:421
203
+ msgid "The default text to use to link to a page providing further information"
204
+ msgstr ""
205
+
206
+ #: admin/class-ctcc-admin.php:437
207
+ msgid "The page containing further information about your cookie policy"
208
+ msgstr ""
209
+
210
+ #: admin/class-ctcc-admin.php:444
211
+ msgid ""
212
+ "You can add an absolute URL here to override the More Info Page setting "
213
+ "above. Use this to link to an external website for further information about "
214
+ "cookies."
215
+ msgstr ""
216
+
217
+ #: admin/class-ctcc-admin.php:451
218
+ msgid "New Tab"
219
+ msgstr ""
220
+
221
+ #: admin/class-ctcc-admin.php:452
222
+ msgid "Same Tab"
223
+ msgstr ""
224
+
225
+ #: admin/class-ctcc-admin.php:454
226
+ msgid "Open the More Information page in the same or new tab."
227
+ msgstr ""
228
+
229
+ #: admin/class-ctcc-admin.php:465 public/customizer.php:36
230
+ msgid "Top Bar"
231
+ msgstr ""
232
+
233
+ #: admin/class-ctcc-admin.php:466 public/customizer.php:37
234
+ msgid "Bottom Bar"
235
+ msgstr ""
236
+
237
+ #: admin/class-ctcc-admin.php:467 public/customizer.php:38
238
+ msgid "Top Left Block"
239
+ msgstr ""
240
+
241
+ #: admin/class-ctcc-admin.php:468 public/customizer.php:39
242
+ msgid "Top Right Block"
243
+ msgstr ""
244
+
245
+ #: admin/class-ctcc-admin.php:469 public/customizer.php:40
246
+ msgid "Bottom Left Block"
247
+ msgstr ""
248
+
249
+ #: admin/class-ctcc-admin.php:470 public/customizer.php:41
250
+ msgid "Bottom Right Block"
251
+ msgstr ""
252
+
253
+ #: admin/class-ctcc-admin.php:472
254
+ msgid "Where the notification should appear"
255
+ msgstr ""
256
+
257
+ #: admin/class-ctcc-admin.php:479
258
+ msgid ""
259
+ "You can add an optional wrapper class, eg container, here to align the "
260
+ "notification text with the rest of your content"
261
+ msgstr ""
262
+
263
+ #: admin/class-ctcc-admin.php:486
264
+ msgid "Deselect this to dequeue the plugin stylesheet"
265
+ msgstr ""
266
+
267
+ #: admin/class-ctcc-admin.php:493
268
+ msgid "Round the corners on the block (doesn't apply to the top or bottom bar)"
269
+ msgstr ""
270
+
271
+ #: admin/class-ctcc-admin.php:500
272
+ msgid "Add drop shadow to the block (doesn't apply to the top or bottom bar)"
273
+ msgstr ""
274
+
275
+ #: admin/class-ctcc-admin.php:507
276
+ msgid "Remove confirmation button and use 'X' icon instead"
277
+ msgstr ""
278
+
279
+ #: admin/class-ctcc-admin.php:514
280
+ msgid "The text color on the notification"
281
+ msgstr ""
282
+
283
+ #: admin/class-ctcc-admin.php:521
284
+ msgid "The background color for the notification"
285
+ msgstr ""
286
+
287
+ #: admin/class-ctcc-admin.php:528
288
+ msgid "The link color on the notification"
289
+ msgstr ""
290
+
291
+ #: admin/class-ctcc-admin.php:535
292
+ msgid "The text color on the notification button"
293
+ msgstr ""
294
+
295
+ #: admin/class-ctcc-admin.php:542
296
+ msgid "The background color on the notification button"
297
+ msgstr ""
298
+
299
+ #: admin/class-ctcc-admin.php:547
300
+ msgid "<p>Basic settings</p>"
301
+ msgstr ""
302
+
303
+ #: admin/class-ctcc-admin.php:551
304
+ msgid "<p>Update the content displayed to the user</p>"
305
+ msgstr ""
306
+
307
+ #: admin/class-ctcc-admin.php:555
308
+ msgid ""
309
+ "<p>Change the styles here if you like - but it's better in the Customizer</p>"
310
+ msgstr ""
311
+
312
+ #: admin/class-ctcc-admin.php:560 public/customizer.php:17
313
+ msgid "Cookie Consent"
314
+ msgstr ""
315
+
316
+ #: admin/class-ctcc-admin.php:562
317
+ msgid "General"
318
+ msgstr ""
319
+
320
+ #: admin/class-ctcc-admin.php:563
321
+ msgid "Content"
322
+ msgstr ""
323
+
324
+ #: admin/class-ctcc-admin.php:564
325
+ msgid "Styles"
326
+ msgstr ""
327
+
328
+ #: public/customizer.php:43
329
+ msgid "Position and placement."
330
+ msgstr ""
331
+
332
+ #: public/customizer.php:59
333
+ msgid "Optional wrapper class."
334
+ msgstr ""
335
+
336
+ #: public/customizer.php:74
337
+ msgid "Enqueue Styles"
338
+ msgstr ""
339
+
340
+ #: public/customizer.php:75
341
+ msgid "Deselect this to dequeue the plugin stylesheet."
342
+ msgstr ""
343
+
344
+ #: public/customizer.php:91
345
+ msgid "Round the corners on the block."
346
+ msgstr ""
347
+
348
+ #: public/customizer.php:107
349
+ msgid "Add drop shadow to the block."
350
+ msgstr ""
351
+
352
+ #: public/customizer.php:123
353
+ msgid "Replace confirmation button with 'X' icon."
354
+ msgstr ""
355
+
356
+ #: public/customizer.php:139
357
+ msgid "Text color for your notification bar."
358
+ msgstr ""
359
+
360
+ #: public/customizer.php:155
361
+ msgid "Background color for your notification bar."
362
+ msgstr ""
363
+
364
+ #: public/customizer.php:171
365
+ msgid "Link color for your notification bar."
366
+ msgstr ""
367
+
368
+ #: public/customizer.php:187
369
+ msgid "Text color for your notification bar button."
370
+ msgstr ""
371
+
372
+ #: public/customizer.php:203
373
+ msgid "Background color for your notification bar button."
374
+ msgstr ""
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
5
  Requires at least: 4.3
6
  Tested up to: 4.4.1
7
- Stable tag: 2.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -76,6 +76,10 @@ You will find more details of the regulations on the [Information Commissioner's
76
 
77
  == Changelog ==
78
 
 
 
 
 
79
  = 2.0.1 =
80
  * Fix: admin formatting
81
 
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
5
  Requires at least: 4.3
6
  Tested up to: 4.4.1
7
+ Stable tag: 2.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
76
 
77
  == Changelog ==
78
 
79
+ = 2.0.2 =
80
+ * Fix: retain settings from previous version
81
+ * Added: Reset button to restore default settings
82
+
83
  = 2.0.1 =
84
  * Fix: admin formatting
85
 
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.0.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.0.2
7
  Author: Catapult_Themes
8
  Author URI: http://catapultthemes.com/
9
  Text Domain: uk-cookie-consent