Yasr – Yet Another Stars Rating - Version 0.8.3

Version Description

  • NEW FEATURE: added shortcode yasr_visitor_multiset. Now everyone can vonte in a Multi Set!
  • FIXED: fixed schema type selection
  • Minor changes
Download this release

Release Info

Developer Dudo
Plugin Icon 128x128 Yasr – Yet Another Stars Rating
Version 0.8.3
Comparing to
See all releases

Code changes from version 0.8.2 to 0.8.3

TODO DELETED
@@ -1,3 +0,0 @@
1
- -Create multiset where visitor can vote
2
- -Use dashicons
3
- -Use get_option or json instead of regex to import gd star rating data
 
 
 
css/yasr-table-light.css CHANGED
@@ -44,3 +44,9 @@
44
  .yasr-table-chart tr:nth-child(even) {
45
  background: #FFFFFF;
46
  }
 
 
 
 
 
 
44
  .yasr-table-chart tr:nth-child(even) {
45
  background: #FFFFFF;
46
  }
47
+
48
+ /* Pro rules */
49
+
50
+ .yasr-pro-overall-rating-chart-text {
51
+ display: block;
52
+ }
css/yasr.css CHANGED
@@ -226,6 +226,10 @@ div.bigstars .rateit-selected
226
  display: block;
227
  }
228
 
 
 
 
 
229
  /*** Progress bar, this class are used in
230
  yasr_pro_comment_reviews_stats shortcode too***/
231
 
226
  display: block;
227
  }
228
 
229
+ .yasr-loader-multiset-visitor {
230
+ display: none;
231
+ }
232
+
233
  /*** Progress bar, this class are used in
234
  yasr_pro_comment_reviews_stats shortcode too***/
235
 
