Cookie Notice by dFactory - Version 1.2.36

Version Description

  • Fix: String translation support for WMPL 3.2+
  • Fix: Global var possible conflict with other plugins
  • Tweak: Add $options array to "cn_cookie_notice_output" filter, thanks to chesio.
  • Tweak: Removed local translation files in favor of WP repository translations.
Download this release

Release Info

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

Code changes from version 1.2.35 to 1.2.36

cookie-notice.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Cookie Notice
4
  Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
5
- Version: 1.2.35
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
@@ -28,13 +28,13 @@ if ( ! defined( 'ABSPATH' ) )
28
  // set plugin instance
29
  $cookie_notice = new Cookie_Notice();
30
 
31
- include_once( plugin_dir_path( __FILE__ ) . 'includes/update.php' );
32
 
33
  /**
34
  * Cookie Notice class.
35
  *
36
  * @class Cookie_Notice
37
- * @version 1.2.35
38
  */
39
  class Cookie_Notice {
40
 
@@ -70,7 +70,7 @@ class Cookie_Notice {
70
  'translate' => true,
71
  'deactivation_delete' => 'no'
72
  ),
73
- 'version' => '1.2.35'
74
  );
75
  private $positions = array();
76
  private $styles = array();
@@ -172,16 +172,19 @@ class Cookie_Notice {
172
  if ( $this->options['general']['translate'] === true ) {
173
  $this->options['general']['translate'] = false;
174
 
175
- $this->options['general']['message_text'] = esc_textarea( __( 'We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.', 'cookie-notice' ) );
176
- $this->options['general']['accept_text'] = sanitize_text_field( __( 'Ok', 'cookie-notice' ) );
177
- $this->options['general']['refuse_text'] = sanitize_text_field( __( 'No', 'cookie-notice' ) );
178
- $this->options['general']['see_more_opt']['text'] = sanitize_text_field( __( 'Read more', 'cookie-notice' ) );
179
 
180
  update_option( 'cookie_notice_options', $this->options['general'] );
181
  }
182
 
 
 
 
183
  // WPML and Polylang compatibility
184
- if ( function_exists( 'icl_register_string' ) ) {
185
  icl_register_string( 'Cookie Notice', 'Message in the notice', $this->options['general']['message_text'] );
186
  icl_register_string( 'Cookie Notice', 'Button text', $this->options['general']['accept_text'] );
187
  icl_register_string( 'Cookie Notice', 'Refuse button text', $this->options['general']['refuse_text'] );
@@ -190,6 +193,36 @@ class Cookie_Notice {
190
  }
191
  }
192
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  /**
194
  * Load textdomain.
195
  */
@@ -606,7 +639,17 @@ class Cookie_Notice {
606
  $input['see_more_opt']['id'] = ( $input['see_more'] === 'yes' ? (int) $input['see_more_opt']['id'] : 'empty' );
607
 
608
  $input['translate'] = false;
609
-
 
 
 
 
 
 
 
 
 
 
610
  } elseif ( isset( $_POST['reset_cookie_notice_options'] ) ) {
611
 
612
  $input = $this->defaults['general'];
@@ -623,8 +666,15 @@ class Cookie_Notice {
623
  */
624
  public function add_cookie_notice() {
625
  if ( ! $this->cookie_setted() ) {
 
 
 
 
 
 
 
626
  // WPML and Polylang compatibility
627
- if ( function_exists( 'icl_t' ) ) {
628
  $this->options['general']['message_text'] = icl_t( 'Cookie Notice', 'Message in the notice', $this->options['general']['message_text'] );
629
  $this->options['general']['accept_text'] = icl_t( 'Cookie Notice', 'Button text', $this->options['general']['accept_text'] );
630
  $this->options['general']['refuse_text'] = icl_t( 'Cookie Notice', 'Refuse button text', $this->options['general']['refuse_text'] );
@@ -659,7 +709,7 @@ class Cookie_Notice {
659
  </div>
660
  </div>';
661
 
662
- echo apply_filters( 'cn_cookie_notice_output', $output );
663
  }
664
  }
665
 
2
  /*
3
  Plugin Name: Cookie Notice
4
  Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
5
+ Version: 1.2.36
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
28
  // set plugin instance
29
  $cookie_notice = new Cookie_Notice();
30
 
31
+ include_once( plugin_dir_path( __FILE__ ) . 'includes/upgrade.php' );
32
 
33
  /**
34
  * Cookie Notice class.
35
  *
36
  * @class Cookie_Notice
37
+ * @version 1.2.36
38
  */
39
  class Cookie_Notice {
40
 
70
  'translate' => true,
71
  'deactivation_delete' => 'no'
72
  ),
73
+ 'version' => '1.2.36'
74
  );
75
  private $positions = array();
76
  private $styles = array();
172
  if ( $this->options['general']['translate'] === true ) {
173
  $this->options['general']['translate'] = false;
174
 
175
+ $this->options['general']['message_text'] = __( 'We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.', 'cookie-notice' );
176
+ $this->options['general']['accept_text'] = __( 'Ok', 'cookie-notice' );
177
+ $this->options['general']['refuse_text'] = __( 'No', 'cookie-notice' );
178
+ $this->options['general']['see_more_opt']['text'] = __( 'Read more', 'cookie-notice' );
179
 
180
  update_option( 'cookie_notice_options', $this->options['general'] );
181
  }
182
 
183
+ // WPML >= 3.2
184
+ if ( defined( 'ICL_SITEPRESS_VERSION' ) && version_compare( ICL_SITEPRESS_VERSION, '3.2', '>=' ) ) {
185
+ $this->register_wpml_strings();
186
  // WPML and Polylang compatibility
187
+ } elseif ( function_exists( 'icl_register_string' ) ) {
188
  icl_register_string( 'Cookie Notice', 'Message in the notice', $this->options['general']['message_text'] );
189
  icl_register_string( 'Cookie Notice', 'Button text', $this->options['general']['accept_text'] );
190
  icl_register_string( 'Cookie Notice', 'Refuse button text', $this->options['general']['refuse_text'] );
193
  }
194
  }
195
 
196
+ /**
197
+ * Register WPML (>= 3.2) strings if needed.
198
+ *
199
+ * @return void
200
+ */
201
+ private function register_wpml_strings() {
202
+ global $wpdb;
203
+
204
+ // prepare strings
205
+ $strings = array(
206
+ 'Message in the notice' => $this->options['general']['message_text'],
207
+ 'Button text' => $this->options['general']['accept_text'],
208
+ 'Refuse button text' => $this->options['general']['refuse_text'],
209
+ 'Read more text' => $this->options['general']['see_more_opt']['text'],
210
+ 'Custom link' => $this->options['general']['see_more_opt']['link']
211
+ );
212
+
213
+ // get query results
214
+ $results = $wpdb->get_col( $wpdb->prepare( "SELECT name FROM " . $wpdb->prefix . "icl_strings WHERE context = %s", 'Cookie Notice' ) );
215
+
216
+ // check results
217
+ foreach( $strings as $string => $value ) {
218
+ // string does not exist?
219
+ if ( ! in_array( $string, $results, true ) ) {
220
+ // register string
221
+ do_action( 'wpml_register_single_string', 'Cookie Notice', $string, $value );
222
+ }
223
+ }
224
+ }
225
+
226
  /**
227
  * Load textdomain.
228
  */
639
  $input['see_more_opt']['id'] = ( $input['see_more'] === 'yes' ? (int) $input['see_more_opt']['id'] : 'empty' );
640
 
641
  $input['translate'] = false;
642
+
643
+ // WPML >= 3.2
644
+ if ( defined( 'ICL_SITEPRESS_VERSION' ) && version_compare( ICL_SITEPRESS_VERSION, '3.2', '>=' ) ) {
645
+ do_action( 'wpml_register_single_string', 'Cookie Notice', 'Message in the notice', $input['message_text'] );
646
+ do_action( 'wpml_register_single_string', 'Cookie Notice', 'Button text', $input['accept_text'] );
647
+ do_action( 'wpml_register_single_string', 'Cookie Notice', 'Refuse button text', $input['refuse_text'] );
648
+ do_action( 'wpml_register_single_string', 'Cookie Notice', 'Read more text', $input['see_more_opt']['text'] );
649
+
650
+ if ( $input['see_more_opt']['link_type'] === 'custom' )
651
+ do_action( 'wpml_register_single_string', 'Cookie Notice', 'Custom link', $input['see_more_opt']['link'] );
652
+ }
653
  } elseif ( isset( $_POST['reset_cookie_notice_options'] ) ) {
654
 
655
  $input = $this->defaults['general'];
666
  */
667
  public function add_cookie_notice() {
668
  if ( ! $this->cookie_setted() ) {
669
+ // WPML >= 3.2
670
+ if ( defined( 'ICL_SITEPRESS_VERSION' ) && version_compare( ICL_SITEPRESS_VERSION, '3.2', '>=' ) ) {
671
+ $this->options['general']['message_text'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['message_text'], 'Cookie Notice', 'Message in the notice' );
672
+ $this->options['general']['accept_text'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['accept_text'], 'Cookie Notice', 'Button text' );
673
+ $this->options['general']['refuse_text'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['refuse_text'], 'Cookie Notice', 'Refuse button text' );
674
+ $this->options['general']['see_more_opt']['text'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['see_more_opt']['text'], 'Cookie Notice', 'Read more text' );
675
+ $this->options['general']['see_more_opt']['link'] = apply_filters( 'wpml_translate_single_string', $this->options['general']['see_more_opt']['link'], 'Cookie Notice', 'Custom link' );
676
  // WPML and Polylang compatibility
677
+ } elseif ( function_exists( 'icl_t' ) ) {
678
  $this->options['general']['message_text'] = icl_t( 'Cookie Notice', 'Message in the notice', $this->options['general']['message_text'] );
679
  $this->options['general']['accept_text'] = icl_t( 'Cookie Notice', 'Button text', $this->options['general']['accept_text'] );
680
  $this->options['general']['refuse_text'] = icl_t( 'Cookie Notice', 'Refuse button text', $this->options['general']['refuse_text'] );
709
  </div>
710
  </div>';
711
 
712
+ echo apply_filters( 'cn_cookie_notice_output', $output, $options );
713
  }
714
  }
715
 
css/front.css CHANGED
@@ -4,8 +4,8 @@
4
  min-width: 100%;
5
  height: auto;
6
  z-index: 100000;
7
- font-size: 12px;
8
- line-height: 18px;
9
  left: 0;
10
  text-align: center;
11
  }
4
  min-width: 100%;
5
  height: auto;
6
  z-index: 100000;
7
+ font-size: 13px;
8
+ line-height: 20px;
9
  left: 0;
10
  text-align: center;
11
  }
js/front.js CHANGED
@@ -45,9 +45,8 @@
45
 
46
  var cnTime = new Date(),
47
  cnLater = new Date(),
48
- cnDomNode = $( '#cookie-notice' );
49
-
50
- self = this;
51
 
52
  // set expiry time in seconds
53
  cnLater.setTime( parseInt( cnTime.getTime() ) + parseInt( cnArgs.cookieTime ) * 1000 );
@@ -67,14 +66,14 @@
67
  // hide message container
68
  if ( cnArgs.hideEffect === 'fade' ) {
69
  cnDomNode.fadeOut( 300, function () {
70
- self.removeCookieNotice();
71
  } );
72
  } else if ( cnArgs.hideEffect === 'slide' ) {
73
  cnDomNode.slideUp( 300, function () {
74
- self.removeCookieNotice();
75
  } );
76
  } else {
77
- self.removeCookieNotice();
78
  }
79
  };
80
 
45
 
46
  var cnTime = new Date(),
47
  cnLater = new Date(),
48
+ cnDomNode = $( '#cookie-notice' ),
49
+ cnSelf = this;
 
50
 
51
  // set expiry time in seconds
52
  cnLater.setTime( parseInt( cnTime.getTime() ) + parseInt( cnArgs.cookieTime ) * 1000 );
66
  // hide message container
67
  if ( cnArgs.hideEffect === 'fade' ) {
68
  cnDomNode.fadeOut( 300, function () {
69
+ cnSelf.removeCookieNotice();
70
  } );
71
  } else if ( cnArgs.hideEffect === 'slide' ) {
72
  cnDomNode.slideUp( 300, function () {
73
+ cnSelf.removeCookieNotice();
74
  } );
75
  } else {
76
+ cnSelf.removeCookieNotice();
77
  }
78
  };
