Version Description
Release Date: May 28th, 2015
Dev time: 2h
- Added checkbox for refresh page after button click
- Fixed cookie name issue
Download this release
Release Info
Developer | overclokk |
Plugin | Italy Cookie Choices (for EU Cookie Law) |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
- italy-cookie-choices.php +41 -4
- js/cookiechoices.js +1 -0
- js/cookiechoices.php +1 -1
- lang/italy-cookie-choices-it_IT.mo +0 -0
- lang/italy-cookie-choices-it_IT.po +45 -35
- lang/italy-cookie-choices.pot +42 -34
- readme.txt +11 -2
italy-cookie-choices.php
CHANGED
@@ -3,7 +3,7 @@
|
|
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.2.
|
7 |
* Author: Enea Overclokk
|
8 |
* Author URI: https://plus.google.com/u/0/communities/109254048492234113886
|
9 |
* Text Domain: italy-cookie-choices
|
@@ -183,7 +183,9 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
|
|
183 |
'text' => '',
|
184 |
'url' => '',
|
185 |
'anchor_text' => '',
|
186 |
-
'button_text' => ''
|
|
|
|
|
187 |
|
188 |
);
|
189 |
|
@@ -243,6 +245,17 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
|
|
243 |
'setting_section'
|
244 |
);
|
245 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
/**
|
247 |
*
|
248 |
*/
|
@@ -427,6 +440,24 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
|
|
427 |
|
428 |
}
|
429 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
430 |
/**
|
431 |
* Textarea for the message to display
|
432 |
* @return string
|
@@ -550,7 +581,7 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
|
|
550 |
*/
|
551 |
public function italy_cl_option_cookie_name($args) {
|
552 |
|
553 |
-
$cookie_name = ( isset( $this->options['cookie_name'] ) ) ? $this->options['cookie_name'] :
|
554 |
|
555 |
?>
|
556 |
<input type="text" id="italy_cookie_choices[cookie_name]" name="italy_cookie_choices[cookie_name]" value="<?php echo esc_attr( $cookie_name ); ?>" placeholder="<?php echo esc_attr( $this->cookieName ); ?>" />
|
@@ -600,6 +631,9 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
|
|
600 |
if( isset( $input['scroll'] ) )
|
601 |
$new_input['scroll'] = $input['scroll'];
|
602 |
|
|
|
|
|
|
|
603 |
if( isset( $input['text'] ) )
|
604 |
$new_input['text'] = sanitize_text_field( $input['text'] );
|
605 |
|
@@ -666,6 +700,8 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
|
|
666 |
|
667 |
$scroll = ( isset( $this->options['scroll'] ) ) ? $this->options['scroll'] : '' ;
|
668 |
|
|
|
|
|
669 |
/**
|
670 |
* Snippet for display banner
|
671 |
* @uses json_encode Funzione usate per il testo del messaggio.
|
@@ -710,9 +746,10 @@ if ( !class_exists( 'Italy_Cookie_Choices' ) ){
|
|
710 |
* var htmlM = Aggiunge un margine a HTML per la top bar
|
711 |
* var coNA = cookie name
|
712 |
* var coVA = cookie val
|
|
|
713 |
* @var string
|
714 |
*/
|
715 |
-
$jsVariables = 'var coNA="' . $cookie_name . '",coVA="' . $cookie_value . '";scroll="' . $scroll . '",elPos="fixed",infoClass="",closeClass="",htmlM="' . $htmlM . '";';
|
716 |
|
717 |
/**
|
718 |
* Noscript snippet in case browser has JavaScript disabled
|
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.2.1
|
7 |
* Author: Enea Overclokk
|
8 |
* Author URI: https://plus.google.com/u/0/communities/109254048492234113886
|
9 |
* Text Domain: italy-cookie-choices
|
183 |
'text' => '',
|
184 |
'url' => '',
|
185 |
'anchor_text' => '',
|
186 |
+
'button_text' => '',
|
187 |
+
'cookie_name' => $this->cookieName,
|
188 |
+
'cookie_value' => $this->cookieVal
|
189 |
|
190 |
);
|
191 |
|
245 |
'setting_section'
|
246 |
);
|
247 |
|
248 |
+
/**
|
249 |
+
* Checkbox for reload page
|
250 |
+
*/
|
251 |
+
add_settings_field(
|
252 |
+
'reload',
|
253 |
+
__( 'Refresh page', 'italy-cookie-choices' ),
|
254 |
+
array( $this, 'italy_cl_option_reload'),
|
255 |
+
'italy_cl_options_group',
|
256 |
+
'setting_section'
|
257 |
+
);
|
258 |
+
|
259 |
/**
|
260 |
*
|
261 |
*/
|
440 |
|
441 |
}
|
442 |
|
443 |
+
/**
|
444 |
+
* Snippet for reload
|
445 |
+
* @return strimg Reload page after click
|
446 |
+
*/
|
447 |
+
public function italy_cl_option_reload($args) {
|
448 |
+
|
449 |
+
$reload = ( isset( $this->options['reload'] ) ) ? $this->options['reload'] : '' ;
|
450 |
+
?>
|
451 |
+
|
452 |
+
<input type='checkbox' name='italy_cookie_choices[reload]' <?php checked( $reload, 1 ); ?> value='1'>
|
453 |
+
<label for="italy_cookie_choices[reload]">
|
454 |
+
<?php _e( 'Refresh page after button click', 'italy-cookie-choices' ); ?>
|
455 |
+
</label>
|
456 |
+
|
457 |
+
<?php
|
458 |
+
|
459 |
+
}
|
460 |
+
|
461 |
/**
|
462 |
* Textarea for the message to display
|
463 |
* @return string
|
581 |
*/
|
582 |
public function italy_cl_option_cookie_name($args) {
|
583 |
|
584 |
+
$cookie_name = ( isset( $this->options['cookie_name'] ) ) ? $this->options['cookie_name'] : $this->cookieName ;
|
585 |
|
586 |
?>
|
587 |
<input type="text" id="italy_cookie_choices[cookie_name]" name="italy_cookie_choices[cookie_name]" value="<?php echo esc_attr( $cookie_name ); ?>" placeholder="<?php echo esc_attr( $this->cookieName ); ?>" />
|
631 |
if( isset( $input['scroll'] ) )
|
632 |
$new_input['scroll'] = $input['scroll'];
|
633 |
|
634 |
+
if( isset( $input['reload'] ) )
|
635 |
+
$new_input['reload'] = $input['reload'];
|
636 |
+
|
637 |
if( isset( $input['text'] ) )
|
638 |
$new_input['text'] = sanitize_text_field( $input['text'] );
|
639 |
|
700 |
|
701 |
$scroll = ( isset( $this->options['scroll'] ) ) ? $this->options['scroll'] : '' ;
|
702 |
|
703 |
+
$reload = ( isset( $this->options['reload'] ) ) ? $this->options['reload'] : '' ;
|
704 |
+
|
705 |
/**
|
706 |
* Snippet for display banner
|
707 |
* @uses json_encode Funzione usate per il testo del messaggio.
|
746 |
* var htmlM = Aggiunge un margine a HTML per la top bar
|
747 |
* var coNA = cookie name
|
748 |
* var coVA = cookie val
|
749 |
+
* var rel = Setto il reload per la pagina all'accettazione
|
750 |
* @var string
|
751 |
*/
|
752 |
+
$jsVariables = 'var coNA="' . $cookie_name . '",coVA="' . $cookie_value . '";scroll="' . $scroll . '",elPos="fixed",infoClass="",closeClass="",htmlM="' . $htmlM . '",rel="' . $reload . '";';
|
753 |
|
754 |
/**
|
755 |
* Noscript snippet in case browser has JavaScript disabled
|
js/cookiechoices.js
CHANGED
@@ -125,6 +125,7 @@
|
|
125 |
if ( htmlM ) html.classList.remove("icc");
|
126 |
_saveUserPreference();
|
127 |
_removeCookieConsent();
|
|
|
128 |
return false;
|
129 |
}
|
130 |
|
125 |
if ( htmlM ) html.classList.remove("icc");
|
126 |
_saveUserPreference();
|
127 |
_removeCookieConsent();
|
128 |
+
if ( rel ) document.location.reload();
|
129 |
return false;
|
130 |
}
|
131 |
|
js/cookiechoices.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(a){if(a.cookieChoices)return a.cookieChoices;var b=a.document,c=b.documentElement,d="textContent"in b.body,e=function(){function a(a,d,e,f){htmlM&&(c.className+=" icc");var j="position:"+elPos+";width:100%;background-color:#eee;margin:0; left:0; top:0;padding:4px;z-index:9999;text-align:center;",k=b.createElement("div");return k.id=r,k.style.cssText=j,k.appendChild(g(a)),e&&f&&k.appendChild(i(e,f)),k.appendChild(h(d)),k}function e(a,c,d,e){var f="position:fixed;width:100%;height:100%;z-index:999;top:0;left:0;opacity:0.5;filter:alpha(opacity=50);background-color:#ccc;",j="z-index:1000;position:fixed;left:50%;top:50%",k="position:relative;left:-50%;margin-top:-25%;background-color:#fff;padding:20px;box-shadow:4px 4px 25px #888;",l=b.createElement("div");l.id=r;var m=b.createElement("div");m.style.cssText=f;var n=b.createElement("div");n.style.cssText=k;var o=b.createElement("div");o.style.cssText=j;var p=h(c);return p.style.display="block",p.style.textAlign="right",p.style.marginTop="8px",n.appendChild(g(a)),d&&e&&n.appendChild(i(d,e)),n.appendChild(p),o.appendChild(n),l.appendChild(m),l.appendChild(o),l}function f(a,b){d?a.textContent=b:a.innerText=b}function g(a){var c=b.createElement("span");return f(c,a),c}function h(a){var c=b.createElement("a");return f(c,a),c.id=s,c.className=closeClass,c.href="#",c.style.marginLeft="24px",c}function i(a,c){var d=b.createElement("a");return f(d,a),d.className=infoClass,d.href=c,d.target="_blank",d.style.marginLeft="8px",d}function j(){return htmlM&&c.classList.remove("icc"),o(),n(),!1}function k(c,d,f,g,h){if(p()){n();var i=h?e(c,d,f,g):a(c,d,f,g),k=b.createDocumentFragment();k.appendChild(i),b.body.appendChild(k.cloneNode(!0)),b.getElementById(s).onclick=j,scroll&&(b.onscroll=j)}}function l(a,b,c,d){k(a,b,c,d,!1)}function m(a,b,c,d){k(a,b,c,d,!0)}function n(){var a=b.getElementById(r);null!==a&&a.parentNode.removeChild(a)}function o(){var a=new Date;a.setFullYear(a.getFullYear()+1),b.cookie=q+"="+coVA+"; expires="+a.toGMTString()}function p(){return!b.cookie.match(new RegExp(q+"=([^;]+)"))}var q=coNA,r="cookieChoiceInfo",s="cookieChoiceDismiss",t={};return t.showCookieConsentBar=l,t.showCookieConsentDialog=m,t}();return a.cookieChoices=e,e}(this);
|
1 |
+
!function(a){if(a.cookieChoices)return a.cookieChoices;var b=a.document,c=b.documentElement,d="textContent"in b.body,e=function(){function a(a,d,e,f){htmlM&&(c.className+=" icc");var j="position:"+elPos+";width:100%;background-color:#eee;margin:0; left:0; top:0;padding:4px;z-index:9999;text-align:center;",k=b.createElement("div");return k.id=r,k.style.cssText=j,k.appendChild(g(a)),e&&f&&k.appendChild(i(e,f)),k.appendChild(h(d)),k}function e(a,c,d,e){var f="position:fixed;width:100%;height:100%;z-index:999;top:0;left:0;opacity:0.5;filter:alpha(opacity=50);background-color:#ccc;",j="z-index:1000;position:fixed;left:50%;top:50%",k="position:relative;left:-50%;margin-top:-25%;background-color:#fff;padding:20px;box-shadow:4px 4px 25px #888;",l=b.createElement("div");l.id=r;var m=b.createElement("div");m.style.cssText=f;var n=b.createElement("div");n.style.cssText=k;var o=b.createElement("div");o.style.cssText=j;var p=h(c);return p.style.display="block",p.style.textAlign="right",p.style.marginTop="8px",n.appendChild(g(a)),d&&e&&n.appendChild(i(d,e)),n.appendChild(p),o.appendChild(n),l.appendChild(m),l.appendChild(o),l}function f(a,b){d?a.textContent=b:a.innerText=b}function g(a){var c=b.createElement("span");return f(c,a),c}function h(a){var c=b.createElement("a");return f(c,a),c.id=s,c.className=closeClass,c.href="#",c.style.marginLeft="24px",c}function i(a,c){var d=b.createElement("a");return f(d,a),d.className=infoClass,d.href=c,d.target="_blank",d.style.marginLeft="8px",d}function j(){return htmlM&&c.classList.remove("icc"),o(),n(),rel&&b.location.reload(),!1}function k(c,d,f,g,h){if(p()){n();var i=h?e(c,d,f,g):a(c,d,f,g),k=b.createDocumentFragment();k.appendChild(i),b.body.appendChild(k.cloneNode(!0)),b.getElementById(s).onclick=j,scroll&&(b.onscroll=j)}}function l(a,b,c,d){k(a,b,c,d,!1)}function m(a,b,c,d){k(a,b,c,d,!0)}function n(){var a=b.getElementById(r);null!==a&&a.parentNode.removeChild(a)}function o(){var a=new Date;a.setFullYear(a.getFullYear()+1),b.cookie=q+"="+coVA+"; expires="+a.toGMTString()}function p(){return!b.cookie.match(new RegExp(q+"=([^;]+)"))}var q=coNA,r="cookieChoiceInfo",s="cookieChoiceDismiss",t={};return t.showCookieConsentBar=l,t.showCookieConsentDialog=m,t}();return a.cookieChoices=e,e}(this);
|
lang/italy-cookie-choices-it_IT.mo
CHANGED
Binary file
|
lang/italy-cookie-choices-it_IT.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: italy-cookie-choices\n"
|
4 |
-
"POT-Creation-Date: 2015-05-
|
5 |
-
"PO-Revision-Date: 2015-05-
|
6 |
"Last-Translator: Enea Overclokk <info@overclokk.net>\n"
|
7 |
"Language-Team: info@overclokk.net\n"
|
8 |
"Language: it_IT\n"
|
@@ -26,140 +26,150 @@ msgstr "Pannello di Italy Cookie Choices"
|
|
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:
|
30 |
msgid "Italy Cookie Choices options page"
|
31 |
msgstr "Pagina opzioni per Italy Cookie Choices"
|
32 |
|
33 |
-
#: italy-cookie-choices.php:
|
34 |
msgid "Activate"
|
35 |
msgstr "Attiva"
|
36 |
|
37 |
-
#: italy-cookie-choices.php:
|
38 |
msgid "Where display the banner"
|
39 |
msgstr "Dove mostrare il banner"
|
40 |
|
41 |
-
#: italy-cookie-choices.php:
|
42 |
msgid "Mouse scroll event"
|
43 |
msgstr "Evento scroll del mouse"
|
44 |
|
45 |
-
#: italy-cookie-choices.php:
|
|
|
|
|
|
|
|
|
46 |
msgid "Text to display"
|
47 |
msgstr "Testo da mostrare"
|
48 |
|
49 |
-
#: italy-cookie-choices.php:
|
50 |
msgid "URL for cookie policy"
|
51 |
msgstr "URL per la cookie policy"
|
52 |
|
53 |
-
#: italy-cookie-choices.php:
|
54 |
msgid "Anchor text for URL"
|
55 |
msgstr "Anchor text per la URL"
|
56 |
|
57 |
-
#: italy-cookie-choices.php:
|
58 |
msgid "Button text"
|
59 |
msgstr "Testo per il bottone"
|
60 |
|
61 |
-
#: italy-cookie-choices.php:
|
62 |
msgid "Style settings"
|
63 |
msgstr "Impostazioni per lo stile"
|
64 |
|
65 |
-
#: italy-cookie-choices.php:
|
66 |
msgid "HTML top margin"
|
67 |
msgstr "Margine alto per HTML"
|
68 |
|
69 |
-
#: italy-cookie-choices.php:
|
70 |
msgid "Advanced settngs"
|
71 |
msgstr "Opzioni avanzate"
|
72 |
|
73 |
-
#: italy-cookie-choices.php:
|
74 |
msgid "Cookie name"
|
75 |
msgstr "Nome del Cookie"
|
76 |
|
77 |
-
#: italy-cookie-choices.php:
|
78 |
msgid "Cookie value"
|
79 |
msgstr "Valore del Cookie"
|
80 |
|
81 |
-
#: italy-cookie-choices.php:
|
82 |
msgid "Customize your banner for cookie law"
|
83 |
msgstr "Personalizza il banner per la Cookie Law"
|
84 |
|
85 |
-
#: italy-cookie-choices.php:
|
86 |
msgid "Display banner for Cookie Law in front-end"
|
87 |
msgstr "Visualizza il banner nel front-end"
|
88 |
|
89 |
-
#: italy-cookie-choices.php:
|
90 |
msgid "Top Bar (Default, Display a top bar wth your message)"
|
91 |
msgstr "Top Bar (Default, verrà visualizzata una barra in cima alla pagina)"
|
92 |
|
93 |
-
#: italy-cookie-choices.php:
|
94 |
msgid "Dialog (Display an overlay with your message)"
|
95 |
msgstr "Dialog (Visualizza un popup con il tuo messaggio)"
|
96 |
|
97 |
-
#: italy-cookie-choices.php:
|
98 |
msgid "Accepts disclosures on mouse scroll event"
|
99 |
msgstr "Accetta l'informativa sull'evento scroll del mouse"
|
100 |
|
101 |
-
#: italy-cookie-choices.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
msgid "Your short cookie policy"
|
103 |
msgstr "La tua informativa breve"
|
104 |
|
105 |
-
#: italy-cookie-choices.php:
|
106 |
msgid ""
|
107 |
"People will see this notice only the first time that they enter your site"
|
108 |
msgstr ""
|
109 |
"Le persone visualizzeranno il messaggio la prima volta che visiteranno il "
|
110 |
"tuo sito"
|
111 |
|
112 |
-
#: italy-cookie-choices.php:
|
113 |
msgid "e.g. http://www.aboutcookies.org/"
|
114 |
msgstr "es: http://www.aboutcookies.org/"
|
115 |
|
116 |
-
#: italy-cookie-choices.php:
|
117 |
msgid "Insert here the link to your policy page"
|
118 |
msgstr "Inserisci il link alla tua pagina con l'informativa estesa"
|
119 |
|
120 |
-
#: italy-cookie-choices.php:
|
121 |
msgid "e.g. More Info"
|
122 |
msgstr "es: Maggiori informazioni"
|
123 |
|
124 |
-
#: italy-cookie-choices.php:
|
125 |
msgid "Insert here anchor text for the link"
|
126 |
msgstr "Inserisci qui l'anchor text per il link"
|
127 |
|
128 |
-
#: italy-cookie-choices.php:
|
129 |
msgid "e.g. Close"
|
130 |
msgstr "es: Chiudi"
|
131 |
|
132 |
-
#: italy-cookie-choices.php:
|
133 |
msgid "Insert here name of button (e.g. \"Close\") "
|
134 |
msgstr "Inserisci il testo del link per chiudere il popup/banner (es: Chiudi)"
|
135 |
|
136 |
-
#: italy-cookie-choices.php:
|
137 |
msgid "Customize your style settings"
|
138 |
msgstr "Personalizza le impostazioni per lo stile"
|
139 |
|
140 |
-
#: italy-cookie-choices.php:
|
141 |
msgid "Add a page top margin for info top bar"
|
142 |
msgstr "Aggiunge un margine nella parte alta della pagine solo per la topbar"
|
143 |
|
144 |
-
#: italy-cookie-choices.php:
|
145 |
msgid "Customize your advanced settings"
|
146 |
msgstr "Personalizza le impostazioni avanzate"
|
147 |
|
148 |
-
#: italy-cookie-choices.php:
|
149 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
150 |
msgstr "Inserisci il nome del tuo Cookie (Default: displayCookieConsent)"
|
151 |
|
152 |
-
#: italy-cookie-choices.php:
|
153 |
msgid "Insert your cookie value (Default: y)"
|
154 |
msgstr "Inserisci il valore del tuo Cookie (Default: y)"
|
155 |
|
156 |
-
#: italy-cookie-choices.php:
|
157 |
msgid "Cookie name field it can't be empty. Restored default name."
|
158 |
msgstr ""
|
159 |
"Il campo del nome del Cookie non può essere vuoto. Ripristinato il nome di "
|
160 |
"default."
|
161 |
|
162 |
-
#: italy-cookie-choices.php:
|
163 |
msgid "Cookie value field it can't be empty. Restored default value."
|
164 |
msgstr ""
|
165 |
"Il campo del valore del Cookie non può essere vuoto. Ripristinato il valore "
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: italy-cookie-choices\n"
|
4 |
+
"POT-Creation-Date: 2015-05-28 18:22+0100\n"
|
5 |
+
"PO-Revision-Date: 2015-05-28 18:24+0100\n"
|
6 |
"Last-Translator: Enea Overclokk <info@overclokk.net>\n"
|
7 |
"Language-Team: info@overclokk.net\n"
|
8 |
"Language: it_IT\n"
|
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:209
|
30 |
msgid "Italy Cookie Choices options page"
|
31 |
msgstr "Pagina opzioni per Italy Cookie Choices"
|
32 |
|
33 |
+
#: italy-cookie-choices.php:219
|
34 |
msgid "Activate"
|
35 |
msgstr "Attiva"
|
36 |
|
37 |
+
#: italy-cookie-choices.php:231
|
38 |
msgid "Where display the banner"
|
39 |
msgstr "Dove mostrare il banner"
|
40 |
|
41 |
+
#: italy-cookie-choices.php:242
|
42 |
msgid "Mouse scroll event"
|
43 |
msgstr "Evento scroll del mouse"
|
44 |
|
45 |
+
#: italy-cookie-choices.php:253
|
46 |
+
msgid "Refresh page"
|
47 |
+
msgstr "Aggiorna la pagina"
|
48 |
+
|
49 |
+
#: italy-cookie-choices.php:264
|
50 |
msgid "Text to display"
|
51 |
msgstr "Testo da mostrare"
|
52 |
|
53 |
+
#: italy-cookie-choices.php:275
|
54 |
msgid "URL for cookie policy"
|
55 |
msgstr "URL per la cookie policy"
|
56 |
|
57 |
+
#: italy-cookie-choices.php:286
|
58 |
msgid "Anchor text for URL"
|
59 |
msgstr "Anchor text per la URL"
|
60 |
|
61 |
+
#: italy-cookie-choices.php:297
|
62 |
msgid "Button text"
|
63 |
msgstr "Testo per il bottone"
|
64 |
|
65 |
+
#: italy-cookie-choices.php:308
|
66 |
msgid "Style settings"
|
67 |
msgstr "Impostazioni per lo stile"
|
68 |
|
69 |
+
#: italy-cookie-choices.php:318
|
70 |
msgid "HTML top margin"
|
71 |
msgstr "Margine alto per HTML"
|
72 |
|
73 |
+
#: italy-cookie-choices.php:329
|
74 |
msgid "Advanced settngs"
|
75 |
msgstr "Opzioni avanzate"
|
76 |
|
77 |
+
#: italy-cookie-choices.php:339
|
78 |
msgid "Cookie name"
|
79 |
msgstr "Nome del Cookie"
|
80 |
|
81 |
+
#: italy-cookie-choices.php:350
|
82 |
msgid "Cookie value"
|
83 |
msgstr "Valore del Cookie"
|
84 |
|
85 |
+
#: italy-cookie-choices.php:375
|
86 |
msgid "Customize your banner for cookie law"
|
87 |
msgstr "Personalizza il banner per la Cookie Law"
|
88 |
|
89 |
+
#: italy-cookie-choices.php:390
|
90 |
msgid "Display banner for Cookie Law in front-end"
|
91 |
msgstr "Visualizza il banner nel front-end"
|
92 |
|
93 |
+
#: italy-cookie-choices.php:410
|
94 |
msgid "Top Bar (Default, Display a top bar wth your message)"
|
95 |
msgstr "Top Bar (Default, verrà visualizzata una barra in cima alla pagina)"
|
96 |
|
97 |
+
#: italy-cookie-choices.php:418
|
98 |
msgid "Dialog (Display an overlay with your message)"
|
99 |
msgstr "Dialog (Visualizza un popup con il tuo messaggio)"
|
100 |
|
101 |
+
#: italy-cookie-choices.php:436
|
102 |
msgid "Accepts disclosures on mouse scroll event"
|
103 |
msgstr "Accetta l'informativa sull'evento scroll del mouse"
|
104 |
|
105 |
+
#: italy-cookie-choices.php:454
|
106 |
+
msgid "Refresh page after button click"
|
107 |
+
msgstr ""
|
108 |
+
"Aggiorna la pagina dopo il click sul link di accettazione (Usare con "
|
109 |
+
"parsimonia se hai il sito molto lento, es 5'')"
|
110 |
+
|
111 |
+
#: italy-cookie-choices.php:469
|
112 |
msgid "Your short cookie policy"
|
113 |
msgstr "La tua informativa breve"
|
114 |
|
115 |
+
#: italy-cookie-choices.php:472
|
116 |
msgid ""
|
117 |
"People will see this notice only the first time that they enter your site"
|
118 |
msgstr ""
|
119 |
"Le persone visualizzeranno il messaggio la prima volta che visiteranno il "
|
120 |
"tuo sito"
|
121 |
|
122 |
+
#: italy-cookie-choices.php:486
|
123 |
msgid "e.g. http://www.aboutcookies.org/"
|
124 |
msgstr "es: http://www.aboutcookies.org/"
|
125 |
|
126 |
+
#: italy-cookie-choices.php:489
|
127 |
msgid "Insert here the link to your policy page"
|
128 |
msgstr "Inserisci il link alla tua pagina con l'informativa estesa"
|
129 |
|
130 |
+
#: italy-cookie-choices.php:503
|
131 |
msgid "e.g. More Info"
|
132 |
msgstr "es: Maggiori informazioni"
|
133 |
|
134 |
+
#: italy-cookie-choices.php:506
|
135 |
msgid "Insert here anchor text for the link"
|
136 |
msgstr "Inserisci qui l'anchor text per il link"
|
137 |
|
138 |
+
#: italy-cookie-choices.php:520
|
139 |
msgid "e.g. Close"
|
140 |
msgstr "es: Chiudi"
|
141 |
|
142 |
+
#: italy-cookie-choices.php:523
|
143 |
msgid "Insert here name of button (e.g. \"Close\") "
|
144 |
msgstr "Inserisci il testo del link per chiudere il popup/banner (es: Chiudi)"
|
145 |
|
146 |
+
#: italy-cookie-choices.php:540
|
147 |
msgid "Customize your style settings"
|
148 |
msgstr "Personalizza le impostazioni per lo stile"
|
149 |
|
150 |
+
#: italy-cookie-choices.php:556
|
151 |
msgid "Add a page top margin for info top bar"
|
152 |
msgstr "Aggiunge un margine nella parte alta della pagine solo per la topbar"
|
153 |
|
154 |
+
#: italy-cookie-choices.php:574
|
155 |
msgid "Customize your advanced settings"
|
156 |
msgstr "Personalizza le impostazioni avanzate"
|
157 |
|
158 |
+
#: italy-cookie-choices.php:590
|
159 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
160 |
msgstr "Inserisci il nome del tuo Cookie (Default: displayCookieConsent)"
|
161 |
|
162 |
+
#: italy-cookie-choices.php:609
|
163 |
msgid "Insert your cookie value (Default: y)"
|
164 |
msgstr "Inserisci il valore del tuo Cookie (Default: y)"
|
165 |
|
166 |
+
#: italy-cookie-choices.php:662
|
167 |
msgid "Cookie name field it can't be empty. Restored default name."
|
168 |
msgstr ""
|
169 |
"Il campo del nome del Cookie non può essere vuoto. Ripristinato il nome di "
|
170 |
"default."
|
171 |
|
172 |
+
#: italy-cookie-choices.php:669
|
173 |
msgid "Cookie value field it can't be empty. Restored default value."
|
174 |
msgstr ""
|
175 |
"Il campo del valore del Cookie non può essere vuoto. Ripristinato il valore "
|
lang/italy-cookie-choices.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Italy Cookie Choices\n"
|
5 |
-
"POT-Creation-Date: 2015-05-
|
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"
|
@@ -27,134 +27,142 @@ msgstr ""
|
|
27 |
msgid "You do not have sufficient permissions to access this page."
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: italy-cookie-choices.php:
|
31 |
msgid "Italy Cookie Choices options page"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: italy-cookie-choices.php:
|
35 |
msgid "Activate"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: italy-cookie-choices.php:
|
39 |
msgid "Where display the banner"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: italy-cookie-choices.php:
|
43 |
msgid "Mouse scroll event"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: italy-cookie-choices.php:
|
|
|
|
|
|
|
|
|
47 |
msgid "Text to display"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: italy-cookie-choices.php:
|
51 |
msgid "URL for cookie policy"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: italy-cookie-choices.php:
|
55 |
msgid "Anchor text for URL"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: italy-cookie-choices.php:
|
59 |
msgid "Button text"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: italy-cookie-choices.php:
|
63 |
msgid "Style settings"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: italy-cookie-choices.php:
|
67 |
msgid "HTML top margin"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: italy-cookie-choices.php:
|
71 |
msgid "Advanced settngs"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: italy-cookie-choices.php:
|
75 |
msgid "Cookie name"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: italy-cookie-choices.php:
|
79 |
msgid "Cookie value"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: italy-cookie-choices.php:
|
83 |
msgid "Customize your banner for cookie law"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: italy-cookie-choices.php:
|
87 |
msgid "Display banner for Cookie Law in front-end"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: italy-cookie-choices.php:
|
91 |
msgid "Top Bar (Default, Display a top bar wth your message)"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: italy-cookie-choices.php:
|
95 |
msgid "Dialog (Display an overlay with your message)"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: italy-cookie-choices.php:
|
99 |
msgid "Accepts disclosures on mouse scroll event"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: italy-cookie-choices.php:
|
|
|
|
|
|
|
|
|
103 |
msgid "Your short cookie policy"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: italy-cookie-choices.php:
|
107 |
msgid "People will see this notice only the first time that they enter your site"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: italy-cookie-choices.php:
|
111 |
msgid "e.g. http://www.aboutcookies.org/"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: italy-cookie-choices.php:
|
115 |
msgid "Insert here the link to your policy page"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: italy-cookie-choices.php:
|
119 |
msgid "e.g. More Info"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: italy-cookie-choices.php:
|
123 |
msgid "Insert here anchor text for the link"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: italy-cookie-choices.php:
|
127 |
msgid "e.g. Close"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: italy-cookie-choices.php:
|
131 |
msgid "Insert here name of button (e.g. \"Close\") "
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: italy-cookie-choices.php:
|
135 |
msgid "Customize your style settings"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: italy-cookie-choices.php:
|
139 |
msgid "Add a page top margin for info top bar"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: italy-cookie-choices.php:
|
143 |
msgid "Customize your advanced settings"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: italy-cookie-choices.php:
|
147 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: italy-cookie-choices.php:
|
151 |
msgid "Insert your cookie value (Default: y)"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: italy-cookie-choices.php:
|
155 |
msgid "Cookie name field it can't be empty. Restored default name."
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: italy-cookie-choices.php:
|
159 |
msgid "Cookie value field it can't be empty. Restored default value."
|
160 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Italy Cookie Choices\n"
|
5 |
+
"POT-Creation-Date: 2015-05-28 18:22+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"
|
27 |
msgid "You do not have sufficient permissions to access this page."
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: italy-cookie-choices.php:209
|
31 |
msgid "Italy Cookie Choices options page"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: italy-cookie-choices.php:219
|
35 |
msgid "Activate"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: italy-cookie-choices.php:231
|
39 |
msgid "Where display the banner"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: italy-cookie-choices.php:242
|
43 |
msgid "Mouse scroll event"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: italy-cookie-choices.php:253
|
47 |
+
msgid "Refresh page"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: italy-cookie-choices.php:264
|
51 |
msgid "Text to display"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: italy-cookie-choices.php:275
|
55 |
msgid "URL for cookie policy"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: italy-cookie-choices.php:286
|
59 |
msgid "Anchor text for URL"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: italy-cookie-choices.php:297
|
63 |
msgid "Button text"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: italy-cookie-choices.php:308
|
67 |
msgid "Style settings"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: italy-cookie-choices.php:318
|
71 |
msgid "HTML top margin"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: italy-cookie-choices.php:329
|
75 |
msgid "Advanced settngs"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: italy-cookie-choices.php:339
|
79 |
msgid "Cookie name"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: italy-cookie-choices.php:350
|
83 |
msgid "Cookie value"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: italy-cookie-choices.php:375
|
87 |
msgid "Customize your banner for cookie law"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: italy-cookie-choices.php:390
|
91 |
msgid "Display banner for Cookie Law in front-end"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: italy-cookie-choices.php:410
|
95 |
msgid "Top Bar (Default, Display a top bar wth your message)"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: italy-cookie-choices.php:418
|
99 |
msgid "Dialog (Display an overlay with your message)"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: italy-cookie-choices.php:436
|
103 |
msgid "Accepts disclosures on mouse scroll event"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: italy-cookie-choices.php:454
|
107 |
+
msgid "Refresh page after button click"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: italy-cookie-choices.php:469
|
111 |
msgid "Your short cookie policy"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: italy-cookie-choices.php:472
|
115 |
msgid "People will see this notice only the first time that they enter your site"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: italy-cookie-choices.php:486
|
119 |
msgid "e.g. http://www.aboutcookies.org/"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: italy-cookie-choices.php:489
|
123 |
msgid "Insert here the link to your policy page"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: italy-cookie-choices.php:503
|
127 |
msgid "e.g. More Info"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: italy-cookie-choices.php:506
|
131 |
msgid "Insert here anchor text for the link"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: italy-cookie-choices.php:520
|
135 |
msgid "e.g. Close"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: italy-cookie-choices.php:523
|
139 |
msgid "Insert here name of button (e.g. \"Close\") "
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: italy-cookie-choices.php:540
|
143 |
msgid "Customize your style settings"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: italy-cookie-choices.php:556
|
147 |
msgid "Add a page top margin for info top bar"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: italy-cookie-choices.php:574
|
151 |
msgid "Customize your advanced settings"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: italy-cookie-choices.php:590
|
155 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: italy-cookie-choices.php:609
|
159 |
msgid "Insert your cookie value (Default: y)"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: italy-cookie-choices.php:662
|
163 |
msgid "Cookie name field it can't be empty. Restored default name."
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: italy-cookie-choices.php:669
|
167 |
msgid "Cookie value field it can't be empty. Restored default value."
|
168 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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: 4.1
|
6 |
Tested up to: 4.3.0
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -48,7 +48,7 @@ Yes, simply copy the snippet generate by "Italy Cookie Choses for WordPress" and
|
|
48 |
|
49 |
= I use Async JS and CSS plugin, but the banner doesn't display =
|
50 |
|
51 |
-
You have to uncheck the
|
52 |
|
53 |
== Screenshots ==
|
54 |
|
@@ -59,6 +59,15 @@ You have to uncheck the "Detect <script> tags in wp_footer" in Async JS and CSS
|
|
59 |
|
60 |
== Changelog ==
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
= 1.2.0 =
|
63 |
Release Date: May 27th, 2015
|
64 |
|
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: 4.1
|
6 |
Tested up to: 4.3.0
|
7 |
+
Stable tag: 1.2.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
48 |
|
49 |
= I use Async JS and CSS plugin, but the banner doesn't display =
|
50 |
|
51 |
+
You have to uncheck the `Detect <script> tags in wp_footer` in Async JS and CSS plugin settings page and refresh page.
|
52 |
|
53 |
== Screenshots ==
|
54 |
|
59 |
|
60 |
== Changelog ==
|
61 |
|
62 |
+
= 1.2.1 =
|
63 |
+
Release Date: May 28th, 2015
|
64 |
+
|
65 |
+
Dev time: 2h
|
66 |
+
|
67 |
+
* [Added checkbox for refresh page after button click](https://wordpress.org/support/topic/aggiunta-del-refresh-dopo-lok?replies=3)
|
68 |
+
* [Fixed cookie name issue](https://github.com/overclokk/italy-cookie-choices/issues/21)
|
69 |
+
|
70 |
+
|
71 |
= 1.2.0 =
|
72 |
Release Date: May 27th, 2015
|
73 |
|