js/addButton_tinymcs.js CHANGED
@@ -7,7 +7,7 @@ jQuery(document).ready(function() {
7
 
8
  jQuery('#yasr-tinypopup-form').dialog({
9
  title: 'Insert YASR shortcode',
10
- width: 500, // overcomes width:'auto' and maxWidth bug
11
  maxWidth: 600,
12
  height: 'auto',
13
  modal: true,
7
 
8
  jQuery('#yasr-tinypopup-form').dialog({
9
  title: 'Insert YASR shortcode',
10
+ width: 530, // overcomes width:'auto' and maxWidth bug
11
  maxWidth: 600,
12
  height: 'auto',
13
  modal: true,
js/yasr-admin.js CHANGED
@@ -132,7 +132,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
132
  }) ;
133
 
134
  return false;
135
- preventDefault(); // same thing as above
136
 
137
  });
138
 
@@ -575,9 +575,22 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
575
  if (nMultiSet > 1) {
576
 
577
  //Add shortcode for multiple set
578
- jQuery('.yasr_tinymce_select_set').on("click", function(){
579
  var setType = jQuery("input:radio[name=yasr_tinymce_pick_set]:checked" ).val();
580
- var shortcode = '[yasr_multiset setid=';
 
 
 
 
 
 
 
 
 
 
 
 
 
581
  shortcode += setType;
582
  shortcode += ']';
583
  // inserts the shortcode into the active editor
@@ -593,7 +606,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
593
  //Add shortcode for single set (if only 1 are found)
594
  jQuery('#yasr-single-set').on("click", function(){
595
  var setType = jQuery('#yasr-single-set').val();
596
- var shortcode = '[yasr_multiset setid=';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
597
  shortcode += setType;
598
  shortcode += ']';
599
  // inserts the shortcode into the active editor
132
  }) ;
133
 
134
  return false;
135
+ preventDefault();
136
 
137
  });
138
 
575
  if (nMultiSet > 1) {
576
 
577
  //Add shortcode for multiple set
578
+ jQuery('#yasr-insert-multiset-select').on("click", function(){
579
  var setType = jQuery("input:radio[name=yasr_tinymce_pick_set]:checked" ).val();
580
+ var visitorSet = jQuery("#yasr-allow-vote-multiset").is(':checked');
581
+
582
+ if (!visitorSet) {
583
+
584
+ var shortcode = '[yasr_visitor_multiset setid=';
585
+
586
+ }
587
+
588
+ else {
589
+
590
+ var shortcode = '[yasr_multiset setid=';
591
+
592
+ }
593
+
594
  shortcode += setType;
595
  shortcode += ']';
596
  // inserts the shortcode into the active editor
606
  //Add shortcode for single set (if only 1 are found)
607
  jQuery('#yasr-single-set').on("click", function(){
608
  var setType = jQuery('#yasr-single-set').val();
609
+
610
+ var visitorSet = jQuery("#yasr-allow-vote-multiset").is(':checked');
611
+
612
+ if (!visitorSet) {
613
+
614
+ var shortcode = '[yasr_visitor_multiset setid=';
615
+
616
+ }
617
+
618
+ else {
619
+
620
+ var shortcode = '[yasr_multiset setid=';
621
+
622
+ }
623
+
624
  shortcode += setType;
625
  shortcode += ']';
626
  // inserts the shortcode into the active editor
js/yasr-front.js CHANGED
@@ -135,26 +135,69 @@
135
  } //End function yasr visitor votes
136
 
137
 
138
- function yasrMostOrHighestRatedChart (ajaxurl) {
139
 
140
- //Link do nothing
141
- /*jQuery('#yasr_multi_chart_link_to_nothing').on("click", function () {
142
 
143
- return false; // prevent default click action from happening!
144
 
145
- });*/
 
 
 
 
146
 
147
- //By default, hide the highest rated chart
148
- jQuery('#yasr-highest-rated-posts').hide();
149
 
150
- //On click on highest, hide most and show highest
151
- jQuery('#yasr_multi_chart_highest').on("click", function () {
152
 
153
- jQuery('#yasr-most-rated-posts').hide();
154
 
155
- jQuery('#yasr-highest-rated-posts').show();
156
 
157
- return false; // prevent default click action from happening!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
 
159
  });
160
 
135
  } //End function yasr visitor votes
136
 
137
 
138
+ function yasrVisitorsMultiSet (postId, setType, ajaxurl, nonce) {
139
 
140
+ var ratingObject = "";
 
141
 
142
+ var ratingArray = new Array();
143
 
144
+ jQuery('.yasr-visitor-multi-'+postId).on('rated', function() {
145
+ var el = jQuery(this);
146
+ var value = el.rateit('value');
147
+ var value = value.toFixed(1);
148
+ var idField = el.attr('id');
149
 
150
+ ratingObject = {
 
151
 
152
+ field: idField,
153
+ rating: value
154
 
155
+ };
156
 
157
+ ratingArray.push(ratingObject);
158
 
159
+ });
160
+
161
+ jQuery('#yasr-send-visitor-multiset-'+postId).on('click', function() {
162
+
163
+ var cookiename = "yasr_multi_visitor_vote_" + postId;
164
+
165
+ jQuery('#yasr-loader-multiset-visitor-'+postId).show();
166
+
167
+ var data = {
168
+
169
+ action: 'yasr_visitor_multiset_field_vote',
170
+ nonce: nonce,
171
+ post_id: postId,
172
+ rating: ratingArray,
173
+ set_type: setType
174
+
175
+ }
176
+
177
+ //Send value to the Server
178
+ jQuery.post(ajaxurl, data, function(response) {
179
+ jQuery('#yasr-loader-multiset-visitor-'+postId).text(response);
180
+ //jQuery.cookie(cookiename, true, { expires : 360 });
181
+ });
182
+
183
+ });
184
+
185
+ } //End function
186
+
187
+
188
+ function yasrMostOrHighestRatedChart (ajaxurl) {
189
+
190
+ //By default, hide the highest rated chart
191
+ jQuery('#yasr-highest-rated-posts').hide();
192
+
193
+ //On click on highest, hide most and show highest
194
+ jQuery('#yasr_multi_chart_highest').on("click", function () {
195
+
196
+ jQuery('#yasr-most-rated-posts').hide();
197
+
198
+ jQuery('#yasr-highest-rated-posts').show();
199
+
200
+ return false; // prevent default click action from happening!
201
 
202
  });
203
 
languages/yasr-it_IT.mo CHANGED
Binary file
languages/yasr-it_IT.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Yasr Translation\n"
4
- "POT-Creation-Date: 2015-03-13 16:34+0100\n"
5
- "PO-Revision-Date: 2015-03-14 17:57+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: it_IT\n"
@@ -32,12 +32,16 @@ msgstr "Salva Voto"
32
  msgid "This review is about a..."
33
  msgstr "Questa recensione è..."
34
 
35
- #: ../yasr-metabox-top-right.php:193 ../yasr-metabox-multiple-rating.php:46
36
- #: ../lib/yasr-settings-functions.php:487
 
 
 
 
37
  msgid "Select"
38
  msgstr "Seleziona"
39
 
40
- #: ../yasr-metabox-top-right.php:211
41
  msgid ""
42
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
43
  "where you want to display this rating"
@@ -71,7 +75,8 @@ msgstr "Stili"
71
  msgid "Pro Features!"
72
  msgstr "Funzioni Pro!"
73
 
74
- #: ../yasr-settings-page.php:96 ../yasr-settings-page.php:276
 
75
  msgid "Save"
76
  msgstr "Salva"
77
 
@@ -134,7 +139,7 @@ msgstr "Set Multipli"
134
  msgid "What is a Multi Set?"
135
  msgstr "Che cos'è un Set Multiplo?"
136
 
137
- #: ../yasr-settings-page.php:204
138
  msgid ""
139
  "Multi Set allows you to insert a rate for each aspect about the product / "
140
  "local business / whetever you're reviewing, example in the image below."
@@ -143,7 +148,7 @@ msgstr ""
143
  "prodotto / attività / qualsiasi cosa tua stia recensendo, esempio "
144
  "nell'immagine sottostante."
145
 
146
- #: ../yasr-settings-page.php:208
147
  msgid ""
148
  "You can create up to 99 different Multi Set and each one can contain up to 9 "
149
  "different fields. Once you've saved it, you can insert the rates while "
@@ -155,7 +160,7 @@ msgstr ""
155
  "scrivendo il tuo articolo nel box sotto l'editor, come puoi vedere in questa "
156
  "immagine (clicca per allargare)"
157
 
158
- #: ../yasr-settings-page.php:212
159
  msgid ""
160
  "In order to insert your Multi Sets into a post or page, you can either past "
161
  "the short code that will appear at the bottom of the box or just click on "
@@ -166,17 +171,17 @@ msgstr ""
166
  "cliccare sulla stella presente nell'editor visuale e selezionare \"Inserisci "
167
  "Set Multiplo\""
168
 
169
- #: ../yasr-settings-page.php:218
170
  msgid "Close this message"
171
  msgstr "Chiudi questo messaggio"
172
 
173
- #: ../yasr-settings-page.php:246 ../lib/yasr-settings-functions.php:1276
174
- #: ../lib/yasr-settings-functions.php:1302
175
  msgid "Donations"
176
  msgstr "Donazioni"
177
 
178
- #: ../yasr-settings-page.php:248 ../lib/yasr-settings-functions.php:1278
179
- #: ../lib/yasr-settings-functions.php:1304
180
  msgid ""
181
  "If you have found this plugin useful, please consider making a donation to "
182
  "help support future development. Your support will be much appreciated. "
@@ -185,8 +190,8 @@ msgstr ""
185
  "supportarne lo sviluppo. Il tuo aiuto sarà molto apprezzato! P.s. YASR è "
186
  "made in Italy ;)"
187
 
188
- #: ../yasr-settings-page.php:250 ../lib/yasr-settings-functions.php:1280
189
- #: ../lib/yasr-settings-functions.php:1306
190
  msgid "Thank you!"
191
  msgstr "Grazie!"
192
 
@@ -194,18 +199,18 @@ msgstr "Grazie!"
194
  msgid "Choose wich set you want to use"
195
  msgstr "Scegli che set vuoi usare"
196
 
197
- #: ../lib/yasr-shortcode-functions.php:185
198
- #: ../lib/yasr-shortcode-functions.php:207
199
  msgid "You've already voted this article with"
200
  msgstr "Hai già votato questo articolo con "
201
 
202
- #: ../lib/yasr-shortcode-functions.php:218
203
  msgid "You must sign to vote"
204
  msgstr "Devi fare il login per votare"
205
 
206
- #: ../lib/yasr-shortcode-functions.php:243 ../lib/yasr-ajax-functions.php:1011
207
- #: ../lib/yasr-ajax-functions.php:1019 ../lib/yasr-ajax-functions.php:1148
208
- #: ../lib/yasr-ajax-functions.php:1220
209
  msgid "Total: "
210
  msgstr "Voti: "
211
 
@@ -217,53 +222,53 @@ msgstr "Media Voto: "
217
  msgid "bad, poor, ok, good, super"
218
  msgstr "pessimo, scarso, ok, buono, super"
219
 
220
- #: ../lib/yasr-shortcode-functions.php:411
221
  msgid "Rating"
222
  msgstr "Voto"
223
 
224
- #: ../lib/yasr-shortcode-functions.php:425
225
  msgid "You don't have any votes stored"
226
  msgstr "Non hai alcun voto salvato"
227
 
228
- #: ../lib/yasr-shortcode-functions.php:461
229
- #: ../lib/yasr-shortcode-functions.php:499
230
  msgid "Post / Page"
231
  msgstr "Post / Pagina"
232
 
233
- #: ../lib/yasr-shortcode-functions.php:462
234
- #: ../lib/yasr-shortcode-functions.php:500
235
  msgid "Order By"
236
  msgstr "Ordina per"
237
 
238
- #: ../lib/yasr-shortcode-functions.php:462
239
- #: ../lib/yasr-shortcode-functions.php:500
240
  msgid "Most Rated"
241
  msgstr "Più Votati"
242
 
243
- #: ../lib/yasr-shortcode-functions.php:462
244
- #: ../lib/yasr-shortcode-functions.php:500
245
  msgid "Highest Rated"
246
  msgstr "Voto più alto"
247
 
248
- #: ../lib/yasr-shortcode-functions.php:479
249
- #: ../lib/yasr-shortcode-functions.php:514
250
  msgid "Total:"
251
  msgstr "Voti:"
252
 
253
- #: ../lib/yasr-shortcode-functions.php:479
254
- #: ../lib/yasr-shortcode-functions.php:514
255
  msgid "Average"
256
  msgstr "Media"
257
 
258
- #: ../lib/yasr-shortcode-functions.php:491
259
  msgid "You've not enough data"
260
  msgstr "Non hai abbastanza dati"
261
 
262
- #: ../lib/yasr-shortcode-functions.php:526
263
  msgid "You've not enought data"
264
  msgstr "Non hai abbastanza dati"
265
 
266
- #: ../lib/yasr-shortcode-functions.php:611
267
  msgid ""
268
  "Problem while retrieving the top 5 most active reviewers. Did you publish "
269
  "any review?"
@@ -271,7 +276,7 @@ msgstr ""
271
  "C'è stato un problema nell'ottenere la classifica dei 5 recensori più "
272
  "attivi. Hai pubblicato qualche recensione?"
273
 
274
- #: ../lib/yasr-shortcode-functions.php:679
275
  msgid ""
276
  "Problem while retrieving the top 10 active users chart. Are you sure you "
277
  "have votes to show?"
@@ -304,110 +309,106 @@ msgid "Do you want show stats for visitors votes?"
304
  msgstr "Vuoi mostrare le statistiche per i voti utenti?"
305
 
306
  #: ../lib/yasr-settings-functions.php:55
307
- msgid "Which color scheme do you want to use?"
308
- msgstr "Che schema di colori vuoi usare?"
309
-
310
- #: ../lib/yasr-settings-functions.php:56
311
  msgid "Allow only logged in user to vote?"
312
  msgstr "Permettere la votazione ai soli utenti loggati?"
313
 
314
- #: ../lib/yasr-settings-functions.php:57
315
  msgid "Which rich snippets do you want to use?"
316
  msgstr "Quale rich snippets vuoi usare?"
317
 
318
- #: ../lib/yasr-settings-functions.php:58
319
  msgid "How do you want to rate \"Overall Rating\"?"
320
  msgstr "Cosa vuoi usare per inserire il \"Voto Complessivo\"?"
321
 
322
- #: ../lib/yasr-settings-functions.php:72
323
  msgid "Use Auto Insert?"
324
  msgstr "Usare l'inserimento automatico?"
325
 
326
- #: ../lib/yasr-settings-functions.php:75
327
- #: ../lib/yasr-settings-functions.php:144
328
- #: ../lib/yasr-settings-functions.php:162
329
- #: ../lib/yasr-settings-functions.php:204
330
- #: ../lib/yasr-settings-functions.php:230
331
- #: ../lib/yasr-settings-functions.php:262
332
- #: ../lib/yasr-settings-functions.php:297
333
  msgid "Yes"
334
  msgstr "Si"
335
 
336
- #: ../lib/yasr-settings-functions.php:89
337
- #: ../lib/yasr-settings-functions.php:149
338
- #: ../lib/yasr-settings-functions.php:167
339
- #: ../lib/yasr-settings-functions.php:209
340
- #: ../lib/yasr-settings-functions.php:235
341
- #: ../lib/yasr-settings-functions.php:267
342
- #: ../lib/yasr-settings-functions.php:302
343
  msgid "No"
344
  msgstr "No"
345
 
346
- #: ../lib/yasr-settings-functions.php:95
347
  msgid "What?"
348
  msgstr "Cosa?"
349
 
350
- #: ../lib/yasr-settings-functions.php:98
351
  msgid "Overall Rating / Author Rating"
352
  msgstr "Voto Complessivo / Voto Autore"
353
 
354
- #: ../lib/yasr-settings-functions.php:102 ../lib/yasr-ajax-functions.php:462
355
  msgid "Visitor Votes"
356
  msgstr "Voto Utenti"
357
 
358
- #: ../lib/yasr-settings-functions.php:106
359
  msgid "Both"
360
  msgstr "Entrambi"
361
 
362
- #: ../lib/yasr-settings-functions.php:110
363
  msgid "Where?"
364
  msgstr "Dove?"
365
 
366
- #: ../lib/yasr-settings-functions.php:113
367
  msgid "Before the post"
368
  msgstr "Prima del contenuto"
369
 
370
- #: ../lib/yasr-settings-functions.php:117
371
  msgid "After the post"
372
  msgstr "Dopo il contenuto"
373
 
374
- #: ../lib/yasr-settings-functions.php:122
375
  msgid "Size"
376
  msgstr "Grandezza"
377
 
378
- #: ../lib/yasr-settings-functions.php:126 ../lib/yasr-ajax-functions.php:452
379
  #: ../lib/yasr-ajax-functions.php:470
380
  msgid "Small"
381
  msgstr "Piccolo"
382
 
383
- #: ../lib/yasr-settings-functions.php:131 ../lib/yasr-ajax-functions.php:453
384
  #: ../lib/yasr-ajax-functions.php:471
385
  msgid "Medium"
386
  msgstr "Medio"
387
 
388
- #: ../lib/yasr-settings-functions.php:136 ../lib/yasr-ajax-functions.php:454
389
  #: ../lib/yasr-ajax-functions.php:472
390
  msgid "Large"
391
  msgstr "Grande"
392
 
393
- #: ../lib/yasr-settings-functions.php:141
394
  msgid "Exclude Pages?"
395
  msgstr "Escludere pagine?"
396
 
397
- #: ../lib/yasr-settings-functions.php:159
398
  msgid "Use only in custom post types?"
399
  msgstr "Usare solo nei custom post type?"
400
 
401
- #: ../lib/yasr-settings-functions.php:171
402
  msgid "You see this because you use custom post types."
403
  msgstr "Vedi questo perché usi i custom post type."
404
 
405
- #: ../lib/yasr-settings-functions.php:173
406
  msgid "If you want to use auto insert only in custom post types, choose Yes"
407
  msgstr ""
408
  "Se vuoi usare l'inserimento automatico solo nei custom post type, spunta Si"
409
 
410
- #: ../lib/yasr-settings-functions.php:213
411
  msgid ""
412
  "If you enable this, \"Overall Rating\" will be showed not only in the single "
413
  "article or page, but also in pages like Home Page, category pages or "
@@ -417,7 +418,7 @@ msgstr ""
417
  "articolo o nella singola pagina, ma anche in pagine come l' Home Page, "
418
  "categorie o archivi"
419
 
420
- #: ../lib/yasr-settings-functions.php:239
421
  msgid ""
422
  "If you enable this, \"Visitor Votes\" will be showed not only in the single "
423
  "article or page, but also in pages like Home Page, category pages or "
@@ -427,60 +428,40 @@ msgstr ""
427
  "articolo o nella singola pagina, ma anche in pagine come l' Home Page, "
428
  "categorie o archivi"
429
 
430
- #: ../lib/yasr-settings-functions.php:272
431
  msgid "Custom text to display before Overall Rating"
432
  msgstr "Testo personalizzato da visualizzare prima del Voto Complessivo"
433
 
434
- #: ../lib/yasr-settings-functions.php:277
435
  msgid "Custom text to display before Visitor Rating"
436
  msgstr "Testo personalizzato da visualizzare prima del Voto Utenti"
437
 
438
- #: ../lib/yasr-settings-functions.php:282
439
  msgid "Custom text to display when a non logged user has already rated"
440
  msgstr ""
441
  "Testo personalizzato da mostrare quanto un utente non loggato ha già votato"
442
 
443
- #: ../lib/yasr-settings-functions.php:320
444
- msgid "Light"
445
- msgstr "Chiaro"
446
-
447
- #: ../lib/yasr-settings-functions.php:325
448
- msgid "Dark"
449
- msgstr "Scuro"
450
-
451
- #: ../lib/yasr-settings-functions.php:330
452
- msgid "Preview"
453
- msgstr "Anteprima"
454
-
455
- #: ../lib/yasr-settings-functions.php:335
456
- msgid "Light theme"
457
- msgstr "Tema chiaro"
458
-
459
- #: ../lib/yasr-settings-functions.php:340
460
- msgid "Dark Theme"
461
- msgstr "Tema scuro"
462
-
463
- #: ../lib/yasr-settings-functions.php:358
464
  msgid "Allow only logged-in users"
465
  msgstr "Permetti solo agli utenti loggati"
466
 
467
- #: ../lib/yasr-settings-functions.php:362
468
  msgid "Allow everybody (logged in and anonymous)"
469
  msgstr "Permetti a tutti (loggati ed anonimi)"
470
 
471
- #: ../lib/yasr-settings-functions.php:379
472
  msgid "Review Rating"
473
  msgstr "Voto Recensione"
474
 
475
- #: ../lib/yasr-settings-functions.php:383
476
  msgid "Aggregate Rating"
477
  msgstr "Media Voto Utenti"
478
 
479
- #: ../lib/yasr-settings-functions.php:388
480
  msgid "What is this?"
481
  msgstr "Cos'è questo?"
482
 
483
- #: ../lib/yasr-settings-functions.php:393
484
  msgid ""
485
  "If you select \"Review Rating\", your site will be indexed from search "
486
  "engines like this: "
@@ -488,26 +469,51 @@ msgstr ""
488
  "Se hai scelto \"Voto Recensione\", il sito verrà indicizzato dai motori di "
489
  "ricerca così:"
490
 
491
- #: ../lib/yasr-settings-functions.php:398
492
  msgid ""
493
  "If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
494
  "this"
495
  msgstr ""
496
  "Se, invece, hai scelto \"Media Voto Utenti\", il sito verrà indicizzato così"
497
 
498
- #: ../lib/yasr-settings-functions.php:416
499
  msgid "Stars"
500
  msgstr "Stelle"
501
 
502
- #: ../lib/yasr-settings-functions.php:420
503
  msgid "Numbers"
504
  msgstr "Numeri"
505
 
 
 
 
 
 
 
 
 
506
  #: ../lib/yasr-settings-functions.php:432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
507
  msgid "Add New Multiple Set"
508
  msgstr "Set Multipli"
509
 
510
- #: ../lib/yasr-settings-functions.php:433
511
  msgid ""
512
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
513
  "characters"
@@ -515,48 +521,48 @@ msgstr ""
515
  "Nome, Elemento#1 e Elemento#2 DEVONO essere riempiti e devono essere lunghi "
516
  "almeno 3 caratteri"
517
 
518
- #: ../lib/yasr-settings-functions.php:436
519
  msgid "Name"
520
  msgstr "Nome"
521
 
522
- #: ../lib/yasr-settings-functions.php:441
523
  msgid "You can insert up to nine elements"
524
  msgstr "Puoi inserire fino a nove elementi"
525
 
526
- #: ../lib/yasr-settings-functions.php:446
527
  msgid "Element "
528
  msgstr "Elemento"
529
 
530
- #: ../lib/yasr-settings-functions.php:456
531
  msgid "Create New Set"
532
  msgstr "Crea Nuovo Set"
533
 
534
- #: ../lib/yasr-settings-functions.php:477
535
- #: ../lib/yasr-settings-functions.php:509
536
  msgid "Manage Multiple Set"
537
  msgstr "Gestisci Set Multiplo"
538
 
539
- #: ../lib/yasr-settings-functions.php:479
540
  msgid "Wich set do you want to edit or remove?"
541
  msgstr "Quale set vuoi modificare o rimuovere"
542
 
543
- #: ../lib/yasr-settings-functions.php:519
544
- #: ../lib/yasr-settings-functions.php:637
545
  msgid "Field name"
546
  msgstr "Nome campo"
547
 
548
- #: ../lib/yasr-settings-functions.php:523
549
- #: ../lib/yasr-settings-functions.php:641
550
  msgid "Remove"
551
  msgstr "Rimuovi"
552
 
553
- #: ../lib/yasr-settings-functions.php:565
554
- #: ../lib/yasr-settings-functions.php:683
555
  msgid "Remove whole set?"
556
  msgstr "Rimuovere l'intero set?"
557
 
558
- #: ../lib/yasr-settings-functions.php:578
559
- #: ../lib/yasr-settings-functions.php:696
560
  msgid ""
561
  "If you remove something you will remove all the votes for that set or field. "
562
  "This operation CAN'T BE undone."
@@ -564,63 +570,63 @@ msgstr ""
564
  "Se rimuovi qualcosa rimuoverai anche i voti per quel set o campo. Questa "
565
  "operazione NON PUÒ ESSERE ANNULLATA"
566
 
567
- #: ../lib/yasr-settings-functions.php:585
568
- #: ../lib/yasr-settings-functions.php:703
569
  msgid "You can use up to 9 elements"
570
  msgstr "Puoi usare fino a 9 elementi"
571
 
572
- #: ../lib/yasr-settings-functions.php:587
573
- #: ../lib/yasr-settings-functions.php:705
574
  msgid "Add element"
575
  msgstr "Aggiungi elemento"
576
 
577
- #: ../lib/yasr-settings-functions.php:589
578
- #: ../lib/yasr-settings-functions.php:707
579
  msgid "Save changes"
580
  msgstr "Salva modifiche"
581
 
582
- #: ../lib/yasr-settings-functions.php:599
583
  msgid "No Multiple Set were found"
584
  msgstr "Nessun Set Multiplo trovato"
585
 
586
- #: ../lib/yasr-settings-functions.php:849
587
- #: ../lib/yasr-settings-functions.php:1117
588
  msgid "Settings Saved"
589
  msgstr "Impostazioni Salvate"
590
 
591
- #: ../lib/yasr-settings-functions.php:854
592
  msgid "Something goes wrong trying insert set field name. Please report it"
593
  msgstr ""
594
  "Qualcosa è andato storto cercando di inserire un elemento. Per favore "
595
  "segnalalo"
596
 
597
- #: ../lib/yasr-settings-functions.php:860
598
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
599
  msgstr ""
600
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
601
  "favore segnalalo"
602
 
603
- #: ../lib/yasr-settings-functions.php:935
604
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
605
  msgstr ""
606
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
607
  "favore segnalalo"
608
 
609
- #: ../lib/yasr-settings-functions.php:981
610
  msgid ""
611
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
612
  msgstr ""
613
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
614
  "favore segnalalo"
615
 
616
- #: ../lib/yasr-settings-functions.php:1045
617
  msgid ""
618
  "Something goes wrong trying to update a Multi Set's element. Please report it"
619
  msgstr ""
620
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
621
  "favore segnalalo"
622
 
623
- #: ../lib/yasr-settings-functions.php:1102
624
  msgid ""
625
  "Something goes wrong trying to insert set field name in edit form. Please "
626
  "report it"
@@ -628,15 +634,15 @@ msgstr ""
628
  "Qualcosa è andato storto cercando di inserire il campo nel form di modifica. "
629
  "Per favore segnalalo"
630
 
631
- #: ../lib/yasr-settings-functions.php:1145
632
  msgid "Style Options"
633
  msgstr "Opzioni Stili"
634
 
635
- #: ../lib/yasr-settings-functions.php:1146
636
  msgid "Custom CSS Styles"
637
  msgstr "Stili CSS Personalizzati"
638
 
639
- #: ../lib/yasr-settings-functions.php:1151
640
  msgid ""
641
  "Please use text area below to write your own CSS styles to override the "
642
  "default ones."
@@ -644,99 +650,104 @@ msgstr ""
644
  "Usa l'area di testo sottostante per scrivere le tue regole CSS che "
645
  "sovrascriveranno quelle di default"
646
 
647
- #: ../lib/yasr-settings-functions.php:1153
648
  msgid "Leave it blank if you don't know what you're doing"
649
  msgstr "Lascialo vuoto se non stai cosa stai facendo"
650
 
651
- #: ../lib/yasr-settings-functions.php:1176
652
  msgid "Looking for more features?"
653
  msgstr "Hai bisogno di più funzioni?"
654
 
655
- #: ../lib/yasr-settings-functions.php:1177
656
  msgid "Upgrade to yasr pro!"
657
  msgstr "Passa a yasr pro!"
658
 
659
- #: ../lib/yasr-settings-functions.php:1193
660
  msgid "Unlimited ratings and votes"
661
  msgstr "Voti e recensioni illimitate"
662
 
663
- #: ../lib/yasr-settings-functions.php:1199
664
  msgid "Works with shortcodes"
665
  msgstr "Funziona con gli shortcodes"
666
 
667
- #: ../lib/yasr-settings-functions.php:1205
668
  msgid "Multi Set Support"
669
  msgstr "Supporto Set Multipli"
670
 
671
- #: ../lib/yasr-settings-functions.php:1210
672
  msgid "Logs and stats for visitors votes"
673
  msgstr "Log e statistiche per i voti utenti"
674
 
675
- #: ../lib/yasr-settings-functions.php:1215
676
  msgid "Localization (.po and .mo files included)"
677
  msgstr "Traducibile (files .po e .mo inclusi)"
678
 
679
- #: ../lib/yasr-settings-functions.php:1220
680
  msgid "Rich Snippet Support"
681
  msgstr "Supporto per Rich Snippet"
682
 
683
- #: ../lib/yasr-settings-functions.php:1225
684
  msgid "Rankings for reviews, votes and users"
685
  msgstr "Classifiche per recensioni, voti e utenti"
686
 
687
- #: ../lib/yasr-settings-functions.php:1230
688
  msgid "Rankings Customization"
689
  msgstr "Personalizzazione Classifiche"
690
 
691
- #: ../lib/yasr-settings-functions.php:1235
692
  msgid "Stars Customization"
693
  msgstr "Personalizzazione Stelle"
694
 
695
- #: ../lib/yasr-settings-functions.php:1236
696
  msgid "Size Only"
697
  msgstr "Solo la grandezza"
698
 
699
- #: ../lib/yasr-settings-functions.php:1237
700
  msgid ""
701
  "Users can choose different ready to use sets or can upload their own images."
702
  msgstr ""
703
  "È possibile scegliere diversi set pronti all'uso o caricare le proprie "
704
  "immagini"
705
 
706
- #: ../lib/yasr-settings-functions.php:1240
707
  msgid "Visitors can vote on Multi Set"
708
  msgstr "I visitatori possono votare nei Multi Set"
709
 
710
- #: ../lib/yasr-settings-functions.php:1245
711
  msgid "Users can review in comments"
712
  msgstr "Gli utenti possono recensire nei commenti"
713
 
714
- #: ../lib/yasr-settings-functions.php:1256
715
  msgid "Not avaible yet"
716
  msgstr "Non ancora disponibile"
717
 
718
- #: ../lib/yasr-settings-functions.php:1288
719
- #: ../lib/yasr-settings-functions.php:1315
720
  msgid "Follow YASR official site!"
721
  msgstr "Segui il sito ufficiale di YASR!"
722
 
723
- #: ../lib/yasr-settings-functions.php:1345
724
  msgid "No previous Gd Star Rating installation was found"
725
  msgstr "Installazione precedente di Gd Star Rating non stata trovata"
726
 
727
- #: ../lib/yasr-db-functions.php:280
728
  msgid "No recenet votes yet"
729
  msgstr "Ancora nessun voto recente"
730
 
731
- #: ../lib/yasr-db-functions.php:295 ../lib/yasr-ajax-functions.php:761
732
  msgid "anonymous"
733
  msgstr "anonimo"
734
 
735
- #: ../lib/yasr-db-functions.php:318 ../lib/yasr-ajax-functions.php:784
 
 
 
 
 
736
  msgid "Ip address"
737
  msgstr "Indirizzo Ip"
738
 
739
- #: ../lib/yasr-db-functions.php:359 ../lib/yasr-ajax-functions.php:825
740
  msgid "Pages"
741
  msgstr "Pagine"
742
 
@@ -987,35 +998,35 @@ msgstr "Set Multipli non trovati. Importazione dati conclusa!"
987
  msgid "No Recenet votes yet"
988
  msgstr "Ancora nessun voto recente"
989
 
990
- #: ../lib/yasr-ajax-functions.php:915 ../lib/yasr-ajax-functions.php:1057
991
  msgid "Error: you can't vote 0"
992
  msgstr "Errore: non puoi votare 0"
993
 
994
- #: ../lib/yasr-ajax-functions.php:1011 ../lib/yasr-ajax-functions.php:1019
995
  msgid "Average rating"
996
  msgstr "Media Voto "
997
 
998
- #: ../lib/yasr-ajax-functions.php:1012 ../lib/yasr-ajax-functions.php:1020
999
  msgid "Vote Saved"
1000
  msgstr "Voto Salvato"
1001
 
1002
- #: ../lib/yasr-ajax-functions.php:1149
1003
  msgid "Vote updated"
1004
  msgstr "Voto Aggiornato"
1005
 
1006
- #: ../lib/yasr-ajax-functions.php:1220
1007
  msgid "Average "
1008
  msgstr "Media Voto "
1009
 
1010
- #: ../lib/yasr-ajax-functions.php:1231
1011
  msgid "You've already voted this article"
1012
  msgstr "Hai già votato questo articolo"
1013
 
1014
- #: ../lib/yasr-ajax-functions.php:1351
1015
  msgid "stars"
1016
  msgstr "stelle"
1017
 
1018
- #: ../lib/yasr-ajax-functions.php:1356
1019
  msgid "star"
1020
  msgstr "stella"
1021
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Yasr Translation\n"
4
+ "POT-Creation-Date: 2015-04-06 10:06+0100\n"
5
+ "PO-Revision-Date: 2015-04-06 10:06+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: it_IT\n"
32
  msgid "This review is about a..."
33
  msgstr "Questa recensione è..."
34
 
35
+ #: ../yasr-metabox-top-right.php:169
36
+ msgid "Product, Places, Other"
37
+ msgstr "Prodotto, Posto, Altro"
38
+
39
+ #: ../yasr-metabox-top-right.php:197 ../yasr-metabox-multiple-rating.php:46
40
+ #: ../lib/yasr-settings-functions.php:517
41
  msgid "Select"
42
  msgstr "Seleziona"
43
 
44
+ #: ../yasr-metabox-top-right.php:215
45
  msgid ""
46
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
47
  "where you want to display this rating"
75
  msgid "Pro Features!"
76
  msgstr "Funzioni Pro!"
77
 
78
+ #: ../yasr-settings-page.php:96 ../yasr-settings-page.php:254
79
+ #: ../yasr-settings-page.php:294
80
  msgid "Save"
81
  msgstr "Salva"
82
 
139
  msgid "What is a Multi Set?"
140
  msgstr "Che cos'è un Set Multiplo?"
141
 
142
+ #: ../yasr-settings-page.php:205
143
  msgid ""
144
  "Multi Set allows you to insert a rate for each aspect about the product / "
145
  "local business / whetever you're reviewing, example in the image below."
148
  "prodotto / attività / qualsiasi cosa tua stia recensendo, esempio "
149
  "nell'immagine sottostante."
150
 
151
+ #: ../yasr-settings-page.php:209
152
  msgid ""
153
  "You can create up to 99 different Multi Set and each one can contain up to 9 "
154
  "different fields. Once you've saved it, you can insert the rates while "
160
  "scrivendo il tuo articolo nel box sotto l'editor, come puoi vedere in questa "
161
  "immagine (clicca per allargare)"
162
 
163
+ #: ../yasr-settings-page.php:213
164
  msgid ""
165
  "In order to insert your Multi Sets into a post or page, you can either past "
166
  "the short code that will appear at the bottom of the box or just click on "
171
  "cliccare sulla stella presente nell'editor visuale e selezionare \"Inserisci "
172
  "Set Multiplo\""
173
 
174
+ #: ../yasr-settings-page.php:219
175
  msgid "Close this message"
176
  msgstr "Chiudi questo messaggio"
177
 
178
+ #: ../yasr-settings-page.php:264 ../lib/yasr-settings-functions.php:1306
179
+ #: ../lib/yasr-settings-functions.php:1332
180
  msgid "Donations"
181
  msgstr "Donazioni"
182
 
183
+ #: ../yasr-settings-page.php:266 ../lib/yasr-settings-functions.php:1308
184
+ #: ../lib/yasr-settings-functions.php:1334
185
  msgid ""
186
  "If you have found this plugin useful, please consider making a donation to "
187
  "help support future development. Your support will be much appreciated. "
190
  "supportarne lo sviluppo. Il tuo aiuto sarà molto apprezzato! P.s. YASR è "
191
  "made in Italy ;)"
192
 
193
+ #: ../yasr-settings-page.php:268 ../lib/yasr-settings-functions.php:1310
194
+ #: ../lib/yasr-settings-functions.php:1336
195
  msgid "Thank you!"
196
  msgstr "Grazie!"
197
 
199
  msgid "Choose wich set you want to use"
200
  msgstr "Scegli che set vuoi usare"
201
 
202
+ #: ../lib/yasr-shortcode-functions.php:187
203
+ #: ../lib/yasr-shortcode-functions.php:209
204
  msgid "You've already voted this article with"
205
  msgstr "Hai già votato questo articolo con "
206
 
207
+ #: ../lib/yasr-shortcode-functions.php:220
208
  msgid "You must sign to vote"
209
  msgstr "Devi fare il login per votare"
210
 
211
+ #: ../lib/yasr-shortcode-functions.php:243 ../lib/yasr-ajax-functions.php:1016
212
+ #: ../lib/yasr-ajax-functions.php:1024 ../lib/yasr-ajax-functions.php:1157
213
+ #: ../lib/yasr-ajax-functions.php:1235
214
  msgid "Total: "
215
  msgstr "Voti: "
216
 
222
  msgid "bad, poor, ok, good, super"
223
  msgstr "pessimo, scarso, ok, buono, super"
224
 
225
+ #: ../lib/yasr-shortcode-functions.php:502
226
  msgid "Rating"
227
  msgstr "Voto"
228
 
229
+ #: ../lib/yasr-shortcode-functions.php:516
230
  msgid "You don't have any votes stored"
231
  msgstr "Non hai alcun voto salvato"
232
 
233
+ #: ../lib/yasr-shortcode-functions.php:552
234
+ #: ../lib/yasr-shortcode-functions.php:590
235
  msgid "Post / Page"
236
  msgstr "Post / Pagina"
237
 
238
+ #: ../lib/yasr-shortcode-functions.php:553
239
+ #: ../lib/yasr-shortcode-functions.php:591
240
  msgid "Order By"
241
  msgstr "Ordina per"
242
 
243
+ #: ../lib/yasr-shortcode-functions.php:553
244
+ #: ../lib/yasr-shortcode-functions.php:591
245
  msgid "Most Rated"
246
  msgstr "Più Votati"
247
 
248
+ #: ../lib/yasr-shortcode-functions.php:553
249
+ #: ../lib/yasr-shortcode-functions.php:591
250
  msgid "Highest Rated"
251
  msgstr "Voto più alto"
252
 
253
+ #: ../lib/yasr-shortcode-functions.php:570
254
+ #: ../lib/yasr-shortcode-functions.php:605
255
  msgid "Total:"
256
  msgstr "Voti:"
257
 
258
+ #: ../lib/yasr-shortcode-functions.php:570
259
+ #: ../lib/yasr-shortcode-functions.php:605
260
  msgid "Average"
261
  msgstr "Media"
262
 
263
+ #: ../lib/yasr-shortcode-functions.php:582
264
  msgid "You've not enough data"
265
  msgstr "Non hai abbastanza dati"
266
 
267
+ #: ../lib/yasr-shortcode-functions.php:617
268
  msgid "You've not enought data"
269
  msgstr "Non hai abbastanza dati"
270
 
271
+ #: ../lib/yasr-shortcode-functions.php:702
272
  msgid ""
273
  "Problem while retrieving the top 5 most active reviewers. Did you publish "
274
  "any review?"
276
  "C'è stato un problema nell'ottenere la classifica dei 5 recensori più "
277
  "attivi. Hai pubblicato qualche recensione?"
278
 
279
+ #: ../lib/yasr-shortcode-functions.php:770
280
  msgid ""
281
  "Problem while retrieving the top 10 active users chart. Are you sure you "
282
  "have votes to show?"
309
  msgstr "Vuoi mostrare le statistiche per i voti utenti?"
310
 
311
  #: ../lib/yasr-settings-functions.php:55
 
 
 
 
312
  msgid "Allow only logged in user to vote?"
313
  msgstr "Permettere la votazione ai soli utenti loggati?"
314
 
315
+ #: ../lib/yasr-settings-functions.php:56
316
  msgid "Which rich snippets do you want to use?"
317
  msgstr "Quale rich snippets vuoi usare?"
318
 
319
+ #: ../lib/yasr-settings-functions.php:57
320
  msgid "How do you want to rate \"Overall Rating\"?"
321
  msgstr "Cosa vuoi usare per inserire il \"Voto Complessivo\"?"
322
 
323
+ #: ../lib/yasr-settings-functions.php:71
324
  msgid "Use Auto Insert?"
325
  msgstr "Usare l'inserimento automatico?"
326
 
327
+ #: ../lib/yasr-settings-functions.php:74
328
+ #: ../lib/yasr-settings-functions.php:143
329
+ #: ../lib/yasr-settings-functions.php:161
330
+ #: ../lib/yasr-settings-functions.php:203
331
+ #: ../lib/yasr-settings-functions.php:229
332
+ #: ../lib/yasr-settings-functions.php:261
333
+ #: ../lib/yasr-settings-functions.php:296
334
  msgid "Yes"
335
  msgstr "Si"
336
 
337
+ #: ../lib/yasr-settings-functions.php:88
338
+ #: ../lib/yasr-settings-functions.php:148
339
+ #: ../lib/yasr-settings-functions.php:166
340
+ #: ../lib/yasr-settings-functions.php:208
341
+ #: ../lib/yasr-settings-functions.php:234
342
+ #: ../lib/yasr-settings-functions.php:266
343
+ #: ../lib/yasr-settings-functions.php:301
344
  msgid "No"
345
  msgstr "No"
346
 
347
+ #: ../lib/yasr-settings-functions.php:94
348
  msgid "What?"
349
  msgstr "Cosa?"
350
 
351
+ #: ../lib/yasr-settings-functions.php:97
352
  msgid "Overall Rating / Author Rating"
353
  msgstr "Voto Complessivo / Voto Autore"
354
 
355
+ #: ../lib/yasr-settings-functions.php:101 ../lib/yasr-ajax-functions.php:462
356
  msgid "Visitor Votes"
357
  msgstr "Voto Utenti"
358
 
359
+ #: ../lib/yasr-settings-functions.php:105
360
  msgid "Both"
361
  msgstr "Entrambi"
362
 
363
+ #: ../lib/yasr-settings-functions.php:109
364
  msgid "Where?"
365
  msgstr "Dove?"
366
 
367
+ #: ../lib/yasr-settings-functions.php:112
368
  msgid "Before the post"
369
  msgstr "Prima del contenuto"
370
 
371
+ #: ../lib/yasr-settings-functions.php:116
372
  msgid "After the post"
373
  msgstr "Dopo il contenuto"
374
 
375
+ #: ../lib/yasr-settings-functions.php:121
376
  msgid "Size"
377
  msgstr "Grandezza"
378
 
379
+ #: ../lib/yasr-settings-functions.php:125 ../lib/yasr-ajax-functions.php:452
380
  #: ../lib/yasr-ajax-functions.php:470
381
  msgid "Small"
382
  msgstr "Piccolo"
383
 
384
+ #: ../lib/yasr-settings-functions.php:130 ../lib/yasr-ajax-functions.php:453
385
  #: ../lib/yasr-ajax-functions.php:471
386
  msgid "Medium"
387
  msgstr "Medio"
388
 
389
+ #: ../lib/yasr-settings-functions.php:135 ../lib/yasr-ajax-functions.php:454
390
  #: ../lib/yasr-ajax-functions.php:472
391
  msgid "Large"
392
  msgstr "Grande"
393
 
394
+ #: ../lib/yasr-settings-functions.php:140
395
  msgid "Exclude Pages?"
396
  msgstr "Escludere pagine?"
397
 
398
+ #: ../lib/yasr-settings-functions.php:158
399
  msgid "Use only in custom post types?"
400
  msgstr "Usare solo nei custom post type?"
401
 
402
+ #: ../lib/yasr-settings-functions.php:170
403
  msgid "You see this because you use custom post types."
404
  msgstr "Vedi questo perché usi i custom post type."
405
 
406
+ #: ../lib/yasr-settings-functions.php:172
407
  msgid "If you want to use auto insert only in custom post types, choose Yes"
408
  msgstr ""
409
  "Se vuoi usare l'inserimento automatico solo nei custom post type, spunta Si"
410
 
411
+ #: ../lib/yasr-settings-functions.php:212
412
  msgid ""
413
  "If you enable this, \"Overall Rating\" will be showed not only in the single "
414
  "article or page, but also in pages like Home Page, category pages or "
418
  "articolo o nella singola pagina, ma anche in pagine come l' Home Page, "
419
  "categorie o archivi"
420
 
421
+ #: ../lib/yasr-settings-functions.php:238
422
  msgid ""
423
  "If you enable this, \"Visitor Votes\" will be showed not only in the single "
424
  "article or page, but also in pages like Home Page, category pages or "
428
  "articolo o nella singola pagina, ma anche in pagine come l' Home Page, "
429
  "categorie o archivi"
430
 
431
+ #: ../lib/yasr-settings-functions.php:271
432
  msgid "Custom text to display before Overall Rating"
433
  msgstr "Testo personalizzato da visualizzare prima del Voto Complessivo"
434
 
435
+ #: ../lib/yasr-settings-functions.php:276
436
  msgid "Custom text to display before Visitor Rating"
437
  msgstr "Testo personalizzato da visualizzare prima del Voto Utenti"
438
 
439
+ #: ../lib/yasr-settings-functions.php:281
440
  msgid "Custom text to display when a non logged user has already rated"
441
  msgstr ""
442
  "Testo personalizzato da mostrare quanto un utente non loggato ha già votato"
443
 
444
+ #: ../lib/yasr-settings-functions.php:319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
445
  msgid "Allow only logged-in users"
446
  msgstr "Permetti solo agli utenti loggati"
447
 
448
+ #: ../lib/yasr-settings-functions.php:323
449
  msgid "Allow everybody (logged in and anonymous)"
450
  msgstr "Permetti a tutti (loggati ed anonimi)"
451
 
452
+ #: ../lib/yasr-settings-functions.php:340
453
  msgid "Review Rating"
454
  msgstr "Voto Recensione"
455
 
456
+ #: ../lib/yasr-settings-functions.php:344
457
  msgid "Aggregate Rating"
458
  msgstr "Media Voto Utenti"
459
 
460
+ #: ../lib/yasr-settings-functions.php:349
461
  msgid "What is this?"
462
  msgstr "Cos'è questo?"
463
 
464
+ #: ../lib/yasr-settings-functions.php:354
465
  msgid ""
466
  "If you select \"Review Rating\", your site will be indexed from search "
467
  "engines like this: "
469
  "Se hai scelto \"Voto Recensione\", il sito verrà indicizzato dai motori di "
470
  "ricerca così:"
471
 
472
+ #: ../lib/yasr-settings-functions.php:359
473
  msgid ""
474
  "If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
475
  "this"
476
  msgstr ""
477
  "Se, invece, hai scelto \"Media Voto Utenti\", il sito verrà indicizzato così"
478
 
479
+ #: ../lib/yasr-settings-functions.php:377
480
  msgid "Stars"
481
  msgstr "Stelle"
482
 
483
+ #: ../lib/yasr-settings-functions.php:381
484
  msgid "Numbers"
485
  msgstr "Numeri"
486
 
487
+ #: ../lib/yasr-settings-functions.php:406
488
+ msgid "Which color scheme do you want to use?"
489
+ msgstr "Che schema di colori vuoi usare?"
490
+
491
+ #: ../lib/yasr-settings-functions.php:427
492
+ msgid "Light"
493
+ msgstr "Chiaro"
494
+
495
  #: ../lib/yasr-settings-functions.php:432
496
+ msgid "Dark"
497
+ msgstr "Scuro"
498
+
499
+ #: ../lib/yasr-settings-functions.php:437
500
+ msgid "Preview"
501
+ msgstr "Anteprima"
502
+
503
+ #: ../lib/yasr-settings-functions.php:442
504
+ msgid "Light theme"
505
+ msgstr "Tema chiaro"
506
+
507
+ #: ../lib/yasr-settings-functions.php:447
508
+ #, fuzzy
509
+ msgid "Dark theme"
510
+ msgstr "Tema scuro"
511
+
512
+ #: ../lib/yasr-settings-functions.php:462
513
  msgid "Add New Multiple Set"
514
  msgstr "Set Multipli"
515
 
516
+ #: ../lib/yasr-settings-functions.php:463
517
  msgid ""
518
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
519
  "characters"
521
  "Nome, Elemento#1 e Elemento#2 DEVONO essere riempiti e devono essere lunghi "
522
  "almeno 3 caratteri"
523
 
524
+ #: ../lib/yasr-settings-functions.php:466
525
  msgid "Name"
526
  msgstr "Nome"
527
 
528
+ #: ../lib/yasr-settings-functions.php:471
529
  msgid "You can insert up to nine elements"
530
  msgstr "Puoi inserire fino a nove elementi"
531
 
532
+ #: ../lib/yasr-settings-functions.php:476
533
  msgid "Element "
534
  msgstr "Elemento"
535
 
536
+ #: ../lib/yasr-settings-functions.php:486
537
  msgid "Create New Set"
538
  msgstr "Crea Nuovo Set"
539
 
540
+ #: ../lib/yasr-settings-functions.php:507
541
+ #: ../lib/yasr-settings-functions.php:539
542
  msgid "Manage Multiple Set"
543
  msgstr "Gestisci Set Multiplo"
544
 
545
+ #: ../lib/yasr-settings-functions.php:509
546
  msgid "Wich set do you want to edit or remove?"
547
  msgstr "Quale set vuoi modificare o rimuovere"
548
 
549
+ #: ../lib/yasr-settings-functions.php:549
550
+ #: ../lib/yasr-settings-functions.php:667
551
  msgid "Field name"
552
  msgstr "Nome campo"
553
 
554
+ #: ../lib/yasr-settings-functions.php:553
555
+ #: ../lib/yasr-settings-functions.php:671
556
  msgid "Remove"
557
  msgstr "Rimuovi"
558
 
559
+ #: ../lib/yasr-settings-functions.php:595
560
+ #: ../lib/yasr-settings-functions.php:713
561
  msgid "Remove whole set?"
562
  msgstr "Rimuovere l'intero set?"
563
 
564
+ #: ../lib/yasr-settings-functions.php:608
565
+ #: ../lib/yasr-settings-functions.php:726
566
  msgid ""
567
  "If you remove something you will remove all the votes for that set or field. "
568
  "This operation CAN'T BE undone."
570
  "Se rimuovi qualcosa rimuoverai anche i voti per quel set o campo. Questa "
571
  "operazione NON PUÒ ESSERE ANNULLATA"
572
 
573
+ #: ../lib/yasr-settings-functions.php:615
574
+ #: ../lib/yasr-settings-functions.php:733
575
  msgid "You can use up to 9 elements"
576
  msgstr "Puoi usare fino a 9 elementi"
577
 
578
+ #: ../lib/yasr-settings-functions.php:617
579
+ #: ../lib/yasr-settings-functions.php:735
580
  msgid "Add element"
581
  msgstr "Aggiungi elemento"
582
 
583
+ #: ../lib/yasr-settings-functions.php:619
584
+ #: ../lib/yasr-settings-functions.php:737
585
  msgid "Save changes"
586
  msgstr "Salva modifiche"
587
 
588
+ #: ../lib/yasr-settings-functions.php:629
589
  msgid "No Multiple Set were found"
590
  msgstr "Nessun Set Multiplo trovato"
591
 
592
+ #: ../lib/yasr-settings-functions.php:879
593
+ #: ../lib/yasr-settings-functions.php:1147
594
  msgid "Settings Saved"
595
  msgstr "Impostazioni Salvate"
596
 
597
+ #: ../lib/yasr-settings-functions.php:884
598
  msgid "Something goes wrong trying insert set field name. Please report it"
599
  msgstr ""
600
  "Qualcosa è andato storto cercando di inserire un elemento. Per favore "
601
  "segnalalo"
602
 
603
+ #: ../lib/yasr-settings-functions.php:890
604
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
605
  msgstr ""
606
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
607
  "favore segnalalo"
608
 
609
+ #: ../lib/yasr-settings-functions.php:965
610
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
611
  msgstr ""
612
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
613
  "favore segnalalo"
614
 
615
+ #: ../lib/yasr-settings-functions.php:1011
616
  msgid ""
617
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
618
  msgstr ""
619
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
620
  "favore segnalalo"
621
 
622
+ #: ../lib/yasr-settings-functions.php:1075
623
  msgid ""
624
  "Something goes wrong trying to update a Multi Set's element. Please report it"
625
  msgstr ""
626
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
627
  "favore segnalalo"
628
 
629
+ #: ../lib/yasr-settings-functions.php:1132
630
  msgid ""
631
  "Something goes wrong trying to insert set field name in edit form. Please "
632
  "report it"
634
  "Qualcosa è andato storto cercando di inserire il campo nel form di modifica. "
635
  "Per favore segnalalo"
636
 
637
+ #: ../lib/yasr-settings-functions.php:1175
638
  msgid "Style Options"
639
  msgstr "Opzioni Stili"
640
 
641
+ #: ../lib/yasr-settings-functions.php:1176
642
  msgid "Custom CSS Styles"
643
  msgstr "Stili CSS Personalizzati"
644
 
645
+ #: ../lib/yasr-settings-functions.php:1181
646
  msgid ""
647
  "Please use text area below to write your own CSS styles to override the "
648
  "default ones."
650
  "Usa l'area di testo sottostante per scrivere le tue regole CSS che "
651
  "sovrascriveranno quelle di default"
652
 
653
+ #: ../lib/yasr-settings-functions.php:1183
654
  msgid "Leave it blank if you don't know what you're doing"
655
  msgstr "Lascialo vuoto se non stai cosa stai facendo"
656
 
657
+ #: ../lib/yasr-settings-functions.php:1206
658
  msgid "Looking for more features?"
659
  msgstr "Hai bisogno di più funzioni?"
660
 
661
+ #: ../lib/yasr-settings-functions.php:1207
662
  msgid "Upgrade to yasr pro!"
663
  msgstr "Passa a yasr pro!"
664
 
665
+ #: ../lib/yasr-settings-functions.php:1223
666
  msgid "Unlimited ratings and votes"
667
  msgstr "Voti e recensioni illimitate"
668
 
669
+ #: ../lib/yasr-settings-functions.php:1229
670
  msgid "Works with shortcodes"
671
  msgstr "Funziona con gli shortcodes"
672
 
673
+ #: ../lib/yasr-settings-functions.php:1235
674
  msgid "Multi Set Support"
675
  msgstr "Supporto Set Multipli"
676
 
677
+ #: ../lib/yasr-settings-functions.php:1240
678
  msgid "Logs and stats for visitors votes"
679
  msgstr "Log e statistiche per i voti utenti"
680
 
681
+ #: ../lib/yasr-settings-functions.php:1245
682
  msgid "Localization (.po and .mo files included)"
683
  msgstr "Traducibile (files .po e .mo inclusi)"
684
 
685
+ #: ../lib/yasr-settings-functions.php:1250
686
  msgid "Rich Snippet Support"
687
  msgstr "Supporto per Rich Snippet"
688
 
689
+ #: ../lib/yasr-settings-functions.php:1255
690
  msgid "Rankings for reviews, votes and users"
691
  msgstr "Classifiche per recensioni, voti e utenti"
692
 
693
+ #: ../lib/yasr-settings-functions.php:1260
694
  msgid "Rankings Customization"
695
  msgstr "Personalizzazione Classifiche"
696
 
697
+ #: ../lib/yasr-settings-functions.php:1265
698
  msgid "Stars Customization"
699
  msgstr "Personalizzazione Stelle"
700
 
701
+ #: ../lib/yasr-settings-functions.php:1266
702
  msgid "Size Only"
703
  msgstr "Solo la grandezza"
704
 
705
+ #: ../lib/yasr-settings-functions.php:1267
706
  msgid ""
707
  "Users can choose different ready to use sets or can upload their own images."
708
  msgstr ""
709
  "È possibile scegliere diversi set pronti all'uso o caricare le proprie "
710
  "immagini"
711
 
712
+ #: ../lib/yasr-settings-functions.php:1270
713
  msgid "Visitors can vote on Multi Set"
714
  msgstr "I visitatori possono votare nei Multi Set"
715
 
716
+ #: ../lib/yasr-settings-functions.php:1275
717
  msgid "Users can review in comments"
718
  msgstr "Gli utenti possono recensire nei commenti"
719
 
720
+ #: ../lib/yasr-settings-functions.php:1286
721
  msgid "Not avaible yet"
722
  msgstr "Non ancora disponibile"
723
 
724
+ #: ../lib/yasr-settings-functions.php:1318
725
+ #: ../lib/yasr-settings-functions.php:1345
726
  msgid "Follow YASR official site!"
727
  msgstr "Segui il sito ufficiale di YASR!"
728
 
729
+ #: ../lib/yasr-settings-functions.php:1375
730
  msgid "No previous Gd Star Rating installation was found"
731
  msgstr "Installazione precedente di Gd Star Rating non stata trovata"
732
 
733
+ #: ../lib/yasr-db-functions.php:286
734
  msgid "No recenet votes yet"
735
  msgstr "Ancora nessun voto recente"
736
 
737
+ #: ../lib/yasr-db-functions.php:301 ../lib/yasr-ajax-functions.php:761
738
  msgid "anonymous"
739
  msgstr "anonimo"
740
 
741
+ #: ../lib/yasr-db-functions.php:310 ../lib/yasr-ajax-functions.php:770
742
+ #, php-format
743
+ msgid "Vote %d from %s on"
744
+ msgstr ""
745
+
746
+ #: ../lib/yasr-db-functions.php:326 ../lib/yasr-ajax-functions.php:786
747
  msgid "Ip address"
748
  msgstr "Indirizzo Ip"
749
 
750
+ #: ../lib/yasr-db-functions.php:367 ../lib/yasr-ajax-functions.php:827
751
  msgid "Pages"
752
  msgstr "Pagine"
753
 
998
  msgid "No Recenet votes yet"
999
  msgstr "Ancora nessun voto recente"
1000
 
1001
+ #: ../lib/yasr-ajax-functions.php:920 ../lib/yasr-ajax-functions.php:1064
1002
  msgid "Error: you can't vote 0"
1003
  msgstr "Errore: non puoi votare 0"
1004
 
1005
+ #: ../lib/yasr-ajax-functions.php:1016 ../lib/yasr-ajax-functions.php:1024
1006
  msgid "Average rating"
1007
  msgstr "Media Voto "
1008
 
1009
+ #: ../lib/yasr-ajax-functions.php:1017 ../lib/yasr-ajax-functions.php:1025
1010
  msgid "Vote Saved"
1011
  msgstr "Voto Salvato"
1012
 
1013
+ #: ../lib/yasr-ajax-functions.php:1160
1014
  msgid "Vote updated"
1015
  msgstr "Voto Aggiornato"
1016
 
1017
+ #: ../lib/yasr-ajax-functions.php:1235
1018
  msgid "Average "
1019
  msgstr "Media Voto "
1020
 
1021
+ #: ../lib/yasr-ajax-functions.php:1246
1022
  msgid "You've already voted this article"
1023
  msgstr "Hai già votato questo articolo"
1024
 
1025
+ #: ../lib/yasr-ajax-functions.php:1366
1026
  msgid "stars"
1027
  msgstr "stelle"
1028
 
1029
+ #: ../lib/yasr-ajax-functions.php:1371
1030
  msgid "star"
1031
  msgstr "stella"
1032
 
languages/yasr.mo CHANGED
Binary file
languages/yasr.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YASR lenguages\n"
4
- "POT-Creation-Date: 2015-03-13 16:34+0100\n"
5
- "PO-Revision-Date: 2015-03-13 16:34+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: En\n"
@@ -31,12 +31,16 @@ msgstr ""
31
  msgid "This review is about a..."
32
  msgstr ""
33
 
34
- #: ../yasr-metabox-top-right.php:193 ../yasr-metabox-multiple-rating.php:46
35
- #: ../lib/yasr-settings-functions.php:487
 
 
 
 
36
  msgid "Select"
37
  msgstr ""
38
 
39
- #: ../yasr-metabox-top-right.php:211
40
  msgid ""
41
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
42
  "where you want to display this rating"
@@ -68,7 +72,8 @@ msgstr ""
68
  msgid "Pro Features!"
69
  msgstr ""
70
 
71
- #: ../yasr-settings-page.php:96 ../yasr-settings-page.php:276
 
72
  msgid "Save"
73
  msgstr ""
74
 
@@ -129,13 +134,13 @@ msgstr ""
129
  msgid "What is a Multi Set?"
130
  msgstr ""
131
 
132
- #: ../yasr-settings-page.php:204
133
  msgid ""
134
  "Multi Set allows you to insert a rate for each aspect about the product / "
135
  "local business / whetever you're reviewing, example in the image below."
136
  msgstr ""
137
 
138
- #: ../yasr-settings-page.php:208
139
  msgid ""
140
  "You can create up to 99 different Multi Set and each one can contain up to 9 "
141
  "different fields. Once you've saved it, you can insert the rates while "
@@ -143,31 +148,31 @@ msgid ""
143
  "image (click to see it larger)"
144
  msgstr ""
145
 
146
- #: ../yasr-settings-page.php:212
147
  msgid ""
148
  "In order to insert your Multi Sets into a post or page, you can either past "
149
  "the short code that will appear at the bottom of the box or just click on "
150
  "the star in the graphic editor and select \"Insert Multi Set\"."
151
  msgstr ""
152
 
153
- #: ../yasr-settings-page.php:218
154
  msgid "Close this message"
155
  msgstr ""
156
 
157
- #: ../yasr-settings-page.php:246 ../lib/yasr-settings-functions.php:1276
158
- #: ../lib/yasr-settings-functions.php:1302
159
  msgid "Donations"
160
  msgstr ""
161
 
162
- #: ../yasr-settings-page.php:248 ../lib/yasr-settings-functions.php:1278
163
- #: ../lib/yasr-settings-functions.php:1304
164
  msgid ""
165
  "If you have found this plugin useful, please consider making a donation to "
166
  "help support future development. Your support will be much appreciated. "
167
  msgstr ""
168
 
169
- #: ../yasr-settings-page.php:250 ../lib/yasr-settings-functions.php:1280
170
- #: ../lib/yasr-settings-functions.php:1306
171
  msgid "Thank you!"
172
  msgstr ""
173
 
@@ -175,18 +180,18 @@ msgstr ""
175
  msgid "Choose wich set you want to use"
176
  msgstr ""
177
 
178
- #: ../lib/yasr-shortcode-functions.php:185
179
- #: ../lib/yasr-shortcode-functions.php:207
180
  msgid "You've already voted this article with"
181
  msgstr ""
182
 
183
- #: ../lib/yasr-shortcode-functions.php:218
184
  msgid "You must sign to vote"
185
  msgstr ""
186
 
187
- #: ../lib/yasr-shortcode-functions.php:243 ../lib/yasr-ajax-functions.php:1011
188
- #: ../lib/yasr-ajax-functions.php:1019 ../lib/yasr-ajax-functions.php:1148
189
- #: ../lib/yasr-ajax-functions.php:1220
190
  msgid "Total: "
191
  msgstr ""
192
 
@@ -198,59 +203,59 @@ msgstr ""
198
  msgid "bad, poor, ok, good, super"
199
  msgstr ""
200
 
201
- #: ../lib/yasr-shortcode-functions.php:411
202
  msgid "Rating"
203
  msgstr ""
204
 
205
- #: ../lib/yasr-shortcode-functions.php:425
206
  msgid "You don't have any votes stored"
207
  msgstr ""
208
 
209
- #: ../lib/yasr-shortcode-functions.php:461
210
- #: ../lib/yasr-shortcode-functions.php:499
211
  msgid "Post / Page"
212
  msgstr ""
213
 
214
- #: ../lib/yasr-shortcode-functions.php:462
215
- #: ../lib/yasr-shortcode-functions.php:500
216
  msgid "Order By"
217
  msgstr ""
218
 
219
- #: ../lib/yasr-shortcode-functions.php:462
220
- #: ../lib/yasr-shortcode-functions.php:500
221
  msgid "Most Rated"
222
  msgstr ""
223
 
224
- #: ../lib/yasr-shortcode-functions.php:462
225
- #: ../lib/yasr-shortcode-functions.php:500
226
  msgid "Highest Rated"
227
  msgstr ""
228
 
229
- #: ../lib/yasr-shortcode-functions.php:479
230
- #: ../lib/yasr-shortcode-functions.php:514
231
  msgid "Total:"
232
  msgstr ""
233
 
234
- #: ../lib/yasr-shortcode-functions.php:479
235
- #: ../lib/yasr-shortcode-functions.php:514
236
  msgid "Average"
237
  msgstr ""
238
 
239
- #: ../lib/yasr-shortcode-functions.php:491
240
  msgid "You've not enough data"
241
  msgstr ""
242
 
243
- #: ../lib/yasr-shortcode-functions.php:526
244
  msgid "You've not enought data"
245
  msgstr ""
246
 
247
- #: ../lib/yasr-shortcode-functions.php:611
248
  msgid ""
249
  "Problem while retrieving the top 5 most active reviewers. Did you publish "
250
  "any review?"
251
  msgstr ""
252
 
253
- #: ../lib/yasr-shortcode-functions.php:679
254
  msgid ""
255
  "Problem while retrieving the top 10 active users chart. Are you sure you "
256
  "have votes to show?"
@@ -281,408 +286,413 @@ msgid "Do you want show stats for visitors votes?"
281
  msgstr ""
282
 
283
  #: ../lib/yasr-settings-functions.php:55
284
- msgid "Which color scheme do you want to use?"
285
- msgstr ""
286
-
287
- #: ../lib/yasr-settings-functions.php:56
288
  msgid "Allow only logged in user to vote?"
289
  msgstr ""
290
 
291
- #: ../lib/yasr-settings-functions.php:57
292
  msgid "Which rich snippets do you want to use?"
293
  msgstr ""
294
 
295
- #: ../lib/yasr-settings-functions.php:58
296
  msgid "How do you want to rate \"Overall Rating\"?"
297
  msgstr ""
298
 
299
- #: ../lib/yasr-settings-functions.php:72
300
  msgid "Use Auto Insert?"
301
  msgstr ""
302
 
303
- #: ../lib/yasr-settings-functions.php:75
304
- #: ../lib/yasr-settings-functions.php:144
305
- #: ../lib/yasr-settings-functions.php:162
306
- #: ../lib/yasr-settings-functions.php:204
307
- #: ../lib/yasr-settings-functions.php:230
308
- #: ../lib/yasr-settings-functions.php:262
309
- #: ../lib/yasr-settings-functions.php:297
310
  msgid "Yes"
311
  msgstr ""
312
 
313
- #: ../lib/yasr-settings-functions.php:89
314
- #: ../lib/yasr-settings-functions.php:149
315
- #: ../lib/yasr-settings-functions.php:167
316
- #: ../lib/yasr-settings-functions.php:209
317
- #: ../lib/yasr-settings-functions.php:235
318
- #: ../lib/yasr-settings-functions.php:267
319
- #: ../lib/yasr-settings-functions.php:302
320
  msgid "No"
321
  msgstr ""
322
 
323
- #: ../lib/yasr-settings-functions.php:95
324
  msgid "What?"
325
  msgstr ""
326
 
327
- #: ../lib/yasr-settings-functions.php:98
328
  msgid "Overall Rating / Author Rating"
329
  msgstr ""
330
 
331
- #: ../lib/yasr-settings-functions.php:102 ../lib/yasr-ajax-functions.php:462
332
  msgid "Visitor Votes"
333
  msgstr ""
334
 
335
- #: ../lib/yasr-settings-functions.php:106
336
  msgid "Both"
337
  msgstr ""
338
 
339
- #: ../lib/yasr-settings-functions.php:110
340
  msgid "Where?"
341
  msgstr ""
342
 
343
- #: ../lib/yasr-settings-functions.php:113
344
  msgid "Before the post"
345
  msgstr ""
346
 
347
- #: ../lib/yasr-settings-functions.php:117
348
  msgid "After the post"
349
  msgstr ""
350
 
351
- #: ../lib/yasr-settings-functions.php:122
352
  msgid "Size"
353
  msgstr ""
354
 
355
- #: ../lib/yasr-settings-functions.php:126 ../lib/yasr-ajax-functions.php:452
356
  #: ../lib/yasr-ajax-functions.php:470
357
  msgid "Small"
358
  msgstr ""
359
 
360
- #: ../lib/yasr-settings-functions.php:131 ../lib/yasr-ajax-functions.php:453
361
  #: ../lib/yasr-ajax-functions.php:471
362
  msgid "Medium"
363
  msgstr ""
364
 
365
- #: ../lib/yasr-settings-functions.php:136 ../lib/yasr-ajax-functions.php:454
366
  #: ../lib/yasr-ajax-functions.php:472
367
  msgid "Large"
368
  msgstr ""
369
 
370
- #: ../lib/yasr-settings-functions.php:141
371
  msgid "Exclude Pages?"
372
  msgstr ""
373
 
374
- #: ../lib/yasr-settings-functions.php:159
375
  msgid "Use only in custom post types?"
376
  msgstr ""
377
 
378
- #: ../lib/yasr-settings-functions.php:171
379
  msgid "You see this because you use custom post types."
380
  msgstr ""
381
 
382
- #: ../lib/yasr-settings-functions.php:173
383
  msgid "If you want to use auto insert only in custom post types, choose Yes"
384
  msgstr ""
385
 
386
- #: ../lib/yasr-settings-functions.php:213
387
  msgid ""
388
  "If you enable this, \"Overall Rating\" will be showed not only in the single "
389
  "article or page, but also in pages like Home Page, category pages or "
390
  "archives."
391
  msgstr ""
392
 
393
- #: ../lib/yasr-settings-functions.php:239
394
  msgid ""
395
  "If you enable this, \"Visitor Votes\" will be showed not only in the single "
396
  "article or page, but also in pages like Home Page, category pages or "
397
  "archives."
398
  msgstr ""
399
 
400
- #: ../lib/yasr-settings-functions.php:272
401
  msgid "Custom text to display before Overall Rating"
402
  msgstr ""
403
 
404
- #: ../lib/yasr-settings-functions.php:277
405
  msgid "Custom text to display before Visitor Rating"
406
  msgstr ""
407
 
408
- #: ../lib/yasr-settings-functions.php:282
409
  msgid "Custom text to display when a non logged user has already rated"
410
  msgstr ""
411
 
412
- #: ../lib/yasr-settings-functions.php:320
413
- msgid "Light"
414
- msgstr ""
415
-
416
- #: ../lib/yasr-settings-functions.php:325
417
- msgid "Dark"
418
- msgstr ""
419
-
420
- #: ../lib/yasr-settings-functions.php:330
421
- msgid "Preview"
422
- msgstr ""
423
-
424
- #: ../lib/yasr-settings-functions.php:335
425
- msgid "Light theme"
426
- msgstr ""
427
-
428
- #: ../lib/yasr-settings-functions.php:340
429
- msgid "Dark Theme"
430
- msgstr ""
431
-
432
- #: ../lib/yasr-settings-functions.php:358
433
  msgid "Allow only logged-in users"
434
  msgstr ""
435
 
436
- #: ../lib/yasr-settings-functions.php:362
437
  msgid "Allow everybody (logged in and anonymous)"
438
  msgstr ""
439
 
440
- #: ../lib/yasr-settings-functions.php:379
441
  msgid "Review Rating"
442
  msgstr ""
443
 
444
- #: ../lib/yasr-settings-functions.php:383
445
  msgid "Aggregate Rating"
446
  msgstr ""
447
 
448
- #: ../lib/yasr-settings-functions.php:388
449
  msgid "What is this?"
450
  msgstr ""
451
 
452
- #: ../lib/yasr-settings-functions.php:393
453
  msgid ""
454
  "If you select \"Review Rating\", your site will be indexed from search "
455
  "engines like this: "
456
  msgstr ""
457
 
458
- #: ../lib/yasr-settings-functions.php:398
459
  msgid ""
460
  "If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
461
  "this"
462
  msgstr ""
463
 
464
- #: ../lib/yasr-settings-functions.php:416
465
  msgid "Stars"
466
  msgstr ""
467
 
468
- #: ../lib/yasr-settings-functions.php:420
469
  msgid "Numbers"
470
  msgstr ""
471
 
 
 
 
 
 
 
 
 
472
  #: ../lib/yasr-settings-functions.php:432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
473
  msgid "Add New Multiple Set"
474
  msgstr ""
475
 
476
- #: ../lib/yasr-settings-functions.php:433
477
  msgid ""
478
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
479
  "characters"
480
  msgstr ""
481
 
482
- #: ../lib/yasr-settings-functions.php:436
483
  msgid "Name"
484
  msgstr ""
485
 
486
- #: ../lib/yasr-settings-functions.php:441
487
  msgid "You can insert up to nine elements"
488
  msgstr ""
489
 
490
- #: ../lib/yasr-settings-functions.php:446
491
  msgid "Element "
492
  msgstr ""
493
 
494
- #: ../lib/yasr-settings-functions.php:456
495
  msgid "Create New Set"
496
  msgstr ""
497
 
498
- #: ../lib/yasr-settings-functions.php:477
499
- #: ../lib/yasr-settings-functions.php:509
500
  msgid "Manage Multiple Set"
501
  msgstr ""
502
 
503
- #: ../lib/yasr-settings-functions.php:479
504
  msgid "Wich set do you want to edit or remove?"
505
  msgstr ""
506
 
507
- #: ../lib/yasr-settings-functions.php:519
508
- #: ../lib/yasr-settings-functions.php:637
509
  msgid "Field name"
510
  msgstr ""
511
 
512
- #: ../lib/yasr-settings-functions.php:523
513
- #: ../lib/yasr-settings-functions.php:641
514
  msgid "Remove"
515
  msgstr ""
516
 
517
- #: ../lib/yasr-settings-functions.php:565
518
- #: ../lib/yasr-settings-functions.php:683
519
  msgid "Remove whole set?"
520
  msgstr ""
521
 
522
- #: ../lib/yasr-settings-functions.php:578
523
- #: ../lib/yasr-settings-functions.php:696
524
  msgid ""
525
  "If you remove something you will remove all the votes for that set or field. "
526
  "This operation CAN'T BE undone."
527
  msgstr ""
528
 
529
- #: ../lib/yasr-settings-functions.php:585
530
- #: ../lib/yasr-settings-functions.php:703
531
  msgid "You can use up to 9 elements"
532
  msgstr ""
533
 
534
- #: ../lib/yasr-settings-functions.php:587
535
- #: ../lib/yasr-settings-functions.php:705
536
  msgid "Add element"
537
  msgstr ""
538
 
539
- #: ../lib/yasr-settings-functions.php:589
540
- #: ../lib/yasr-settings-functions.php:707
541
  msgid "Save changes"
542
  msgstr ""
543
 
544
- #: ../lib/yasr-settings-functions.php:599
545
  msgid "No Multiple Set were found"
546
  msgstr ""
547
 
548
- #: ../lib/yasr-settings-functions.php:849
549
- #: ../lib/yasr-settings-functions.php:1117
550
  msgid "Settings Saved"
551
  msgstr ""
552
 
553
- #: ../lib/yasr-settings-functions.php:854
554
  msgid "Something goes wrong trying insert set field name. Please report it"
555
  msgstr ""
556
 
557
- #: ../lib/yasr-settings-functions.php:860
558
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
559
  msgstr ""
560
 
561
- #: ../lib/yasr-settings-functions.php:935
562
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
563
  msgstr ""
564
 
565
- #: ../lib/yasr-settings-functions.php:981
566
  msgid ""
567
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
568
  msgstr ""
569
 
570
- #: ../lib/yasr-settings-functions.php:1045
571
  msgid ""
572
  "Something goes wrong trying to update a Multi Set's element. Please report it"
573
  msgstr ""
574
 
575
- #: ../lib/yasr-settings-functions.php:1102
576
  msgid ""
577
  "Something goes wrong trying to insert set field name in edit form. Please "
578
  "report it"
579
  msgstr ""
580
 
581
- #: ../lib/yasr-settings-functions.php:1145
582
  msgid "Style Options"
583
  msgstr ""
584
 
585
- #: ../lib/yasr-settings-functions.php:1146
586
  msgid "Custom CSS Styles"
587
  msgstr ""
588
 
589
- #: ../lib/yasr-settings-functions.php:1151
590
  msgid ""
591
  "Please use text area below to write your own CSS styles to override the "
592
  "default ones."
593
  msgstr ""
594
 
595
- #: ../lib/yasr-settings-functions.php:1153
596
  msgid "Leave it blank if you don't know what you're doing"
597
  msgstr ""
598
 
599
- #: ../lib/yasr-settings-functions.php:1176
600
  msgid "Looking for more features?"
601
  msgstr ""
602
 
603
- #: ../lib/yasr-settings-functions.php:1177
604
  msgid "Upgrade to yasr pro!"
605
  msgstr ""
606
 
607
- #: ../lib/yasr-settings-functions.php:1193
608
  msgid "Unlimited ratings and votes"
609
  msgstr ""
610
 
611
- #: ../lib/yasr-settings-functions.php:1199
612
  msgid "Works with shortcodes"
613
  msgstr ""
614
 
615
- #: ../lib/yasr-settings-functions.php:1205
616
  msgid "Multi Set Support"
617
  msgstr ""
618
 
619
- #: ../lib/yasr-settings-functions.php:1210
620
  msgid "Logs and stats for visitors votes"
621
  msgstr ""
622
 
623
- #: ../lib/yasr-settings-functions.php:1215
624
  msgid "Localization (.po and .mo files included)"
625
  msgstr ""
626
 
627
- #: ../lib/yasr-settings-functions.php:1220
628
  msgid "Rich Snippet Support"
629
  msgstr ""
630
 
631
- #: ../lib/yasr-settings-functions.php:1225
632
  msgid "Rankings for reviews, votes and users"
633
  msgstr ""
634
 
635
- #: ../lib/yasr-settings-functions.php:1230
636
  msgid "Rankings Customization"
637
  msgstr ""
638
 
639
- #: ../lib/yasr-settings-functions.php:1235
640
  msgid "Stars Customization"
641
  msgstr ""
642
 
643
- #: ../lib/yasr-settings-functions.php:1236
644
  msgid "Size Only"
645
  msgstr ""
646
 
647
- #: ../lib/yasr-settings-functions.php:1237
648
  msgid ""
649
  "Users can choose different ready to use sets or can upload their own images."
650
  msgstr ""
651
 
652
- #: ../lib/yasr-settings-functions.php:1240
653
  msgid "Visitors can vote on Multi Set"
654
  msgstr ""
655
 
656
- #: ../lib/yasr-settings-functions.php:1245
657
  msgid "Users can review in comments"
658
  msgstr ""
659
 
660
- #: ../lib/yasr-settings-functions.php:1256
661
  msgid "Not avaible yet"
662
  msgstr ""
663
 
664
- #: ../lib/yasr-settings-functions.php:1288
665
- #: ../lib/yasr-settings-functions.php:1315
666
  msgid "Follow YASR official site!"
667
  msgstr ""
668
 
669
- #: ../lib/yasr-settings-functions.php:1345
670
  msgid "No previous Gd Star Rating installation was found"
671
  msgstr ""
672
 
673
- #: ../lib/yasr-db-functions.php:280
674
  msgid "No recenet votes yet"
675
  msgstr ""
676
 
677
- #: ../lib/yasr-db-functions.php:295 ../lib/yasr-ajax-functions.php:761
678
  msgid "anonymous"
679
  msgstr ""
680
 
681
- #: ../lib/yasr-db-functions.php:318 ../lib/yasr-ajax-functions.php:784
 
 
 
 
 
682
  msgid "Ip address"
683
  msgstr ""
684
 
685
- #: ../lib/yasr-db-functions.php:359 ../lib/yasr-ajax-functions.php:825
686
  msgid "Pages"
687
  msgstr ""
688
 
@@ -929,34 +939,34 @@ msgstr ""
929
  msgid "No Recenet votes yet"
930
  msgstr ""
931
 
932
- #: ../lib/yasr-ajax-functions.php:915 ../lib/yasr-ajax-functions.php:1057
933
  msgid "Error: you can't vote 0"
934
  msgstr ""
935
 
936
- #: ../lib/yasr-ajax-functions.php:1011 ../lib/yasr-ajax-functions.php:1019
937
  msgid "Average rating"
938
  msgstr ""
939
 
940
- #: ../lib/yasr-ajax-functions.php:1012 ../lib/yasr-ajax-functions.php:1020
941
  msgid "Vote Saved"
942
  msgstr ""
943
 
944
- #: ../lib/yasr-ajax-functions.php:1149
945
  msgid "Vote updated"
946
  msgstr ""
947
 
948
- #: ../lib/yasr-ajax-functions.php:1220
949
  msgid "Average "
950
  msgstr ""
951
 
952
- #: ../lib/yasr-ajax-functions.php:1231
953
  msgid "You've already voted this article"
954
  msgstr ""
955
 
956
- #: ../lib/yasr-ajax-functions.php:1351
957
  msgid "stars"
958
  msgstr ""
959
 
960
- #: ../lib/yasr-ajax-functions.php:1356
961
  msgid "star"
962
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YASR lenguages\n"
4
+ "POT-Creation-Date: 2015-04-06 10:06+0100\n"
5
+ "PO-Revision-Date: 2015-04-06 10:06+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: En\n"
31
  msgid "This review is about a..."
32
  msgstr ""
33
 
34
+ #: ../yasr-metabox-top-right.php:169
35
+ msgid "Product, Places, Other"
36
+ msgstr ""
37
+
38
+ #: ../yasr-metabox-top-right.php:197 ../yasr-metabox-multiple-rating.php:46
39
+ #: ../lib/yasr-settings-functions.php:517
40
  msgid "Select"
41
  msgstr ""
42
 
43
+ #: ../yasr-metabox-top-right.php:215
44
  msgid ""
45
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
46
  "where you want to display this rating"
72
  msgid "Pro Features!"
73
  msgstr ""
74
 
75
+ #: ../yasr-settings-page.php:96 ../yasr-settings-page.php:254
76
+ #: ../yasr-settings-page.php:294
77
  msgid "Save"
78
  msgstr ""
79
 
134
  msgid "What is a Multi Set?"
135
  msgstr ""
136
 
137
+ #: ../yasr-settings-page.php:205
138
  msgid ""
139
  "Multi Set allows you to insert a rate for each aspect about the product / "
140
  "local business / whetever you're reviewing, example in the image below."
141
  msgstr ""
142
 
143
+ #: ../yasr-settings-page.php:209
144
  msgid ""
145
  "You can create up to 99 different Multi Set and each one can contain up to 9 "
146
  "different fields. Once you've saved it, you can insert the rates while "
148
  "image (click to see it larger)"
149
  msgstr ""
150
 
151
+ #: ../yasr-settings-page.php:213
152
  msgid ""
153
  "In order to insert your Multi Sets into a post or page, you can either past "
154
  "the short code that will appear at the bottom of the box or just click on "
155
  "the star in the graphic editor and select \"Insert Multi Set\"."
156
  msgstr ""
157
 
158
+ #: ../yasr-settings-page.php:219
159
  msgid "Close this message"
160
  msgstr ""
161
 
162
+ #: ../yasr-settings-page.php:264 ../lib/yasr-settings-functions.php:1306
163
+ #: ../lib/yasr-settings-functions.php:1332
164
  msgid "Donations"
165
  msgstr ""
166
 
167
+ #: ../yasr-settings-page.php:266 ../lib/yasr-settings-functions.php:1308
168
+ #: ../lib/yasr-settings-functions.php:1334
169
  msgid ""
170
  "If you have found this plugin useful, please consider making a donation to "
171
  "help support future development. Your support will be much appreciated. "
172
  msgstr ""
173
 
174
+ #: ../yasr-settings-page.php:268 ../lib/yasr-settings-functions.php:1310
175
+ #: ../lib/yasr-settings-functions.php:1336
176
  msgid "Thank you!"
177
  msgstr ""
178
 
180
  msgid "Choose wich set you want to use"
181
  msgstr ""
182
 
183
+ #: ../lib/yasr-shortcode-functions.php:187
184
+ #: ../lib/yasr-shortcode-functions.php:209
185
  msgid "You've already voted this article with"
186
  msgstr ""
187
 
188
+ #: ../lib/yasr-shortcode-functions.php:220
189
  msgid "You must sign to vote"
190
  msgstr ""
191
 
192
+ #: ../lib/yasr-shortcode-functions.php:243 ../lib/yasr-ajax-functions.php:1016
193
+ #: ../lib/yasr-ajax-functions.php:1024 ../lib/yasr-ajax-functions.php:1157
194
+ #: ../lib/yasr-ajax-functions.php:1235
195
  msgid "Total: "
196
  msgstr ""
197
 
203
  msgid "bad, poor, ok, good, super"
204
  msgstr ""
205
 
206
+ #: ../lib/yasr-shortcode-functions.php:502
207
  msgid "Rating"
208
  msgstr ""
209
 
210
+ #: ../lib/yasr-shortcode-functions.php:516
211
  msgid "You don't have any votes stored"
212
  msgstr ""
213
 
214
+ #: ../lib/yasr-shortcode-functions.php:552
215
+ #: ../lib/yasr-shortcode-functions.php:590
216
  msgid "Post / Page"
217
  msgstr ""
218
 
219
+ #: ../lib/yasr-shortcode-functions.php:553
220
+ #: ../lib/yasr-shortcode-functions.php:591
221
  msgid "Order By"
222
  msgstr ""
223
 
224
+ #: ../lib/yasr-shortcode-functions.php:553
225
+ #: ../lib/yasr-shortcode-functions.php:591
226
  msgid "Most Rated"
227
  msgstr ""
228
 
229
+ #: ../lib/yasr-shortcode-functions.php:553
230
+ #: ../lib/yasr-shortcode-functions.php:591
231
  msgid "Highest Rated"
232
  msgstr ""
233
 
234
+ #: ../lib/yasr-shortcode-functions.php:570
235
+ #: ../lib/yasr-shortcode-functions.php:605
236
  msgid "Total:"
237
  msgstr ""
238
 
239
+ #: ../lib/yasr-shortcode-functions.php:570
240
+ #: ../lib/yasr-shortcode-functions.php:605
241
  msgid "Average"
242
  msgstr ""
243
 
244
+ #: ../lib/yasr-shortcode-functions.php:582
245
  msgid "You've not enough data"
246
  msgstr ""
247
 
248
+ #: ../lib/yasr-shortcode-functions.php:617
249
  msgid "You've not enought data"
250
  msgstr ""
251
 
252
+ #: ../lib/yasr-shortcode-functions.php:702
253
  msgid ""
254
  "Problem while retrieving the top 5 most active reviewers. Did you publish "
255
  "any review?"
256
  msgstr ""
257
 
258
+ #: ../lib/yasr-shortcode-functions.php:770
259
  msgid ""
260
  "Problem while retrieving the top 10 active users chart. Are you sure you "
261
  "have votes to show?"
286
  msgstr ""
287
 
288
  #: ../lib/yasr-settings-functions.php:55
 
 
 
 
289
  msgid "Allow only logged in user to vote?"
290
  msgstr ""
291
 
292
+ #: ../lib/yasr-settings-functions.php:56
293
  msgid "Which rich snippets do you want to use?"
294
  msgstr ""
295
 
296
+ #: ../lib/yasr-settings-functions.php:57
297
  msgid "How do you want to rate \"Overall Rating\"?"
298
  msgstr ""
299
 
300
+ #: ../lib/yasr-settings-functions.php:71
301
  msgid "Use Auto Insert?"
302
  msgstr ""
303
 
304
+ #: ../lib/yasr-settings-functions.php:74
305
+ #: ../lib/yasr-settings-functions.php:143
306
+ #: ../lib/yasr-settings-functions.php:161
307
+ #: ../lib/yasr-settings-functions.php:203
308
+ #: ../lib/yasr-settings-functions.php:229
309
+ #: ../lib/yasr-settings-functions.php:261
310
+ #: ../lib/yasr-settings-functions.php:296
311
  msgid "Yes"
312
  msgstr ""
313
 
314
+ #: ../lib/yasr-settings-functions.php:88
315
+ #: ../lib/yasr-settings-functions.php:148
316
+ #: ../lib/yasr-settings-functions.php:166
317
+ #: ../lib/yasr-settings-functions.php:208
318
+ #: ../lib/yasr-settings-functions.php:234
319
+ #: ../lib/yasr-settings-functions.php:266
320
+ #: ../lib/yasr-settings-functions.php:301
321
  msgid "No"
322
  msgstr ""
323
 
324
+ #: ../lib/yasr-settings-functions.php:94
325
  msgid "What?"
326
  msgstr ""
327
 
328
+ #: ../lib/yasr-settings-functions.php:97
329
  msgid "Overall Rating / Author Rating"
330
  msgstr ""
331
 
332
+ #: ../lib/yasr-settings-functions.php:101 ../lib/yasr-ajax-functions.php:462
333
  msgid "Visitor Votes"
334
  msgstr ""
335
 
336
+ #: ../lib/yasr-settings-functions.php:105
337
  msgid "Both"
338
  msgstr ""
339
 
340
+ #: ../lib/yasr-settings-functions.php:109
341
  msgid "Where?"
342
  msgstr ""
343
 
344
+ #: ../lib/yasr-settings-functions.php:112
345
  msgid "Before the post"
346
  msgstr ""
347
 
348
+ #: ../lib/yasr-settings-functions.php:116
349
  msgid "After the post"
350
  msgstr ""
351
 
352
+ #: ../lib/yasr-settings-functions.php:121
353
  msgid "Size"
354
  msgstr ""
355
 
356
+ #: ../lib/yasr-settings-functions.php:125 ../lib/yasr-ajax-functions.php:452
357
  #: ../lib/yasr-ajax-functions.php:470
358
  msgid "Small"
359
  msgstr ""
360
 
361
+ #: ../lib/yasr-settings-functions.php:130 ../lib/yasr-ajax-functions.php:453
362
  #: ../lib/yasr-ajax-functions.php:471
363
  msgid "Medium"
364
  msgstr ""
365
 
366
+ #: ../lib/yasr-settings-functions.php:135 ../lib/yasr-ajax-functions.php:454
367
  #: ../lib/yasr-ajax-functions.php:472
368
  msgid "Large"
369
  msgstr ""
370
 
371
+ #: ../lib/yasr-settings-functions.php:140
372
  msgid "Exclude Pages?"
373
  msgstr ""
374
 
375
+ #: ../lib/yasr-settings-functions.php:158
376
  msgid "Use only in custom post types?"
377
  msgstr ""
378
 
379
+ #: ../lib/yasr-settings-functions.php:170
380
  msgid "You see this because you use custom post types."
381
  msgstr ""
382
 
383
+ #: ../lib/yasr-settings-functions.php:172
384
  msgid "If you want to use auto insert only in custom post types, choose Yes"
385
  msgstr ""
386
 
387
+ #: ../lib/yasr-settings-functions.php:212
388
  msgid ""
389
  "If you enable this, \"Overall Rating\" will be showed not only in the single "
390
  "article or page, but also in pages like Home Page, category pages or "
391
  "archives."
392
  msgstr ""
393
 
394
+ #: ../lib/yasr-settings-functions.php:238
395
  msgid ""
396
  "If you enable this, \"Visitor Votes\" will be showed not only in the single "
397
  "article or page, but also in pages like Home Page, category pages or "
398
  "archives."
399
  msgstr ""
400
 
401
+ #: ../lib/yasr-settings-functions.php:271
402
  msgid "Custom text to display before Overall Rating"
403
  msgstr ""
404
 
405
+ #: ../lib/yasr-settings-functions.php:276
406
  msgid "Custom text to display before Visitor Rating"
407
  msgstr ""
408
 
409
+ #: ../lib/yasr-settings-functions.php:281
410
  msgid "Custom text to display when a non logged user has already rated"
411
  msgstr ""
412
 
413
+ #: ../lib/yasr-settings-functions.php:319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
414
  msgid "Allow only logged-in users"
415
  msgstr ""
416
 
417
+ #: ../lib/yasr-settings-functions.php:323
418
  msgid "Allow everybody (logged in and anonymous)"
419
  msgstr ""
420
 
421
+ #: ../lib/yasr-settings-functions.php:340
422
  msgid "Review Rating"
423
  msgstr ""
424
 
425
+ #: ../lib/yasr-settings-functions.php:344
426
  msgid "Aggregate Rating"
427
  msgstr ""
428
 
429
+ #: ../lib/yasr-settings-functions.php:349
430
  msgid "What is this?"
431
  msgstr ""
432
 
433
+ #: ../lib/yasr-settings-functions.php:354
434
  msgid ""
435
  "If you select \"Review Rating\", your site will be indexed from search "
436
  "engines like this: "
437
  msgstr ""
438
 
439
+ #: ../lib/yasr-settings-functions.php:359
440
  msgid ""
441
  "If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
442
  "this"
443
  msgstr ""
444
 
445
+ #: ../lib/yasr-settings-functions.php:377
446
  msgid "Stars"
447
  msgstr ""
448
 
449
+ #: ../lib/yasr-settings-functions.php:381
450
  msgid "Numbers"
451
  msgstr ""
452
 
453
+ #: ../lib/yasr-settings-functions.php:406
454
+ msgid "Which color scheme do you want to use?"
455
+ msgstr ""
456
+
457
+ #: ../lib/yasr-settings-functions.php:427
458
+ msgid "Light"
459
+ msgstr ""
460
+
461
  #: ../lib/yasr-settings-functions.php:432
462
+ msgid "Dark"
463
+ msgstr ""
464
+
465
+ #: ../lib/yasr-settings-functions.php:437
466
+ msgid "Preview"
467
+ msgstr ""
468
+
469
+ #: ../lib/yasr-settings-functions.php:442
470
+ msgid "Light theme"
471
+ msgstr ""
472
+
473
+ #: ../lib/yasr-settings-functions.php:447
474
+ msgid "Dark theme"
475
+ msgstr ""
476
+
477
+ #: ../lib/yasr-settings-functions.php:462
478
  msgid "Add New Multiple Set"
479
  msgstr ""
480
 
481
+ #: ../lib/yasr-settings-functions.php:463
482
  msgid ""
483
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
484
  "characters"
485
  msgstr ""
486
 
487
+ #: ../lib/yasr-settings-functions.php:466
488
  msgid "Name"
489
  msgstr ""
490
 
491
+ #: ../lib/yasr-settings-functions.php:471
492
  msgid "You can insert up to nine elements"
493
  msgstr ""
494
 
495
+ #: ../lib/yasr-settings-functions.php:476
496
  msgid "Element "
497
  msgstr ""
498
 
499
+ #: ../lib/yasr-settings-functions.php:486
500
  msgid "Create New Set"
501
  msgstr ""
502
 
503
+ #: ../lib/yasr-settings-functions.php:507
504
+ #: ../lib/yasr-settings-functions.php:539
505
  msgid "Manage Multiple Set"
506
  msgstr ""
507
 
508
+ #: ../lib/yasr-settings-functions.php:509
509
  msgid "Wich set do you want to edit or remove?"
510
  msgstr ""
511
 
512
+ #: ../lib/yasr-settings-functions.php:549
513
+ #: ../lib/yasr-settings-functions.php:667
514
  msgid "Field name"
515
  msgstr ""
516
 
517
+ #: ../lib/yasr-settings-functions.php:553
518
+ #: ../lib/yasr-settings-functions.php:671
519
  msgid "Remove"
520
  msgstr ""
521
 
522
+ #: ../lib/yasr-settings-functions.php:595
523
+ #: ../lib/yasr-settings-functions.php:713
524
  msgid "Remove whole set?"
525
  msgstr ""
526
 
527
+ #: ../lib/yasr-settings-functions.php:608
528
+ #: ../lib/yasr-settings-functions.php:726
529
  msgid ""
530
  "If you remove something you will remove all the votes for that set or field. "
531
  "This operation CAN'T BE undone."
532
  msgstr ""
533
 
534
+ #: ../lib/yasr-settings-functions.php:615
535
+ #: ../lib/yasr-settings-functions.php:733
536
  msgid "You can use up to 9 elements"
537
  msgstr ""
538
 
539
+ #: ../lib/yasr-settings-functions.php:617
540
+ #: ../lib/yasr-settings-functions.php:735
541
  msgid "Add element"
542
  msgstr ""
543
 
544
+ #: ../lib/yasr-settings-functions.php:619
545
+ #: ../lib/yasr-settings-functions.php:737
546
  msgid "Save changes"
547
  msgstr ""
548
 
549
+ #: ../lib/yasr-settings-functions.php:629
550
  msgid "No Multiple Set were found"
551
  msgstr ""
552
 
553
+ #: ../lib/yasr-settings-functions.php:879
554
+ #: ../lib/yasr-settings-functions.php:1147
555
  msgid "Settings Saved"
556
  msgstr ""
557
 
558
+ #: ../lib/yasr-settings-functions.php:884
559
  msgid "Something goes wrong trying insert set field name. Please report it"
560
  msgstr ""
561
 
562
+ #: ../lib/yasr-settings-functions.php:890
563
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
564
  msgstr ""
565
 
566
+ #: ../lib/yasr-settings-functions.php:965
567
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
568
  msgstr ""
569
 
570
+ #: ../lib/yasr-settings-functions.php:1011
571
  msgid ""
572
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
573
  msgstr ""
574
 
575
+ #: ../lib/yasr-settings-functions.php:1075
576
  msgid ""
577
  "Something goes wrong trying to update a Multi Set's element. Please report it"
578
  msgstr ""
579
 
580
+ #: ../lib/yasr-settings-functions.php:1132
581
  msgid ""
582
  "Something goes wrong trying to insert set field name in edit form. Please "
583
  "report it"
584
  msgstr ""
585
 
586
+ #: ../lib/yasr-settings-functions.php:1175
587
  msgid "Style Options"
588
  msgstr ""
589
 
590
+ #: ../lib/yasr-settings-functions.php:1176
591
  msgid "Custom CSS Styles"
592
  msgstr ""
593
 
594
+ #: ../lib/yasr-settings-functions.php:1181
595
  msgid ""
596
  "Please use text area below to write your own CSS styles to override the "
597
  "default ones."
598
  msgstr ""
599
 
600
+ #: ../lib/yasr-settings-functions.php:1183
601
  msgid "Leave it blank if you don't know what you're doing"
602
  msgstr ""
603
 
604
+ #: ../lib/yasr-settings-functions.php:1206
605
  msgid "Looking for more features?"
606
  msgstr ""
607
 
608
+ #: ../lib/yasr-settings-functions.php:1207
609
  msgid "Upgrade to yasr pro!"
610
  msgstr ""
611
 
612
+ #: ../lib/yasr-settings-functions.php:1223
613
  msgid "Unlimited ratings and votes"
614
  msgstr ""
615
 
616
+ #: ../lib/yasr-settings-functions.php:1229
617
  msgid "Works with shortcodes"
618
  msgstr ""
619
 
620
+ #: ../lib/yasr-settings-functions.php:1235
621
  msgid "Multi Set Support"
622
  msgstr ""
623
 
624
+ #: ../lib/yasr-settings-functions.php:1240
625
  msgid "Logs and stats for visitors votes"
626
  msgstr ""
627
 
628
+ #: ../lib/yasr-settings-functions.php:1245
629
  msgid "Localization (.po and .mo files included)"
630
  msgstr ""
631
 
632
+ #: ../lib/yasr-settings-functions.php:1250
633
  msgid "Rich Snippet Support"
634
  msgstr ""
635
 
636
+ #: ../lib/yasr-settings-functions.php:1255
637
  msgid "Rankings for reviews, votes and users"
638
  msgstr ""
639
 
640
+ #: ../lib/yasr-settings-functions.php:1260
641
  msgid "Rankings Customization"
642
  msgstr ""
643
 
644
+ #: ../lib/yasr-settings-functions.php:1265
645
  msgid "Stars Customization"
646
  msgstr ""
647
 
648
+ #: ../lib/yasr-settings-functions.php:1266
649
  msgid "Size Only"
650
  msgstr ""
651
 
652
+ #: ../lib/yasr-settings-functions.php:1267
653
  msgid ""
654
  "Users can choose different ready to use sets or can upload their own images."
655
  msgstr ""
656
 
657
+ #: ../lib/yasr-settings-functions.php:1270
658
  msgid "Visitors can vote on Multi Set"
659
  msgstr ""
660
 
661
+ #: ../lib/yasr-settings-functions.php:1275
662
  msgid "Users can review in comments"
663
  msgstr ""
664
 
665
+ #: ../lib/yasr-settings-functions.php:1286
666
  msgid "Not avaible yet"
667
  msgstr ""
668
 
669
+ #: ../lib/yasr-settings-functions.php:1318
670
+ #: ../lib/yasr-settings-functions.php:1345
671
  msgid "Follow YASR official site!"
672
  msgstr ""
673
 
674
+ #: ../lib/yasr-settings-functions.php:1375
675
  msgid "No previous Gd Star Rating installation was found"
676
  msgstr ""
677
 
678
+ #: ../lib/yasr-db-functions.php:286
679
  msgid "No recenet votes yet"
680
  msgstr ""
681
 
682
+ #: ../lib/yasr-db-functions.php:301 ../lib/yasr-ajax-functions.php:761
683
  msgid "anonymous"
684
  msgstr ""
685
 
686
+ #: ../lib/yasr-db-functions.php:310 ../lib/yasr-ajax-functions.php:770
687
+ #, php-format
688
+ msgid "Vote %d from %s on"
689
+ msgstr ""
690
+
691
+ #: ../lib/yasr-db-functions.php:326 ../lib/yasr-ajax-functions.php:786
692
  msgid "Ip address"
693
  msgstr ""
694
 
695
+ #: ../lib/yasr-db-functions.php:367 ../lib/yasr-ajax-functions.php:827
696
  msgid "Pages"
697
  msgstr ""
698
 
939
  msgid "No Recenet votes yet"
940
  msgstr ""
941
 
942
+ #: ../lib/yasr-ajax-functions.php:920 ../lib/yasr-ajax-functions.php:1064
943
  msgid "Error: you can't vote 0"
944
  msgstr ""
945
 
946
+ #: ../lib/yasr-ajax-functions.php:1016 ../lib/yasr-ajax-functions.php:1024
947
  msgid "Average rating"
948
  msgstr ""
949
 
950
+ #: ../lib/yasr-ajax-functions.php:1017 ../lib/yasr-ajax-functions.php:1025
951
  msgid "Vote Saved"
952
  msgstr ""
953
 
954
+ #: ../lib/yasr-ajax-functions.php:1160
955
  msgid "Vote updated"
956
  msgstr ""
957
 
958
+ #: ../lib/yasr-ajax-functions.php:1235
959
  msgid "Average "
960
  msgstr ""
961
 
962
+ #: ../lib/yasr-ajax-functions.php:1246
963
  msgid "You've already voted this article"
964
  msgstr ""
965
 
966
+ #: ../lib/yasr-ajax-functions.php:1366
967
  msgid "stars"
968
  msgstr ""
969
 
970
+ #: ../lib/yasr-ajax-functions.php:1371
971
  msgid "star"
972
  msgstr ""
lib/yasr-ajax-functions.php CHANGED
@@ -229,9 +229,11 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
229
  'post_id'=>$post_id,
230
  'field_id'=>$name->id,
231
  'votes'=>'-1',
232
- 'set_type'=>$set_type
 
 
233
  ),
234
- array ("%d", "%d", "%d", "%s", "%d")
235
  );
236
 
237
  echo "<tr> <td>";
@@ -252,9 +254,10 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
252
 
253
  echo "<p>";
254
 
255
- _e("Remember to insert this shortcode", "yasr");
256
- echo "<strong> [yasr_multiset setid=$set_type] </strong>";
257
- _e("where you want to display this multi set", "yasr");
 
258
 
259
  echo "</p>";
260
 
@@ -295,9 +298,10 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
295
 
296
  echo "<p>";
297
 
298
- _e("Remember to insert this shortcode", "yasr");
299
- echo "<strong> [yasr_multiset setid=$set_type] </strong>";
300
- _e("where you want to display this multi set", "yasr");
 
301
 
302
  echo "</p>";
303
  }
@@ -336,70 +340,75 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
336
  die( 'Security check' );
337
  }
338
 
339
- global $wpdb;
340
-
341
- //Check if vote already exist
342
- $vote_already_exist=$wpdb->get_results($wpdb->prepare("SELECT id FROM " . YASR_MULTI_SET_VALUES_TABLE . "
343
- WHERE post_id = %d
344
- AND set_type = %d
345
- AND field_id = %d
346
- ",
347
- $post_id, $set_type, $id_field));
348
-
349
- //If vote already exist, overwrite it
350
- if ($vote_already_exist) {
351
- foreach ($vote_already_exist as $index_id) {
352
- $id = $index_id->id;
353
- }
354
- $query_success=$wpdb->replace(
355
- YASR_MULTI_SET_VALUES_TABLE,
356
- array (
357
- 'id'=>$id,
358
- 'post_id'=>$post_id,
359
- 'field_id'=>$id_field,
360
- 'votes'=>$vote,
361
- 'set_type'=>$set_type
362
- ),
363
- array ("%d", "%d", "%d", "%s", "%d")
364
- );
365
- if($query_success) {
366
- echo $vote;
367
- }
368
- } //End if vote already exist
369
-
370
- //If vote doesn't exist create a new one
371
- else {
372
-
373
- //get the highest id in table
374
- $highest_id=$wpdb->get_results("SELECT id FROM " . YASR_MULTI_SET_VALUES_TABLE . " ORDER BY id DESC LIMIT 1 ");
375
-
376
- if (!$highest_id) {
377
- $new_id=0;
378
- }
379
-
380
- foreach ($highest_id as $id) {
381
- $new_id=$id->id + 1;
382
- }
383
 
384
- $result=$wpdb->replace(
385
- YASR_MULTI_SET_VALUES_TABLE,
386
- array (
387
- 'id' => $new_id,
 
 
 
 
 
 
 
 
 
 
 
 
 
388
  'post_id'=>$post_id,
389
  'field_id'=>$id_field,
390
  'votes'=>$vote,
391
  'set_type'=>$set_type
392
  ),
393
- array ("%d", "%d", "%s", "%d")
394
- );
 
 
 
 
395
 
396
- if($result) {
397
- echo $vote;
398
- }
 
399
 
400
- } //End else
 
401
 
402
- die();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
403
 
404
  } //End callback function
405
 
@@ -407,7 +416,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
407
 
408
  /****** Create the content for the button shortcode in Tinymce ******/
409
 
410
- //Add ajax action that will be called from the .js for button in tinymce
411
  add_action('wp_ajax_yasr_create_shortcode', 'wp_ajax_yasr_create_shortcode_callback');
412
 
413
  function wp_ajax_yasr_create_shortcode_callback() {
@@ -415,8 +424,8 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
415
  $action=$_POST['action'];
416
  }
417
  else {
418
- exit();
419
- }
420
 
421
  global $wpdb;
422
 
@@ -485,7 +494,13 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
485
  <input type="radio" value="<?php echo $name->set_id ?>" name="yasr_tinymce_pick_set" class="yasr_tinymce_select_set"><?php echo $name->set_name ?>
486
  <br />
487
  <?php } //End foreach ?>
488
- <small><?php _e("Choose wich set you want to insert.", "yasr"); ?></small>
 
 
 
 
 
 
489
  </td>
490
  </tr>
491
 
@@ -496,8 +511,10 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
496
  <th><label for="yasr-size"><?php _e("Insert Multiset:", "yasr"); ?></label></th>
497
  <td>
498
  <?php foreach ($multi_set as $name) { ?>
499
- <button type="button" class="button-primary" id="yasr-single-set" name="yasr-single-set" value="<?php echo $name->set_id ?>" ><?php _e("Insert Multiple Set", "yasr"); ?></button><br />
500
- <small><?php _e("Insert multiple set in this post ?", "yasr"); ?></small>
 
 
501
  <?php } //End foreach ?>
502
  </td>
503
  </tr>
@@ -718,7 +735,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
718
  declared on yasr-db-function ******/
719
 
720
 
721
- add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
722
 
723
  function yasr_change_log_page_callback () {
724
 
@@ -1013,7 +1030,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
1013
  $medium_rating = round ($total_rating, 1);
1014
 
1015
  echo "<div class=\"$rateit_class\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"$px_size\" data-rateit-starheight=\"$px_size\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
1016
- <span class=\"yasr-total-average-text\" title=\"yasr-stats\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . " $medium_rating/5 ]</span>
1017
  <span class=\"yasr-small-block-bold\" id=\"yasr-vote-saved\">" . __("Vote Saved" , "yasr") . "</span>";
1018
 
1019
  }
@@ -1021,7 +1038,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
1021
  elseif ($new_row_result) {
1022
 
1023
  echo "<div class=\"$rateit_class\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"$px_size\" data-rateit-starheight=\"$px_size\" data-rateit-value=\"$rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
1024
- <span class=\"yasr-total-average-text\" title=\"yasr-stats\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . " $rating/5 ]</span>
1025
  <span class=\"yasr-small-block-bold\" id=\"yasr-vote-saved\">" . __("Vote Saved" , "yasr") . "</span>";
1026
 
1027
  }