79
 
languages/cookie-notice-el_GR.mo DELETED
Binary file
languages/cookie-notice-el_GR.po DELETED
@@ -1,351 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Cookie Notice\n"
4
- "POT-Creation-Date: 2015-10-02 14:42+0300\n"
5
- "PO-Revision-Date: 2015-10-02 14:49+0300\n"
6
- "Last-Translator: \n"
7
- "Language-Team: dFactory <info@dfactory.eu>\n"
8
- "Language: el_GR\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.5\n"
13
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
-
19
- #: ../cookie-notice.php:127
20
- msgid "Top"
21
- msgstr "Επάνω"
22
-
23
- #: ../cookie-notice.php:128
24
- msgid "Bottom"
25
- msgstr "Κάτω"
26
-
27
- #: ../cookie-notice.php:132 ../cookie-notice.php:163
28
- msgid "None"
29
- msgstr "Καθόλου"
30
-
31
- #: ../cookie-notice.php:133
32
- msgid "WordPress"
33
- msgstr ""
34
-
35
- #: ../cookie-notice.php:134
36
- msgid "Bootstrap"
37
- msgstr ""
38
-
39
- #: ../cookie-notice.php:138
40
- msgid "Custom link"
41
- msgstr ""
42
-
43
- #: ../cookie-notice.php:139
44
- msgid "Page link"
45
- msgstr ""
46
-
47
- #: ../cookie-notice.php:148
48
- msgid "Text color"
49
- msgstr "Χρώμα κειμένου"
50
-
51
- #: ../cookie-notice.php:149
52
- msgid "Bar color"
53
- msgstr "Χρώμα μπάρας"
54
-
55
- #: ../cookie-notice.php:153
56
- msgid "1 day"
57
- msgstr "1 ημέρα"
58
-
59
- #: ../cookie-notice.php:154
60
- msgid "1 week"
61
- msgstr "1 εβδομάδα"
62
-
63
- #: ../cookie-notice.php:155
64
- msgid "1 month"
65
- msgstr "1 μήνας"
66
-
67
- #: ../cookie-notice.php:156
68
- msgid "3 months"
69
- msgstr "3 μήνες"
70
-
71
- #: ../cookie-notice.php:157
72
- msgid "6 months"
73
- msgstr "6 μήνες"
74
-
75
- #: ../cookie-notice.php:158
76
- msgid "1 year"
77
- msgstr "1 χρόνος"
78
-
79
- #: ../cookie-notice.php:159
80
- msgid "infinity"
81
- msgstr "άπειρο"
82
-
83
- #: ../cookie-notice.php:164
84
- msgid "Fade"
85
- msgstr ""
86
-
87
- #: ../cookie-notice.php:165
88
- msgid "Slide"
89
- msgstr ""
90
-
91
- #: ../cookie-notice.php:169
92
- msgid "Header"
93
- msgstr "Κεφαλίδα"
94
-
95
- #: ../cookie-notice.php:170
96
- msgid "Footer"
97
- msgstr "Υποσέλιδο"
98
-
99
- #: ../cookie-notice.php:189
100
- msgid ""
101
- "We use cookies to ensure that we give you the best experience on our "
102
- "website. If you continue to use this site we will assume that you are happy "
103
- "with it."
104
- msgstr ""
105
- "Χρησιμοποιούμε τα cookies για να διασφαλίσουμε ότι θα σας δώσουμε την "
106
- "καλύτερη εμπειρία στην ιστοσελίδα μας. Εάν συνεχίσετε να χρησιμοποιείτε αυτό "
107
- "το site, θα υποθέσουμε ότι συμφωνείτε με αυτό."
108
-
109
- #: ../cookie-notice.php:190
110
- msgid "Ok"
111
- msgstr "Οκ"
112
-
113
- #: ../cookie-notice.php:191
114
- msgid "No"
115
- msgstr "Όχι"
116
-
117
- #: ../cookie-notice.php:192
118
- msgid "Read more"
119
- msgstr "Περισσοτερα"
120
-
121
- #: ../cookie-notice.php:219 ../cookie-notice.php:229 ../cookie-notice.php:232
122
- msgid "Cookie Notice"
123
- msgstr "Ανακοινωση Cockie"
124
-
125
- #: ../cookie-notice.php:234
126
- msgid "Need support?"
127
- msgstr "Χρειάζεστε υποστήριξη"
128
-
129
- #: ../cookie-notice.php:235
130
- msgid ""
131
- "If you are having problems with this plugin, please talk about them in the"
132
- msgstr ""
133
- "Εάν έχετε προβλήματα με αυτό το plugin, παρακαλούμε να επικοινωνείσετε γι "
134
- "'αυτά στο"
135
-
136
- #: ../cookie-notice.php:235
137
- msgid "Support forum"
138
- msgstr "Φορουμ υποστήριξης"
139
-
140
- #: ../cookie-notice.php:237
141
- msgid "Do you like this plugin?"
142
- msgstr "Σας άρεσε το plugin?"
143
-
144
- #: ../cookie-notice.php:244
145
- msgid "Rate it 5"
146
- msgstr ""
147
-
148
- #: ../cookie-notice.php:244
149
- msgid "on WordPress.org"
150
- msgstr ""
151
-
152
- #: ../cookie-notice.php:245
153
- msgid "Blog about it & link to the"
154
- msgstr ""
155
-
156
- #: ../cookie-notice.php:245
157
- msgid "plugin page"
158
- msgstr ""
159
-
160
- #: ../cookie-notice.php:246
161
- msgid "Check out our other"
162
- msgstr ""
163
-
164
- #: ../cookie-notice.php:246
165
- msgid "WordPress plugins"
166
- msgstr ""
167
-
168
- #: ../cookie-notice.php:261
169
- msgid "Reset to defaults"
170
- msgstr "Επαναφορά προεπιλογών"
171
-
172
- #: ../cookie-notice.php:277
173
- msgid "Configuration"
174
- msgstr ""
175
-
176
- #: ../cookie-notice.php:278
177
- msgid "Message"
178
- msgstr "Μήνυμα"
179
-
180
- #: ../cookie-notice.php:279
181
- msgid "Button text"
182
- msgstr "Κέιμενο κουμπιού"
183
-
184
- #: ../cookie-notice.php:280
185
- msgid "More info link"
186
- msgstr ""
187
-
188
- #: ../cookie-notice.php:281
189
- msgid "Link target"
190
- msgstr ""
191
-
192
- #: ../cookie-notice.php:282
193
- msgid "Refuse button"
194
- msgstr ""
195
-
196
- #: ../cookie-notice.php:283
197
- msgid "On scroll"
198
- msgstr "Κατά την κύλιση"
199
-
200
- #: ../cookie-notice.php:284
201
- msgid "Cookie expiry"
202
- msgstr "Λήξη Cookie"
203
-
204
- #: ../cookie-notice.php:285
205
- msgid "Script placement"
206
- msgstr ""
207
-
208
- #: ../cookie-notice.php:286
209
- msgid "Deactivation"
210
- msgstr "Απενεργοποίηση"
211
-
212
- #: ../cookie-notice.php:289
213
- msgid "Design"
214
- msgstr "Σχέδιο"
215
-
216
- #: ../cookie-notice.php:290
217
- msgid "Position"
218
- msgstr "Θέση"
219
-
220
- #: ../cookie-notice.php:291
221
- msgid "Animation"
222
- msgstr "Κινούμενα σχέδια"
223
-
224
- #: ../cookie-notice.php:292
225
- msgid "Button style"
226
- msgstr "Στυλ κουμπιού"
227
-
228
- #: ../cookie-notice.php:293
229
- msgid "Colors"
230
- msgstr "Χρώματα"
231
-
232
- #: ../cookie-notice.php:307
233
- msgid "Enable if you want all plugin data to be deleted on deactivation."
234
- msgstr ""
235
- "Ενεργοποίηση αν θέλετε όλα τα δεδομένα plugin να διαγραφούν στην "
236
- "απενεργοποίηση."
237
-
238
- #: ../cookie-notice.php:317
239
- msgid "Enter the cookie notice message."
240
- msgstr "Πληκτρολογήστε το μήνυμα ειδοποίησης Cookie"
241
-
242
- #: ../cookie-notice.php:328
243
- msgid ""
244
- "The text of the option to accept the usage of the cookies and make the "
245
- "notification disappear."
246
- msgstr ""
247
- "Το κείμενο της δυνατότητας να δεχτεί τη χρήση των cookies και να κάνει την "
248
- "κοινοποίηση εξαφανιστεί."
249
-
250
- #: ../cookie-notice.php:338
251
- msgid ""
252
- "Give to the user the possibility to refuse third party non functional "
253
- "cookies."
254
- msgstr ""
255
- "Δώστε στον χρήστη τη δυνατότητα να αρνηθεί μη λειτουργικά cookies από "
256
- "τρίτους"
257
-
258
- #: ../cookie-notice.php:343
259
- msgid ""
260
- "The text of the option to refuse the usage of the cookies. To get the cookie "
261
- "notice status use <code>cn_cookies_accepted()</code> function."
262
- msgstr ""
263
- "Το κείμενο της δυνατότητας να αρνηθεί τη χρήση των cookies. Για να πάρετε "
264
- "την ανακοινωση cookies χρησιμοποιήστε <code>cn_cookies_accepted()</code> "
265
- "function."
266
-
267
- #: ../cookie-notice.php:348
268
- msgid ""
269
- "Enter non functional cookies Javascript code here (for e.g. Google "
270
- "Analitycs). It will be used after cookies are accepted."
271
- msgstr ""
272
- "Πληκτρολογήστε cookies κώδικα Javascript εδώ (για παράδειγμα του Google "
273
- "Analitycs). Θα χρησιμοποιηθεί μετά την αποδοχή των cookies."
274
-
275
- #: ../cookie-notice.php:361
276
- msgid "Enable Read more link."
277
- msgstr "Ενεργοποίση του λινκ \"Διαβάστε περισσότερα\""
278
-
279
- #: ../cookie-notice.php:366
280
- msgid "The text of the more info button."
281
- msgstr "Tο κείμενο για το κουμπί \"Περισσότερες πληροφορίες\""
282
-
283
- #: ../cookie-notice.php:378
284
- msgid "Select where to redirect user for more information about cookies."
285
- msgstr ""
286
- "Επιλέξτε που θα ανακατευθυνθεί ο χρήστης για περισσότερες πληροφορίες που "
287
- "αφορούν τα cookies"
288
-
289
- #: ../cookie-notice.php:381
290
- msgid "-- select page --"
291
- msgstr "-- Επιλέξτε σελίδα --"
292
-
293
- #: ../cookie-notice.php:390
294
- msgid "Select from one of your site's pages"
295
- msgstr "Επιλέξτε μία από τις σελίδες του site σας"
296
-
297
- #: ../cookie-notice.php:394
298
- msgid "Enter the full URL starting with http://"
299
- msgstr "Καταχωρήστε την πλήρη διεύθυνσης που να ξεκινάει με http://"
300
-
301
- #: ../cookie-notice.php:414
302
- msgid "Select the link target for more info page."
303
- msgstr "Επιλέξτε το λινκ για τη σελίδα \"περισσότερες πληροφορίες\""
304
-
305
- #: ../cookie-notice.php:434
306
- msgid "The ammount of time that cookie should be stored for."
307
- msgstr "Το χρονικό διάστημα που θα πρέπει να αποθηκεύεται το cookie "
308
-
309
- #: ../cookie-notice.php:448
310
- msgid "Select where all the plugin scripts should be placed."
311
- msgstr "Επιλέξτε πού θα πρέπει να τοποθετηθούν όλα τα σενάρια plugin scripts"
312
-
313
- #: ../cookie-notice.php:466
314
- msgid "Select location for your cookie notice."
315
- msgstr "Επιλέξτε τοποθεσία για την ανακοίνωση cookie"
316
-
317
- #: ../cookie-notice.php:485
318
- msgid "Cookie notice acceptance animation."
319
- msgstr "Ειδοποίηση αποδοχής ανακοίνωσης cookie"
320
-
321
- #: ../cookie-notice.php:495
322
- msgid "Enable cookie notice acceptance when users scroll."
323
- msgstr "Ενεργοποίηση ανακοίνωσης cookie όταν ο χρήστης μετακινηθεί"
324
-
325
- #: ../cookie-notice.php:499
326
- msgid ""
327
- "Number of pixels user has to scroll to accept the usage of the cookies and "
328
- "make the notification disappear."
329
- msgstr ""
330
- "Αριθμός εικονοστοιχείων που ο χρήστης πρέπει να μεταβεί ώστενα αποδεχθεί τη "
331
- "χρήση των cookies και να κάνει την κοινοποίηση εξαφανιστεί."
332
-
333
- #: ../cookie-notice.php:519
334
- msgid "Choose buttons style."
335
- msgstr "Επιλέξτε στυλ κουμπιού"
336
-
337
- #: ../cookie-notice.php:610
338
- msgid "Settings restored to defaults."
339
- msgstr "Επαναφορά στις αρχικές ρυθμίσεις"
340
-
341
- #: ../cookie-notice.php:693
342
- msgid "Support"
343
- msgstr "Υποστήριξη"
344
-
345
- #: ../cookie-notice.php:708
346
- msgid "Settings"
347
- msgstr "Ρυθμίσεις"
348
-
349
- #: ../cookie-notice.php:742
350
- msgid "Are you sure you want to reset these settings to defaults?"
351
- msgstr "Είστε σίγουροι ότι θέλετε να επαναφέρετε τις προεπιλεγμένες ρυθμίσεις;"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dfactory
3
  Donate link: http://www.dfactory.eu/
