Italy Cookie Choices (for EU Cookie Law) - Version 1.1.0

Version Description

Release Date:

Dev time: 10h

  • Fix special char visualization
  • Add italian translations
  • Removed default text
Download this release

Release Info

Developer overclokk
Plugin Icon Italy Cookie Choices (for EU Cookie Law)
Version 1.1.0
Comparing to
See all releases

Code changes from version 1.0.0 to 1.1.0

italy-cookie-choices.php CHANGED
@@ -3,10 +3,10 @@
3
  * Plugin Name: Italy Cookie Choices
4
  * Plugin URI: https://plus.google.com/u/0/communities/109254048492234113886
5
  * Description: Minimal code to make sure your website repect the Italian coockie law
6
- * Version: 1.0.0
7
  * Author: Enea Overclokk
8
  * Author URI: https://plus.google.com/u/0/communities/109254048492234113886
9
- * Text Domain: ItalyCookieChoices
10
  * License: GPLv2 or later
11
  *
12
  * @package Italy Cookie Choices
@@ -102,16 +102,20 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
102
  */
103
  add_action( 'wp_footer', array( $this, 'print_script_inline'), '9' );
104
 
105
-
 
 
 
 
106
  }
107
 
108
  /**
109
- * Add page for ItalyCookieChoices admin page
110
  */