@@ -1409,4 +1426,122 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
1409
 
1410
  }
1411
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1412
  ?>
229
  'post_id'=>$post_id,
230
  'field_id'=>$name->id,
231
  'votes'=>'-1',
232
+ 'set_type'=>$set_type,
233
+ 'number_of_votes' => '0',
234
+ 'sum_votes' => '0'
235
  ),
236
+ array ("%d", "%d", "%d", "%s", "%d", "%d", "%d")
237
  );
238
 
239
  echo "<tr> <td>";
254
 
255
  echo "<p>";
256
 
257
+ _e("If you want to insert this multiset, paste this shortcode ", "yasr");
258
+ echo "<strong> [yasr_multiset setid=$set_type] </strong> <br />";
259
+ _e("If, instead, you want allow your visitor to vote on this multiset, use this shortcode", "yasr");
260
+ echo "<strong> [yasr_visitor_multiset setid=$set_type] </strong>. In this case, you don't need to vote here <br />";
261
 
262
  echo "</p>";
263
 
298
 
299
  echo "<p>";
300
 
301
+ _e("If you want to insert this multiset, paste this shortcode ", "yasr");
302
+ echo "<strong> [yasr_multiset setid=$set_type] </strong> <br />";
303
+ _e("If, instead, you want allow your visitor to vote on this multiset, use this shortcode", "yasr");
304
+ echo "<strong> [yasr_visitor_multiset setid=$set_type] </strong>. In this case, you don't need to vote here <br />";
305
 