4
  Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
5
  Requires at least: 3.3
6
- Tested up to: 4.5
7
- Stable tag: 1.2.35
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -44,25 +44,6 @@ If you'd like to code a functionality depending on the cookie notice value use t
44
 
45
  Feel free to contribute to the source code on the [dFactory GitHub Repository](https://github.com/dfactoryplugins).
46
 
47
- = Translations: =
48
-
49
- * Croatian - by [Marko Beus](http://www.markobeus.com/)
50
- * Czech - by [Adam Laita](http://laita.cz)
51
- * Danish - by Lui Wallentin Gottler
52
- * Dutch - by [Heleen van den Bos](http://www.bostekst.nl/)
53
- * Finnish - by [Daniel Storgards](www.danielstorgards.com)
54
- * French - by [Laura Orsal](http://www.traductrice-independante.fr)
55
- * German - by Alex Ernst
56
- * Greek - by Elias Stefanidis
57
- * Hebrew - by [Ahrale Shrem](http://atar4u.com/)
58
- * Hungarian - by [Surbma](http://surbma.hu)
59
- * Italian - by [Luca](http://www.lucacicca.it)
60
- * Polish - by Bartosz Arendt
61
- * Portuguese - by Luis Maia
62
- * Slovenian - by Thomas Cuk
63
- * Spanish - by Fernando Blasco
64
- * Swedish - by [Daniel Storgards](http://www.danielstorgards.com/)
65
-
66
  == Installation ==
67
 
68
  1. Install Cookie Notice either via the WordPress.org plugin directory, or by uploading the files to your server
@@ -79,6 +60,12 @@ No questions yet.
79
 
80
  == Changelog ==
81
 
 
 
 
 
 
 
82
  = 1.2.35 =
83
  * Tweak: Use html_entity_decode on non-functional code block
84
  * Tweak: get_pages() function placement optimization
@@ -221,7 +208,6 @@ Initial release
221
 
222
  == Upgrade Notice ==
223
 
224
- = 1.2.35 =
225
- * Tweak: Use html_entity_decode on non-functional code block
226
- * Tweak: get_pages() function placement optimization
227
- * Tweak: Filterable manage cookie notice capability
3
  Donate link: http://www.dfactory.eu/
4
  Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
5
  Requires at least: 3.3
6
+ Tested up to: 4.6
7
+ Stable tag: 1.2.36
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
44
 
45
  Feel free to contribute to the source code on the [dFactory GitHub Repository](https://github.com/dfactoryplugins).
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  == Installation ==
48
 
49
  1. Install Cookie Notice either via the WordPress.org plugin directory, or by uploading the files to your server
60
 
61
  == Changelog ==
62
 
63
+ = 1.2.36 =
64
+ * Fix: String translation support for WMPL 3.2+
65
+ * Fix: Global var possible conflict with other plugins
66
+ * Tweak: Add $options array to "cn_cookie_notice_output" filter, thanks to [chesio](https://github.com/chesio).
67
+ * Tweak: Removed local translation files in favor of WP repository translations.
68
+
69
  = 1.2.35 =
70
  * Tweak: Use html_entity_decode on non-functional code block
71
  * Tweak: get_pages() function placement optimization
208
 
209
  == Upgrade Notice ==
210
 
211
+ = 1.2.36 =
212
+ * Fix: String translation support for WMPL 3.2+
213
+ * Fix: Global var possible conflict with other plugins