111
  public function addMenuPage(){
112
 
113
  add_options_page(
114
- __('Italy Cookie Choices Dashboard', 'ItalyCookieChoices'),
115
  'Italy Cookie Choices',
116
  $this->capability,
117
  'italy-cookie-choices',
@@ -155,7 +159,8 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
155
  /**
156
  * Load Plugin Textdomain
157
  */
158
- load_plugin_textdomain('ItalyCookieChoices', false, ITALY_COOKIE_CHOICES_BASENAME . '/languages' );
 
159
 
160
  /**
161
  * Create default options
@@ -163,10 +168,10 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
163
  */
164
  $this->default_options = array(
165
 
166
- 'text' => 'Cookies help us deliver our services. By using our services, you agree to our use of cookies.',
167
- 'url' => 'http://www.aboutcookies.org/',
168
- 'anchor_text' => __( 'More Info', 'ItalyCookieChoices' ),
169
- 'button_text' => __( 'Close', 'ItalyCookieChoices' )
170
 
171
  );
172
 
@@ -187,7 +192,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
187
  */
188
  add_settings_section(
189
  'italy_cl_pluginPage_section',
190
- __( 'Italy Cookie Choices options page', 'ItalyCookieChoices' ),
191
  array( $this, 'italy_cl_settings_section_callback'),
192
  'italy_cl_options_group'
193
  );
@@ -197,7 +202,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
197
  */
198
  add_settings_field(
199
  'active',
200
- __( 'Activate', 'ItalyCookieChoices' ),
201
  array( $this, 'italy_cl_option_active'),
202
  'italy_cl_options_group',
203
  'italy_cl_pluginPage_section'
@@ -209,7 +214,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
209
  */
210
  add_settings_field(
211
  'banner',
212
- __( 'Where display the banner', 'ItalyCookieChoices' ),
213
  array( $this, 'italy_cl_option_banner'),
214
  'italy_cl_options_group',
215
  'italy_cl_pluginPage_section'
@@ -220,7 +225,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
220
  */
221
  add_settings_field(
222
  'text',
223
- __( 'Text to display', 'ItalyCookieChoices' ),
224
  array( $this, 'italy_cl_option_text'),
225
  'italy_cl_options_group',
226
  'italy_cl_pluginPage_section'
@@ -231,7 +236,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
231
  */
232
  add_settings_field(
233
  'url',
234
- __( 'URL for cookie policy', 'ItalyCookieChoices' ),
235
  array( $this, 'italy_cl_option_url'),
236
  'italy_cl_options_group',
237
  'italy_cl_pluginPage_section'
@@ -242,7 +247,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
242
  */
243
  add_settings_field(
244
  'anchor_text',
245
- __( 'Anchor text for URL', 'ItalyCookieChoices' ),
246
  array( $this, 'italy_cl_option_anchor_text'),
247
  'italy_cl_options_group',
248
  'italy_cl_pluginPage_section'
@@ -253,7 +258,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
253
  */
254
  add_settings_field(
255
  'button_text',
256
- __( 'Button text', 'ItalyCookieChoices' ),
257
  array( $this, 'italy_cl_option_button_text'),
258
  'italy_cl_options_group',
259
  'italy_cl_pluginPage_section'
@@ -278,7 +283,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
278
  */
279
  public function italy_cl_settings_section_callback() {
280
 
281
- _e( 'This section description', 'ItalyCookieChoices' );
282
 
283
  }
284
 
@@ -293,7 +298,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
293
 
294
  <input type='checkbox' name='italy_cookie_choices[active]' <?php checked( $active, 1 ); ?> value='1'>
295
  <label for="italy_cookie_choices[active]">
296
- <?php _e( 'Display banner for Cookie Law in front-end', 'ItalyCookieChoices' ); ?>
297
  </label>
298
 
299
  <?php
@@ -313,7 +318,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
313
  <input name="italy_cookie_choices[banner]" type="radio" value="1" id="radio_1" <?php checked( '1', $banner ); ?> />
314
 
315
  <label for="radio_1">
316
- <?php _e( 'Top Bar (Default, Display a top bar wth your message)', 'ItalyCookieChoices' ); ?>
317
  </label>
318
 
319
  <br>
@@ -321,7 +326,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
321
  <input name="italy_cookie_choices[banner]" type="radio" value="2" id="radio_2" <?php checked( '2', $banner ); ?> />
322
 
323
  <label for="radio_2">
324
- <?php _e( 'Dialog (Display an overlay with your message)', 'ItalyCookieChoices' ); ?>
325
  </label>
326
 
327
  <?php
@@ -336,9 +341,10 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
336
 
337
  ?>
338
 
339
- <textarea rows="5" name="italy_cookie_choices[text]" id="italy_cookie_choices[text]"><?php echo esc_textarea( $this->options['text'] ); ?></textarea>
 
340
  <label for="italy_cookie_choices[text]">
341
- <?php echo __( 'People will see this notice only the first time that they enter your site', 'ItalyCookieChoices' ); ?>
342
  </label>
343
 
344
  <?php
@@ -352,10 +358,10 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
352
  public function italy_cl_option_url($args) {
353
 
354
  ?>
355
- <input type="text" id="italy_cookie_choices[url]" name="italy_cookie_choices[url]" value="<?php echo esc_url( $this->options['url'] ); ?>" />
356
 
357
  <label for="italy_cookie_choices[url]">
358
- <?php echo __( 'Insert here the link to your policy page', 'ItalyCookieChoices' ); ?>
359
  </label>
360
 
361
  <?php
@@ -369,10 +375,10 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
369
  public function italy_cl_option_anchor_text($args) {
370
 
371
  ?>
372
- <input type="text" id="italy_cookie_choices[anchor_text]" name="italy_cookie_choices[anchor_text]" value="<?php echo esc_attr( $this->options['anchor_text'] ); ?>" />
373
 
374
  <label for="italy_cookie_choices[anchor_text]">
375
- <?php echo __( 'Insert here anchor text for the link', 'ItalyCookieChoices'); ?>
376
  </label>
377
 
378
  <?php
@@ -386,10 +392,10 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
386
  public function italy_cl_option_button_text($args) {
387
 
388
  ?>
389
- <input type="text" id="italy_cookie_choices[button_text]" name="italy_cookie_choices[button_text]" value="<?php echo esc_attr( $this->options['button_text'] ); ?>" />
390
 
391
  <label for="italy_cookie_choices[button_text]">
392
- <?php echo __( 'Insert here name of button (e.g. "Close") ', 'ItalyCookieChoices' ); ?>
393
  </label>
394
 
395
  <?php
@@ -451,9 +457,12 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
451
 
452
  /**
453
  * Snippet for display banner
 
 
 
454
  * @var string
455
  */
456
- $banner = 'document.addEventListener("DOMContentLoaded", function(event) {cookieChoices.showCookieConsent' . $banner . '("' . esc_html( $this->options['text'] ) . '", "' . esc_html( $this->options['button_text'] ) . '", "' . esc_html( $this->options['anchor_text'] ) . '", "' . esc_url( $this->options['url'] ) . '");});';
457
 
458
  echo '<!-- Italy Cookie Choices --><script>';
459
  require 'js/cookiechoices.php';
3
  * Plugin Name: Italy Cookie Choices
4
  * Plugin URI: https://plus.google.com/u/0/communities/109254048492234113886
5
  * Description: Minimal code to make sure your website repect the Italian coockie law
6
+ * Version: 1.1.0
7
  * Author: Enea Overclokk
8
  * Author URI: https://plus.google.com/u/0/communities/109254048492234113886
9
+ * Text Domain: italy-cookie-choices
10
  * License: GPLv2 or later
11
  *
12
  * @package Italy Cookie Choices
102
  */
103
  add_action( 'wp_footer', array( $this, 'print_script_inline'), '9' );
104
 
105
+ /**
106
+ * Only for debug
107
+ */
108
+ // var_dump($_COOKIE);
109
+ // var_dump(headers_list());
110
  }
111
 
112
  /**
113
+ * Add page for italy-cookie-choices admin page
114
  */
115
  public function addMenuPage(){
116
 
117
  add_options_page(
118
+ __('Italy Cookie Choices Dashboard', 'italy-cookie-choices'),
119
  'Italy Cookie Choices',
120
  $this->capability,
121
  'italy-cookie-choices',
159
  /**
160
  * Load Plugin Textdomain
161
  */
162
+ // load_plugin_textdomain('italy-cookie-choices', false, ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'lang/' );
163
+ load_plugin_textdomain('italy-cookie-choices', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
164
 
165
  /**
166
  * Create default options
168
  */
169
  $this->default_options = array(
170
 
171
+ 'text' => '',
172
+ 'url' => '',
173
+ 'anchor_text' => '',
174
+ 'button_text' => ''
175
 
176
  );
177
 
192
  */
193
  add_settings_section(
194
  'italy_cl_pluginPage_section',
195
+ __( 'Italy Cookie Choices options page', 'italy-cookie-choices' ),
196
  array( $this, 'italy_cl_settings_section_callback'),
197
  'italy_cl_options_group'
198
  );
202
  */
203
  add_settings_field(
204
  'active',
205
+ __( 'Activate', 'italy-cookie-choices' ),
206
  array( $this, 'italy_cl_option_active'),
207
  'italy_cl_options_group',
208
  'italy_cl_pluginPage_section'
214
  */
215
  add_settings_field(
216
  'banner',
217
+ __( 'Where display the banner', 'italy-cookie-choices' ),
218
  array( $this, 'italy_cl_option_banner'),
219
  'italy_cl_options_group',
220
  'italy_cl_pluginPage_section'
225
  */
226
  add_settings_field(
227
  'text',
228
+ __( 'Text to display', 'italy-cookie-choices' ),
229
  array( $this, 'italy_cl_option_text'),
230
  'italy_cl_options_group',
231
  'italy_cl_pluginPage_section'
236
  */
237
  add_settings_field(
238
  'url',
239
+ __( 'URL for cookie policy', 'italy-cookie-choices' ),
240
  array( $this, 'italy_cl_option_url'),
241
  'italy_cl_options_group',
242
  'italy_cl_pluginPage_section'
247
  */
248
  add_settings_field(
249
  'anchor_text',
250
+ __( 'Anchor text for URL', 'italy-cookie-choices' ),
251
  array( $this, 'italy_cl_option_anchor_text'),
252
  'italy_cl_options_group',
253
  'italy_cl_pluginPage_section'
258
  */
259
  add_settings_field(
260
  'button_text',
261
+ __( 'Button text', 'italy-cookie-choices' ),
262
  array( $this, 'italy_cl_option_button_text'),
263
  'italy_cl_options_group',
264
  'italy_cl_pluginPage_section'
283
  */
284
  public function italy_cl_settings_section_callback() {
285
 
286
+ _e( 'Customize your banner for cookie law', 'italy-cookie-choices' );
287
 
288
  }
289
 
298
 
299
  <input type='checkbox' name='italy_cookie_choices[active]' <?php checked( $active, 1 ); ?> value='1'>
300
  <label for="italy_cookie_choices[active]">
301
+ <?php _e( 'Display banner for Cookie Law in front-end', 'italy-cookie-choices' ); ?>
302
  </label>
303
 
304
  <?php
318
  <input name="italy_cookie_choices[banner]" type="radio" value="1" id="radio_1" <?php checked( '1', $banner ); ?> />
319
 
320
  <label for="radio_1">
321
+ <?php _e( 'Top Bar (Default, Display a top bar wth your message)', 'italy-cookie-choices' ); ?>
322
  </label>
323
 
324
  <br>
326
  <input name="italy_cookie_choices[banner]" type="radio" value="2" id="radio_2" <?php checked( '2', $banner ); ?> />
327
 
328
  <label for="radio_2">
329
+ <?php _e( 'Dialog (Display an overlay with your message)', 'italy-cookie-choices' ); ?>
330
  </label>
331
 
332
  <?php
341
 
342
  ?>
343
 
344
+ <textarea rows="5" name="italy_cookie_choices[text]" id="italy_cookie_choices[text]" placeholder="<?php _e( 'Your short cookie policy', 'italy-cookie-choices' ) ?>" ><?php echo esc_textarea( $this->options['text'] ); ?></textarea>
345
+ <br>
346
  <label for="italy_cookie_choices[text]">
347
+ <?php echo __( 'People will see this notice only the first time that they enter your site', 'italy-cookie-choices' ); ?>
348
  </label>
349
 
350
  <?php
358
  public function italy_cl_option_url($args) {
359
 
360
  ?>
361
+ <input type="text" id="italy_cookie_choices[url]" name="italy_cookie_choices[url]" value="<?php echo esc_url( $this->options['url'] ); ?>" placeholder="<?php _e( 'e.g. http://www.aboutcookies.org/', 'italy-cookie-choices' ) ?>" />
362
 
363
  <label for="italy_cookie_choices[url]">
364
+ <?php echo __( 'Insert here the link to your policy page', 'italy-cookie-choices' ); ?>
365
  </label>
366
 
367
  <?php
375
  public function italy_cl_option_anchor_text($args) {
376
 
377
  ?>
378
+ <input type="text" id="italy_cookie_choices[anchor_text]" name="italy_cookie_choices[anchor_text]" value="<?php echo esc_attr( $this->options['anchor_text'] ); ?>" placeholder="<?php _e( 'e.g. More Info', 'italy-cookie-choices' ) ?>" />
379
 
380
  <label for="italy_cookie_choices[anchor_text]">
381
+ <?php echo __( 'Insert here anchor text for the link', 'italy-cookie-choices'); ?>
382
  </label>
383
 
384
  <?php
392
  public function italy_cl_option_button_text($args) {
393
 
394
  ?>
395
+ <input type="text" id="italy_cookie_choices[button_text]" name="italy_cookie_choices[button_text]" value="<?php echo esc_attr( $this->options['button_text'] ); ?>" placeholder="<?php _e( 'e.g. Close', 'italy-cookie-choices' ) ?>" />
396
 
397
  <label for="italy_cookie_choices[button_text]">
398
+ <?php echo __( 'Insert here name of button (e.g. "Close") ', 'italy-cookie-choices' ); ?>
399
  </label>
400
 
401
  <?php
457
 
458
  /**
459
  * Snippet for display banner
460
+ * @uses json_encode Funzione usate per il testo del messaggio.
461
+ * Ricordarsi che aggiunge già
462
+ * le doppie virgolette "" alla stringa
463
  * @var string
464
  */
465
+ $banner = 'document.addEventListener("DOMContentLoaded", function(event) {cookieChoices.showCookieConsent' . $banner . '(' . wp_json_encode( $this->options['text'] ) . ', "' . esc_js( $this->options['button_text'] ) . '", "' . esc_js( $this->options['anchor_text'] ) . '", "' . esc_url( $this->options['url'] ) . '");});';
466
 
467
  echo '<!-- Italy Cookie Choices --><script>';
468
  require 'js/cookiechoices.php';
lang/italy-cookie-choices-it_IT.mo ADDED
Binary file
lang/italy-cookie-choices-it_IT.po ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: italy-cookie-choices\n"
4
+ "POT-Creation-Date: 2015-05-22 11:14+0100\n"
5
+ "PO-Revision-Date: 2015-05-22 11:14+0100\n"
6
+ "Last-Translator: Enea Overclokk <info@overclokk.net>\n"
7
+ "Language-Team: info@overclokk.net\n"
8
+ "Language: it_IT\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.8\n"
13
+ "X-Poedit-Basepath: ..\\\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: node_modules\n"
19
+ "X-Poedit-SearchPathExcluded-1: .git\n"
20
+
21
+ #: italy-cookie-choices.php:118
22
+ msgid "Italy Cookie Choices Dashboard"
23
+ msgstr "Pannello di Italy Cookie Choices"
24
+
25
+ #: italy-cookie-choices.php:132
26
+ msgid "You do not have sufficient permissions to access this page."
27
+ msgstr "Non hai abbastanza permessi per visualizzare questa pagina."
28
+
29
+ #: italy-cookie-choices.php:195
30
+ msgid "Italy Cookie Choices options page"
31
+ msgstr "Pagina opzioni per Italy Cookie Choices"
32
+
33
+ #: italy-cookie-choices.php:205
34
+ msgid "Activate"
35
+ msgstr "Attiva"
36
+
37
+ #: italy-cookie-choices.php:217
38
+ msgid "Where display the banner"
39
+ msgstr "Dove mostrare il banner"
40
+
41
+ #: italy-cookie-choices.php:228
42
+ msgid "Text to display"
43
+ msgstr "Text da mostrara"
44
+
45
+ #: italy-cookie-choices.php:239
46
+ msgid "URL for cookie policy"
47
+ msgstr "URL per la cookie policy"
48
+
49
+ #: italy-cookie-choices.php:250
50
+ msgid "Anchor text for URL"
51
+ msgstr "Anchor text per la URL"
52
+
53
+ #: italy-cookie-choices.php:261
54
+ msgid "Button text"
55
+ msgstr "Testo per il bottone"
56
+
57
+ #: italy-cookie-choices.php:286
58
+ msgid "Customize your banner for cookie law"
59
+ msgstr "Personalizza il banner per la Cookie Law"
60
+
61
+ #: italy-cookie-choices.php:301
62
+ msgid "Display banner for Cookie Law in front-end"
63
+ msgstr "Visualizza il banner nel front-end"
64
+
65
+ #: italy-cookie-choices.php:321
66
+ msgid "Top Bar (Default, Display a top bar wth your message)"
67
+ msgstr "Top Bar (Default, verrà visualizzata una barra in cima alla pagina)"
68
+
69
+ #: italy-cookie-choices.php:329
70
+ msgid "Dialog (Display an overlay with your message)"
71
+ msgstr "Dialog (Visualizza un popup con il tuo messaggio)"
72
+
73
+ #: italy-cookie-choices.php:344
74
+ msgid "Your short cookie policy"
75
+ msgstr "La tua informativa breve"
76
+
77
+ #: italy-cookie-choices.php:346
78
+ msgid ""
79
+ "People will see this notice only the first time that they enter your site"
80
+ msgstr ""
81
+ "Le persone visualizzeranno il messaggio la prima volta che visiteranno il "
82
+ "tuo sito"
83
+
84
+ #: italy-cookie-choices.php:360
85
+ msgid "e.g. http://www.aboutcookies.org/"
86
+ msgstr "es: http://www.aboutcookies.org/"
87
+
88
+ #: italy-cookie-choices.php:363
89
+ msgid "Insert here the link to your policy page"
90
+ msgstr "Inserisci il link alla tua pagina per la cookie policy"
91
+
92
+ #: italy-cookie-choices.php:377
93
+ msgid "e.g. More Info"
94
+ msgstr "es: Maggiori informazioni"
95
+
96
+ #: italy-cookie-choices.php:380
97
+ msgid "Insert here anchor text for the link"
98
+ msgstr "Inserisci qui l'anchor text per il link"
99
+
100
+ #: italy-cookie-choices.php:394
101
+ msgid "e.g. Close"
102
+ msgstr "es: Chiudi"
103
+
104
+ #: italy-cookie-choices.php:397
105
+ msgid "Insert here name of button (e.g. \"Close\") "
106
+ msgstr "Inserisci il nome del pulsante (es: Chiudi)"
107
+
108
+ #~ msgid "More Info"
109
+ #~ msgstr "Più info"
lang/italy-cookie-choices.pot ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: Italy Cookie Choices\n"
5
+ "POT-Creation-Date: 2015-05-22 00:09+0100\n"
6
+ "PO-Revision-Date: 2015-05-21 20:22+0100\n"
7
+ "Last-Translator: Enea Overclokk <info@overclokk.net>\n"
8
+ "Language-Team: info@overclokk.net\n"
9
+ "Language: en\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8\n"
14
+ "X-Poedit-Basepath: ..\\\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+ "X-Poedit-SearchPathExcluded-0: node_modules\n"
20
+ "X-Poedit-SearchPathExcluded-1: .git\n"
21
+
22
+ #: italy-cookie-choices.php:118
23
+ msgid "Italy Cookie Choices Dashboard"
24
+ msgstr ""
25
+
26
+ #: italy-cookie-choices.php:132
27
+ msgid "You do not have sufficient permissions to access this page."
28
+ msgstr ""
29
+
30
+ #: italy-cookie-choices.php:195
31
+ msgid "Italy Cookie Choices options page"
32
+ msgstr ""
33
+
34
+ #: italy-cookie-choices.php:205
35
+ msgid "Activate"
36
+ msgstr ""
37
+
38
+ #: italy-cookie-choices.php:217
39
+ msgid "Where display the banner"
40
+ msgstr ""
41
+
42
+ #: italy-cookie-choices.php:228
43
+ msgid "Text to display"
44
+ msgstr ""
45
+
46
+ #: italy-cookie-choices.php:239
47
+ msgid "URL for cookie policy"
48
+ msgstr ""
49
+
50
+ #: italy-cookie-choices.php:250
51
+ msgid "Anchor text for URL"
52
+ msgstr ""
53
+
54
+ #: italy-cookie-choices.php:261
55
+ msgid "Button text"
56
+ msgstr ""
57
+
58
+ #: italy-cookie-choices.php:286
59
+ msgid "Customize your banner for cookie law"
60
+ msgstr ""
61
+
62
+ #: italy-cookie-choices.php:301
63
+ msgid "Display banner for Cookie Law in front-end"
64
+ msgstr ""
65
+
66
+ #: italy-cookie-choices.php:321
67
+ msgid "Top Bar (Default, Display a top bar wth your message)"
68
+ msgstr ""
69
+
70
+ #: italy-cookie-choices.php:329
71
+ msgid "Dialog (Display an overlay with your message)"
72
+ msgstr ""
73
+
74
+ #: italy-cookie-choices.php:344
75
+ msgid "Your short cookie policy"
76
+ msgstr ""
77
+
78
+ #: italy-cookie-choices.php:346
79
+ msgid "People will see this notice only the first time that they enter your site"
80
+ msgstr ""
81
+
82
+ #: italy-cookie-choices.php:360
83
+ msgid "e.g. http://www.aboutcookies.org/"
84
+ msgstr ""
85
+
86
+ #: italy-cookie-choices.php:363
87
+ msgid "Insert here the link to your policy page"
88
+ msgstr ""
89
+
90
+ #: italy-cookie-choices.php:377
91
+ msgid "e.g. More Info"
92
+ msgstr ""
93
+
94
+ #: italy-cookie-choices.php:380
95
+ msgid "Insert here anchor text for the link"
96
+ msgstr ""
97
+
98
+ #: italy-cookie-choices.php:394
99
+ msgid "e.g. Close"
100
+ msgstr ""
101
+
102
+ #: italy-cookie-choices.php:397
103
+ msgid "Insert here name of button (e.g. \"Close\") "
104
+ msgstr ""
readme.txt CHANGED
@@ -1,14 +1,15 @@
1
  === Italy Cookie Choices ===
2
- Contributors: Enea Overclokk
3
- Tags: cookies, cookie law
 
4
  Requires at least: 3.8
5
  Tested up to: 4.3.0
6
- Stable tag: 1.0.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  Italy Cookie Choices allows you to easily comply with the european cookie law, showing
11
- a notice to the user only the very first time that visits your website.
12
 
13
  == Description ==
14
 
@@ -16,7 +17,9 @@ Italy Cookie Choices allows you to easily comply with the european cookie law, s
16
  a notice to the user only the very first time that visits your website.
17
  Message, position and the style can be easyly modified through the plugin menu.
18
 
19
- The plugin will not add any CSS stylesheet or Javascript file but only inline script, what does not make your web site load more slowly.
 
 
20
 
21
  == Installation ==
22
 
@@ -44,8 +47,39 @@ Probably, you already have visited the site before, so you accepted the use of c
44
 
45
  == Changelog ==
46
 
47
- = 1.0 =
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  * First release.
49
 
50
  == Upgrade Notice ==
51
- = 1.0 = First First release.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  === Italy Cookie Choices ===
2
+ Contributors: overclokk
3
+ Donate link:
4
+ Tags: compliance, cookie law, cookies, eu cookie law, eu law, eu privacy directive, privacy, privacy directive, notification, privacy law, cookie law banner, implied consent
5
  Requires at least: 3.8
6
  Tested up to: 4.3.0
7
+ Stable tag: 1.1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  Italy Cookie Choices allows you to easily comply with the european cookie law, showing
12
+ a notice to the user only the very first time that visits your website without degrading website performance.
13
 
14
  == Description ==
15
 
17
  a notice to the user only the very first time that visits your website.
18
  Message, position and the style can be easyly modified through the plugin menu.
19
 
20
+ The plugin will not add any CSS stylesheet or Javascript file but only inline script, what does not make your web site load more slowly.
21
+
22
+ Notify any issue on github repository https://github.com/overclokk/italy-cookie-choices/issues
23
 
24
  == Installation ==
25
 
47
 
48
  == Changelog ==
49
 
50
+ = 1.1.0 =
51
+ Release Date:
52
+
53
+ Dev time: 10h
54
+
55
+ * Fix special char visualization
56
+ * Add italian translations
57
+ * Removed default text
58
+
59
+ = 1.0.0 =
60
+ Release Date: May 21st, 2015
61
+
62
+ Dev time: 50h
63
+
64
  * First release.
65
 
66
  == Upgrade Notice ==
67
+
68
+ = 1.0.0 =
69
+ First release.
70
+
71
+ == Translations ==
72
+
73
+ * English: default, always included.
74
+ * Italian: Italiano, sempre incluso.
75
+
76
+ *Note:* This plugins is localized/ translateable by default. This is very important for all users worldwide. So please contribute your language to the plugin to make it even more useful. For translating I recommend the awesome ["Codestyling Localization" plugin](http://wordpress.org/extend/plugins/codestyling-localization/) and for validating the ["Poedit Editor"](http://www.poedit.net/).
77
+
78
+ == Additional Info ==
79
+
80
+ **Idea Behind / Philosophy:** Italy Cookie Choices allows you to easily comply with the european cookie law, showing
81
+ a notice to the user only the very first time that visits your website without degrading website performance..
82
+
83
+ == Credits ==
84
+
85
+ * [www.cookiechoices.org](https://www.cookiechoices.org/)