306
  echo "</p>";
307
  }
340
  die( 'Security check' );
341
  }
342
 
343
+ global $wpdb;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
 
345
+ //Check if vote already exist
346
+ $vote_already_exist=$wpdb->get_results($wpdb->prepare("SELECT id FROM " . YASR_MULTI_SET_VALUES_TABLE . "
347
+ WHERE post_id = %d
348
+ AND set_type = %d
349
+ AND field_id = %d
350
+ ",
351
+ $post_id, $set_type, $id_field));
352
+
353
+ //If vote already exist, overwrite it
354
+ if ($vote_already_exist) {
355
+ foreach ($vote_already_exist as $index_id) {
356
+ $id = $index_id->id;
357
+ }
358
+ $query_success=$wpdb->update(
359
+ YASR_MULTI_SET_VALUES_TABLE,
360
+ array (
361
+ 'id'=>$id,
362
  'post_id'=>$post_id,
363
  'field_id'=>$id_field,
364
  'votes'=>$vote,
365
  'set_type'=>$set_type
366
  ),
367
+ array (
368
+ 'id'=>$id
369
+ ),
370
+ array ("%d", "%d", "%d", "%s", "%d"),
371
+ array ("%d")
372
+ );
373
 
374
+ if($query_success) {
375
+ echo $vote;
376
+ }
377
+ } //End if vote already exist
378
 
379
+ //If vote doesn't exist create a new one
380
+ else {
381
 
382
+ //get the highest id in table
383
+ $highest_id=$wpdb->get_results("SELECT id FROM " . YASR_MULTI_SET_VALUES_TABLE . " ORDER BY id DESC LIMIT 1 ");
384
+
385
+ if (!$highest_id) {
386
+ $new_id=0;
387
+ }
388
+
389
+ foreach ($highest_id as $id) {
390
+ $new_id=$id->id + 1;
391
+ }
392
+
393
+ $result=$wpdb->replace(
394
+ YASR_MULTI_SET_VALUES_TABLE,
395
+ array (
396
+ 'id' => $new_id,
397
+ 'post_id'=>$post_id,
398
+ 'field_id'=>$id_field,
399
+ 'votes'=>$vote,
400
+ 'set_type'=>$set_type
401
+ ),
402
+ array ("%d", "%d", "%s", "%d")
403
+ );
404
+
405
+ if($result) {
406
+ echo $vote;
407
+ }
408
+
409
+ } //End else
410
+
411
+ die();
412
 
413
  } //End callback function
414
 
416
 
417
  /****** Create the content for the button shortcode in Tinymce ******/
418
 
419
+ //Add ajax action that will be called from the .js for button in tinymce
420
  add_action('wp_ajax_yasr_create_shortcode', 'wp_ajax_yasr_create_shortcode_callback');
421
 
422
  function wp_ajax_yasr_create_shortcode_callback() {
424
  $action=$_POST['action'];
425
  }
426
  else {
427
+ exit();
428
+ }
429
 
430
  global $wpdb;
431
 
494
  <input type="radio" value="<?php echo $name->set_id ?>" name="yasr_tinymce_pick_set" class="yasr_tinymce_select_set"><?php echo $name->set_name ?>
495
  <br />
496
  <?php } //End foreach ?>
497
+ <small><?php _e("Choose wich set you want to insert.", "yasr"); ?></small>
498
+ <p>
499
+ <input type="checkbox" id="yasr-allow-vote-multiset"><?php _e("Readonly?", "yasr"); ?><br />
500
+ </p>
501
+ <small><?php _e("If Readonly is checked, only you can insert the votes (in the box above the editor)", "yasr"); ?></small>
502
+ <input type="button" class="button-primary" name="yasr-insert-multiset" id="yasr-insert-multiset-select" value="<?php _e("Insert Multi Set", "yasr") ?>" /><br />
503
+
504
  </td>
505
  </tr>
506
 
511
  <th><label for="yasr-size"><?php _e("Insert Multiset:", "yasr"); ?></label></th>
512
  <td>
513
  <?php foreach ($multi_set as $name) { ?>
514
+ <button type="button" class="button-primary" id="yasr-single-set" name="yasr-single-set" value="<?php echo $name->set_id ?>" ><?php _e("Insert Multiple Set", "yasr"); ?></button>
515
+ &nbsp;&nbsp;&nbsp;
516
+ <input type="checkbox" id="yasr-allow-vote-multiset"><?php _e("Readonly?", "yasr"); ?><br />
517
+ <small><?php _e("If Readonly is checked, only you can insert the votes (in the box above the editor)", "yasr"); ?></small>
518
  <?php } //End foreach ?>
519
  </td>
520
  </tr>
735
  declared on yasr-db-function ******/
736
 
737
 
738
+ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
739
 
740
  function yasr_change_log_page_callback () {
741
 
1030
  $medium_rating = round ($total_rating, 1);
1031
 
1032
  echo "<div class=\"$rateit_class\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"$px_size\" data-rateit-starheight=\"$px_size\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
1033
+ <span class=\"yasr-total-average-text\" title=\"yasr-stats\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average:", "yasr") . " $medium_rating/5 ]</span>
1034
  <span class=\"yasr-small-block-bold\" id=\"yasr-vote-saved\">" . __("Vote Saved" , "yasr") . "</span>";
1035
 
1036
  }
1038
  elseif ($new_row_result) {
1039
 
1040
  echo "<div class=\"$rateit_class\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"$px_size\" data-rateit-starheight=\"$px_size\" data-rateit-value=\"$rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
1041
+ <span class=\"yasr-total-average-text\" title=\"yasr-stats\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average:", "yasr") . " $rating/5 ]</span>
1042
  <span class=\"yasr-small-block-bold\" id=\"yasr-vote-saved\">" . __("Vote Saved" , "yasr") . "</span>";
1043
 
1044
  }
1426
 
1427
  }
1428
 
1429
+
1430
+ /****** Get Multiple value from visitor and insert into db, used in yasr-shortcode-functions ******/
1431
+
1432
+ add_action( 'wp_ajax_yasr_visitor_multiset_field_vote', 'yasr_visitor_multiset_field_vote_callback' );
1433
+ add_action ('wp_ajax_nopriv_yasr_visitor_multiset_field_vote', 'yasr_visitor_multiset_field_vote_callback');
1434
+
1435
+ function yasr_visitor_multiset_field_vote_callback() {
1436
+
1437
+ if (isset($_POST['post_id']) && isset($_POST['rating']) && isset($_POST['set_type'])) {
1438
+ $post_id = $_POST['post_id'];
1439
+ $rating = $_POST['rating'];
1440
+ $set_type = $_POST['set_type'];
1441
+ $nonce = $_POST['nonce'];
1442
+
1443
+ if ($post_id == '' || $set_type == '') {
1444
+ exit("Missing post id or set type");
1445
+ }
1446
+
1447
+ if ($rating == "") {
1448
+ exit("You must insert at least a rating");
1449
+ }
1450
+
1451
+ }
1452
+ else {
1453
+ exit();
1454
+ }
1455
+
1456
+ if ( ! wp_verify_nonce( $nonce, 'yasr_nonce_insert_visitor_rating_multiset' ) ) {
1457
+ die( 'Security check' );
1458
+ }
1459
+
1460
+ global $wpdb;
1461
+
1462
+ $array_error = array();
1463
+
1464
+ foreach ($rating as $rating_values) {
1465
+
1466
+ $id_field = $rating_values['field'];
1467
+ $rating = $rating_values['rating'];
1468
+
1469
+ //Find the existing votes
1470
+ $existing_vote=$wpdb->get_results($wpdb->prepare("SELECT number_of_votes, sum_votes FROM " . YASR_MULTI_SET_VALUES_TABLE . "
1471
+ WHERE post_id = %d
1472
+ AND set_type = %d
1473
+ AND field_id = %d
1474
+ ",
1475
+ $post_id, $set_type, $id_field));
1476
+
1477
+ foreach ($existing_vote as $user_votes) {
1478
+ $number_of_votes = $user_votes->number_of_votes;
1479
+ $user_votes_sum = $user_votes->sum_votes;
1480
+ }
1481
+
1482
+ $number_of_votes=$number_of_votes+1;
1483
+ $user_votes_sum=$user_votes_sum+$rating;
1484
+
1485
+
1486
+ $query_success=$wpdb->update(
1487
+ YASR_MULTI_SET_VALUES_TABLE,
1488
+ array (
1489
+ 'number_of_votes' => $number_of_votes,
1490
+ 'sum_votes' => $user_votes_sum,
1491
+ ),
1492
+ array (
1493
+ 'post_id' => $post_id,
1494
+ 'field_id' => $id_field,
1495
+ 'set_type' => $set_type
1496
+ ),
1497
+ array('%d', '%s' ),
1498
+ array( '%d', '%d', '%d' )
1499
+ );
1500
+
1501
+ if ($query_success) {
1502
+
1503
+ $array_error[] = 0;
1504
+
1505
+ }
1506
+
1507
+ else {
1508
+
1509
+ $array_error[] = 1;
1510
+
1511
+ }
1512
+
1513
+ } //End foreach ($rating as $rating_values)
1514
+
1515
+ $error_found = FALSE;
1516
+
1517
+ foreach ($array_error as $error) {
1518
+
1519
+ if ($error === 1) {
1520
+
1521
+ $error_found = TRUE;
1522
+
1523
+ }
1524
+
1525
+ }
1526
+
1527
+ if(!$error_found) {
1528
+
1529
+ $cookiename = 'yasr_multi_visitor_cookie_' . $post_id;
1530
+
1531
+ yasr_setcookie($cookiename, 'true');
1532
+
1533
+ _e('Rating saved!', 'yasr');
1534
+
1535
+ }
1536
+
1537
+ else {
1538
+
1539
+ _e('Rating not saved. Please Try again', 'yasr');
1540
+
1541
+ }
1542
+
1543
+ die();
1544
+
1545
+ } //End callback function
1546
+
1547
  ?>
lib/yasr-db-functions.php CHANGED
@@ -181,6 +181,8 @@ function yasr_get_snippet_type() {
181
  $snippet_type = $snippet->review_type;
182
  }
183
 
 
 
184
  return $snippet_type;
185
  }
186
 
@@ -219,6 +221,27 @@ function yasr_get_multi_set_values_and_field ($post_id, $set_type) {
219
  return $result;
220
  }
221
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  /****** Get visitor votes ******/
223
  function yasr_get_visitor_votes ($post_id_referenced=FALSE) {
224
  global $wpdb;
@@ -318,7 +341,7 @@ add_action( 'plugins_loaded', 'add_action_dashboard_widget_log' );
318
  </div>
319
 
320
  <div id=\"yasr-log-child-head\">
321
- <span id=\"yasr-log-vote\">$yasr_log_vote_text</span><span id=\"yasr-log-post\"><a href=\"$link\"> $title_post</a></span>
322
  </div>
323
 
324
  <div id=\"yasr-log-ip-date\">
181
  $snippet_type = $snippet->review_type;
182
  }
183
 
184
+ $snippet_type = trim($snippet_type);
185
+
186
  return $snippet_type;
187
  }
188
 
221
  return $result;
222
  }
223
 
224
+
225
+ /****** Get multi set visitor votes ******/
226
+ function yasr_get_multi_set_visitor ($post_id, $set_type) {
227
+
228
+ global $wpdb;
229
+
230
+ $result=$wpdb->get_results($wpdb->prepare("SELECT f.field_name AS name, f.field_id AS id, v.number_of_votes AS number_of_votes, v.sum_votes AS sum_votes
231
+ FROM " . YASR_MULTI_SET_FIELDS_TABLE . " AS f, " . YASR_MULTI_SET_VALUES_TABLE . " AS v
232
+ WHERE f.parent_set_id=$set_type
233
+ AND f.field_id = v.field_id
234
+ AND v.post_id = %d
235
+ AND v.set_type = %d
236
+ AND f.parent_set_id=v.set_type
237
+ ORDER BY f.field_id ASC", $post_id, $set_type));
238
+
239
+ return $result;
240
+
241
+ }
242
+
243
+
244
+
245
  /****** Get visitor votes ******/
246
  function yasr_get_visitor_votes ($post_id_referenced=FALSE) {
247
  global $wpdb;
341
  </div>
342
 
343
  <div id=\"yasr-log-child-head\">
344
+ <span id=\"yasr-log-vote\">$yasr_log_vote_text</span><span id=\"yasr-log-post\"><a href=\"$link\">$title_post</a></span>
345
  </div>
346
 
347
  <div id=\"yasr-log-ip-date\">
lib/yasr-functions.php CHANGED
@@ -294,12 +294,12 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
294
  if(is_singular() && is_main_query() ) {
295
  global $post;
296
 
297
- if ($review_choosen == 'Place') {
298
  $title = "<span itemprop=\"itemReviewed\" itemscope itemtype=\"http://schema.org/LocalBusiness\"> <span itemprop=\"name\">". get_the_title() ."</span></span>";
299
  }
300
 
301
- if ($review_choosen == 'Other') {
302
- $title = "<span itemprop=\"itemReviewed\" itemscope itemType=\"http://schema.org/BlogPosting\"> <span itemprop=\"name\">". get_the_title() ."</span></span>";
303
  }
304
 
305
  else {
@@ -447,7 +447,7 @@ add_action( 'admin_init', 'yasr_get_custom_post_type');
447
 
448
  }
449
 
450
-
451
  function yasr_wp_super_cache_support($post_id) {
452
 
453
  if(function_exists('wp_cache_post_change')) {
@@ -456,4 +456,16 @@ function yasr_wp_super_cache_support($post_id) {
456
 
457
  }
458
 
 
 
 
 
 
 
 
 
 
 
 
 
459
  ?>
294
  if(is_singular() && is_main_query() ) {
295
  global $post;
296
 
297
+ if ($review_choosen == "Place") {
298
  $title = "<span itemprop=\"itemReviewed\" itemscope itemtype=\"http://schema.org/LocalBusiness\"> <span itemprop=\"name\">". get_the_title() ."</span></span>";
299
  }
300
 
301
+ elseif ($review_choosen == "Other") {
302
+ $title = "<span itemprop=\"itemReviewed\" itemscope itemType=\"http://schema.org/BlogPosting\"> <span itemprop=\"name\">". get_the_title() ."</span></span>";
303
  }
304
 
305
  else {
447
 
448
  }
449
 
450
+ /*** Add support for wp super cache ***/
451
  function yasr_wp_super_cache_support($post_id) {
452
 
453
  if(function_exists('wp_cache_post_change')) {
456
 
457
  }
458
 
459
+
460
+ /*** Function to set cookie ***/
461
+ function yasr_setcookie($cookiename, $value) {
462
+
463
+ if (!$value || !$cookiename) {
464
+ exit();
465
+ }
466
+
467
+ setcookie( $cookiename, $value, time() + 31536000, COOKIEPATH, COOKIE_DOMAIN );
468
+
469
+ }
470
+
471
  ?>
lib/yasr-settings-functions.php CHANGED
@@ -1266,11 +1266,6 @@ function yasr_go_pro () {
1266
  <td><?php _e("Size Only" , "yasr"); ?></td>
1267
  <td> <img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /> <br /><?php _e("Users can choose different ready to use sets or can upload their own images." , "yasr"); ?></td>
1268
  </tr>
1269
- <tr>
1270
- <td class="rowTitle"><?php _e("Visitors can vote on Multi Set" , "yasr"); ?></td>
1271
- <td><img src=<?php echo YASR_IMG_DIR . '/addRedX2.png' ?> alt='icon' /></td>
1272
- <td><img src=<?php echo YASR_IMG_DIR . '/addExclamation.png' ?> alt='icon' /></td>
1273
- </tr>
1274
  <tr>
1275
  <td class="rowTitle"><?php _e("Users can review in comments" , "yasr"); ?></td>
1276
  <td><img src=<?php echo YASR_IMG_DIR . '/addRedX2.png' ?> alt='icon' /></td>
1266
  <td><?php _e("Size Only" , "yasr"); ?></td>
1267
  <td> <img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /> <br /><?php _e("Users can choose different ready to use sets or can upload their own images." , "yasr"); ?></td>
1268
  </tr>
 
 
 
 
 
1269
  <tr>
1270
  <td class="rowTitle"><?php _e("Users can review in comments" , "yasr"); ?></td>
1271
  <td><img src=<?php echo YASR_IMG_DIR . '/addRedX2.png' ?> alt='icon' /></td>
lib/yasr-shortcode-functions.php CHANGED
@@ -388,10 +388,10 @@ function yasr_visitor_votes_readonly_callback ($atts) {
388
  $px_size = '32';
389
  }
390
 
391
- $shortcode_html = "<div id=\"yasr_visitor_votes_$post_id\" class=\"yasr-visitor-votes\">";
392
  $span_after_rate_it = "";
393
 
394
- $shortcode_html .= "<div class=\"$rateit_class\" id=\"yasr_rateit_visitor_votes_$post_id\" data-rateit-starwidth=\"$px_size\" data-rateit-starheight=\"$px_size\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>";
395
 
396
  $shortcode_html .= "</div>";
397
 
@@ -419,7 +419,6 @@ function yasr_visitor_votes_readonly_callback ($atts) {
419
  } //End function shortcode_visitor_votes_only_stars_callback
420
 
421
 
422
-
423
  /****** Add shortcode for multiple set ******/
424
 
425
  add_shortcode ('yasr_multiset', 'shortcode_multi_set_callback');
@@ -437,6 +436,8 @@ function shortcode_multi_set_callback( $atts ) {
437
  ), $atts )
438
  );
439
 
 
 
440
  $set_name_content=yasr_get_multi_set_values_and_field ($post_id, $setid);
441
 
442
  if ($set_name_content) {
@@ -449,25 +450,151 @@ function shortcode_multi_set_callback( $atts ) {
449
  $shortcode_html.="</table>";
450
  }
451
 
452
- //If there is not vote for that set...i.e. add shortcode without initialize it
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
453
  else {
454
- $set_name=$wpdb->get_results("SELECT field_name AS name, field_id AS id
455
- FROM " . YASR_MULTI_SET_FIELDS_TABLE . "
456
- WHERE parent_set_id=$setid
457
- ORDER BY field_id ASC");
458
 
459
- $shortcode_html="<table class=\"yasr_table_multi_set_shortcode\">";
 
460
 
461
- foreach ($set_name as $set_content) {
462
- $shortcode_html .= "<tr> <td><span class=\"yasr-multi-set-name-field\">$set_content->name </span></td>
463
- <td><div class=\"rateit\" id=\"$set_content->id\" data-rateit-value=\"0\" data-rateit-step=\"0.5\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div></td>
464
- </tr>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
465
  }
466
- $shortcode_html.="</table>";
467
-
 
 
 
 
 
 
 
468
  }
469
- return $shortcode_html;
470
- } //End function
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
471
 
472
 
473
 
@@ -772,4 +899,5 @@ function yasr_top_ten_active_users_callback () {
772
 
773
 
774
  } //End function
 
775
  ?>
388
  $px_size = '32';
389
  }
390
 
391
+ $shortcode_html = "<div id=\"yasr_visitor_votes_$post_id\" class=\"yasr-visitor-votes_readonly\">";
392
  $span_after_rate_it = "";
393
 
394
+ $shortcode_html .= "<div class=\"$rateit_class\" id=\"yasr_rateit_visitor_votes_readonly_$post_id\" data-rateit-starwidth=\"$px_size\" data-rateit-starheight=\"$px_size\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>";
395
 
396
  $shortcode_html .= "</div>";
397
 
419
  } //End function shortcode_visitor_votes_only_stars_callback
420
 
421
 
 
422
  /****** Add shortcode for multiple set ******/
423
 
424
  add_shortcode ('yasr_multiset', 'shortcode_multi_set_callback');
436
  ), $atts )
437
  );
438
 
439
+ $shortcode_html = ""; //Avoid undefined variable if used a missing setid
440
+
441
  $set_name_content=yasr_get_multi_set_values_and_field ($post_id, $setid);
442
 
443
  if ($set_name_content) {
450
  $shortcode_html.="</table>";
451
  }
452
 
453
+ return $shortcode_html;
454
+ } //End function
455
+
456
+
457
+ /****** Add shortcode for multiset writable by users ******/
458
+
459
+ add_shortcode ('yasr_visitor_multiset', 'yasr_visitor_multiset_callback');
460
+
461
+ function yasr_visitor_multiset_callback ( $atts ) {
462
+
463
+ $post_id=get_the_id();
464
+
465
+ $ajax_nonce_visitor_multiset = wp_create_nonce( "yasr_nonce_insert_visitor_rating_multiset" );
466
+
467
+ global $wpdb;
468
+
469
+ // Attributes
470
+ extract( shortcode_atts(
471
+ array(
472
+ 'setid' => '1',
473
+ ), $atts )
474
+ );
475
+
476
+
477
+ $cookiename = 'yasr_multi_visitor_cookie_' . $post_id;
478
+
479
+ $image = YASR_IMG_DIR . "/loader.gif";
480
+
481
+ $loader_html = "<span class=\"yasr-loader-multiset-visitor\" id=\"yasr-loader-multiset-visitor-$post_id\" >&nbsp; " . __("Loading, please wait","yasr") . ' <img src=' . "$image" .' title="yasr-loader" alt="yasr-loader"></span>';
482
+
483
+
484
+ if (isset($_COOKIE[$cookiename])) {
485
+
486
+ $button = "";
487
+ $star_readonly = 'true';
488
+ $span_message_content = __('Thank you for voting! ', 'yasr');
489
+
490
+ }
491
+
492
  else {
 
 
 
 
493
 
494
+ //If user is not logged in
495
+ if (!is_user_logged_in()) {
496
 
497
+ if (YASR_ALLOWED_USER === 'allow_anonymous') {
498
+
499
+ $button = "<input type=\"submit\" name=\"submit\" id=\"yasr-send-visitor-multiset-$post_id\" class=\"button button-primary\" value=\"Vote!\" />";
500
+ $star_readonly = 'false';
501
+ $span_message_content = "";
502
+
503
+ }
504
+
505
+ elseif (YASR_ALLOWED_USER === 'logged_only') {
506
+
507
+ $button = "<input type=\"submit\" name=\"submit\" id=\"yasr-send-visitor-multiset-$post_id\" class=\"button button-primary\" value=\"Vote!\" />";
508
+ $star_readonly = 'true';
509
+ $span_message_content = __("You must sign to vote", "yasr");;
510
+
511
+ }
512
+
513
+
514
+ } //End if user logged in
515
+
516
+ //Is user is logged in
517
+ else {
518
+
519
+ $button = "<input type=\"submit\" name=\"submit\" id=\"yasr-send-visitor-multiset-$post_id\" class=\"button button-primary\" value=\"Vote!\" />";
520
+ $star_readonly = 'false';
521
+ $span_message_content = "";
522
+
523
+ }
524
+
525
+ }
526
+
527
+ $set_name_content = yasr_get_multi_set_visitor ($post_id, $setid);
528
+
529
+ if ($set_name_content) {
530
+
531
+ $shortcode_html="<table class=\"yasr_table_multi_set_shortcode\">";
532
+
533
+ foreach ($set_name_content as $set_content) {
534
+
535
+ if($set_content->number_of_votes > 0) {
536
+
537
+ $average_rating = $set_content->sum_votes / $set_content->number_of_votes;
538
+
539
+ $average_rating = round($average_rating, 1);
540
+
541
+ }
542
+
543
+ else {
544
+
545
+ $average_rating = 0;
546
+
547
+ }
548
+
549
+ //$unique_div_id = $setid . "_" . $set_content->id;
550
+
551
+ $shortcode_html .= "<tr>
552
+ <td>
553
+ <span class=\"yasr-multi-set-name-field\">$set_content->name </span>
554
+ </td>
555
+ <td>
556
+ <div class=\"rateit yasr-visitor-multi-$post_id\" id=\"$set_content->id \" data-rateit-value=\"$average_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"$star_readonly\"></div>
557
+ <span class=\"yasr-visitor-multiset-vote-count\">$set_content->number_of_votes</span>
558
+ </td>
559
+ </tr>";
560
  }
561
+
562
+ $shortcode_html.="<tr>
563
+ <td colspan=\"2\">
564
+ $button
565
+ $loader_html
566
+ <span class=\"yasr-visitor-multiset-message\">$span_message_content</span>
567
+ </td>
568
+ </tr>
569
+ </table>";
570
  }
571
+
572
+ $var_post_id = json_encode($post_id);
573
+ $var_set_id = json_encode($setid);
574
+ $var_ajax_url = json_encode(admin_url('admin-ajax.php'));
575
+ $var_ajax_nonce_visitor_multiset = json_encode($ajax_nonce_visitor_multiset);
576
+
577
+ $javascript = "
578
+
579
+ <script type=\"text/javascript\">
580
+
581
+ jQuery(document).ready(function() {
582
+
583
+ var postId = $var_post_id;
584
+ var setType = $setid;
585
+ var ajaxurl = $var_ajax_url;
586
+ var nonce = $var_ajax_nonce_visitor_multiset;
587
+
588
+ yasrVisitorsMultiSet (postId, setType, ajaxurl, nonce);
589
+
590
+ });
591
+
592
+ </script>
593
+ ";
594
+
595
+ return $shortcode_html . $javascript;
596
+
597
+ }
598
 
599
 
600
 
899
 
900
 
901
  } //End function
902
+
903
  ?>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
3
  Tags: 5 star, admin, administrator, AJAX, five-star, javascript, jquery, post rating, posts, rate, rating, rating platform, rating system, ratings, review, reviews, rich snippets, seo, star, star rating, stars, vote, Votes, voting, voting contest, schema, serp
4
  Requires at least: 3.5
5
  Contributors: Dudo
6
- Tested up to: 4.1.1
7
- Stable tag: 0.8.2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  Yet Another Stars Rating is a simple plugin which allows you and / or your visitor to rate a post or element. Ideal for review's website
@@ -30,7 +30,6 @@ This may not works if you use a caching plugin.
30
  = Multi Set =
31
  Multisets give the opportunity to score different aspects for each review: for example, if you're reviewing a videogame, you can create the aspects "Graphics",
32
  "Gameplay", "Story", etc.
33
- Only who write the post or page can inserta votes in Multi Set.
34
 
35
  = Importing data from gd star rating =
36
  If you're using gd-star-rating, YASR is the plugin for you! You can import from gd-star-rating "Overall Rating", "Visitor Votes" and all the multisets with
@@ -90,8 +89,7 @@ It is the vote given by who writes the review: readers are able to see this vote
90
  It is the vote that allows your visitors to vote: just paste this shortcode **[yasr_visitor_votes]** where you want the stars to appear. This may not works if you use a caching plugin.
91
 
92
  = What is "Multi Set"? =
93
- It is the feature that makes YASR awesome. Multisets give the opportunity to score different aspects for each review: for example, if you're reviewing a videogame, you can create the aspects "Graphics", "Gameplay", "Story", etc. and give a vote for each one. To create a set, just go in "Settings" -> "Yet Another Stars Rating: Settings" and click on the "Multi Sets" tab. To insert it into a post, just paste the shortcode that YASR will create for you.
94
- Only who write the post or page can insert votes in Multi Set.
95
 
96
  = What is "Ranking reviews" ? =
97
  It is the 10 highest rated item chart by reviewer. In order to insert it into a post or page, just paste this shortcode **[yasr_top_ten_highest_rated]**
@@ -121,6 +119,11 @@ Of course not: you can easily add it on the visual editor just by clicking on th
121
 
122
  == Changelog ==
123
 
 
 
 
 
 
124
  = 0.8.2 =
125
  * NEW FEATURE: added shortcode yasr_visitor_votes_readonly
126
  * NEW FEATURE: added support for wp super cache
3
  Tags: 5 star, admin, administrator, AJAX, five-star, javascript, jquery, post rating, posts, rate, rating, rating platform, rating system, ratings, review, reviews, rich snippets, seo, star, star rating, stars, vote, Votes, voting, voting contest, schema, serp
4
  Requires at least: 3.5
5
  Contributors: Dudo
6
+ Tested up to: 4.2
7
+ Stable tag: 0.8.3
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  Yet Another Stars Rating is a simple plugin which allows you and / or your visitor to rate a post or element. Ideal for review's website
30
  = Multi Set =
31
  Multisets give the opportunity to score different aspects for each review: for example, if you're reviewing a videogame, you can create the aspects "Graphics",
32
  "Gameplay", "Story", etc.
 
33
 
34
  = Importing data from gd star rating =
35
  If you're using gd-star-rating, YASR is the plugin for you! You can import from gd-star-rating "Overall Rating", "Visitor Votes" and all the multisets with
89
  It is the vote that allows your visitors to vote: just paste this shortcode **[yasr_visitor_votes]** where you want the stars to appear. This may not works if you use a caching plugin.
90
 
91
  = What is "Multi Set"? =
92
+ It is the feature that makes YASR awesome. Multisets give the opportunity to score different aspects for each review: for example, if you're reviewing a videogame, you can create the aspects "Graphics", "Gameplay", "Story", etc. and give a vote for each one. To create a set, just go in "Settings" -> "Yet Another Stars Rating: Settings" and click on the "Multi Sets" tab. To insert it into a post, just paste the shortcode that YASR will create for you.
 
93
 
94
  = What is "Ranking reviews" ? =
95
  It is the 10 highest rated item chart by reviewer. In order to insert it into a post or page, just paste this shortcode **[yasr_top_ten_highest_rated]**
119
 
120
  == Changelog ==
121
 
122
+ = 0.8.3 =
123
+ * NEW FEATURE: added shortcode yasr_visitor_multiset. Now everyone can vonte in a Multi Set!
124
+ * FIXED: fixed schema type selection
125
+ * Minor changes
126
+
127
  = 0.8.2 =
128
  * NEW FEATURE: added shortcode yasr_visitor_votes_readonly
129
  * NEW FEATURE: added support for wp super cache
yasr-metabox-top-right.php CHANGED
@@ -161,12 +161,14 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
161
  ?>
162
 
163
 
 
 
164
  <div class="yasr-choose-reviews-types"><?php _e("This review is about a..."); ?>
165
  <br />
166
 
167
  <?php
168
 
169
- $i18n_array_review = __('Product, Places, Other', 'yasr');
170
 
171
  $array_review_type = explode(',', $i18n_array_review);
172
 
161
  ?>
162
 
163
 
164
+ <hr>
165
+
166
  <div class="yasr-choose-reviews-types"><?php _e("This review is about a..."); ?>
167
  <br />
168
 
169
  <?php
170
 
171
+ $i18n_array_review = __('Product, Place, Other', 'yasr');
172
 
173
  $array_review_type = explode(',', $i18n_array_review);
174
 
yasr-settings-page.php CHANGED
@@ -240,6 +240,7 @@ $n_multi_set = NULL; //Evoid undefined variable when printed outside multiset ta
240
 
241
  </div> <!--End yasr-multi-set-right-->
242
 
 
243
  <div class="yasr-space-settings-div">
244
  </div>
245
 
@@ -257,7 +258,7 @@ $n_multi_set = NULL; //Evoid undefined variable when printed outside multiset ta
257
 
258
  </div>
259
 
260
-
261
  </div>
262
 
263
  <div class="yasr-donatedivdx" style="display:none">
240
 
241
  </div> <!--End yasr-multi-set-right-->
242
 
243
+
244
  <div class="yasr-space-settings-div">
245
  </div>
246
 
258
 
259
  </div>
260
 
261
+
262
  </div>
263
 
264
  <div class="yasr-donatedivdx" style="display:none">
yet-another-stars-rating.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Yet Another Stars Rating
4
  * Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
  * Description: Rating system with rich snippets
6
- * Version: 0.8.2
7
  * Author: Dario Curvino
8
  * Author URI: https://yetanotherstarsrating.com/
9
  * License: GPL2
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
28
  */
29
 
30
 
31
- define('YASR_VERSION_NUM', '0.8.2');
32
 
33
  //Plugin relative path
34
  define( "YASR_RELATIVE_PATH", dirname(__FILE__) );
@@ -160,6 +160,13 @@ define ("YASR_LOADER_IMAGE", YASR_IMG_DIR . "/loader.gif");
160
 
161
  /****** backward compatibility functions ******/
162
 
 
 
 
 
 
 
 
163
 
164
  //remove end jun 2015
165
  if ($version_installed && $version_installed < '0.8.2') {
3
  * Plugin Name: Yet Another Stars Rating
4
  * Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
  * Description: Rating system with rich snippets
6
+ * Version: 0.8.3
7
  * Author: Dario Curvino
8
  * Author URI: https://yetanotherstarsrating.com/
9
  * License: GPL2
28
  */
29
 
30
 
31
+ define('YASR_VERSION_NUM', '0.8.3');
32
 
33
  //Plugin relative path
34
  define( "YASR_RELATIVE_PATH", dirname(__FILE__) );
160
 
161
  /****** backward compatibility functions ******/
162
 
163
+ //remove end july 2015
164
+ if ($version_installed && $version_installed < '0.8.3') {
165
+
166
+ $wpdb->query("ALTER TABLE " . YASR_MULTI_SET_VALUES_TABLE . " ADD number_of_votes BIGINT( 20 ) NOT NULL ,
167
+ ADD sum_votes DECIMAL( 11, 1 ) NOT NULL ;");
168
+
169
+ }
170
 
171
  //remove end jun 2015
172
  if ($version_installed && $version_installed < '0.8.2') {