Yasr – Yet Another Stars Rating - Version 1.0.0

Version Description

  • TWEAK: Changed textdomain from 'yasr' to 'yet-another-stars-rating'.
Download this release

Release Info

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

Code changes from version 0.9.9 to 1.0.0

Files changed (35) hide show
  1. languages/yasr-it_IT.mo +0 -0
  2. languages/{yasr-de_DE.mo → yet-another-stars-rating-de_DE.mo} +0 -0
  3. languages/{yasr-de_DE.po → yet-another-stars-rating-de_DE.po} +0 -0
  4. languages/{yasr-es_ES.mo → yet-another-stars-rating-es_ES.mo} +0 -0
  5. languages/{yasr-es_ES.po → yet-another-stars-rating-es_ES.po} +0 -0
  6. languages/{yasr-fa_IR.mo → yet-another-stars-rating-fa_IR.mo} +0 -0
  7. languages/{yasr-fa_IR.po → yet-another-stars-rating-fa_IR.po} +0 -0
  8. languages/{yasr-fr_FR.mo → yet-another-stars-rating-fr_FR.mo} +0 -0
  9. languages/{yasr-fr_FR.po → yet-another-stars-rating-fr_FR.po} +0 -0
  10. languages/{yasr-hr.mo → yet-another-stars-rating-hr.mo} +0 -0
  11. languages/{yasr-hr.po → yet-another-stars-rating-hr.po} +0 -0
  12. languages/yet-another-stars-rating-it_IT.mo +0 -0
  13. languages/{yasr-it_IT.po → yet-another-stars-rating-it_IT.po} +173 -157
  14. languages/{yasr-nb_NO.mo → yet-another-stars-rating-nb_NO.mo} +0 -0
  15. languages/{yasr-nb_NO.po → yet-another-stars-rating-nb_NO.po} +0 -0
  16. languages/{yasr-nl_NL.mo → yet-another-stars-rating-nl_NL.mo} +0 -0
  17. languages/{yasr-nl_NL.po → yet-another-stars-rating-nl_NL.po} +0 -0
  18. languages/{yasr-pl_PL.mo → yet-another-stars-rating-pl_PL.mo} +0 -0
  19. languages/{yasr-pl_PL.po → yet-another-stars-rating-pl_PL.po} +0 -0
  20. languages/{yasr-pt_BR.mo → yet-another-stars-rating-pt_BR.mo} +0 -0
  21. languages/{yasr-pt_BR.po → yet-another-stars-rating-pt_BR.po} +0 -0
  22. languages/{yasr-ru_RU.mo → yet-another-stars-rating-ru_RU.mo} +0 -0
  23. languages/{yasr-ru_RU.po → yet-another-stars-rating-ru_RU.po} +0 -0
  24. languages/{yasr.mo → yet-another-stars-rating.mo} +0 -0
  25. languages/{yasr.pot → yet-another-stars-rating.pot} +170 -154
  26. lib/yasr-ajax-functions.php +81 -81
  27. lib/yasr-db-functions.php +4 -4
  28. lib/yasr-functions.php +22 -22
  29. lib/yasr-settings-functions.php +143 -143
  30. lib/yasr-shortcode-functions.php +23 -23
  31. readme.txt +21 -20
  32. yasr-metabox-multiple-rating.php +1 -1
  33. yasr-metabox-top-right.php +6 -6
  34. yasr-settings-page.php +23 -24
  35. yet-another-stars-rating.php +4 -2
languages/yasr-it_IT.mo DELETED
Binary file
languages/{yasr-de_DE.mo → yet-another-stars-rating-de_DE.mo} RENAMED
File without changes
languages/{yasr-de_DE.po → yet-another-stars-rating-de_DE.po} RENAMED
File without changes
languages/{yasr-es_ES.mo → yet-another-stars-rating-es_ES.mo} RENAMED
File without changes
languages/{yasr-es_ES.po → yet-another-stars-rating-es_ES.po} RENAMED
File without changes
languages/{yasr-fa_IR.mo → yet-another-stars-rating-fa_IR.mo} RENAMED
File without changes
languages/{yasr-fa_IR.po → yet-another-stars-rating-fa_IR.po} RENAMED
File without changes
languages/{yasr-fr_FR.mo → yet-another-stars-rating-fr_FR.mo} RENAMED
File without changes
languages/{yasr-fr_FR.po → yet-another-stars-rating-fr_FR.po} RENAMED
File without changes
languages/{yasr-hr.mo → yet-another-stars-rating-hr.mo} RENAMED
File without changes
languages/{yasr-hr.po → yet-another-stars-rating-hr.po} RENAMED
File without changes
languages/yet-another-stars-rating-it_IT.mo ADDED
Binary file
languages/{yasr-it_IT.po → yet-another-stars-rating-it_IT.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Yasr Translation\n"
4
- "POT-Creation-Date: 2015-09-16 17:21+0100\n"
5
- "PO-Revision-Date: 2015-09-16 17:44+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: it_IT\n"
@@ -34,7 +34,7 @@ msgid "This review is about a..."
34
  msgstr "Questa recensione è..."
35
 
36
  #: ../yasr-metabox-top-right.php:181 ../yasr-metabox-multiple-rating.php:46
37
- #: ../lib/yasr-settings-functions.php:598
38
  msgid "Select"
39
  msgstr "Seleziona"
40
 
@@ -47,8 +47,8 @@ msgstr ""
47
  "dove vuoi far apparire questo voto"
48
 
49
  #: ../yasr-settings-page.php:24 ../lib/yasr-functions.php:111
50
- #: ../lib/yasr-ajax-functions.php:44 ../lib/yasr-ajax-functions.php:211
51
- #: ../lib/yasr-ajax-functions.php:365 ../lib/yasr-ajax-functions.php:781
52
  msgid "You do not have sufficient permissions to access this page."
53
  msgstr "Non hai permeessi sufficienti per accedere a questa pagina"
54
 
@@ -187,8 +187,8 @@ msgstr "Hai già votato questo articolo con "
187
  msgid "You must sign to vote"
188
  msgstr "Devi fare il login per votare"
189
 
190
- #: ../lib/yasr-shortcode-functions.php:306 ../lib/yasr-ajax-functions.php:1118
191
- #: ../lib/yasr-ajax-functions.php:1126 ../lib/yasr-ajax-functions.php:1261
192
  msgid "Total: "
193
  msgstr "Voti: "
194
 
@@ -340,7 +340,7 @@ msgstr "Cosa?"
340
  msgid "Overall Rating / Author Rating"
341
  msgstr "Voto Complessivo / Voto Autore"
342
 
343
- #: ../lib/yasr-settings-functions.php:111 ../lib/yasr-ajax-functions.php:500
344
  msgid "Visitor Votes"
345
  msgstr "Voto Utenti"
346
 
@@ -364,18 +364,18 @@ msgstr "Dopo il contenuto"
364
  msgid "Size"
365
  msgstr "Grandezza"
366
 
367
- #: ../lib/yasr-settings-functions.php:143 ../lib/yasr-ajax-functions.php:490
368
- #: ../lib/yasr-ajax-functions.php:508
369
  msgid "Small"
370
  msgstr "Piccolo"
371
 
372
- #: ../lib/yasr-settings-functions.php:148 ../lib/yasr-ajax-functions.php:491
373
- #: ../lib/yasr-ajax-functions.php:509
374
  msgid "Medium"
375
  msgstr "Medio"
376
 
377
- #: ../lib/yasr-settings-functions.php:153 ../lib/yasr-ajax-functions.php:492
378
- #: ../lib/yasr-ajax-functions.php:510
379
  msgid "Large"
380
  msgstr "Grande"
381
 
@@ -519,43 +519,59 @@ msgid ""
519
  msgstr ""
520
  "Funzionerà solo sui post/pagine dove non hai cambiato l'itemtype manualmente"
521
 
522
- #: ../lib/yasr-settings-functions.php:458
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
523
  msgid "Stars"
524
  msgstr "Stelle"
525
 
526
- #: ../lib/yasr-settings-functions.php:462
527
  msgid "Numbers"
528
  msgstr "Numeri"
529
 
530
- #: ../lib/yasr-settings-functions.php:487
531
  msgid "Which color scheme do you want to use?"
532
  msgstr "Che schema di colori vuoi usare?"
533
 
534
- #: ../lib/yasr-settings-functions.php:508
535
  msgid "Light"
536
  msgstr "Chiaro"
537
 
538
- #: ../lib/yasr-settings-functions.php:513
539
  msgid "Dark"
540
  msgstr "Scuro"
541
 
542
- #: ../lib/yasr-settings-functions.php:518
543
  msgid "Preview"
544
  msgstr "Anteprima"
545
 
546
- #: ../lib/yasr-settings-functions.php:523
547
  msgid "Light theme"
548
  msgstr "Tema chiaro"
549
 
550
- #: ../lib/yasr-settings-functions.php:528
551
  msgid "Dark theme"
552
  msgstr "Tema scuro"
553
 
554
- #: ../lib/yasr-settings-functions.php:543
555
  msgid "Add New Multiple Set"
556
  msgstr "Set Multipli"
557
 
558
- #: ../lib/yasr-settings-functions.php:544
559
  msgid ""
560
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
561
  "characters"
@@ -563,48 +579,48 @@ msgstr ""
563
  "Nome, Elemento#1 e Elemento#2 DEVONO essere riempiti e devono essere lunghi "
564
  "almeno 3 caratteri"
565
 
566
- #: ../lib/yasr-settings-functions.php:547
567
  msgid "Name"
568
  msgstr "Nome"
569
 
570
- #: ../lib/yasr-settings-functions.php:552
571
  msgid "You can insert up to nine elements"
572
  msgstr "Puoi inserire fino a nove elementi"
573
 
574
- #: ../lib/yasr-settings-functions.php:557
575
  msgid "Element "
576
  msgstr "Elemento"
577
 
578
- #: ../lib/yasr-settings-functions.php:567
579
  msgid "Create New Set"
580
  msgstr "Crea Nuovo Set"
581
 
582
- #: ../lib/yasr-settings-functions.php:588
583
- #: ../lib/yasr-settings-functions.php:621
584
  msgid "Manage Multiple Set"
585
  msgstr "Gestisci Set Multiplo"
586
 
587
- #: ../lib/yasr-settings-functions.php:590
588
  msgid "Wich set do you want to edit or remove?"
589
  msgstr "Quale set vuoi modificare o rimuovere"
590
 
591
- #: ../lib/yasr-settings-functions.php:631
592
- #: ../lib/yasr-settings-functions.php:749
593
  msgid "Field name"
594
  msgstr "Nome campo"
595
 
596
- #: ../lib/yasr-settings-functions.php:635
597
- #: ../lib/yasr-settings-functions.php:753
598
  msgid "Remove"
599
  msgstr "Rimuovi"
600
 
601
- #: ../lib/yasr-settings-functions.php:677
602
- #: ../lib/yasr-settings-functions.php:795
603
  msgid "Remove whole set?"
604
  msgstr "Rimuovere l'intero set?"
605
 
606
- #: ../lib/yasr-settings-functions.php:690
607
- #: ../lib/yasr-settings-functions.php:808
608
  msgid ""
609
  "If you remove something you will remove all the votes for that set or field. "
610
  "This operation CAN'T BE undone."
@@ -612,63 +628,63 @@ msgstr ""
612
  "Se rimuovi qualcosa rimuoverai anche i voti per quel set o campo. Questa "
613
  "operazione NON PUÒ ESSERE ANNULLATA"
614
 
615
- #: ../lib/yasr-settings-functions.php:697
616
- #: ../lib/yasr-settings-functions.php:815
617
  msgid "You can use up to 9 elements"
618
  msgstr "Puoi usare fino a 9 elementi"
619
 
620
- #: ../lib/yasr-settings-functions.php:699
621
- #: ../lib/yasr-settings-functions.php:817
622
  msgid "Add element"
623
  msgstr "Aggiungi elemento"
624
 
625
- #: ../lib/yasr-settings-functions.php:701
626
- #: ../lib/yasr-settings-functions.php:819
627
  msgid "Save changes"
628
  msgstr "Salva modifiche"
629
 
630
- #: ../lib/yasr-settings-functions.php:711
631
  msgid "No Multiple Set were found"
632
  msgstr "Nessun Set Multiplo trovato"
633
 
634
- #: ../lib/yasr-settings-functions.php:960
635
- #: ../lib/yasr-settings-functions.php:1228
636
  msgid "Settings Saved"
637
  msgstr "Impostazioni Salvate"
638
 
639
- #: ../lib/yasr-settings-functions.php:965
640
  msgid "Something goes wrong trying insert set field name. Please report it"
641
  msgstr ""
642
  "Qualcosa è andato storto cercando di inserire un elemento. Per favore "
643
  "segnalalo"
644
 
645
- #: ../lib/yasr-settings-functions.php:971
646
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
647
  msgstr ""
648
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
649
  "favore segnalalo"
650
 
651
- #: ../lib/yasr-settings-functions.php:1046
652
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
653
  msgstr ""
654
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
655
  "favore segnalalo"
656
 
657
- #: ../lib/yasr-settings-functions.php:1092
658
  msgid ""
659
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
660
  msgstr ""
661
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
662
  "favore segnalalo"
663
 
664
- #: ../lib/yasr-settings-functions.php:1156
665
  msgid ""
666
  "Something goes wrong trying to update a Multi Set's element. Please report it"
667
  msgstr ""
668
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
669
  "favore segnalalo"
670
 
671
- #: ../lib/yasr-settings-functions.php:1213
672
  msgid ""
673
  "Something goes wrong trying to insert set field name in edit form. Please "
674
  "report it"
@@ -676,15 +692,15 @@ msgstr ""
676
  "Qualcosa è andato storto cercando di inserire il campo nel form di modifica. "
677
  "Per favore segnalalo"
678
 
679
- #: ../lib/yasr-settings-functions.php:1258
680
  msgid "Style Options"
681
  msgstr "Opzioni Stili"
682
 
683
- #: ../lib/yasr-settings-functions.php:1259
684
  msgid "Custom CSS Styles"
685
  msgstr "Stili CSS Personalizzati"
686
 
687
- #: ../lib/yasr-settings-functions.php:1264
688
  msgid ""
689
  "Please use text area below to write your own CSS styles to override the "
690
  "default ones."
@@ -692,109 +708,109 @@ msgstr ""
692
  "Usa l'area di testo sottostante per scrivere le tue regole CSS che "
693
  "sovrascriveranno quelle di default"
694
 
695
- #: ../lib/yasr-settings-functions.php:1266
696
  msgid "Leave it blank if you don't know what you're doing"
697
  msgstr "Lascialo vuoto se non stai cosa stai facendo"
698
 
699
- #: ../lib/yasr-settings-functions.php:1289
700
  msgid "Looking for more features?"
701
  msgstr "Hai bisogno di più funzioni?"
702
 
703
- #: ../lib/yasr-settings-functions.php:1290
704
  msgid "Upgrade to yasr pro!"
705
  msgstr "Passa a yasr pro!"
706
 
707
- #: ../lib/yasr-settings-functions.php:1306
708
  msgid "Unlimited ratings and votes"
709
  msgstr "Voti e recensioni illimitate"
710
 
711
- #: ../lib/yasr-settings-functions.php:1312
712
  msgid "Works with shortcodes"
713
  msgstr "Funziona con gli shortcodes"
714
 
715
- #: ../lib/yasr-settings-functions.php:1318
716
  msgid "Multi Set Support"
717
  msgstr "Supporto Set Multipli"
718
 
719
- #: ../lib/yasr-settings-functions.php:1323
720
  msgid "Logs and stats for visitors votes"
721
  msgstr "Log e statistiche per i voti utenti"
722
 
723
- #: ../lib/yasr-settings-functions.php:1328
724
  msgid "Localization (.po and .mo files included)"
725
  msgstr "Traducibile (files .po e .mo inclusi)"
726
 
727
- #: ../lib/yasr-settings-functions.php:1333
728
  msgid "Rich Snippet Support"
729
  msgstr "Supporto per Rich Snippet"
730
 
731
- #: ../lib/yasr-settings-functions.php:1338
732
  msgid "Rankings for reviews, votes and users"
733
  msgstr "Classifiche per recensioni, voti e utenti"
734
 
735
- #: ../lib/yasr-settings-functions.php:1343
736
  msgid "Rankings Customization"
737
  msgstr "Personalizzazione Classifiche"
738
 
739
- #: ../lib/yasr-settings-functions.php:1348
740
  msgid "Stars Customization"
741
  msgstr "Personalizzazione Stelle"
742
 
743
- #: ../lib/yasr-settings-functions.php:1349
744
  msgid "Size Only"
745
  msgstr "Solo la grandezza"
746
 
747
- #: ../lib/yasr-settings-functions.php:1350
748
  msgid ""
749
  "Users can choose different ready to use sets or can upload their own images."
750
  msgstr ""
751
  "È possibile scegliere diversi set pronti all'uso o caricare le proprie "
752
  "immagini"
753
 
754
- #: ../lib/yasr-settings-functions.php:1353
755
  msgid "Users can review in comments"
756
  msgstr "Gli utenti possono recensire nei commenti"
757
 
758
- #: ../lib/yasr-settings-functions.php:1364
759
  msgid "Not avaible yet"
760
  msgstr "Non ancora disponibile"
761
 
762
- #: ../lib/yasr-settings-functions.php:1423
763
  msgid "Keep in touch!"
764
  msgstr "Teniamoci in contatto!"
765
 
766
- #: ../lib/yasr-settings-functions.php:1465
767
  #, php-format
768
  msgid ""
769
  "Hey, seems like you reached %s votes on your site throught YASR! That's cool!"
770
  msgstr ""
771
  "Ciao, sembra che hai ottenuto %s voti sul tuo sito grazie a YASR! Ottimo!"
772
 
773
- #: ../lib/yasr-settings-functions.php:1467
774
  msgid "Can I ask a favor?"
775
  msgstr "Ti posso chiedere un favore?"
776
 
777
- #: ../lib/yasr-settings-functions.php:1469
778
  msgid "Can you please rate YASR 5 stars on"
779
  msgstr "Puoi dare 5 stelle a YASR su"
780
 
781
- #: ../lib/yasr-settings-functions.php:1471
782
  msgid " It will require just 1 min but it's a HUGE help for me. Thank you."
783
  msgstr " Richiederà solo 1 minuto ma è un ENORME aiuto per me. Grazie!"
784
 
785
- #: ../lib/yasr-settings-functions.php:1477
786
  msgid "Ok, I'm glad to help!"
787
  msgstr "Ok, sono contento di aiutare!"
788
 
789
- #: ../lib/yasr-settings-functions.php:1478
790
  msgid "Remind me later!"
791
  msgstr "Ricordamelo dopo!"
792
 
793
- #: ../lib/yasr-settings-functions.php:1479
794
  msgid "Don't need to ask, I already did it!"
795
  msgstr "Non c'è bisogno di chiederlo, l'ho già fatto!"
796
 
797
- #: ../lib/yasr-settings-functions.php:1512
798
  #, php-format
799
  msgid ""
800
  "Thank you for using <a href=\"%s\" target=\"_blank\">Yet Another Stars "
@@ -805,28 +821,28 @@ msgstr ""
805
  "a>. Per favore, <a href=\"%s\" target=\"_blank\">dagli</a> 5 stelle su <a "
806
  "href=\"%s\" target=\"_blank\">WordPress.org</a>"
807
 
808
- #: ../lib/yasr-settings-functions.php:1557
809
  msgid "No previous Gd Star Rating installation was found"
810
  msgstr "Installazione precedente di Gd Star Rating non stata trovata"
811
 
812
- #: ../lib/yasr-db-functions.php:318
813
  msgid "No recenet votes yet"
814
  msgstr "Ancora nessun voto recente"
815
 
816
- #: ../lib/yasr-db-functions.php:333 ../lib/yasr-ajax-functions.php:806
817
  msgid "anonymous"
818
  msgstr "anonimo"
819
 
820
- #: ../lib/yasr-db-functions.php:342
821
  #, php-format
822
  msgid "Vote %d from %s on "
823
- msgstr ""
824
 
825
- #: ../lib/yasr-db-functions.php:358 ../lib/yasr-ajax-functions.php:831
826
  msgid "Ip address"
827
  msgstr "Indirizzo Ip"
828
 
829
- #: ../lib/yasr-db-functions.php:399 ../lib/yasr-ajax-functions.php:872
830
  msgid "Pages"
831
  msgstr "Pagine"
832
 
@@ -846,43 +862,43 @@ msgstr "Non hai permessi sufficienti per inserire il Voto Complessivo"
846
  msgid "You don't have enought privileges to insert Multi Set"
847
  msgstr "Non hai abbastanza permessi per inserire un Multi Set"
848
 
849
- #: ../lib/yasr-functions.php:299
850
  msgid "reviewed by"
851
  msgstr "recensito da"
852
 
853
- #: ../lib/yasr-functions.php:301 ../lib/yasr-functions.php:369
854
  msgid " on "
855
  msgstr " il "
856
 
857
- #: ../lib/yasr-functions.php:315
858
  msgid "reviewed on"
859
  msgstr "recensito da"
860
 
861
- #: ../lib/yasr-functions.php:316
862
  msgid "by "
863
- msgstr ""
864
 
865
- #: ../lib/yasr-functions.php:320
866
  msgid "rated"
867
  msgstr "votato"
868
 
869
- #: ../lib/yasr-functions.php:320
870
  msgid "of"
871
  msgstr "su"
872
 
873
- #: ../lib/yasr-functions.php:377
874
  msgid " written by "
875
  msgstr " scritto da "
876
 
877
- #: ../lib/yasr-functions.php:380
878
  msgid " average rating "
879
  msgstr " media voto "
880
 
881
- #: ../lib/yasr-functions.php:381
882
  msgid " user ratings"
883
  msgstr " voti utenti "
884
 
885
- #: ../lib/yasr-functions.php:407
886
  msgid "Product, Place, Other"
887
  msgstr "Product, Place, Other"
888
 
@@ -894,22 +910,22 @@ msgstr "Voto assegnato "
894
  msgid "You've reset the vote"
895
  msgstr "Hai resettato il voto"
896
 
897
- #: ../lib/yasr-ajax-functions.php:188
898
  msgid ""
899
  "There was an error while trying to insert the review type. Please report it"
900
  msgstr ""
901
  "Qualcosa è andato storto cercando di inserire un elemento. Per favore "
902
  "segnalalo"
903
 
904
- #: ../lib/yasr-ajax-functions.php:223
905
  msgid "Choose a vote for each element"
906
  msgstr "Scegli un voto per ogni elemento"
907
 
908
- #: ../lib/yasr-ajax-functions.php:286 ../lib/yasr-ajax-functions.php:330
909
  msgid "If you want to insert this multiset, paste this shortcode "
910
  msgstr "Se vuoi inserire questo Set Multiplo, incolla questo shortcode "
911
 
912
- #: ../lib/yasr-ajax-functions.php:288 ../lib/yasr-ajax-functions.php:332
913
  msgid ""
914
  "If, instead, you want allow your visitor to vote on this multiset, use this "
915
  "shortcode"
@@ -917,59 +933,59 @@ msgstr ""
917
  "Se, invece, vuoi permettere al visitatore di votare su questo multiset, usa "
918
  "questo shortcode"
919
 
920
- #: ../lib/yasr-ajax-functions.php:297
921
  msgid "Choose a vote for every element"
922
  msgstr "Scegli un voto per ogni elemento"
923
 
924
- #: ../lib/yasr-ajax-functions.php:470
925
  msgid "Main"
926
- msgstr ""
927
 
928
- #: ../lib/yasr-ajax-functions.php:471
929
  msgid "Charts"
930
  msgstr "Classifiche"
931
 
932
- #: ../lib/yasr-ajax-functions.php:473
933
  msgid "Read the doc"
934
  msgstr "Leggi la documentazione"
935
 
936
- #: ../lib/yasr-ajax-functions.php:482
937
  msgid "Overall Rating / Review"
938
  msgstr "Voto Complessivo"
939
 
940
- #: ../lib/yasr-ajax-functions.php:484
941
  msgid "Insert Overall Rating"
942
  msgstr "Inserisci Voto Complessivo"
943
 
944
- #: ../lib/yasr-ajax-functions.php:485
945
  msgid "Insert Overall Rating / Review for this post"
946
  msgstr "Inserisci Voto Complessivo / Recensione per questo post"
947
 
948
- #: ../lib/yasr-ajax-functions.php:488 ../lib/yasr-ajax-functions.php:506
949
  msgid "Choose Size"
950
  msgstr "Scegli la grandezza"
951
 
952
- #: ../lib/yasr-ajax-functions.php:502
953
  msgid "Insert Visitor Votes"
954
  msgstr "Inserisci Voti Utenti"
955
 
956
- #: ../lib/yasr-ajax-functions.php:503
957
  msgid "Insert the ability for your visitor to vote"
958
  msgstr "Permetti ai tuoi visitatori di votare"
959
 
960
- #: ../lib/yasr-ajax-functions.php:520
961
  msgid "If you want to insert a Multi Set, pick one:"
962
  msgstr "Se vuoi inserire un Set Multiplo, scegline uno:"
963
 
964
- #: ../lib/yasr-ajax-functions.php:526
965
  msgid "Choose wich set you want to insert."
966
  msgstr "Scegli quale Set Multiplo inserire"
967
 
968
- #: ../lib/yasr-ajax-functions.php:528 ../lib/yasr-ajax-functions.php:545
969
  msgid "Readonly?"
970
  msgstr "Sola lettura?"
971
 
972
- #: ../lib/yasr-ajax-functions.php:530 ../lib/yasr-ajax-functions.php:546
973
  msgid ""
974
  "If Readonly is checked, only you can insert the votes (in the box above the "
975
  "editor)"
@@ -977,71 +993,71 @@ msgstr ""
977
  "Se selezioni sola lettura, solo tu puoi inserire i voti (nel box sotto "
978
  "l'editor)"
979
 
980
- #: ../lib/yasr-ajax-functions.php:531
981
  msgid "Insert Multi Set"
982
  msgstr "Inserisci Set Multiplo"
983
 
984
- #: ../lib/yasr-ajax-functions.php:540
985
  msgid "Insert Multiset:"
986
  msgstr "Inserisci Set Multiplo:"
987
 
988
- #: ../lib/yasr-ajax-functions.php:543
989
  msgid "Insert Multiple Set"
990
  msgstr "Inserisci Set Multiplo"
991
 
992
- #: ../lib/yasr-ajax-functions.php:561
993
  msgid "Ranking reviews"
994
  msgstr "Classifica recensioni"
995
 
996
- #: ../lib/yasr-ajax-functions.php:562
997
  msgid "Insert Ranking reviews"
998
  msgstr "Classifica recensioni"
999
 
1000
- #: ../lib/yasr-ajax-functions.php:563
1001
  msgid "Insert Top 10 ranking for [yasr_overall_rating] shortcode"
1002
  msgstr "Inserisci la classifica top 10 per lo shortcode [yasr_overall_rating]"
1003
 
1004
- #: ../lib/yasr-ajax-functions.php:567
1005
  msgid "Users' ranking"
1006
  msgstr "Classifica degli utenti"
1007
 
1008
- #: ../lib/yasr-ajax-functions.php:568
1009
  msgid "Insert Users ranking"
1010
  msgstr "Inserisci Classifica Utenti"
1011
 
1012
- #: ../lib/yasr-ajax-functions.php:569
1013
  msgid "Insert Top 10 ranking for [yasr_visitor_votes] shortcode"
1014
  msgstr "Inserisci la classifica top 10 per lo shortcode [yasr_visitor_votes]"
1015
 
1016
- #: ../lib/yasr-ajax-functions.php:573
1017
  msgid "Most active reviewers"
1018
  msgstr "Recensori più attivi"
1019
 
1020
- #: ../lib/yasr-ajax-functions.php:574
1021
  msgid "Insert Most Active Reviewers"
1022
  msgstr "Inserisci i 5 recensori più attivi"
1023
 
1024
- #: ../lib/yasr-ajax-functions.php:575
1025
  msgid "Insert Top 5 active reviewers"
1026
  msgstr "Inserisci i 5 recensori più attivi"
1027
 
1028
- #: ../lib/yasr-ajax-functions.php:579
1029
  msgid "Most Active Users"
1030
  msgstr "Utenti più attivi"
1031
 
1032
- #: ../lib/yasr-ajax-functions.php:580
1033
  msgid "Insert Most Active Users"
1034
  msgstr "Inserisci i 10 utenti più attivi"
1035
 
1036
- #: ../lib/yasr-ajax-functions.php:581
1037
  msgid "Insert Top 10 voters [yasr_visitor_votes] shortcode"
1038
  msgstr "Inserisci i 10 utenti più attivi in [yasr_visitor_votes]"
1039
 
1040
- #: ../lib/yasr-ajax-functions.php:652
1041
  msgid "Reviews and Visitor Votes have been successfull imported."
1042
  msgstr "Recensioni e Voti utenti sono stati importati con successo."
1043
 
1044
- #: ../lib/yasr-ajax-functions.php:658
1045
  msgid ""
1046
  "Step2: I will check if you used Multiple Sets and if so I will import them. "
1047
  "THIS MAY TAKE A WHILE!"
@@ -1049,88 +1065,88 @@ msgstr ""
1049
  "Step2: Contrellerò se hai usato Set Multipli e se li trovo l'importerò: PUÒ "
1050
  "RICHIEDERE UN PÒ DI TEMPO!"
1051
 
1052
- #: ../lib/yasr-ajax-functions.php:660
1053
  msgid "Proceed Step 2"
1054
  msgstr "Procedi Step 2"
1055
 
1056
- #: ../lib/yasr-ajax-functions.php:667
1057
  msgid "Something goes wrong! Refresh the page and try again!"
1058
  msgstr "Qualcosa è andato storto! Aggiorna la pagina e prova ancora!"
1059
 
1060
- #: ../lib/yasr-ajax-functions.php:696
1061
  msgid "I've found Multiple Set! Importing..."
1062
  msgstr "Set Multipli trovati! Importazione..."
1063
 
1064
- #: ../lib/yasr-ajax-functions.php:705
1065
  msgid "Multi Set's name has been successfull imported."
1066
  msgstr "I nomi dei Set Multipli sono stati importati con successo"
1067
 
1068
- #: ../lib/yasr-ajax-functions.php:707
1069
  msgid "Now I'm going to import Multi Set data"
1070
  msgstr "Ora importerò i dati dei Set Multipli"
1071
 
1072
- #: ../lib/yasr-ajax-functions.php:718
1073
  msgid "All votes has been successfull imported."
1074
  msgstr "Tutti i voti sono stati importati con successo"
1075
 
1076
- #: ../lib/yasr-ajax-functions.php:720
1077
  msgid "Done"
1078
  msgstr "Fatto"
1079
 
1080
- #: ../lib/yasr-ajax-functions.php:725
1081
  msgid "I've found Multiple Set's votes but I couldn't insert into db"
1082
  msgstr "Ho trovato i voti per i Set Multi ma non li ho potuti inserire nel db"
1083
 
1084
- #: ../lib/yasr-ajax-functions.php:733
1085
  msgid "I've found Multi Set but with no data"
1086
  msgstr "ho trovato Set Multipli ma senza dati"
1087
 
1088
- #: ../lib/yasr-ajax-functions.php:742
1089
  msgid "I've found Multi Sets names but I couldn't insert into db"
1090
  msgstr "Ho trovato Set Multipli ma non li ho potuti inserire nel db"
1091
 
1092
- #: ../lib/yasr-ajax-functions.php:750
1093
  msgid "Multisets were not found. Imported is done!"
1094
  msgstr "Set Multipli non trovati. Importazione dati conclusa!"
1095
 
1096
- #: ../lib/yasr-ajax-functions.php:793
1097
  msgid "No Recenet votes yet"
1098
  msgstr "Ancora nessun voto recente"
1099
 
1100
- #: ../lib/yasr-ajax-functions.php:815
1101
  #, php-format
1102
  msgid "Vote %d from %s on"
1103
  msgstr "Voto %d da %s su"
1104
 
1105
- #: ../lib/yasr-ajax-functions.php:1013 ../lib/yasr-ajax-functions.php:1168
1106
  msgid "Error: you can't vote 0"
1107
  msgstr "Errore: non puoi votare 0"
1108
 
1109
- #: ../lib/yasr-ajax-functions.php:1118 ../lib/yasr-ajax-functions.php:1126
1110
  msgid "Average:"
1111
  msgstr "Media:"
1112
 
1113
- #: ../lib/yasr-ajax-functions.php:1119 ../lib/yasr-ajax-functions.php:1127
1114
  msgid "Vote Saved"
1115
  msgstr "Voto Salvato"
1116
 
1117
- #: ../lib/yasr-ajax-functions.php:1264
1118
  msgid "Vote updated"
1119
  msgstr "Voto Aggiornato"
1120
 
1121
- #: ../lib/yasr-ajax-functions.php:1409
1122
  msgid "Rating saved!"
1123
  msgstr "Voto salvato!"
1124
 
1125
- #: ../lib/yasr-ajax-functions.php:1415
1126
  msgid "Rating not saved. Please Try again"
1127
  msgstr "Voto non salvato. Per favore riprova"
1128
 
1129
- #: ../lib/yasr-ajax-functions.php:1508
1130
  msgid "stars"
1131
  msgstr "stelle"
1132
 
1133
- #: ../lib/yasr-ajax-functions.php:1513
1134
  msgid "star"
1135
  msgstr "stella"
1136
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Yasr Translation\n"
4
+ "POT-Creation-Date: 2015-10-01 17:08+0100\n"
5
+ "PO-Revision-Date: 2015-10-01 17:10+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: it_IT\n"
34
  msgstr "Questa recensione è..."
35
 
36
  #: ../yasr-metabox-top-right.php:181 ../yasr-metabox-multiple-rating.php:46
37
+ #: ../lib/yasr-settings-functions.php:620
38
  msgid "Select"
39
  msgstr "Seleziona"
40
 
47
  "dove vuoi far apparire questo voto"
48
 
49
  #: ../yasr-settings-page.php:24 ../lib/yasr-functions.php:111
50
+ #: ../lib/yasr-ajax-functions.php:44 ../lib/yasr-ajax-functions.php:210
51
+ #: ../lib/yasr-ajax-functions.php:364 ../lib/yasr-ajax-functions.php:780
52
  msgid "You do not have sufficient permissions to access this page."
53
  msgstr "Non hai permeessi sufficienti per accedere a questa pagina"
54
 
187
  msgid "You must sign to vote"
188
  msgstr "Devi fare il login per votare"
189
 
190
+ #: ../lib/yasr-shortcode-functions.php:306 ../lib/yasr-ajax-functions.php:1117
191
+ #: ../lib/yasr-ajax-functions.php:1125 ../lib/yasr-ajax-functions.php:1260
192
  msgid "Total: "
193
  msgstr "Voti: "
194
 
340
  msgid "Overall Rating / Author Rating"
341
  msgstr "Voto Complessivo / Voto Autore"
342
 
343
+ #: ../lib/yasr-settings-functions.php:111 ../lib/yasr-ajax-functions.php:499
344
  msgid "Visitor Votes"
345
  msgstr "Voto Utenti"
346
 
364
  msgid "Size"
365
  msgstr "Grandezza"
366
 
367
+ #: ../lib/yasr-settings-functions.php:143 ../lib/yasr-ajax-functions.php:489
368
+ #: ../lib/yasr-ajax-functions.php:507
369
  msgid "Small"
370
  msgstr "Piccolo"
371
 
372
+ #: ../lib/yasr-settings-functions.php:148 ../lib/yasr-ajax-functions.php:490
373
+ #: ../lib/yasr-ajax-functions.php:508
374
  msgid "Medium"
375
  msgstr "Medio"
376
 
377
+ #: ../lib/yasr-settings-functions.php:153 ../lib/yasr-ajax-functions.php:491
378
+ #: ../lib/yasr-ajax-functions.php:509
379
  msgid "Large"
380
  msgstr "Grande"
381
 
519
  msgstr ""
520
  "Funzionerà solo sui post/pagine dove non hai cambiato l'itemtype manualmente"
521
 
522
+ #: ../lib/yasr-settings-functions.php:448
523
+ msgid "Which format do you want to use?"
524
+ msgstr "Che formato si vule usare?"
525
+
526
+ #: ../lib/yasr-settings-functions.php:452
527
+ msgid "Microdata"
528
+ msgstr "Microdata"
529
+
530
+ #: ../lib/yasr-settings-functions.php:456
531
+ msgid "Json-ld"
532
+ msgstr "Json-ld"
533
+
534
+ #: ../lib/yasr-settings-functions.php:461
535
+ msgid "Leave the default value if you don't know what this is"
536
+ msgstr "Lascialo il valore di default se non sai di cosa si tratta"
537
+
538
+ #: ../lib/yasr-settings-functions.php:480
539
  msgid "Stars"
540
  msgstr "Stelle"
541
 
542
+ #: ../lib/yasr-settings-functions.php:484
543
  msgid "Numbers"
544
  msgstr "Numeri"
545
 
546
+ #: ../lib/yasr-settings-functions.php:509
547
  msgid "Which color scheme do you want to use?"
548
  msgstr "Che schema di colori vuoi usare?"
549
 
550
+ #: ../lib/yasr-settings-functions.php:530
551
  msgid "Light"
552
  msgstr "Chiaro"
553
 
554
+ #: ../lib/yasr-settings-functions.php:535
555
  msgid "Dark"
556
  msgstr "Scuro"
557
 
558
+ #: ../lib/yasr-settings-functions.php:540
559
  msgid "Preview"
560
  msgstr "Anteprima"
561
 
562
+ #: ../lib/yasr-settings-functions.php:545
563
  msgid "Light theme"
564
  msgstr "Tema chiaro"
565
 
566
+ #: ../lib/yasr-settings-functions.php:550
567
  msgid "Dark theme"
568
  msgstr "Tema scuro"
569
 
570
+ #: ../lib/yasr-settings-functions.php:565
571
  msgid "Add New Multiple Set"
572
  msgstr "Set Multipli"
573
 
574
+ #: ../lib/yasr-settings-functions.php:566
575
  msgid ""
576
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
577
  "characters"
579
  "Nome, Elemento#1 e Elemento#2 DEVONO essere riempiti e devono essere lunghi "
580
  "almeno 3 caratteri"
581
 
582
+ #: ../lib/yasr-settings-functions.php:569
583
  msgid "Name"
584
  msgstr "Nome"
585
 
586
+ #: ../lib/yasr-settings-functions.php:574
587
  msgid "You can insert up to nine elements"
588
  msgstr "Puoi inserire fino a nove elementi"
589
 
590
+ #: ../lib/yasr-settings-functions.php:579
591
  msgid "Element "
592
  msgstr "Elemento"
593
 
594
+ #: ../lib/yasr-settings-functions.php:589
595
  msgid "Create New Set"
596
  msgstr "Crea Nuovo Set"
597
 
598
+ #: ../lib/yasr-settings-functions.php:610
599
+ #: ../lib/yasr-settings-functions.php:643
600
  msgid "Manage Multiple Set"
601
  msgstr "Gestisci Set Multiplo"
602
 
603
+ #: ../lib/yasr-settings-functions.php:612
604
  msgid "Wich set do you want to edit or remove?"
605
  msgstr "Quale set vuoi modificare o rimuovere"
606
 
607
+ #: ../lib/yasr-settings-functions.php:653
608
+ #: ../lib/yasr-settings-functions.php:771
609
  msgid "Field name"
610
  msgstr "Nome campo"
611
 
612
+ #: ../lib/yasr-settings-functions.php:657
613
+ #: ../lib/yasr-settings-functions.php:775
614
  msgid "Remove"
615
  msgstr "Rimuovi"
616
 
617
+ #: ../lib/yasr-settings-functions.php:699
618
+ #: ../lib/yasr-settings-functions.php:817
619
  msgid "Remove whole set?"
620
  msgstr "Rimuovere l'intero set?"
621
 
622
+ #: ../lib/yasr-settings-functions.php:712
623
+ #: ../lib/yasr-settings-functions.php:830
624
  msgid ""
625
  "If you remove something you will remove all the votes for that set or field. "
626
  "This operation CAN'T BE undone."
628
  "Se rimuovi qualcosa rimuoverai anche i voti per quel set o campo. Questa "
629
  "operazione NON PUÒ ESSERE ANNULLATA"
630
 
631
+ #: ../lib/yasr-settings-functions.php:719
632
+ #: ../lib/yasr-settings-functions.php:837
633
  msgid "You can use up to 9 elements"
634
  msgstr "Puoi usare fino a 9 elementi"
635
 
636
+ #: ../lib/yasr-settings-functions.php:721
637
+ #: ../lib/yasr-settings-functions.php:839
638
  msgid "Add element"
639
  msgstr "Aggiungi elemento"
640
 
641
+ #: ../lib/yasr-settings-functions.php:723
642
+ #: ../lib/yasr-settings-functions.php:841
643
  msgid "Save changes"
644
  msgstr "Salva modifiche"
645
 
646
+ #: ../lib/yasr-settings-functions.php:733
647
  msgid "No Multiple Set were found"
648
  msgstr "Nessun Set Multiplo trovato"
649
 
650
+ #: ../lib/yasr-settings-functions.php:982
651
+ #: ../lib/yasr-settings-functions.php:1250
652
  msgid "Settings Saved"
653
  msgstr "Impostazioni Salvate"
654
 
655
+ #: ../lib/yasr-settings-functions.php:987
656
  msgid "Something goes wrong trying insert set field name. Please report it"
657
  msgstr ""
658
  "Qualcosa è andato storto cercando di inserire un elemento. Per favore "
659
  "segnalalo"
660
 
661
+ #: ../lib/yasr-settings-functions.php:993
662
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
663
  msgstr ""
664
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
665
  "favore segnalalo"
666
 
667
+ #: ../lib/yasr-settings-functions.php:1068
668
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
669
  msgstr ""
670
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
671
  "favore segnalalo"
672
 
673
+ #: ../lib/yasr-settings-functions.php:1114
674
  msgid ""
675
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
676
  msgstr ""
677
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
678
  "favore segnalalo"
679
 
680
+ #: ../lib/yasr-settings-functions.php:1178
681
  msgid ""
682
  "Something goes wrong trying to update a Multi Set's element. Please report it"
683
  msgstr ""
684
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
685
  "favore segnalalo"
686
 
687
+ #: ../lib/yasr-settings-functions.php:1235
688
  msgid ""
689
  "Something goes wrong trying to insert set field name in edit form. Please "
690
  "report it"
692
  "Qualcosa è andato storto cercando di inserire il campo nel form di modifica. "
693
  "Per favore segnalalo"
694
 
695
+ #: ../lib/yasr-settings-functions.php:1280
696
  msgid "Style Options"
697
  msgstr "Opzioni Stili"
698
 
699
+ #: ../lib/yasr-settings-functions.php:1281
700
  msgid "Custom CSS Styles"
701
  msgstr "Stili CSS Personalizzati"
702
 
703
+ #: ../lib/yasr-settings-functions.php:1286
704
  msgid ""
705
  "Please use text area below to write your own CSS styles to override the "
706
  "default ones."
708
  "Usa l'area di testo sottostante per scrivere le tue regole CSS che "
709
  "sovrascriveranno quelle di default"
710
 
711
+ #: ../lib/yasr-settings-functions.php:1288
712
  msgid "Leave it blank if you don't know what you're doing"
713
  msgstr "Lascialo vuoto se non stai cosa stai facendo"
714
 
715
+ #: ../lib/yasr-settings-functions.php:1311
716
  msgid "Looking for more features?"
717
  msgstr "Hai bisogno di più funzioni?"
718
 
719
+ #: ../lib/yasr-settings-functions.php:1312
720
  msgid "Upgrade to yasr pro!"
721
  msgstr "Passa a yasr pro!"
722
 
723
+ #: ../lib/yasr-settings-functions.php:1328
724
  msgid "Unlimited ratings and votes"
725
  msgstr "Voti e recensioni illimitate"
726
 
727
+ #: ../lib/yasr-settings-functions.php:1334
728
  msgid "Works with shortcodes"
729
  msgstr "Funziona con gli shortcodes"
730
 
731
+ #: ../lib/yasr-settings-functions.php:1340
732
  msgid "Multi Set Support"
733
  msgstr "Supporto Set Multipli"
734
 
735
+ #: ../lib/yasr-settings-functions.php:1345
736
  msgid "Logs and stats for visitors votes"
737
  msgstr "Log e statistiche per i voti utenti"
738
 
739
+ #: ../lib/yasr-settings-functions.php:1350
740
  msgid "Localization (.po and .mo files included)"
741
  msgstr "Traducibile (files .po e .mo inclusi)"
742
 
743
+ #: ../lib/yasr-settings-functions.php:1355
744
  msgid "Rich Snippet Support"
745
  msgstr "Supporto per Rich Snippet"
746
 
747
+ #: ../lib/yasr-settings-functions.php:1360
748
  msgid "Rankings for reviews, votes and users"
749
  msgstr "Classifiche per recensioni, voti e utenti"
750
 
751
+ #: ../lib/yasr-settings-functions.php:1365
752
  msgid "Rankings Customization"
753
  msgstr "Personalizzazione Classifiche"
754
 
755
+ #: ../lib/yasr-settings-functions.php:1370
756
  msgid "Stars Customization"
757
  msgstr "Personalizzazione Stelle"
758
 
759
+ #: ../lib/yasr-settings-functions.php:1371
760
  msgid "Size Only"
761
  msgstr "Solo la grandezza"
762
 
763
+ #: ../lib/yasr-settings-functions.php:1372
764
  msgid ""
765
  "Users can choose different ready to use sets or can upload their own images."
766
  msgstr ""
767
  "È possibile scegliere diversi set pronti all'uso o caricare le proprie "
768
  "immagini"
769
 
770
+ #: ../lib/yasr-settings-functions.php:1375
771
  msgid "Users can review in comments"
772
  msgstr "Gli utenti possono recensire nei commenti"
773
 
774
+ #: ../lib/yasr-settings-functions.php:1386
775
  msgid "Not avaible yet"
776
  msgstr "Non ancora disponibile"
777
 
778
+ #: ../lib/yasr-settings-functions.php:1445
779
  msgid "Keep in touch!"
780
  msgstr "Teniamoci in contatto!"
781
 
782
+ #: ../lib/yasr-settings-functions.php:1487
783
  #, php-format
784
  msgid ""
785
  "Hey, seems like you reached %s votes on your site throught YASR! That's cool!"
786
  msgstr ""
787
  "Ciao, sembra che hai ottenuto %s voti sul tuo sito grazie a YASR! Ottimo!"
788
 
789
+ #: ../lib/yasr-settings-functions.php:1489
790
  msgid "Can I ask a favor?"
791
  msgstr "Ti posso chiedere un favore?"
792
 
793
+ #: ../lib/yasr-settings-functions.php:1491
794
  msgid "Can you please rate YASR 5 stars on"
795
  msgstr "Puoi dare 5 stelle a YASR su"
796
 
797
+ #: ../lib/yasr-settings-functions.php:1493
798
  msgid " It will require just 1 min but it's a HUGE help for me. Thank you."
799
  msgstr " Richiederà solo 1 minuto ma è un ENORME aiuto per me. Grazie!"
800
 
801
+ #: ../lib/yasr-settings-functions.php:1499
802
  msgid "Ok, I'm glad to help!"
803
  msgstr "Ok, sono contento di aiutare!"
804
 
805
+ #: ../lib/yasr-settings-functions.php:1500
806
  msgid "Remind me later!"
807
  msgstr "Ricordamelo dopo!"
808
 
809
+ #: ../lib/yasr-settings-functions.php:1501
810
  msgid "Don't need to ask, I already did it!"
811
  msgstr "Non c'è bisogno di chiederlo, l'ho già fatto!"
812
 
813
+ #: ../lib/yasr-settings-functions.php:1534
814
  #, php-format
815
  msgid ""
816
  "Thank you for using <a href=\"%s\" target=\"_blank\">Yet Another Stars "
821
  "a>. Per favore, <a href=\"%s\" target=\"_blank\">dagli</a> 5 stelle su <a "
822
  "href=\"%s\" target=\"_blank\">WordPress.org</a>"
823
 
824
+ #: ../lib/yasr-settings-functions.php:1579
825
  msgid "No previous Gd Star Rating installation was found"
826
  msgstr "Installazione precedente di Gd Star Rating non stata trovata"
827
 
828
+ #: ../lib/yasr-db-functions.php:319
829
  msgid "No recenet votes yet"
830
  msgstr "Ancora nessun voto recente"
831
 
832
+ #: ../lib/yasr-db-functions.php:334 ../lib/yasr-ajax-functions.php:805
833
  msgid "anonymous"
834
  msgstr "anonimo"
835
 
836
+ #: ../lib/yasr-db-functions.php:343
837
  #, php-format
838
  msgid "Vote %d from %s on "
839
+ msgstr "Voto %d from %s on"
840
 
841
+ #: ../lib/yasr-db-functions.php:359 ../lib/yasr-ajax-functions.php:830
842
  msgid "Ip address"
843
  msgstr "Indirizzo Ip"
844
 
845
+ #: ../lib/yasr-db-functions.php:400 ../lib/yasr-ajax-functions.php:871
846
  msgid "Pages"
847
  msgstr "Pagine"
848
 
862
  msgid "You don't have enought privileges to insert Multi Set"
863
  msgstr "Non hai abbastanza permessi per inserire un Multi Set"
864
 
865
+ #: ../lib/yasr-functions.php:303
866
  msgid "reviewed by"
867
  msgstr "recensito da"
868
 
869
+ #: ../lib/yasr-functions.php:305 ../lib/yasr-functions.php:373
870
  msgid " on "
871
  msgstr " il "
872
 
873
+ #: ../lib/yasr-functions.php:319
874
  msgid "reviewed on"
875
  msgstr "recensito da"
876
 
877
+ #: ../lib/yasr-functions.php:320
878
  msgid "by "
879
+ msgstr "da"
880
 
881
+ #: ../lib/yasr-functions.php:324
882
  msgid "rated"
883
  msgstr "votato"
884
 
885
+ #: ../lib/yasr-functions.php:324
886
  msgid "of"
887
  msgstr "su"
888
 
889
+ #: ../lib/yasr-functions.php:381
890
  msgid " written by "
891
  msgstr " scritto da "
892
 
893
+ #: ../lib/yasr-functions.php:384
894
  msgid " average rating "
895
  msgstr " media voto "
896
 
897
+ #: ../lib/yasr-functions.php:385
898
  msgid " user ratings"
899
  msgstr " voti utenti "
900
 
901
+ #: ../lib/yasr-functions.php:567
902
  msgid "Product, Place, Other"
903
  msgstr "Product, Place, Other"
904
 
910
  msgid "You've reset the vote"
911
  msgstr "Hai resettato il voto"
912
 
913
+ #: ../lib/yasr-ajax-functions.php:187
914
  msgid ""
915
  "There was an error while trying to insert the review type. Please report it"
916
  msgstr ""
917
  "Qualcosa è andato storto cercando di inserire un elemento. Per favore "
918
  "segnalalo"
919
 
920
+ #: ../lib/yasr-ajax-functions.php:222
921
  msgid "Choose a vote for each element"
922
  msgstr "Scegli un voto per ogni elemento"
923
 
924
+ #: ../lib/yasr-ajax-functions.php:285 ../lib/yasr-ajax-functions.php:329
925
  msgid "If you want to insert this multiset, paste this shortcode "
926
  msgstr "Se vuoi inserire questo Set Multiplo, incolla questo shortcode "
927
 
928
+ #: ../lib/yasr-ajax-functions.php:287 ../lib/yasr-ajax-functions.php:331
929
  msgid ""
930
  "If, instead, you want allow your visitor to vote on this multiset, use this "
931
  "shortcode"
933
  "Se, invece, vuoi permettere al visitatore di votare su questo multiset, usa "
934
  "questo shortcode"
935
 
936
+ #: ../lib/yasr-ajax-functions.php:296
937
  msgid "Choose a vote for every element"
938
  msgstr "Scegli un voto per ogni elemento"
939
 
940
+ #: ../lib/yasr-ajax-functions.php:469
941
  msgid "Main"
942
+ msgstr "Principale"
943
 
944
+ #: ../lib/yasr-ajax-functions.php:470
945
  msgid "Charts"
946
  msgstr "Classifiche"
947
 
948
+ #: ../lib/yasr-ajax-functions.php:472
949
  msgid "Read the doc"
950
  msgstr "Leggi la documentazione"
951
 
952
+ #: ../lib/yasr-ajax-functions.php:481
953
  msgid "Overall Rating / Review"
954
  msgstr "Voto Complessivo"
955
 
956
+ #: ../lib/yasr-ajax-functions.php:483
957
  msgid "Insert Overall Rating"
958
  msgstr "Inserisci Voto Complessivo"
959
 
960
+ #: ../lib/yasr-ajax-functions.php:484
961
  msgid "Insert Overall Rating / Review for this post"
962
  msgstr "Inserisci Voto Complessivo / Recensione per questo post"
963
 
964
+ #: ../lib/yasr-ajax-functions.php:487 ../lib/yasr-ajax-functions.php:505
965
  msgid "Choose Size"
966
  msgstr "Scegli la grandezza"
967
 
968
+ #: ../lib/yasr-ajax-functions.php:501
969
  msgid "Insert Visitor Votes"
970
  msgstr "Inserisci Voti Utenti"
971
 
972
+ #: ../lib/yasr-ajax-functions.php:502
973
  msgid "Insert the ability for your visitor to vote"
974
  msgstr "Permetti ai tuoi visitatori di votare"
975
 
976
+ #: ../lib/yasr-ajax-functions.php:519
977
  msgid "If you want to insert a Multi Set, pick one:"
978
  msgstr "Se vuoi inserire un Set Multiplo, scegline uno:"
979
 
980
+ #: ../lib/yasr-ajax-functions.php:525
981
  msgid "Choose wich set you want to insert."
982
  msgstr "Scegli quale Set Multiplo inserire"
983
 
984
+ #: ../lib/yasr-ajax-functions.php:527 ../lib/yasr-ajax-functions.php:544
985
  msgid "Readonly?"
986
  msgstr "Sola lettura?"
987
 
988
+ #: ../lib/yasr-ajax-functions.php:529 ../lib/yasr-ajax-functions.php:545
989
  msgid ""
990
  "If Readonly is checked, only you can insert the votes (in the box above the "
991
  "editor)"
993
  "Se selezioni sola lettura, solo tu puoi inserire i voti (nel box sotto "
994
  "l'editor)"
995
 
996
+ #: ../lib/yasr-ajax-functions.php:530
997
  msgid "Insert Multi Set"
998
  msgstr "Inserisci Set Multiplo"
999
 
1000
+ #: ../lib/yasr-ajax-functions.php:539
1001
  msgid "Insert Multiset:"
1002
  msgstr "Inserisci Set Multiplo:"
1003
 
1004
+ #: ../lib/yasr-ajax-functions.php:542
1005
  msgid "Insert Multiple Set"
1006
  msgstr "Inserisci Set Multiplo"
1007
 
1008
+ #: ../lib/yasr-ajax-functions.php:560
1009
  msgid "Ranking reviews"
1010
  msgstr "Classifica recensioni"
1011
 
1012
+ #: ../lib/yasr-ajax-functions.php:561
1013
  msgid "Insert Ranking reviews"
1014
  msgstr "Classifica recensioni"
1015
 
1016
+ #: ../lib/yasr-ajax-functions.php:562
1017
  msgid "Insert Top 10 ranking for [yasr_overall_rating] shortcode"
1018
  msgstr "Inserisci la classifica top 10 per lo shortcode [yasr_overall_rating]"
1019
 
1020
+ #: ../lib/yasr-ajax-functions.php:566
1021
  msgid "Users' ranking"
1022
  msgstr "Classifica degli utenti"
1023
 
1024
+ #: ../lib/yasr-ajax-functions.php:567
1025
  msgid "Insert Users ranking"
1026
  msgstr "Inserisci Classifica Utenti"
1027
 
1028
+ #: ../lib/yasr-ajax-functions.php:568
1029
  msgid "Insert Top 10 ranking for [yasr_visitor_votes] shortcode"
1030
  msgstr "Inserisci la classifica top 10 per lo shortcode [yasr_visitor_votes]"
1031
 
1032
+ #: ../lib/yasr-ajax-functions.php:572
1033
  msgid "Most active reviewers"
1034
  msgstr "Recensori più attivi"
1035
 
1036
+ #: ../lib/yasr-ajax-functions.php:573
1037
  msgid "Insert Most Active Reviewers"
1038
  msgstr "Inserisci i 5 recensori più attivi"
1039
 
1040
+ #: ../lib/yasr-ajax-functions.php:574
1041
  msgid "Insert Top 5 active reviewers"
1042
  msgstr "Inserisci i 5 recensori più attivi"
1043
 
1044
+ #: ../lib/yasr-ajax-functions.php:578
1045
  msgid "Most Active Users"
1046
  msgstr "Utenti più attivi"
1047
 
1048
+ #: ../lib/yasr-ajax-functions.php:579
1049
  msgid "Insert Most Active Users"
1050
  msgstr "Inserisci i 10 utenti più attivi"
1051
 
1052
+ #: ../lib/yasr-ajax-functions.php:580
1053
  msgid "Insert Top 10 voters [yasr_visitor_votes] shortcode"
1054
  msgstr "Inserisci i 10 utenti più attivi in [yasr_visitor_votes]"
1055
 
1056
+ #: ../lib/yasr-ajax-functions.php:651
1057
  msgid "Reviews and Visitor Votes have been successfull imported."
1058
  msgstr "Recensioni e Voti utenti sono stati importati con successo."
1059
 
1060
+ #: ../lib/yasr-ajax-functions.php:657
1061
  msgid ""
1062
  "Step2: I will check if you used Multiple Sets and if so I will import them. "
1063
  "THIS MAY TAKE A WHILE!"
1065
  "Step2: Contrellerò se hai usato Set Multipli e se li trovo l'importerò: PUÒ "
1066
  "RICHIEDERE UN PÒ DI TEMPO!"
1067
 
1068
+ #: ../lib/yasr-ajax-functions.php:659
1069
  msgid "Proceed Step 2"
1070
  msgstr "Procedi Step 2"
1071
 
1072
+ #: ../lib/yasr-ajax-functions.php:666
1073
  msgid "Something goes wrong! Refresh the page and try again!"
1074
  msgstr "Qualcosa è andato storto! Aggiorna la pagina e prova ancora!"
1075
 
1076
+ #: ../lib/yasr-ajax-functions.php:695
1077
  msgid "I've found Multiple Set! Importing..."
1078
  msgstr "Set Multipli trovati! Importazione..."
1079
 
1080
+ #: ../lib/yasr-ajax-functions.php:704
1081
  msgid "Multi Set's name has been successfull imported."
1082
  msgstr "I nomi dei Set Multipli sono stati importati con successo"
1083
 
1084
+ #: ../lib/yasr-ajax-functions.php:706
1085
  msgid "Now I'm going to import Multi Set data"
1086
  msgstr "Ora importerò i dati dei Set Multipli"
1087
 
1088
+ #: ../lib/yasr-ajax-functions.php:717
1089
  msgid "All votes has been successfull imported."
1090
  msgstr "Tutti i voti sono stati importati con successo"
1091
 
1092
+ #: ../lib/yasr-ajax-functions.php:719
1093
  msgid "Done"
1094
  msgstr "Fatto"
1095
 
1096
+ #: ../lib/yasr-ajax-functions.php:724
1097
  msgid "I've found Multiple Set's votes but I couldn't insert into db"
1098
  msgstr "Ho trovato i voti per i Set Multi ma non li ho potuti inserire nel db"
1099
 
1100
+ #: ../lib/yasr-ajax-functions.php:732
1101
  msgid "I've found Multi Set but with no data"
1102
  msgstr "ho trovato Set Multipli ma senza dati"
1103
 
1104
+ #: ../lib/yasr-ajax-functions.php:741
1105
  msgid "I've found Multi Sets names but I couldn't insert into db"
1106
  msgstr "Ho trovato Set Multipli ma non li ho potuti inserire nel db"
1107
 
1108
+ #: ../lib/yasr-ajax-functions.php:749
1109
  msgid "Multisets were not found. Imported is done!"
1110
  msgstr "Set Multipli non trovati. Importazione dati conclusa!"
1111
 
1112
+ #: ../lib/yasr-ajax-functions.php:792
1113
  msgid "No Recenet votes yet"
1114
  msgstr "Ancora nessun voto recente"
1115
 
1116
+ #: ../lib/yasr-ajax-functions.php:814
1117
  #, php-format
1118
  msgid "Vote %d from %s on"
1119
  msgstr "Voto %d da %s su"
1120
 
1121
+ #: ../lib/yasr-ajax-functions.php:1012 ../lib/yasr-ajax-functions.php:1167
1122
  msgid "Error: you can't vote 0"
1123
  msgstr "Errore: non puoi votare 0"
1124
 
1125
+ #: ../lib/yasr-ajax-functions.php:1117 ../lib/yasr-ajax-functions.php:1125
1126
  msgid "Average:"
1127
  msgstr "Media:"
1128
 
1129
+ #: ../lib/yasr-ajax-functions.php:1118 ../lib/yasr-ajax-functions.php:1126
1130
  msgid "Vote Saved"
1131
  msgstr "Voto Salvato"
1132
 
1133
+ #: ../lib/yasr-ajax-functions.php:1263
1134
  msgid "Vote updated"
1135
  msgstr "Voto Aggiornato"
1136
 
1137
+ #: ../lib/yasr-ajax-functions.php:1408
1138
  msgid "Rating saved!"
1139
  msgstr "Voto salvato!"
1140
 
1141
+ #: ../lib/yasr-ajax-functions.php:1414
1142
  msgid "Rating not saved. Please Try again"
1143
  msgstr "Voto non salvato. Per favore riprova"
1144
 
1145
+ #: ../lib/yasr-ajax-functions.php:1507
1146
  msgid "stars"
1147
  msgstr "stelle"
1148
 
1149
+ #: ../lib/yasr-ajax-functions.php:1512
1150
  msgid "star"
1151
  msgstr "stella"
1152
 
languages/{yasr-nb_NO.mo → yet-another-stars-rating-nb_NO.mo} RENAMED
File without changes
languages/{yasr-nb_NO.po → yet-another-stars-rating-nb_NO.po} RENAMED
File without changes
languages/{yasr-nl_NL.mo → yet-another-stars-rating-nl_NL.mo} RENAMED
File without changes
languages/{yasr-nl_NL.po → yet-another-stars-rating-nl_NL.po} RENAMED
File without changes
languages/{yasr-pl_PL.mo → yet-another-stars-rating-pl_PL.mo} RENAMED
File without changes
languages/{yasr-pl_PL.po → yet-another-stars-rating-pl_PL.po} RENAMED
File without changes
languages/{yasr-pt_BR.mo → yet-another-stars-rating-pt_BR.mo} RENAMED
File without changes
languages/{yasr-pt_BR.po → yet-another-stars-rating-pt_BR.po} RENAMED
File without changes
languages/{yasr-ru_RU.mo → yet-another-stars-rating-ru_RU.mo} RENAMED
File without changes
languages/{yasr-ru_RU.po → yet-another-stars-rating-ru_RU.po} RENAMED
File without changes
languages/{yasr.mo → yet-another-stars-rating.mo} RENAMED
Binary file
languages/{yasr.pot → yet-another-stars-rating.pot} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YASR lenguages\n"
4
- "POT-Creation-Date: 2015-09-16 17:21+0100\n"
5
- "PO-Revision-Date: 2015-09-16 17:21+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: En\n"
@@ -33,7 +33,7 @@ msgid "This review is about a..."
33
  msgstr ""
34
 
35
  #: ../yasr-metabox-top-right.php:181 ../yasr-metabox-multiple-rating.php:46
36
- #: ../lib/yasr-settings-functions.php:598
37
  msgid "Select"
38
  msgstr ""
39
 
@@ -44,8 +44,8 @@ msgid ""
44
  msgstr ""
45
 
46
  #: ../yasr-settings-page.php:24 ../lib/yasr-functions.php:111
47
- #: ../lib/yasr-ajax-functions.php:44 ../lib/yasr-ajax-functions.php:211
48
- #: ../lib/yasr-ajax-functions.php:365 ../lib/yasr-ajax-functions.php:781
49
  msgid "You do not have sufficient permissions to access this page."
50
  msgstr ""
51
 
@@ -171,8 +171,8 @@ msgstr ""
171
  msgid "You must sign to vote"
172
  msgstr ""
173
 
174
- #: ../lib/yasr-shortcode-functions.php:306 ../lib/yasr-ajax-functions.php:1118
175
- #: ../lib/yasr-ajax-functions.php:1126 ../lib/yasr-ajax-functions.php:1261
176
  msgid "Total: "
177
  msgstr ""
178
 
@@ -320,7 +320,7 @@ msgstr ""
320
  msgid "Overall Rating / Author Rating"
321
  msgstr ""
322
 
323
- #: ../lib/yasr-settings-functions.php:111 ../lib/yasr-ajax-functions.php:500
324
  msgid "Visitor Votes"
325
  msgstr ""
326
 
@@ -344,18 +344,18 @@ msgstr ""
344
  msgid "Size"
345
  msgstr ""
346
 
347
- #: ../lib/yasr-settings-functions.php:143 ../lib/yasr-ajax-functions.php:490
348
- #: ../lib/yasr-ajax-functions.php:508
349
  msgid "Small"
350
  msgstr ""
351
 
352
- #: ../lib/yasr-settings-functions.php:148 ../lib/yasr-ajax-functions.php:491
353
- #: ../lib/yasr-ajax-functions.php:509
354
  msgid "Medium"
355
  msgstr ""
356
 
357
- #: ../lib/yasr-settings-functions.php:153 ../lib/yasr-ajax-functions.php:492
358
- #: ../lib/yasr-ajax-functions.php:510
359
  msgid "Large"
360
  msgstr ""
361
 
@@ -483,261 +483,277 @@ msgid ""
483
  "itemtype yet."
484
  msgstr ""
485
 
486
- #: ../lib/yasr-settings-functions.php:458
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
487
  msgid "Stars"
488
  msgstr ""
489
 
490
- #: ../lib/yasr-settings-functions.php:462
491
  msgid "Numbers"
492
  msgstr ""
493
 
494
- #: ../lib/yasr-settings-functions.php:487
495
  msgid "Which color scheme do you want to use?"
496
  msgstr ""
497
 
498
- #: ../lib/yasr-settings-functions.php:508
499
  msgid "Light"
500
  msgstr ""
501
 
502
- #: ../lib/yasr-settings-functions.php:513
503
  msgid "Dark"
504
  msgstr ""
505
 
506
- #: ../lib/yasr-settings-functions.php:518
507
  msgid "Preview"
508
  msgstr ""
509
 
510
- #: ../lib/yasr-settings-functions.php:523
511
  msgid "Light theme"
512
  msgstr ""
513
 
514
- #: ../lib/yasr-settings-functions.php:528
515
  msgid "Dark theme"
516
  msgstr ""
517
 
518
- #: ../lib/yasr-settings-functions.php:543
519
  msgid "Add New Multiple Set"
520
  msgstr ""
521
 
522
- #: ../lib/yasr-settings-functions.php:544
523
  msgid ""
524
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
525
  "characters"
526
  msgstr ""
527
 
528
- #: ../lib/yasr-settings-functions.php:547
529
  msgid "Name"
530
  msgstr ""
531
 
532
- #: ../lib/yasr-settings-functions.php:552
533
  msgid "You can insert up to nine elements"
534
  msgstr ""
535
 
536
- #: ../lib/yasr-settings-functions.php:557
537
  msgid "Element "
538
  msgstr ""
539
 
540
- #: ../lib/yasr-settings-functions.php:567
541
  msgid "Create New Set"
542
  msgstr ""
543
 
544
- #: ../lib/yasr-settings-functions.php:588
545
- #: ../lib/yasr-settings-functions.php:621
546
  msgid "Manage Multiple Set"
547
  msgstr ""
548
 
549
- #: ../lib/yasr-settings-functions.php:590
550
  msgid "Wich set do you want to edit or remove?"
551
  msgstr ""
552
 
553
- #: ../lib/yasr-settings-functions.php:631
554
- #: ../lib/yasr-settings-functions.php:749
555
  msgid "Field name"
556
  msgstr ""
557
 
558
- #: ../lib/yasr-settings-functions.php:635
559
- #: ../lib/yasr-settings-functions.php:753
560
  msgid "Remove"
561
  msgstr ""
562
 
563
- #: ../lib/yasr-settings-functions.php:677
564
- #: ../lib/yasr-settings-functions.php:795
565
  msgid "Remove whole set?"
566
  msgstr ""
567
 
568
- #: ../lib/yasr-settings-functions.php:690
569
- #: ../lib/yasr-settings-functions.php:808
570
  msgid ""
571
  "If you remove something you will remove all the votes for that set or field. "
572
  "This operation CAN'T BE undone."
573
  msgstr ""
574
 
575
- #: ../lib/yasr-settings-functions.php:697
576
- #: ../lib/yasr-settings-functions.php:815
577
  msgid "You can use up to 9 elements"
578
  msgstr ""
579
 
580
- #: ../lib/yasr-settings-functions.php:699
581
- #: ../lib/yasr-settings-functions.php:817
582
  msgid "Add element"
583
  msgstr ""
584
 
585
- #: ../lib/yasr-settings-functions.php:701
586
- #: ../lib/yasr-settings-functions.php:819
587
  msgid "Save changes"
588
  msgstr ""
589
 
590
- #: ../lib/yasr-settings-functions.php:711
591
  msgid "No Multiple Set were found"
592
  msgstr ""
593
 
594
- #: ../lib/yasr-settings-functions.php:960
595
- #: ../lib/yasr-settings-functions.php:1228
596
  msgid "Settings Saved"
597
  msgstr ""
598
 
599
- #: ../lib/yasr-settings-functions.php:965
600
  msgid "Something goes wrong trying insert set field name. Please report it"
601
  msgstr ""
602
 
603
- #: ../lib/yasr-settings-functions.php:971
604
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
605
  msgstr ""
606
 
607
- #: ../lib/yasr-settings-functions.php:1046
608
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
609
  msgstr ""
610
 
611
- #: ../lib/yasr-settings-functions.php:1092
612
  msgid ""
613
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
614
  msgstr ""
615
 
616
- #: ../lib/yasr-settings-functions.php:1156
617
  msgid ""
618
  "Something goes wrong trying to update a Multi Set's element. Please report it"
619
  msgstr ""
620
 
621
- #: ../lib/yasr-settings-functions.php:1213
622
  msgid ""
623
  "Something goes wrong trying to insert set field name in edit form. Please "
624
  "report it"
625
  msgstr ""
626
 
627
- #: ../lib/yasr-settings-functions.php:1258
628
  msgid "Style Options"
629
  msgstr ""
630
 
631
- #: ../lib/yasr-settings-functions.php:1259
632
  msgid "Custom CSS Styles"
633
  msgstr ""
634
 
635
- #: ../lib/yasr-settings-functions.php:1264
636
  msgid ""
637
  "Please use text area below to write your own CSS styles to override the "
638
  "default ones."
639
  msgstr ""
640
 
641
- #: ../lib/yasr-settings-functions.php:1266
642
  msgid "Leave it blank if you don't know what you're doing"
643
  msgstr ""
644
 
645
- #: ../lib/yasr-settings-functions.php:1289
646
  msgid "Looking for more features?"
647
  msgstr ""
648
 
649
- #: ../lib/yasr-settings-functions.php:1290
650
  msgid "Upgrade to yasr pro!"
651
  msgstr ""
652
 
653
- #: ../lib/yasr-settings-functions.php:1306
654
  msgid "Unlimited ratings and votes"
655
  msgstr ""
656
 
657
- #: ../lib/yasr-settings-functions.php:1312
658
  msgid "Works with shortcodes"
659
  msgstr ""
660
 
661
- #: ../lib/yasr-settings-functions.php:1318
662
  msgid "Multi Set Support"
663
  msgstr ""
664
 
665
- #: ../lib/yasr-settings-functions.php:1323
666
  msgid "Logs and stats for visitors votes"
667
  msgstr ""
668
 
669
- #: ../lib/yasr-settings-functions.php:1328
670
  msgid "Localization (.po and .mo files included)"
671
  msgstr ""
672
 
673
- #: ../lib/yasr-settings-functions.php:1333
674
  msgid "Rich Snippet Support"
675
  msgstr ""
676
 
677
- #: ../lib/yasr-settings-functions.php:1338
678
  msgid "Rankings for reviews, votes and users"
679
  msgstr ""
680
 
681
- #: ../lib/yasr-settings-functions.php:1343
682
  msgid "Rankings Customization"
683
  msgstr ""
684
 
685
- #: ../lib/yasr-settings-functions.php:1348
686
  msgid "Stars Customization"
687
  msgstr ""
688
 
689
- #: ../lib/yasr-settings-functions.php:1349
690
  msgid "Size Only"
691
  msgstr ""
692
 
693
- #: ../lib/yasr-settings-functions.php:1350
694
  msgid ""
695
  "Users can choose different ready to use sets or can upload their own images."
696
  msgstr ""
697
 
698
- #: ../lib/yasr-settings-functions.php:1353
699
  msgid "Users can review in comments"
700
  msgstr ""
701
 
702
- #: ../lib/yasr-settings-functions.php:1364
703
  msgid "Not avaible yet"
704
  msgstr ""
705
 
706
- #: ../lib/yasr-settings-functions.php:1423
707
  msgid "Keep in touch!"
708
  msgstr ""
709
 
710
- #: ../lib/yasr-settings-functions.php:1465
711
  #, php-format
712
  msgid ""
713
  "Hey, seems like you reached %s votes on your site throught YASR! That's cool!"
714
  msgstr ""
715
 
716
- #: ../lib/yasr-settings-functions.php:1467
717
  msgid "Can I ask a favor?"
718
  msgstr ""
719
 
720
- #: ../lib/yasr-settings-functions.php:1469
721
  msgid "Can you please rate YASR 5 stars on"
722
  msgstr ""
723
 
724
- #: ../lib/yasr-settings-functions.php:1471
725
  msgid " It will require just 1 min but it's a HUGE help for me. Thank you."
726
  msgstr ""
727
 
728
- #: ../lib/yasr-settings-functions.php:1477
729
  msgid "Ok, I'm glad to help!"
730
  msgstr ""
731
 
732
- #: ../lib/yasr-settings-functions.php:1478
733
  msgid "Remind me later!"
734
  msgstr ""
735
 
736
- #: ../lib/yasr-settings-functions.php:1479
737
  msgid "Don't need to ask, I already did it!"
738
  msgstr ""
739
 
740
- #: ../lib/yasr-settings-functions.php:1512
741
  #, php-format
742
  msgid ""
743
  "Thank you for using <a href=\"%s\" target=\"_blank\">Yet Another Stars "
@@ -745,28 +761,28 @@ msgid ""
745
  "<a href=\"%s\" target=\"_blank\">WordPress.org</a>"
746
  msgstr ""
747
 
748
- #: ../lib/yasr-settings-functions.php:1557
749
  msgid "No previous Gd Star Rating installation was found"
750
  msgstr ""
751
 
752
- #: ../lib/yasr-db-functions.php:318
753
  msgid "No recenet votes yet"
754
  msgstr ""
755
 
756
- #: ../lib/yasr-db-functions.php:333 ../lib/yasr-ajax-functions.php:806
757
  msgid "anonymous"
758
  msgstr ""
759
 
760
- #: ../lib/yasr-db-functions.php:342
761
  #, php-format
762
  msgid "Vote %d from %s on "
763
  msgstr ""
764
 
765
- #: ../lib/yasr-db-functions.php:358 ../lib/yasr-ajax-functions.php:831
766
  msgid "Ip address"
767
  msgstr ""
768
 
769
- #: ../lib/yasr-db-functions.php:399 ../lib/yasr-ajax-functions.php:872
770
  msgid "Pages"
771
  msgstr ""
772
 
@@ -786,43 +802,43 @@ msgstr ""
786
  msgid "You don't have enought privileges to insert Multi Set"
787
  msgstr ""
788
 
789
- #: ../lib/yasr-functions.php:299
790
  msgid "reviewed by"
791
  msgstr ""
792
 
793
- #: ../lib/yasr-functions.php:301 ../lib/yasr-functions.php:369
794
  msgid " on "
795
  msgstr ""
796
 
797
- #: ../lib/yasr-functions.php:315
798
  msgid "reviewed on"
799
  msgstr ""
800
 
801
- #: ../lib/yasr-functions.php:316
802
  msgid "by "
803
  msgstr ""
804
 
805
- #: ../lib/yasr-functions.php:320
806
  msgid "rated"
807
  msgstr ""
808
 
809
- #: ../lib/yasr-functions.php:320
810
  msgid "of"
811
  msgstr ""
812
 
813
- #: ../lib/yasr-functions.php:377
814
  msgid " written by "
815
  msgstr ""
816
 
817
- #: ../lib/yasr-functions.php:380
818
  msgid " average rating "
819
  msgstr ""
820
 
821
- #: ../lib/yasr-functions.php:381
822
  msgid " user ratings"
823
  msgstr ""
824
 
825
- #: ../lib/yasr-functions.php:407
826
  msgid "Product, Place, Other"
827
  msgstr ""
828
 
@@ -834,234 +850,234 @@ msgstr ""
834
  msgid "You've reset the vote"
835
  msgstr ""
836
 
837
- #: ../lib/yasr-ajax-functions.php:188
838
  msgid ""
839
  "There was an error while trying to insert the review type. Please report it"
840
  msgstr ""
841
 
842
- #: ../lib/yasr-ajax-functions.php:223
843
  msgid "Choose a vote for each element"
844
  msgstr ""
845
 
846
- #: ../lib/yasr-ajax-functions.php:286 ../lib/yasr-ajax-functions.php:330
847
  msgid "If you want to insert this multiset, paste this shortcode "
848
  msgstr ""
849
 
850
- #: ../lib/yasr-ajax-functions.php:288 ../lib/yasr-ajax-functions.php:332
851
  msgid ""
852
  "If, instead, you want allow your visitor to vote on this multiset, use this "
853
  "shortcode"
854
  msgstr ""
855
 
856
- #: ../lib/yasr-ajax-functions.php:297
857
  msgid "Choose a vote for every element"
858
  msgstr ""
859
 
860
- #: ../lib/yasr-ajax-functions.php:470
861
  msgid "Main"
862
  msgstr ""
863
 
864
- #: ../lib/yasr-ajax-functions.php:471
865
  msgid "Charts"
866
  msgstr ""
867
 
868
- #: ../lib/yasr-ajax-functions.php:473
869
  msgid "Read the doc"
870
  msgstr ""
871
 
872
- #: ../lib/yasr-ajax-functions.php:482
873
  msgid "Overall Rating / Review"
874
  msgstr ""
875
 
876
- #: ../lib/yasr-ajax-functions.php:484
877
  msgid "Insert Overall Rating"
878
  msgstr ""
879
 
880
- #: ../lib/yasr-ajax-functions.php:485
881
  msgid "Insert Overall Rating / Review for this post"
882
  msgstr ""
883
 
884
- #: ../lib/yasr-ajax-functions.php:488 ../lib/yasr-ajax-functions.php:506
885
  msgid "Choose Size"
886
  msgstr ""
887
 
888
- #: ../lib/yasr-ajax-functions.php:502
889
  msgid "Insert Visitor Votes"
890
  msgstr ""
891
 
892
- #: ../lib/yasr-ajax-functions.php:503
893
  msgid "Insert the ability for your visitor to vote"
894
  msgstr ""
895
 
896
- #: ../lib/yasr-ajax-functions.php:520
897
  msgid "If you want to insert a Multi Set, pick one:"
898
  msgstr ""
899
 
900
- #: ../lib/yasr-ajax-functions.php:526
901
  msgid "Choose wich set you want to insert."
902
  msgstr ""
903
 
904
- #: ../lib/yasr-ajax-functions.php:528 ../lib/yasr-ajax-functions.php:545
905
  msgid "Readonly?"
906
  msgstr ""
907
 
908
- #: ../lib/yasr-ajax-functions.php:530 ../lib/yasr-ajax-functions.php:546
909
  msgid ""
910
  "If Readonly is checked, only you can insert the votes (in the box above the "
911
  "editor)"
912
  msgstr ""
913
 
914
- #: ../lib/yasr-ajax-functions.php:531
915
  msgid "Insert Multi Set"
916
  msgstr ""
917
 
918
- #: ../lib/yasr-ajax-functions.php:540
919
  msgid "Insert Multiset:"
920
  msgstr ""
921
 
922
- #: ../lib/yasr-ajax-functions.php:543
923
  msgid "Insert Multiple Set"
924
  msgstr ""
925
 
926
- #: ../lib/yasr-ajax-functions.php:561
927
  msgid "Ranking reviews"
928
  msgstr ""
929
 
930
- #: ../lib/yasr-ajax-functions.php:562
931
  msgid "Insert Ranking reviews"
932
  msgstr ""
933
 
934
- #: ../lib/yasr-ajax-functions.php:563
935
  msgid "Insert Top 10 ranking for [yasr_overall_rating] shortcode"
936
  msgstr ""
937
 
938
- #: ../lib/yasr-ajax-functions.php:567
939
  msgid "Users' ranking"
940
  msgstr ""
941
 
942
- #: ../lib/yasr-ajax-functions.php:568
943
  msgid "Insert Users ranking"
944
  msgstr ""
945
 
946
- #: ../lib/yasr-ajax-functions.php:569
947
  msgid "Insert Top 10 ranking for [yasr_visitor_votes] shortcode"
948
  msgstr ""
949
 
950
- #: ../lib/yasr-ajax-functions.php:573
951
  msgid "Most active reviewers"
952
  msgstr ""
953
 
954
- #: ../lib/yasr-ajax-functions.php:574
955
  msgid "Insert Most Active Reviewers"
956
  msgstr ""
957
 
958
- #: ../lib/yasr-ajax-functions.php:575
959
  msgid "Insert Top 5 active reviewers"
960
  msgstr ""
961
 
962
- #: ../lib/yasr-ajax-functions.php:579
963
  msgid "Most Active Users"
964
  msgstr ""
965
 
966
- #: ../lib/yasr-ajax-functions.php:580
967
  msgid "Insert Most Active Users"
968
  msgstr ""
969
 
970
- #: ../lib/yasr-ajax-functions.php:581
971
  msgid "Insert Top 10 voters [yasr_visitor_votes] shortcode"
972
  msgstr ""
973
 
974
- #: ../lib/yasr-ajax-functions.php:652
975
  msgid "Reviews and Visitor Votes have been successfull imported."
976
  msgstr ""
977
 
978
- #: ../lib/yasr-ajax-functions.php:658
979
  msgid ""
980
  "Step2: I will check if you used Multiple Sets and if so I will import them. "
981
  "THIS MAY TAKE A WHILE!"
982
  msgstr ""
983
 
984
- #: ../lib/yasr-ajax-functions.php:660
985
  msgid "Proceed Step 2"
986
  msgstr ""
987
 
988
- #: ../lib/yasr-ajax-functions.php:667
989
  msgid "Something goes wrong! Refresh the page and try again!"
990
  msgstr ""
991
 
992
- #: ../lib/yasr-ajax-functions.php:696
993
  msgid "I've found Multiple Set! Importing..."
994
  msgstr ""
995
 
996
- #: ../lib/yasr-ajax-functions.php:705
997
  msgid "Multi Set's name has been successfull imported."
998
  msgstr ""
999
 
1000
- #: ../lib/yasr-ajax-functions.php:707
1001
  msgid "Now I'm going to import Multi Set data"
1002
  msgstr ""
1003
 
1004
- #: ../lib/yasr-ajax-functions.php:718
1005
  msgid "All votes has been successfull imported."
1006
  msgstr ""
1007
 
1008
- #: ../lib/yasr-ajax-functions.php:720
1009
  msgid "Done"
1010
  msgstr ""
1011
 
1012
- #: ../lib/yasr-ajax-functions.php:725
1013
  msgid "I've found Multiple Set's votes but I couldn't insert into db"
1014
  msgstr ""
1015
 
1016
- #: ../lib/yasr-ajax-functions.php:733
1017
  msgid "I've found Multi Set but with no data"
1018
  msgstr ""
1019
 
1020
- #: ../lib/yasr-ajax-functions.php:742
1021
  msgid "I've found Multi Sets names but I couldn't insert into db"
1022
  msgstr ""
1023
 
1024
- #: ../lib/yasr-ajax-functions.php:750
1025
  msgid "Multisets were not found. Imported is done!"
1026
  msgstr ""
1027
 
1028
- #: ../lib/yasr-ajax-functions.php:793
1029
  msgid "No Recenet votes yet"
1030
  msgstr ""
1031
 
1032
- #: ../lib/yasr-ajax-functions.php:815
1033
  #, php-format
1034
  msgid "Vote %d from %s on"
1035
  msgstr ""
1036
 
1037
- #: ../lib/yasr-ajax-functions.php:1013 ../lib/yasr-ajax-functions.php:1168
1038
  msgid "Error: you can't vote 0"
1039
  msgstr ""
1040
 
1041
- #: ../lib/yasr-ajax-functions.php:1118 ../lib/yasr-ajax-functions.php:1126
1042
  msgid "Average:"
1043
  msgstr ""
1044
 
1045
- #: ../lib/yasr-ajax-functions.php:1119 ../lib/yasr-ajax-functions.php:1127
1046
  msgid "Vote Saved"
1047
  msgstr ""
1048
 
1049
- #: ../lib/yasr-ajax-functions.php:1264
1050
  msgid "Vote updated"
1051
  msgstr ""
1052
 
1053
- #: ../lib/yasr-ajax-functions.php:1409
1054
  msgid "Rating saved!"
1055
  msgstr ""
1056
 
1057
- #: ../lib/yasr-ajax-functions.php:1415
1058
  msgid "Rating not saved. Please Try again"
1059
  msgstr ""
1060
 
1061
- #: ../lib/yasr-ajax-functions.php:1508
1062
  msgid "stars"
1063
  msgstr ""
1064
 
1065
- #: ../lib/yasr-ajax-functions.php:1513
1066
  msgid "star"
1067
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YASR lenguages\n"
4
+ "POT-Creation-Date: 2015-10-01 12:28+0100\n"
5
+ "PO-Revision-Date: 2015-10-01 12:28+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: En\n"
33
  msgstr ""
34
 
35
  #: ../yasr-metabox-top-right.php:181 ../yasr-metabox-multiple-rating.php:46
36
+ #: ../lib/yasr-settings-functions.php:620
37
  msgid "Select"
38
  msgstr ""
39
 
44
  msgstr ""
45
 
46
  #: ../yasr-settings-page.php:24 ../lib/yasr-functions.php:111
47
+ #: ../lib/yasr-ajax-functions.php:44 ../lib/yasr-ajax-functions.php:210
48
+ #: ../lib/yasr-ajax-functions.php:364 ../lib/yasr-ajax-functions.php:780
49
  msgid "You do not have sufficient permissions to access this page."
50
  msgstr ""
51
 
171
  msgid "You must sign to vote"
172
  msgstr ""
173
 
174
+ #: ../lib/yasr-shortcode-functions.php:306 ../lib/yasr-ajax-functions.php:1117
175
+ #: ../lib/yasr-ajax-functions.php:1125 ../lib/yasr-ajax-functions.php:1260
176
  msgid "Total: "
177
  msgstr ""
178
 
320
  msgid "Overall Rating / Author Rating"
321
  msgstr ""
322
 
323
+ #: ../lib/yasr-settings-functions.php:111 ../lib/yasr-ajax-functions.php:499
324
  msgid "Visitor Votes"
325
  msgstr ""
326
 
344
  msgid "Size"
345
  msgstr ""
346
 
347
+ #: ../lib/yasr-settings-functions.php:143 ../lib/yasr-ajax-functions.php:489
348
+ #: ../lib/yasr-ajax-functions.php:507
349
  msgid "Small"
350
  msgstr ""
351
 
352
+ #: ../lib/yasr-settings-functions.php:148 ../lib/yasr-ajax-functions.php:490
353
+ #: ../lib/yasr-ajax-functions.php:508
354
  msgid "Medium"
355
  msgstr ""
356
 
357
+ #: ../lib/yasr-settings-functions.php:153 ../lib/yasr-ajax-functions.php:491
358
+ #: ../lib/yasr-ajax-functions.php:509
359
  msgid "Large"
360
  msgstr ""
361
 
483
  "itemtype yet."
484
  msgstr ""
485
 
486
+ #: ../lib/yasr-settings-functions.php:448
487
+ msgid "Which format do you want to use?"
488
+ msgstr ""
489
+
490
+ #: ../lib/yasr-settings-functions.php:452
491
+ msgid "Microdata"
492
+ msgstr ""
493
+
494
+ #: ../lib/yasr-settings-functions.php:456
495
+ msgid "Json-ld"
496
+ msgstr ""
497
+
498
+ #: ../lib/yasr-settings-functions.php:461
499
+ msgid "Leave the default value if you don't know what this is"
500
+ msgstr ""
501
+
502
+ #: ../lib/yasr-settings-functions.php:480
503
  msgid "Stars"
504
  msgstr ""
505
 
506
+ #: ../lib/yasr-settings-functions.php:484
507
  msgid "Numbers"
508
  msgstr ""
509
 
510
+ #: ../lib/yasr-settings-functions.php:509
511
  msgid "Which color scheme do you want to use?"
512
  msgstr ""
513
 
514
+ #: ../lib/yasr-settings-functions.php:530
515
  msgid "Light"
516
  msgstr ""
517
 
518
+ #: ../lib/yasr-settings-functions.php:535
519
  msgid "Dark"
520
  msgstr ""
521
 
522
+ #: ../lib/yasr-settings-functions.php:540
523
  msgid "Preview"
524
  msgstr ""
525
 
526
+ #: ../lib/yasr-settings-functions.php:545
527
  msgid "Light theme"
528
  msgstr ""
529
 
530
+ #: ../lib/yasr-settings-functions.php:550
531
  msgid "Dark theme"
532
  msgstr ""
533
 
534
+ #: ../lib/yasr-settings-functions.php:565
535
  msgid "Add New Multiple Set"
536
  msgstr ""
537
 
538
+ #: ../lib/yasr-settings-functions.php:566
539
  msgid ""
540
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
541
  "characters"
542
  msgstr ""
543
 
544
+ #: ../lib/yasr-settings-functions.php:569
545
  msgid "Name"
546
  msgstr ""
547
 
548
+ #: ../lib/yasr-settings-functions.php:574
549
  msgid "You can insert up to nine elements"
550
  msgstr ""
551
 
552
+ #: ../lib/yasr-settings-functions.php:579
553
  msgid "Element "
554
  msgstr ""
555
 
556
+ #: ../lib/yasr-settings-functions.php:589
557
  msgid "Create New Set"
558
  msgstr ""
559
 
560
+ #: ../lib/yasr-settings-functions.php:610
561
+ #: ../lib/yasr-settings-functions.php:643
562
  msgid "Manage Multiple Set"
563
  msgstr ""
564
 
565
+ #: ../lib/yasr-settings-functions.php:612
566
  msgid "Wich set do you want to edit or remove?"
567
  msgstr ""
568
 
569
+ #: ../lib/yasr-settings-functions.php:653
570
+ #: ../lib/yasr-settings-functions.php:771
571
  msgid "Field name"
572
  msgstr ""
573
 
574
+ #: ../lib/yasr-settings-functions.php:657
575
+ #: ../lib/yasr-settings-functions.php:775
576
  msgid "Remove"
577
  msgstr ""
578
 
579
+ #: ../lib/yasr-settings-functions.php:699
580
+ #: ../lib/yasr-settings-functions.php:817
581
  msgid "Remove whole set?"
582
  msgstr ""
583
 
584
+ #: ../lib/yasr-settings-functions.php:712
585
+ #: ../lib/yasr-settings-functions.php:830
586
  msgid ""
587
  "If you remove something you will remove all the votes for that set or field. "
588
  "This operation CAN'T BE undone."
589
  msgstr ""
590
 
591
+ #: ../lib/yasr-settings-functions.php:719
592
+ #: ../lib/yasr-settings-functions.php:837
593
  msgid "You can use up to 9 elements"
594
  msgstr ""
595
 
596
+ #: ../lib/yasr-settings-functions.php:721
597
+ #: ../lib/yasr-settings-functions.php:839
598
  msgid "Add element"
599
  msgstr ""
600
 
601
+ #: ../lib/yasr-settings-functions.php:723
602
+ #: ../lib/yasr-settings-functions.php:841
603
  msgid "Save changes"
604
  msgstr ""
605
 
606
+ #: ../lib/yasr-settings-functions.php:733
607
  msgid "No Multiple Set were found"
608
  msgstr ""
609
 
610
+ #: ../lib/yasr-settings-functions.php:982
611
+ #: ../lib/yasr-settings-functions.php:1250
612
  msgid "Settings Saved"
613
  msgstr ""
614
 
615
+ #: ../lib/yasr-settings-functions.php:987
616
  msgid "Something goes wrong trying insert set field name. Please report it"
617
  msgstr ""
618
 
619
+ #: ../lib/yasr-settings-functions.php:993
620
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
621
  msgstr ""
622
 
623
+ #: ../lib/yasr-settings-functions.php:1068
624
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
625
  msgstr ""
626
 
627
+ #: ../lib/yasr-settings-functions.php:1114
628
  msgid ""
629
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
630
  msgstr ""
631
 
632
+ #: ../lib/yasr-settings-functions.php:1178
633
  msgid ""
634
  "Something goes wrong trying to update a Multi Set's element. Please report it"
635
  msgstr ""
636
 
637
+ #: ../lib/yasr-settings-functions.php:1235
638
  msgid ""
639
  "Something goes wrong trying to insert set field name in edit form. Please "
640
  "report it"
641
  msgstr ""
642
 
643
+ #: ../lib/yasr-settings-functions.php:1280
644
  msgid "Style Options"
645
  msgstr ""
646
 
647
+ #: ../lib/yasr-settings-functions.php:1281
648
  msgid "Custom CSS Styles"
649
  msgstr ""
650
 
651
+ #: ../lib/yasr-settings-functions.php:1286
652
  msgid ""
653
  "Please use text area below to write your own CSS styles to override the "
654
  "default ones."
655
  msgstr ""
656
 
657
+ #: ../lib/yasr-settings-functions.php:1288
658
  msgid "Leave it blank if you don't know what you're doing"
659
  msgstr ""
660
 
661
+ #: ../lib/yasr-settings-functions.php:1311
662
  msgid "Looking for more features?"
663
  msgstr ""
664
 
665
+ #: ../lib/yasr-settings-functions.php:1312
666
  msgid "Upgrade to yasr pro!"
667
  msgstr ""
668
 
669
+ #: ../lib/yasr-settings-functions.php:1328
670
  msgid "Unlimited ratings and votes"
671
  msgstr ""
672
 
673
+ #: ../lib/yasr-settings-functions.php:1334
674
  msgid "Works with shortcodes"
675
  msgstr ""
676
 
677
+ #: ../lib/yasr-settings-functions.php:1340
678
  msgid "Multi Set Support"
679
  msgstr ""
680
 
681
+ #: ../lib/yasr-settings-functions.php:1345
682
  msgid "Logs and stats for visitors votes"
683
  msgstr ""
684
 
685
+ #: ../lib/yasr-settings-functions.php:1350
686
  msgid "Localization (.po and .mo files included)"
687
  msgstr ""
688
 
689
+ #: ../lib/yasr-settings-functions.php:1355
690
  msgid "Rich Snippet Support"
691
  msgstr ""
692
 
693
+ #: ../lib/yasr-settings-functions.php:1360
694
  msgid "Rankings for reviews, votes and users"
695
  msgstr ""
696
 
697
+ #: ../lib/yasr-settings-functions.php:1365
698
  msgid "Rankings Customization"
699
  msgstr ""
700
 
701
+ #: ../lib/yasr-settings-functions.php:1370
702
  msgid "Stars Customization"
703
  msgstr ""
704
 
705
+ #: ../lib/yasr-settings-functions.php:1371
706
  msgid "Size Only"
707
  msgstr ""
708
 
709
+ #: ../lib/yasr-settings-functions.php:1372
710
  msgid ""
711
  "Users can choose different ready to use sets or can upload their own images."
712
  msgstr ""
713
 
714
+ #: ../lib/yasr-settings-functions.php:1375
715
  msgid "Users can review in comments"
716
  msgstr ""
717
 
718
+ #: ../lib/yasr-settings-functions.php:1386
719
  msgid "Not avaible yet"
720
  msgstr ""
721
 
722
+ #: ../lib/yasr-settings-functions.php:1445
723
  msgid "Keep in touch!"
724
  msgstr ""
725
 
726
+ #: ../lib/yasr-settings-functions.php:1487
727
  #, php-format
728
  msgid ""
729
  "Hey, seems like you reached %s votes on your site throught YASR! That's cool!"
730
  msgstr ""
731
 
732
+ #: ../lib/yasr-settings-functions.php:1489
733
  msgid "Can I ask a favor?"
734
  msgstr ""
735
 
736
+ #: ../lib/yasr-settings-functions.php:1491
737
  msgid "Can you please rate YASR 5 stars on"
738
  msgstr ""
739
 
740
+ #: ../lib/yasr-settings-functions.php:1493
741
  msgid " It will require just 1 min but it's a HUGE help for me. Thank you."
742
  msgstr ""
743
 
744
+ #: ../lib/yasr-settings-functions.php:1499
745
  msgid "Ok, I'm glad to help!"
746
  msgstr ""
747
 
748
+ #: ../lib/yasr-settings-functions.php:1500
749
  msgid "Remind me later!"
750
  msgstr ""
751
 
752
+ #: ../lib/yasr-settings-functions.php:1501
753
  msgid "Don't need to ask, I already did it!"
754
  msgstr ""
755
 
756
+ #: ../lib/yasr-settings-functions.php:1534
757
  #, php-format
758
  msgid ""
759
  "Thank you for using <a href=\"%s\" target=\"_blank\">Yet Another Stars "
761
  "<a href=\"%s\" target=\"_blank\">WordPress.org</a>"
762
  msgstr ""
763
 
764
+ #: ../lib/yasr-settings-functions.php:1579
765
  msgid "No previous Gd Star Rating installation was found"
766
  msgstr ""
767
 
768
+ #: ../lib/yasr-db-functions.php:319
769
  msgid "No recenet votes yet"
770
  msgstr ""
771
 
772
+ #: ../lib/yasr-db-functions.php:334 ../lib/yasr-ajax-functions.php:805
773
  msgid "anonymous"
774
  msgstr ""
775
 
776
+ #: ../lib/yasr-db-functions.php:343
777
  #, php-format
778
  msgid "Vote %d from %s on "
779
  msgstr ""
780
 
781
+ #: ../lib/yasr-db-functions.php:359 ../lib/yasr-ajax-functions.php:830
782
  msgid "Ip address"
783
  msgstr ""
784
 
785
+ #: ../lib/yasr-db-functions.php:400 ../lib/yasr-ajax-functions.php:871
786
  msgid "Pages"
787
  msgstr ""
788
 
802
  msgid "You don't have enought privileges to insert Multi Set"
803
  msgstr ""
804
 
805
+ #: ../lib/yasr-functions.php:303
806
  msgid "reviewed by"
807
  msgstr ""
808
 
809
+ #: ../lib/yasr-functions.php:305 ../lib/yasr-functions.php:373
810
  msgid " on "
811
  msgstr ""
812
 
813
+ #: ../lib/yasr-functions.php:319
814
  msgid "reviewed on"
815
  msgstr ""
816
 
817
+ #: ../lib/yasr-functions.php:320
818
  msgid "by "
819
  msgstr ""
820
 
821
+ #: ../lib/yasr-functions.php:324
822
  msgid "rated"
823
  msgstr ""
824
 
825
+ #: ../lib/yasr-functions.php:324
826
  msgid "of"
827
  msgstr ""
828
 
829
+ #: ../lib/yasr-functions.php:381
830
  msgid " written by "
831
  msgstr ""
832
 
833
+ #: ../lib/yasr-functions.php:384
834
  msgid " average rating "
835
  msgstr ""
836
 
837
+ #: ../lib/yasr-functions.php:385
838
  msgid " user ratings"
839
  msgstr ""
840
 
841
+ #: ../lib/yasr-functions.php:567
842
  msgid "Product, Place, Other"
843
  msgstr ""
844
 
850
  msgid "You've reset the vote"
851
  msgstr ""
852
 
853
+ #: ../lib/yasr-ajax-functions.php:187
854
  msgid ""
855
  "There was an error while trying to insert the review type. Please report it"
856
  msgstr ""
857
 
858
+ #: ../lib/yasr-ajax-functions.php:222
859
  msgid "Choose a vote for each element"
860
  msgstr ""
861
 
862
+ #: ../lib/yasr-ajax-functions.php:285 ../lib/yasr-ajax-functions.php:329
863
  msgid "If you want to insert this multiset, paste this shortcode "
864
  msgstr ""
865
 
866
+ #: ../lib/yasr-ajax-functions.php:287 ../lib/yasr-ajax-functions.php:331
867
  msgid ""
868
  "If, instead, you want allow your visitor to vote on this multiset, use this "
869
  "shortcode"
870
  msgstr ""
871
 
872
+ #: ../lib/yasr-ajax-functions.php:296
873
  msgid "Choose a vote for every element"
874
  msgstr ""
875
 
876
+ #: ../lib/yasr-ajax-functions.php:469
877
  msgid "Main"
878
  msgstr ""
879
 
880
+ #: ../lib/yasr-ajax-functions.php:470
881
  msgid "Charts"
882
  msgstr ""
883
 
884
+ #: ../lib/yasr-ajax-functions.php:472
885
  msgid "Read the doc"
886
  msgstr ""
887
 
888
+ #: ../lib/yasr-ajax-functions.php:481
889
  msgid "Overall Rating / Review"
890
  msgstr ""
891
 
892
+ #: ../lib/yasr-ajax-functions.php:483
893
  msgid "Insert Overall Rating"
894
  msgstr ""
895
 
896
+ #: ../lib/yasr-ajax-functions.php:484
897
  msgid "Insert Overall Rating / Review for this post"
898
  msgstr ""
899
 
900
+ #: ../lib/yasr-ajax-functions.php:487 ../lib/yasr-ajax-functions.php:505
901
  msgid "Choose Size"
902
  msgstr ""
903
 
904
+ #: ../lib/yasr-ajax-functions.php:501
905
  msgid "Insert Visitor Votes"
906
  msgstr ""
907
 
908
+ #: ../lib/yasr-ajax-functions.php:502
909
  msgid "Insert the ability for your visitor to vote"
910
  msgstr ""
911
 
912
+ #: ../lib/yasr-ajax-functions.php:519
913
  msgid "If you want to insert a Multi Set, pick one:"
914
  msgstr ""
915
 
916
+ #: ../lib/yasr-ajax-functions.php:525
917
  msgid "Choose wich set you want to insert."
918
  msgstr ""
919
 
920
+ #: ../lib/yasr-ajax-functions.php:527 ../lib/yasr-ajax-functions.php:544
921
  msgid "Readonly?"
922
  msgstr ""
923
 
924
+ #: ../lib/yasr-ajax-functions.php:529 ../lib/yasr-ajax-functions.php:545
925
  msgid ""
926
  "If Readonly is checked, only you can insert the votes (in the box above the "
927
  "editor)"
928
  msgstr ""
929
 
930
+ #: ../lib/yasr-ajax-functions.php:530
931
  msgid "Insert Multi Set"
932
  msgstr ""
933
 
934
+ #: ../lib/yasr-ajax-functions.php:539
935
  msgid "Insert Multiset:"
936
  msgstr ""
937
 
938
+ #: ../lib/yasr-ajax-functions.php:542
939
  msgid "Insert Multiple Set"
940
  msgstr ""
941
 
942
+ #: ../lib/yasr-ajax-functions.php:560
943
  msgid "Ranking reviews"
944
  msgstr ""
945
 
946
+ #: ../lib/yasr-ajax-functions.php:561
947
  msgid "Insert Ranking reviews"
948
  msgstr ""
949
 
950
+ #: ../lib/yasr-ajax-functions.php:562
951
  msgid "Insert Top 10 ranking for [yasr_overall_rating] shortcode"
952
  msgstr ""
953
 
954
+ #: ../lib/yasr-ajax-functions.php:566
955
  msgid "Users' ranking"
956
  msgstr ""
957
 
958
+ #: ../lib/yasr-ajax-functions.php:567
959
  msgid "Insert Users ranking"
960
  msgstr ""
961
 
962
+ #: ../lib/yasr-ajax-functions.php:568
963
  msgid "Insert Top 10 ranking for [yasr_visitor_votes] shortcode"
964
  msgstr ""
965
 
966
+ #: ../lib/yasr-ajax-functions.php:572
967
  msgid "Most active reviewers"
968
  msgstr ""
969
 
970
+ #: ../lib/yasr-ajax-functions.php:573
971
  msgid "Insert Most Active Reviewers"
972
  msgstr ""
973
 
974
+ #: ../lib/yasr-ajax-functions.php:574
975
  msgid "Insert Top 5 active reviewers"
976
  msgstr ""
977
 
978
+ #: ../lib/yasr-ajax-functions.php:578
979
  msgid "Most Active Users"
980
  msgstr ""
981
 
982
+ #: ../lib/yasr-ajax-functions.php:579
983
  msgid "Insert Most Active Users"
984
  msgstr ""
985
 
986
+ #: ../lib/yasr-ajax-functions.php:580
987
  msgid "Insert Top 10 voters [yasr_visitor_votes] shortcode"
988
  msgstr ""
989
 
990
+ #: ../lib/yasr-ajax-functions.php:651
991
  msgid "Reviews and Visitor Votes have been successfull imported."
992
  msgstr ""
993
 
994
+ #: ../lib/yasr-ajax-functions.php:657
995
  msgid ""
996
  "Step2: I will check if you used Multiple Sets and if so I will import them. "
997
  "THIS MAY TAKE A WHILE!"
998
  msgstr ""
999
 
1000
+ #: ../lib/yasr-ajax-functions.php:659
1001
  msgid "Proceed Step 2"
1002
  msgstr ""
1003
 
1004
+ #: ../lib/yasr-ajax-functions.php:666
1005
  msgid "Something goes wrong! Refresh the page and try again!"
1006
  msgstr ""
1007
 
1008
+ #: ../lib/yasr-ajax-functions.php:695
1009
  msgid "I've found Multiple Set! Importing..."
1010
  msgstr ""
1011
 
1012
+ #: ../lib/yasr-ajax-functions.php:704
1013
  msgid "Multi Set's name has been successfull imported."
1014
  msgstr ""
1015
 
1016
+ #: ../lib/yasr-ajax-functions.php:706
1017
  msgid "Now I'm going to import Multi Set data"
1018
  msgstr ""
1019
 
1020
+ #: ../lib/yasr-ajax-functions.php:717
1021
  msgid "All votes has been successfull imported."
1022
  msgstr ""
1023
 
1024
+ #: ../lib/yasr-ajax-functions.php:719
1025
  msgid "Done"
1026
  msgstr ""
1027
 
1028
+ #: ../lib/yasr-ajax-functions.php:724
1029
  msgid "I've found Multiple Set's votes but I couldn't insert into db"
1030
  msgstr ""
1031
 
1032
+ #: ../lib/yasr-ajax-functions.php:732
1033
  msgid "I've found Multi Set but with no data"
1034
  msgstr ""
1035
 
1036
+ #: ../lib/yasr-ajax-functions.php:741
1037
  msgid "I've found Multi Sets names but I couldn't insert into db"
1038
  msgstr ""
1039
 
1040
+ #: ../lib/yasr-ajax-functions.php:749
1041
  msgid "Multisets were not found. Imported is done!"
1042
  msgstr ""
1043
 
1044
+ #: ../lib/yasr-ajax-functions.php:792
1045
  msgid "No Recenet votes yet"
1046
  msgstr ""
1047
 
1048
+ #: ../lib/yasr-ajax-functions.php:814
1049
  #, php-format
1050
  msgid "Vote %d from %s on"
1051
  msgstr ""
1052
 
1053
+ #: ../lib/yasr-ajax-functions.php:1012 ../lib/yasr-ajax-functions.php:1167
1054
  msgid "Error: you can't vote 0"
1055
  msgstr ""
1056
 
1057
+ #: ../lib/yasr-ajax-functions.php:1117 ../lib/yasr-ajax-functions.php:1125
1058
  msgid "Average:"
1059
  msgstr ""
1060
 
1061
+ #: ../lib/yasr-ajax-functions.php:1118 ../lib/yasr-ajax-functions.php:1126
1062
  msgid "Vote Saved"
1063
  msgstr ""
1064
 
1065
+ #: ../lib/yasr-ajax-functions.php:1263
1066
  msgid "Vote updated"
1067
  msgstr ""
1068
 
1069
+ #: ../lib/yasr-ajax-functions.php:1408
1070
  msgid "Rating saved!"
1071
  msgstr ""
1072
 
1073
+ #: ../lib/yasr-ajax-functions.php:1414
1074
  msgid "Rating not saved. Please Try again"
1075
  msgstr ""
1076
 
1077
+ #: ../lib/yasr-ajax-functions.php:1507
1078
  msgid "stars"
1079
  msgstr ""
1080
 
1081
+ #: ../lib/yasr-ajax-functions.php:1512
1082
  msgid "star"
1083
  msgstr ""
lib/yasr-ajax-functions.php CHANGED
@@ -41,7 +41,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
41
  }
42
 
43
  if ( ! current_user_can( 'publish_posts' ) ) {
44
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'yasr' ) );
45
  }
46
 
47
  if ( ! wp_verify_nonce( $nonce, 'yasr_nonce_insert_overall_rating' ) ) {
@@ -99,11 +99,11 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
99
  if ($update_result || $replace_result) {
100
 
101
  if ($rating != '-1') {
102
- $text = __("You've rated it ", "yasr");
103
  echo $text . $rating;
104
  }
105
  else {
106
- $text = __("You've reset the vote", "yasr");
107
  echo $text;
108
  }
109
 
@@ -181,10 +181,10 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
181
  }
182
 
183
  if($review_type) {
184
- _e("$reviewtype selected", "yasr");
185
  }
186
  else {
187
- _e("There was an error while trying to insert the review type. Please report it", "yasr");
188
  }
189
 
190
  die();
@@ -207,7 +207,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
207
  }
208
 
209
  if ( ! current_user_can( 'publish_posts' ) ) {
210
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'yasr' ) );
211
  }
212
 
213
  global $wpdb;
@@ -219,7 +219,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
219
 
220
  echo "<p>";
221
 
222
- _e('Choose a vote for each element', 'yasr');
223
 
224
  echo "
225
 
@@ -282,9 +282,9 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
282
 
283
  echo "<p>";
284
 
285
- _e("If you want to insert this multiset, paste this shortcode ", "yasr");
286
  echo "<strong> [yasr_multiset setid=$set_type] </strong> <br />";
287
- _e("If, instead, you want allow your visitor to vote on this multiset, use this shortcode", "yasr");
288
  echo "<strong> [yasr_visitor_multiset setid=$set_type] </strong>. In this case, you don't need to vote here <br />";
289
 
290
  echo "</p>";
@@ -293,7 +293,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
293
 
294
  //else means that post already has vote and here I show it
295
  else {
296
- _e('Choose a vote for every element', 'yasr');
297
 
298
  echo "<table class=\"yasr_table_multi_set_admin\">";
299
 
@@ -326,9 +326,9 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
326
 
327
  echo "<p>";
328
 
329
- _e("If you want to insert this multiset, paste this shortcode ", "yasr");
330
  echo "<strong> [yasr_multiset setid=$set_type] </strong> <br />";
331
- _e("If, instead, you want allow your visitor to vote on this multiset, use this shortcode", "yasr");
332
  echo "<strong> [yasr_visitor_multiset setid=$set_type] </strong>. In this case, you don't need to vote here <br />";
333
 
334
  echo "</p>";
@@ -361,7 +361,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
361
  }
362
 
363
  if ( ! current_user_can( 'publish_posts' ) ) {
364
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'yasr' ) );
365
  }
366
 
367
  if ( ! wp_verify_nonce( $nonce, 'yasr_nonce_insert_multi_rating' ) ) {
@@ -466,10 +466,10 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
466
  <div id="yasr-tinypopup-form">
467
 
468
  <h2 class="nav-tab-wrapper yasr-underline">
469
- <a href="#" id="yasr-link-tab-main" class="nav-tab nav-tab-active"><?php _e("Main", "yasr"); ?></a>
470
- <a href="#" id="yasr-link-tab-charts" class="nav-tab"><?php _e("Charts" , "yasr"); ?></a>
471
 
472
- <a href="https://yetanotherstarsrating.com/f-a-q/" target="_blank" id="yasr-tinypopup-link-doc"><?php _e("Read the doc", "yasr"); ?></a>
473
 
474
  </h2>
475
 
@@ -478,17 +478,17 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
478
  <table id="yasr-table-tiny-popup-main" class="form-table">
479
 
480
  <tr>
481
- <th><label for="yasr-overall"><?php _e("Overall Rating / Review", "yasr"); ?></label></th>
482
  <td>
483
- <input type="button" class="button-primary" id="yasr-overall" name="yasr-overall" value="<?php _e("Insert Overall Rating", "yasr"); ?>" /><br />
484
- <small><?php _e("Insert Overall Rating / Review for this post", "yasr"); ?></small>
485
 
486
  <div id="yasr-overall-choose-size">
487
- <small><?php _e("Choose Size", "yasr"); ?><small>
488
  <div class="yasr-tinymce-button-size">
489
- <input type="button" class="button-secondary" id="yasr-overall-insert-small" name="yasr-overall-insert-small" value="<?php _e("Small", "yasr"); ?>" />
490
- <input type="button" class="button-secondary" id="yasr-overall-insert-medium" name="yasr-overall-insert-medium" value="<?php _e("Medium", "yasr"); ?>" />
491
- <input type="button" class="button-secondary" id="yasr-overall-insert-large" name="yasr-overall-insert-large" value="<?php _e("Large", "yasr"); ?>" />
492
  </div>
493
  </div>
494
 
@@ -496,17 +496,17 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
496
  </tr>
497
 
498
  <tr>
499
- <th><label for="yasr-id"><?php _e("Visitor Votes", "yasr"); ?></label></th>
500
  <td>
501
- <input type="button" class="button-primary" name="yasr-visitor-votes" id="yasr-visitor-votes" value="<?php _e("Insert Visitor Votes", "yasr"); ?>" /><br />
502
- <small><?php _e("Insert the ability for your visitor to vote", "yasr"); ?></small>
503
 
504
  <div id="yasr-visitor-choose-size">
505
- <small><?php _e("Choose Size", "yasr"); ?><small>
506
  <div class="yasr-tinymce-button-size">
507
- <input type="button" class="button-secondary" id="yasr-visitor-insert-small" name="yasr-visitor-insert-small" value="<?php _e("Small", "yasr"); ?>" />
508
- <input type="button" class="button-secondary" id="yasr-visitor-insert-medium" name="yasr-visitor-insert-medium" value="<?php _e("Medium", "yasr"); ?>" />
509
- <input type="button" class="button-secondary" id="yasr-visitor-insert-large" name="yasr-visitor-insert-large" value="<?php _e("Large", "yasr"); ?>" />
510
  </div>
511
  </div>
512
 
@@ -516,18 +516,18 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
516
  <?php if ($n_multi_set>1) { //If multiple Set are found ?>
517
 
518
  <tr>
519
- <th><label for="yasr-size"><?php _e("If you want to insert a Multi Set, pick one:", "yasr"); ?></label></th>
520
  <td>
521
  <?php foreach ($multi_set as $name) { ?>
522
  <input type="radio" value="<?php echo $name->set_id ?>" name="yasr_tinymce_pick_set" class="yasr_tinymce_select_set"><?php echo $name->set_name ?>
523
  <br />
524
  <?php } //End foreach ?>
525
- <small><?php _e("Choose wich set you want to insert.", "yasr"); ?></small>
526
  <p>
527
- <input type="checkbox" id="yasr-allow-vote-multiset"><?php _e("Readonly?", "yasr"); ?><br />
528
  </p>
529
- <small><?php _e("If Readonly is checked, only you can insert the votes (in the box above the editor)", "yasr"); ?></small>
530
- <input type="button" class="button-primary" name="yasr-insert-multiset" id="yasr-insert-multiset-select" value="<?php _e("Insert Multi Set", "yasr") ?>" /><br />
531
 
532
  </td>
533
  </tr>
@@ -536,13 +536,13 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
536
 
537
  elseif ($n_multi_set==1) { ?>
538
  <tr>
539
- <th><label for="yasr-size"><?php _e("Insert Multiset:", "yasr"); ?></label></th>
540
  <td>
541
  <?php foreach ($multi_set as $name) { ?>
542
- <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>
543
  &nbsp;&nbsp;&nbsp;
544
- <input type="checkbox" id="yasr-allow-vote-multiset"><?php _e("Readonly?", "yasr"); ?><br />
545
- <small><?php _e("If Readonly is checked, only you can insert the votes (in the box above the editor)", "yasr"); ?></small>
546
  <?php } //End foreach ?>
547
  </td>
548
  </tr>
@@ -557,27 +557,27 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
557
 
558
  <table id="yasr-table-tiny-popup-charts" class="form-table">
559
  <tr>
560
- <th><label for="yasr-10-overall"><?php _e("Ranking reviews", "yasr"); ?></label></th>
561
- <td><input type="button" class="button-primary" name="yasr-top-10-overall-rating" id="yasr-top-10-overall-rating" value="<?php _e("Insert Ranking reviews", "yasr") ?>" /><br />
562
- <small><?php _e("Insert Top 10 ranking for [yasr_overall_rating] shortcode", "yasr"); ?></small></td>
563
  </tr>
564
 
565
  <tr>
566
- <th><label for="yasr-10-highest-most-rated"><?php _e("Users' ranking", "yasr"); ?></label></th>
567
- <td><input type="button" class="button-primary" name="yasr-10-highest-most-rated" id="yasr-10-highest-most-rated" value="<?php _e("Insert Users ranking", "yasr") ?>" /><br />
568
- <small><?php _e("Insert Top 10 ranking for [yasr_visitor_votes] shortcode", "yasr"); ?></small></td>
569
  </tr>
570
 
571
  <tr>
572
- <th><label for="yasr-5-active-reviewers"><?php _e("Most active reviewers", "yasr"); ?></label></th>
573
- <td><input type="button" class="button-primary" name="yasr-5-active-reviewers" id="yasr-5-active-reviewers" value="<?php _e("Insert Most Active Reviewers", "yasr")?> " /><br />
574
- <small><?php _e("Insert Top 5 active reviewers", "yasr"); ?></small></td>
575
  </tr>
576
 
577
  <tr>
578
- <th><label for="yasr-10-active-users"><?php _e("Most Active Users", "yasr"); ?></label></th>
579
- <td><input type="button" class="button-primary" name="yasr-top-10-active-users" id="yasr-top-10-active-users" value="<?php _e("Insert Most Active Users", "yasr") ?>" /><br />
580
- <small><?php _e("Insert Top 10 voters [yasr_visitor_votes] shortcode", "yasr"); ?></small></td>
581
  </tr>
582
 
583
  </table>
@@ -648,22 +648,22 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
648
  <div class="yasr-result-step-1">
649
  <?php
650
  if ($check_query_success) {
651
- _e( "Reviews and Visitor Votes have been successfull imported.", 'yasr');
652
 
653
  update_option('yasr-gdstar-imported', '1');
654
 
655
  ?>
656
  <br />
657
- <?php _e ("Step2: I will check if you used Multiple Sets and if so I will import them. THIS MAY TAKE A WHILE!", 'yasr'); ?>
658
  <br />
659
- <button href="#" class="button-primary" id="import-button-step2"> <?php _e('Proceed Step 2', 'yasr');?> </button>
660
  <span id="yasr-loader-importer2" style="display:none;" >&nbsp;<img src="<?php echo YASR_IMG_DIR . "loader.gif" ?>">
661
  </span>
662
  <?php
663
  }
664
 
665
  else {
666
- _e( "Something goes wrong! Refresh the page and try again!", 'yasr');
667
  }
668
 
669
  ?>
@@ -692,7 +692,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
692
  //If multiple set are found
693
  if($multi_set_names) {
694
  echo "<br /><strong>";
695
- _e("I've found Multiple Set! Importing..." , 'yasr');
696
  echo "</strong><br />";
697
 
698
  //If multi set are found write in yasr_multi_set table
@@ -701,9 +701,9 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
701
  //If insert succes, go ahed
702
  if ($insert_multi_set) {
703
  echo "&nbsp;&nbsp;&nbsp;";
704
- _e("Multi Set's name has been successfull imported.", 'yasr');
705
  echo "<br /><strong>";
706
- _e("Now I'm going to import Multi Set data", 'yasr');
707
  echo "</strong> <br />";
708
 
709
  //Import multiple set's values from GD star rating
@@ -714,14 +714,14 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
714
  $insert_multidata=yasr_insert_gdstar_multi_value($multi_data);
715
  if ($insert_multidata) {
716
  echo "&nbsp;&nbsp;&nbsp;";
717
- _e( "All votes has been successfull imported.", 'yasr');
718
  echo "<br />";
719
- echo "<button href=\"#\" class=\"button-delete\" id=\"end-import\">" . __('Done', 'yasr') . "</button>";
720
 
721
  }
722
  else {
723
  echo "&nbsp;&nbsp;&nbsp;";
724
- _e("I've found Multiple Set's votes but I couldn't insert into db", 'yasr');
725
  echo "<br />";
726
  }
727
  } //End if $multi_data
@@ -729,7 +729,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
729
  //Multiple set are found, but there is not data
730
  else {
731
  echo "&nbsp;&nbsp;&nbsp;";
732
- _e( "I've found Multi Set but with no data", 'yasr');
733
  echo "<br />";
734
  }
735
 
@@ -738,7 +738,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
738
  //Query failed insert set name
739
  else {
740
  echo "&nbsp;&nbsp;&nbsp;";
741
- _e("I've found Multi Sets names but I couldn't insert into db", 'yasr');
742
  echo "<br />";
743
  }
744
 
@@ -746,7 +746,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
746
 
747
  else {
748
  echo "&nbsp;&nbsp;&nbsp;";
749
- _e ("Multisets were not found. Imported is done!", 'yasr');
750
  }
751
 
752
  echo "</div>";
@@ -777,7 +777,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
777
  }
778
 
779
  if ( ! current_user_can( 'manage_options' ) ) {
780
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'yasr' ) );
781
  }
782
 
783
  $limit = 8; //max number of row to echo
@@ -789,7 +789,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
789
  $log_result = $wpdb->get_results ("SELECT * FROM ". YASR_LOG_TABLE . " ORDER BY date DESC LIMIT $offset, $limit ");
790
 
791
  if (!$log_result) {
792
- _e("No Recenet votes yet", "yasr");
793
  }
794
 
795
  else {
@@ -811,7 +811,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
811
  $title_post = get_the_title( $column->post_id ); //Get post title from post id
812
  $link = get_permalink( $column->post_id ); //Get post link from post id
813
 
814
- $yasr_log_vote_text = sprintf(__('Vote %d from %s on', 'yasr'), $column->vote, '<strong style="color: blue">'.$user->user_login.'</strong>' );
815
 
816
  echo "
817
 
@@ -827,7 +827,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
827
 
828
  <div id=\"yasr-log-ip-date\">
829
 
830
- <span id=\"yasr-log-ip\">" . __("Ip address" , "yasr") . ": <span style=\"color:blue\">$column->ip</span></span>
831
 
832
  <span id=\"yasr-log-date\">$column->date</span>
833
 
@@ -868,7 +868,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
868
 
869
  else {
870
 
871
- _e("Pages", "yasr"); echo ": ($num_of_pages) &nbsp;&nbsp;&nbsp;";
872
 
873
  $start_for = $page_num - 1;
874
 
@@ -1009,7 +1009,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
1009
  $new_row_result=NULL; ////Avoid Undefined variable notice
1010
 
1011
  if ($rating < 1) {
1012
- _e("Error: you can't vote 0", "yasr");
1013
  die();
1014
  }
1015
 
@@ -1114,16 +1114,16 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
1114
  $medium_rating = round ($total_rating, 1);
1115
 
1116
  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>
1117
- <span class=\"yasr-total-average-text\" title=\"yasr-stats\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average:", "yasr") . " $medium_rating/5 ]</span>
1118
- <span class=\"yasr-small-block-bold\" id=\"yasr-vote-saved\">" . __("Vote Saved" , "yasr") . "</span>";
1119
 
1120
  }
1121
 
1122
  elseif ($new_row_result) {
1123
 
1124
  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>
1125
- <span class=\"yasr-total-average-text\" title=\"yasr-stats\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average:", "yasr") . " $rating/5 ]</span>
1126
- <span class=\"yasr-small-block-bold\" id=\"yasr-vote-saved\">" . __("Vote Saved" , "yasr") . "</span>";
1127
 
1128
  }
1129
 
@@ -1164,7 +1164,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
1164
  }
1165
 
1166
  if ($new_rating < 1) {
1167
- _e("Error: you can't vote 0", "yasr");
1168
  die();
1169
  }
1170
 
@@ -1257,10 +1257,10 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
1257
  echo "<div class=\"$rateit_class\" id=\"yasr-rateit-user-votes-updated\" data-rateit-starwidth=\"$px_size\" data-rateit-starheight=\"$px_size\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>";
1258
 
1259
  if (YASR_VISITORS_STATS === 'yes') {
1260
- echo "<span class=\"yasr-total-average-text\"><span class=\"dashicons dashicons-chart-bar\" id=\"yasr-total-average-$post_id\"></span>[" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>";
1261
  }
1262
 
1263
- echo "<span class=\"yasr-small-block-bold\" id=\"yasr-already-voted-text\">" . __("Vote updated", "yasr") . "</span>";
1264
 
1265
  die(); // this is required to return a proper result
1266
 
@@ -1405,13 +1405,13 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
1405
 
1406
  yasr_setcookie($cookiename, 'true');
1407
 
1408
- _e('Rating saved!', 'yasr');
1409
 
1410
  }
1411
 
1412
  else {
1413
 
1414
- _e('Rating not saved. Please Try again', 'yasr');
1415
 
1416
  }
1417
 
@@ -1504,12 +1504,12 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
1504
 
1505
  $i=5;
1506
 
1507
- $stars_text = __("stars", "yasr");
1508
 
1509
  foreach ($stats as $logged_votes) {
1510
 
1511
  if ($i==1) {
1512
- $stars_text = __("star", "yasr");
1513
  }
1514
 
1515
  echo "<div class=\"yasr-progress-bar-row-container\">
41
  }
42
 
43
  if ( ! current_user_can( 'publish_posts' ) ) {
44
+ wp_die( __( 'You do not have sufficient permissions to access this page.', 'yet-another-stars-rating' ) );
45
  }
46
 
47
  if ( ! wp_verify_nonce( $nonce, 'yasr_nonce_insert_overall_rating' ) ) {
99
  if ($update_result || $replace_result) {
100
 
101
  if ($rating != '-1') {
102
+ $text = __("You've rated it ", "yet-another-stars-rating");
103
  echo $text . $rating;
104
  }
105
  else {
106
+ $text = __("You've reset the vote", "yet-another-stars-rating");
107
  echo $text;
108
  }
109
 
181
  }
182
 
183
  if($review_type) {
184
+ _e("$reviewtype selected", "yet-another-stars-rating");
185
  }
186
  else {
187
+ _e("There was an error while trying to insert the review type. Please report it", "yet-another-stars-rating");
188
  }
189
 
190
  die();
207
  }
208
 
209
  if ( ! current_user_can( 'publish_posts' ) ) {
210
+ wp_die( __( 'You do not have sufficient permissions to access this page.', 'yet-another-stars-rating' ) );
211
  }
212
 
213
  global $wpdb;
219
 
220
  echo "<p>";
221
 
222
+ _e('Choose a vote for each element', 'yet-another-stars-rating');
223
 
224
  echo "
225
 
282
 
283
  echo "<p>";
284
 
285
+ _e("If you want to insert this multiset, paste this shortcode ", 'yet-another-stars-rating');
286
  echo "<strong> [yasr_multiset setid=$set_type] </strong> <br />";
287
+ _e("If, instead, you want allow your visitor to vote on this multiset, use this shortcode", 'yet-another-stars-rating');
288
  echo "<strong> [yasr_visitor_multiset setid=$set_type] </strong>. In this case, you don't need to vote here <br />";
289
 
290
  echo "</p>";
293
 
294
  //else means that post already has vote and here I show it
295
  else {
296
+ _e('Choose a vote for every element', 'yet-another-stars-rating');
297
 
298
  echo "<table class=\"yasr_table_multi_set_admin\">";
299
 
326
 
327
  echo "<p>";
328
 
329
+ _e("If you want to insert this multiset, paste this shortcode ", 'yet-another-stars-rating');
330
  echo "<strong> [yasr_multiset setid=$set_type] </strong> <br />";
331
+ _e("If, instead, you want allow your visitor to vote on this multiset, use this shortcode", 'yet-another-stars-rating');
332
  echo "<strong> [yasr_visitor_multiset setid=$set_type] </strong>. In this case, you don't need to vote here <br />";
333
 
334
  echo "</p>";
361
  }
362
 
363
  if ( ! current_user_can( 'publish_posts' ) ) {
364
+ wp_die( __( 'You do not have sufficient permissions to access this page.', 'yet-another-stars-rating' ) );
365
  }
366
 
367
  if ( ! wp_verify_nonce( $nonce, 'yasr_nonce_insert_multi_rating' ) ) {
466
  <div id="yasr-tinypopup-form">
467
 
468
  <h2 class="nav-tab-wrapper yasr-underline">
469
+ <a href="#" id="yasr-link-tab-main" class="nav-tab nav-tab-active"><?php _e("Main", 'yet-another-stars-rating'); ?></a>
470
+ <a href="#" id="yasr-link-tab-charts" class="nav-tab"><?php _e("Charts" , 'yet-another-stars-rating'); ?></a>
471
 
472
+ <a href="https://yetanotherstarsrating.com/f-a-q/" target="_blank" id="yasr-tinypopup-link-doc"><?php _e("Read the doc", 'yet-another-stars-rating'); ?></a>
473
 
474
  </h2>
475
 
478
  <table id="yasr-table-tiny-popup-main" class="form-table">
479
 
480
  <tr>
481
+ <th><label for="yasr-overall"><?php _e("Overall Rating / Review", 'yet-another-stars-rating'); ?></label></th>
482
  <td>
483
+ <input type="button" class="button-primary" id="yasr-overall" name="yasr-overall" value="<?php _e("Insert Overall Rating", 'yet-another-stars-rating'); ?>" /><br />
484
+ <small><?php _e("Insert Overall Rating / Review for this post", 'yet-another-stars-rating'); ?></small>
485
 
486
  <div id="yasr-overall-choose-size">
487
+ <small><?php _e("Choose Size", 'yet-another-stars-rating'); ?><small>
488
  <div class="yasr-tinymce-button-size">
489
+ <input type="button" class="button-secondary" id="yasr-overall-insert-small" name="yasr-overall-insert-small" value="<?php _e("Small", 'yet-another-stars-rating'); ?>" />
490
+ <input type="button" class="button-secondary" id="yasr-overall-insert-medium" name="yasr-overall-insert-medium" value="<?php _e("Medium", 'yet-another-stars-rating'); ?>" />
491
+ <input type="button" class="button-secondary" id="yasr-overall-insert-large" name="yasr-overall-insert-large" value="<?php _e("Large", 'yet-another-stars-rating'); ?>" />
492
  </div>
493
  </div>
494
 
496
  </tr>
497
 
498
  <tr>
499
+ <th><label for="yasr-id"><?php _e("Visitor Votes", 'yet-another-stars-rating'); ?></label></th>
500
  <td>
501
+ <input type="button" class="button-primary" name="yasr-visitor-votes" id="yasr-visitor-votes" value="<?php _e("Insert Visitor Votes", 'yet-another-stars-rating'); ?>" /><br />
502
+ <small><?php _e("Insert the ability for your visitor to vote", 'yet-another-stars-rating'); ?></small>
503
 
504
  <div id="yasr-visitor-choose-size">
505
+ <small><?php _e("Choose Size", 'yet-another-stars-rating'); ?><small>
506
  <div class="yasr-tinymce-button-size">
507
+ <input type="button" class="button-secondary" id="yasr-visitor-insert-small" name="yasr-visitor-insert-small" value="<?php _e("Small", 'yet-another-stars-rating'); ?>" />
508
+ <input type="button" class="button-secondary" id="yasr-visitor-insert-medium" name="yasr-visitor-insert-medium" value="<?php _e("Medium", 'yet-another-stars-rating'); ?>" />
509
+ <input type="button" class="button-secondary" id="yasr-visitor-insert-large" name="yasr-visitor-insert-large" value="<?php _e("Large", 'yet-another-stars-rating'); ?>" />
510
  </div>
511
  </div>
512
 
516
  <?php if ($n_multi_set>1) { //If multiple Set are found ?>
517
 
518
  <tr>
519
+ <th><label for="yasr-size"><?php _e("If you want to insert a Multi Set, pick one:", 'yet-another-stars-rating'); ?></label></th>
520
  <td>
521
  <?php foreach ($multi_set as $name) { ?>
522
  <input type="radio" value="<?php echo $name->set_id ?>" name="yasr_tinymce_pick_set" class="yasr_tinymce_select_set"><?php echo $name->set_name ?>
523
  <br />
524
  <?php } //End foreach ?>
525
+ <small><?php _e("Choose wich set you want to insert.", 'yet-another-stars-rating'); ?></small>
526
  <p>
527
+ <input type="checkbox" id="yasr-allow-vote-multiset"><?php _e("Readonly?", 'yet-another-stars-rating'); ?><br />
528
  </p>
529
+ <small><?php _e("If Readonly is checked, only you can insert the votes (in the box above the editor)", 'yet-another-stars-rating'); ?></small>
530
+ <input type="button" class="button-primary" name="yasr-insert-multiset" id="yasr-insert-multiset-select" value="<?php _e("Insert Multi Set", 'yet-another-stars-rating') ?>" /><br />
531
 
532
  </td>
533
  </tr>
536
 
537
  elseif ($n_multi_set==1) { ?>
538
  <tr>
539
+ <th><label for="yasr-size"><?php _e("Insert Multiset:", 'yet-another-stars-rating'); ?></label></th>
540
  <td>
541
  <?php foreach ($multi_set as $name) { ?>
542
+ <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", 'yet-another-stars-rating'); ?></button>
543
  &nbsp;&nbsp;&nbsp;
544
+ <input type="checkbox" id="yasr-allow-vote-multiset"><?php _e("Readonly?", 'yet-another-stars-rating'); ?><br />
545
+ <small><?php _e("If Readonly is checked, only you can insert the votes (in the box above the editor)", 'yet-another-stars-rating'); ?></small>
546
  <?php } //End foreach ?>
547
  </td>
548
  </tr>
557
 
558
  <table id="yasr-table-tiny-popup-charts" class="form-table">
559
  <tr>
560
+ <th><label for="yasr-10-overall"><?php _e("Ranking reviews", 'yet-another-stars-rating'); ?></label></th>
561
+ <td><input type="button" class="button-primary" name="yasr-top-10-overall-rating" id="yasr-top-10-overall-rating" value="<?php _e("Insert Ranking reviews", 'yet-another-stars-rating') ?>" /><br />
562
+ <small><?php _e("Insert Top 10 ranking for [yasr_overall_rating] shortcode", 'yet-another-stars-rating'); ?></small></td>
563
  </tr>
564
 
565
  <tr>
566
+ <th><label for="yasr-10-highest-most-rated"><?php _e("Users' ranking", 'yet-another-stars-rating'); ?></label></th>
567
+ <td><input type="button" class="button-primary" name="yasr-10-highest-most-rated" id="yasr-10-highest-most-rated" value="<?php _e("Insert Users ranking", 'yet-another-stars-rating') ?>" /><br />
568
+ <small><?php _e("Insert Top 10 ranking for [yasr_visitor_votes] shortcode", 'yet-another-stars-rating'); ?></small></td>
569
  </tr>
570
 
571
  <tr>
572
+ <th><label for="yasr-5-active-reviewers"><?php _e("Most active reviewers", 'yet-another-stars-rating'); ?></label></th>
573
+ <td><input type="button" class="button-primary" name="yasr-5-active-reviewers" id="yasr-5-active-reviewers" value="<?php _e("Insert Most Active Reviewers", 'yet-another-stars-rating')?> " /><br />
574
+ <small><?php _e("Insert Top 5 active reviewers", 'yet-another-stars-rating'); ?></small></td>
575
  </tr>
576
 
577
  <tr>
578
+ <th><label for="yasr-10-active-users"><?php _e("Most Active Users", 'yet-another-stars-rating'); ?></label></th>
579
+ <td><input type="button" class="button-primary" name="yasr-top-10-active-users" id="yasr-top-10-active-users" value="<?php _e("Insert Most Active Users", 'yet-another-stars-rating') ?>" /><br />
580
+ <small><?php _e("Insert Top 10 voters [yasr_visitor_votes] shortcode", 'yet-another-stars-rating'); ?></small></td>
581
  </tr>
582
 
583
  </table>
648
  <div class="yasr-result-step-1">
649
  <?php
650
  if ($check_query_success) {
651
+ _e( "Reviews and Visitor Votes have been successfull imported.", 'yet-another-stars-rating');
652
 
653
  update_option('yasr-gdstar-imported', '1');
654
 
655
  ?>
656
  <br />
657
+ <?php _e ("Step2: I will check if you used Multiple Sets and if so I will import them. THIS MAY TAKE A WHILE!", 'yet-another-stars-rating'); ?>
658
  <br />
659
+ <button href="#" class="button-primary" id="import-button-step2"> <?php _e('Proceed Step 2', 'yet-another-stars-rating');?> </button>
660
  <span id="yasr-loader-importer2" style="display:none;" >&nbsp;<img src="<?php echo YASR_IMG_DIR . "loader.gif" ?>">
661
  </span>
662
  <?php
663
  }
664
 
665
  else {
666
+ _e( "Something goes wrong! Refresh the page and try again!", 'yet-another-stars-rating');
667
  }
668
 
669
  ?>
692
  //If multiple set are found
693
  if($multi_set_names) {
694
  echo "<br /><strong>";
695
+ _e("I've found Multiple Set! Importing..." , 'yet-another-stars-rating');
696
  echo "</strong><br />";
697
 
698
  //If multi set are found write in yasr_multi_set table
701
  //If insert succes, go ahed
702
  if ($insert_multi_set) {
703
  echo "&nbsp;&nbsp;&nbsp;";
704
+ _e("Multi Set's name has been successfull imported.", 'yet-another-stars-rating');
705
  echo "<br /><strong>";
706
+ _e("Now I'm going to import Multi Set data", 'yet-another-stars-rating');
707
  echo "</strong> <br />";
708
 
709
  //Import multiple set's values from GD star rating
714
  $insert_multidata=yasr_insert_gdstar_multi_value($multi_data);
715
  if ($insert_multidata) {
716
  echo "&nbsp;&nbsp;&nbsp;";
717
+ _e( "All votes has been successfull imported.", 'yet-another-stars-rating');
718
  echo "<br />";
719
+ echo "<button href=\"#\" class=\"button-delete\" id=\"end-import\">" . __('Done', 'yet-another-stars-rating') . "</button>";
720
 
721
  }
722
  else {
723
  echo "&nbsp;&nbsp;&nbsp;";
724
+ _e("I've found Multiple Set's votes but I couldn't insert into db", 'yet-another-stars-rating');
725
  echo "<br />";
726
  }
727
  } //End if $multi_data
729
  //Multiple set are found, but there is not data
730
  else {
731
  echo "&nbsp;&nbsp;&nbsp;";
732
+ _e( "I've found Multi Set but with no data", 'yet-another-stars-rating');
733
  echo "<br />";
734
  }
735
 
738
  //Query failed insert set name
739
  else {
740
  echo "&nbsp;&nbsp;&nbsp;";
741
+ _e("I've found Multi Sets names but I couldn't insert into db", 'yet-another-stars-rating');
742
  echo "<br />";
743
  }
744
 
746
 
747
  else {
748
  echo "&nbsp;&nbsp;&nbsp;";
749
+ _e ("Multisets were not found. Imported is done!", 'yet-another-stars-rating');
750
  }
751
 
752
  echo "</div>";
777
  }
778
 
779
  if ( ! current_user_can( 'manage_options' ) ) {
780
+ wp_die( __( 'You do not have sufficient permissions to access this page.', 'yet-another-stars-rating' ) );
781
  }
782
 
783
  $limit = 8; //max number of row to echo
789
  $log_result = $wpdb->get_results ("SELECT * FROM ". YASR_LOG_TABLE . " ORDER BY date DESC LIMIT $offset, $limit ");
790
 
791
  if (!$log_result) {
792
+ _e("No Recenet votes yet", 'yet-another-stars-rating');
793
  }
794
 
795
  else {
811
  $title_post = get_the_title( $column->post_id ); //Get post title from post id
812
  $link = get_permalink( $column->post_id ); //Get post link from post id
813
 
814
+ $yasr_log_vote_text = sprintf(__('Vote %d from %s on', 'yet-another-stars-rating'), $column->vote, '<strong style="color: blue">'.$user->user_login.'</strong>' );
815
 
816
  echo "
817
 
827
 
828
  <div id=\"yasr-log-ip-date\">
829
 
830
+ <span id=\"yasr-log-ip\">" . __("Ip address" , 'yet-another-stars-rating') . ": <span style=\"color:blue\">$column->ip</span></span>
831
 
832
  <span id=\"yasr-log-date\">$column->date</span>
833
 
868
 
869
  else {
870
 
871
+ _e("Pages", 'yet-another-stars-rating'); echo ": ($num_of_pages) &nbsp;&nbsp;&nbsp;";
872
 
873
  $start_for = $page_num - 1;
874
 
1009
  $new_row_result=NULL; ////Avoid Undefined variable notice
1010
 
1011
  if ($rating < 1) {
1012
+ _e("Error: you can't vote 0", 'yet-another-stars-rating');
1013
  die();
1014
  }
1015
 
1114
  $medium_rating = round ($total_rating, 1);
1115
 
1116
  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>
1117
+ <span class=\"yasr-total-average-text\" title=\"yasr-stats\"> [" . __("Total: ", 'yet-another-stars-rating') . "$number_of_votes &nbsp; &nbsp;" . __("Average:", 'yet-another-stars-rating') . " $medium_rating/5 ]</span>
1118
+ <span class=\"yasr-small-block-bold\" id=\"yasr-vote-saved\">" . __("Vote Saved" , 'yet-another-stars-rating') . "</span>";
1119
 
1120
  }
1121
 
1122
  elseif ($new_row_result) {
1123
 
1124
  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>
1125
+ <span class=\"yasr-total-average-text\" title=\"yasr-stats\"> [" . __("Total: ", 'yet-another-stars-rating') . "$number_of_votes &nbsp; &nbsp;" . __("Average:", 'yet-another-stars-rating') . " $rating/5 ]</span>
1126
+ <span class=\"yasr-small-block-bold\" id=\"yasr-vote-saved\">" . __("Vote Saved" , 'yet-another-stars-rating') . "</span>";
1127
 
1128
  }
1129
 
1164
  }
1165
 
1166
  if ($new_rating < 1) {
1167
+ _e("Error: you can't vote 0", 'yet-another-stars-rating');
1168
  die();
1169
  }
1170
 
1257
  echo "<div class=\"$rateit_class\" id=\"yasr-rateit-user-votes-updated\" data-rateit-starwidth=\"$px_size\" data-rateit-starheight=\"$px_size\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>";
1258
 
1259
  if (YASR_VISITORS_STATS === 'yes') {
1260
+ echo "<span class=\"yasr-total-average-text\"><span class=\"dashicons dashicons-chart-bar\" id=\"yasr-total-average-$post_id\"></span>[" . __("Total: ", 'yet-another-stars-rating') . "$number_of_votes &nbsp; &nbsp;" . __("Average $medium_rating/5" , 'yet-another-stars-rating') . "]</span>";
1261
  }
1262
 
1263
+ echo "<span class=\"yasr-small-block-bold\" id=\"yasr-already-voted-text\">" . __("Vote updated", 'yet-another-stars-rating') . "</span>";
1264
 
1265
  die(); // this is required to return a proper result
1266
 
1405
 
1406
  yasr_setcookie($cookiename, 'true');
1407
 
1408
+ _e('Rating saved!', 'yet-another-stars-rating');
1409
 
1410
  }
1411
 
1412
  else {
1413
 
1414
+ _e('Rating not saved. Please Try again', 'yet-another-stars-rating');
1415
 
1416
  }
1417
 
1504
 
1505
  $i=5;
1506
 
1507
+ $stars_text = __("stars", 'yet-another-stars-rating');
1508
 
1509
  foreach ($stats as $logged_votes) {
1510
 
1511
  if ($i==1) {
1512
+ $stars_text = __("star", 'yet-another-stars-rating');
1513
  }
1514
 
1515
  echo "<div class=\"yasr-progress-bar-row-container\">
lib/yasr-db-functions.php CHANGED
@@ -316,7 +316,7 @@ add_action( 'plugins_loaded', 'add_action_dashboard_widget_log' );
316
  $log_result = $wpdb->get_results ("SELECT * FROM ". YASR_LOG_TABLE . " ORDER BY date DESC LIMIT 0, $limit ");
317
 
318
  if (!$log_result) {
319
- _e("No recenet votes yet", "yasr");
320
  }
321
 
322
  else {
@@ -340,7 +340,7 @@ add_action( 'plugins_loaded', 'add_action_dashboard_widget_log' );
340
  $title_post = get_the_title( $column->post_id );
341
  $link = get_permalink( $column->post_id );
342
 
343
- $yasr_log_vote_text = sprintf(__('Vote %d from %s on ', 'yasr'), $column->vote, '<strong style="color: blue">'.$user->user_login.'</strong>' );
344
 
345
  echo "
346
 
@@ -356,7 +356,7 @@ add_action( 'plugins_loaded', 'add_action_dashboard_widget_log' );
356
 
357
  <div id=\"yasr-log-ip-date\">
358
 
359
- <span id=\"yasr-log-ip\">" . __("Ip address" , "yasr") . ": <span style=\"color:blue\">$column->ip</span></span>
360
 
361
  <span id=\"yasr-log-date\">$column->date</span>
362
 
@@ -397,7 +397,7 @@ add_action( 'plugins_loaded', 'add_action_dashboard_widget_log' );
397
 
398
  else {
399
 
400
- _e("Pages", "yasr"); echo ": ($num_of_pages) &nbsp;&nbsp;&nbsp;";
401
 
402
  for ($i=1; $i<=3; $i++) {
403
 
316
  $log_result = $wpdb->get_results ("SELECT * FROM ". YASR_LOG_TABLE . " ORDER BY date DESC LIMIT 0, $limit ");
317
 
318
  if (!$log_result) {
319
+ _e("No recenet votes yet", 'yet-another-stars-rating');
320
  }
321
 
322
  else {
340
  $title_post = get_the_title( $column->post_id );
341
  $link = get_permalink( $column->post_id );
342
 
343
+ $yasr_log_vote_text = sprintf(__('Vote %d from %s on ', 'yet-another-stars-rating'), $column->vote, '<strong style="color: blue">'.$user->user_login.'</strong>' );
344
 
345
  echo "
346
 
356
 
357
  <div id=\"yasr-log-ip-date\">
358
 
359
+ <span id=\"yasr-log-ip\">" . __("Ip address" , 'yet-another-stars-rating') . ": <span style=\"color:blue\">$column->ip</span></span>
360
 
361
  <span id=\"yasr-log-date\">$column->date</span>
362
 
397
 
398
  else {
399
 
400
+ _e("Pages", 'yet-another-stars-rating'); echo ": ($num_of_pages) &nbsp;&nbsp;&nbsp;";
401
 
402
  for ($i=1; $i<=3; $i++) {
403
 
lib/yasr-functions.php CHANGED
@@ -83,7 +83,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
83
  add_action('init', 'yasr_translate_option', 110);
84
 
85
  function yasr_translate_option() {
86
- load_plugin_textdomain('yasr', FALSE, YASR_LANG_DIR);
87
  }
88
 
89
 
@@ -96,8 +96,8 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
96
 
97
  //Add Settings Page
98
  add_options_page(
99
- __( 'Yet Another Stars Rating: Settings', 'yasr' ), //Page Title
100
- __( 'Yet Another Stars Rating: Settings', 'yasr' ), //Menu Title
101
  'manage_options', //capability
102
  'yasr_settings_page', //menu slug
103
  'yasr_settings_page_callback' //The function to be called to output the content for this page.
@@ -108,7 +108,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
108
  // Settings Page Content
109
  function yasr_settings_page_callback () {
110
  if ( ! current_user_can( 'manage_options' ) ) {
111
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'yasr' ) );
112
  }
113
 
114
  include(YASR_RELATIVE_PATH . '/yasr-settings-page.php');
@@ -145,7 +145,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
145
  //If multiset are used then add the second metabox
146
  if ($multi_set) {
147
  foreach ($post_type_where_display_metabox as $post_type) {
148
- add_meta_box( 'yasr_metabox_multiple_rating', __( 'Yet Another Stars Rating: Multiple set', 'yasr' ), 'yasr_metabox_multiple_rating_content', $post_type, 'normal', 'high' );
149
  }
150
  }
151
 
@@ -280,7 +280,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
280
 
281
  }
282
 
283
- //if is not jsonld (default case)
284
  if(YASR_SCHEMA_FORMAT != 'jsonld'){
285
 
286
 
@@ -300,9 +300,9 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
300
 
301
  $div = "<div class=\"yasr_schema\" itemscope itemtype=\"http://schema.org/Review\">";
302
 
303
- $author = "<span itemprop=\"author\" itemscope itemtype=\"http://schema.org/Person\"> " . __('reviewed by', 'yasr') . " <span itemprop=\"name\"> " . get_the_author() . " </span></span>";
304
 
305
- $date = __(' on ', 'yasr') . "<meta itemprop=\"datePublished\" content=\"" . get_the_date('c') . "\"> " . get_the_date();
306
 
307
  $title = NULL; //avoid undefined
308
 
@@ -316,12 +316,12 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
316
 
317
  elseif ($review_choosen == "Other") {
318
  $title = "<span itemprop=\"itemReviewed\" itemscope itemType=\"http://schema.org/BlogPosting\"> <span itemprop=\"name headline\"> ". get_the_title() ." </span>";
319
- $date =__('reviewed on', 'yasr') . " <meta itemprop=\"datePublished\" content=\"" . get_the_date('c') . "\"> " . get_the_date() . " </span>";
320
- $author = __('by ', 'yasr') . "<span itemprop=\"author\" itemscope itemtype=\"http://schema.org/Person\"><span itemprop=\"name\"> " . get_the_author() . " </span></span>";
321
 
322
  }
323
 
324
- $rating = "<span itemprop=\"reviewRating\" itemscope itemtype=\"http://schema.org/Rating\"> ". __( 'rated' , 'yasr' ) . " <span itemprop=\"ratingValue\">" . $overall_rating . "</span> " . __('of', 'yasr') ." <span itemprop=\"bestRating\"> 5 </span></span>";
325
  $end_div= "</div>";
326
 
327
 
@@ -370,7 +370,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
370
 
371
  if ($review_choosen == 'Other') {
372
  $div_1 = "<div class=\"yasr_schema\" itemscope itemType=\"http://schema.org/BlogPosting\"><span itemprop=\"name headline\">". get_the_title() ."</span>";
373
- $date = __(' on ', 'yasr') . "<meta itemprop=\"datePublished\" content=\"" . get_the_date('c') . "\"> " . get_the_date();
374
  }
375
 
376
  elseif ($review_choosen == "Product") {
@@ -378,11 +378,11 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
378
  $date = '';
379
  }
380
 
381
- $author = __( ' written by ' , 'yasr' ) . get_the_author();
382
 
383
  $span_1 = "<span itemprop=\"aggregateRating\" itemscope itemtype=\"http://schema.org/AggregateRating\">";
384
- $rating = __( ' average rating ' , 'yasr' ) . "<span itemprop=\"ratingValue\">" . $average_rating . "</span>/<span itemprop=\"bestRating\">5</span>";
385
- $n_ratings = " - <span itemprop=\"ratingCount\"> " . $visitor_rating['votes_number'] . "</span>" . __(' user ratings', 'yasr');
386
  $end_span_1 = "</span>";
387
  $end_div_1 = "</div>";
388
 
@@ -473,15 +473,15 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
473
  }
474
 
475
 
476
- }
477
 
478
- } //END id if $overall_rating != '-1'
479
 
480
- } //end if ($choosen_snippet['snippet'] == 'overall_rating')
481
 
482
- if (YASR_SNIPPET == 'visitor_rating') {
483
 
484
- $visitor_votes = yasr_get_visitor_votes ();
485
 
486
  if ($visitor_votes) {
487
 
@@ -554,7 +554,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
554
  return $content;
555
  }
556
 
557
- }
558
 
559
 
560
  } //End function
@@ -564,7 +564,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
564
 
565
  function yasr_select_itemtype() {
566
 
567
- $i18n_array_review = __('Product, Place, Other', 'yasr');
568
 
569
  $array_review_type = explode(',', $i18n_array_review);
570
 
83
  add_action('init', 'yasr_translate_option', 110);
84
 
85
  function yasr_translate_option() {
86
+ load_plugin_textdomain('yet-another-stars-rating', FALSE, YASR_LANG_DIR);
87
  }
88
 
89
 
96
 
97
  //Add Settings Page
98
  add_options_page(
99
+ __( 'Yet Another Stars Rating: Settings', 'yet-another-stars-rating' ), //Page Title
100
+ __( 'Yet Another Stars Rating: Settings', 'yet-another-stars-rating' ), //Menu Title
101
  'manage_options', //capability
102
  'yasr_settings_page', //menu slug
103
  'yasr_settings_page_callback' //The function to be called to output the content for this page.
108
  // Settings Page Content
109
  function yasr_settings_page_callback () {
110
  if ( ! current_user_can( 'manage_options' ) ) {
111
+ wp_die( __( 'You do not have sufficient permissions to access this page.', 'yet-another-stars-rating' ) );
112
  }
113
 
114
  include(YASR_RELATIVE_PATH . '/yasr-settings-page.php');
145
  //If multiset are used then add the second metabox
146
  if ($multi_set) {
147
  foreach ($post_type_where_display_metabox as $post_type) {
148
+ add_meta_box( 'yasr_metabox_multiple_rating', __( 'Yet Another Stars Rating: Multiple set', 'yet-another-stars-rating' ), 'yasr_metabox_multiple_rating_content', $post_type, 'normal', 'high' );
149
  }
150
  }
151
 
280
 
281
  }
282
 
283
+ //if is not jsonld (default case)
284
  if(YASR_SCHEMA_FORMAT != 'jsonld'){
285
 
286
 
300
 
301
  $div = "<div class=\"yasr_schema\" itemscope itemtype=\"http://schema.org/Review\">";
302
 
303
+ $author = "<span itemprop=\"author\" itemscope itemtype=\"http://schema.org/Person\"> " . __('reviewed by', 'yet-another-stars-rating') . " <span itemprop=\"name\"> " . get_the_author() . " </span></span>";
304
 
305
+ $date = __(' on ', 'yet-another-stars-rating') . "<meta itemprop=\"datePublished\" content=\"" . get_the_date('c') . "\"> " . get_the_date();
306
 
307
  $title = NULL; //avoid undefined
308
 
316
 
317
  elseif ($review_choosen == "Other") {
318
  $title = "<span itemprop=\"itemReviewed\" itemscope itemType=\"http://schema.org/BlogPosting\"> <span itemprop=\"name headline\"> ". get_the_title() ." </span>";
319
+ $date =__('reviewed on', 'yet-another-stars-rating') . " <meta itemprop=\"datePublished\" content=\"" . get_the_date('c') . "\"> " . get_the_date() . " </span>";
320
+ $author = __('by ', 'yet-another-stars-rating') . "<span itemprop=\"author\" itemscope itemtype=\"http://schema.org/Person\"><span itemprop=\"name\"> " . get_the_author() . " </span></span>";
321
 
322
  }
323
 
324
+ $rating = "<span itemprop=\"reviewRating\" itemscope itemtype=\"http://schema.org/Rating\"> ". __( 'rated' , 'yet-another-stars-rating' ) . " <span itemprop=\"ratingValue\">" . $overall_rating . "</span> " . __('of', 'yet-another-stars-rating') ." <span itemprop=\"bestRating\"> 5 </span></span>";
325
  $end_div= "</div>";
326
 
327
 
370
 
371
  if ($review_choosen == 'Other') {
372
  $div_1 = "<div class=\"yasr_schema\" itemscope itemType=\"http://schema.org/BlogPosting\"><span itemprop=\"name headline\">". get_the_title() ."</span>";
373
+ $date = __(' on ', 'yet-another-stars-rating') . "<meta itemprop=\"datePublished\" content=\"" . get_the_date('c') . "\"> " . get_the_date();
374
  }
375
 
376
  elseif ($review_choosen == "Product") {
378
  $date = '';
379
  }
380
 
381
+ $author = __( ' written by ' , 'yet-another-stars-rating' ) . get_the_author();
382
 
383
  $span_1 = "<span itemprop=\"aggregateRating\" itemscope itemtype=\"http://schema.org/AggregateRating\">";
384
+ $rating = __( ' average rating ' , 'yet-another-stars-rating' ) . "<span itemprop=\"ratingValue\">" . $average_rating . "</span>/<span itemprop=\"bestRating\">5</span>";
385
+ $n_ratings = " - <span itemprop=\"ratingCount\"> " . $visitor_rating['votes_number'] . "</span>" . __(' user ratings', 'yet-another-stars-rating');
386
  $end_span_1 = "</span>";
387
  $end_div_1 = "</div>";
388
 
473
  }
474
 
475
 
476
+ }
477
 
478
+ } //END id if $overall_rating != '-1'
479
 
480
+ } //end if ($choosen_snippet['snippet'] == 'overall_rating')
481
 
482
+ if (YASR_SNIPPET == 'visitor_rating') {
483
 
484
+ $visitor_votes = yasr_get_visitor_votes ();
485
 
486
  if ($visitor_votes) {
487
 
554
  return $content;
555
  }
556
 
557
+ }
558
 
559
 
560
  } //End function
564
 
565
  function yasr_select_itemtype() {
566
 
567
+ $i18n_array_review = __('Product, Place, Other', 'yet-another-stars-rating');
568
 
569
  $array_review_type = explode(',', $i18n_array_review);
570
 
lib/yasr-settings-functions.php CHANGED
@@ -49,21 +49,21 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
49
  $option['custom_text_user_voted'] = '';
50
  }
51
 
52
- add_settings_section( 'yasr_general_options_section_id', __('General settings', 'yasr'), 'yasr_section_callback', 'yasr_general_settings_tab' );
53
- add_settings_field( 'yasr_use_auto_insert_id', __('Auto insert options', 'yasr'), 'yasr_auto_insert_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
54
- add_settings_field( 'yasr_show_overall_in_loop', __('Show "Overall Rating" in Archive Page?', 'yasr'), 'yasr_show_overall_in_loop_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
55
- add_settings_field( 'yasr_show_visitor_votes_in_loop', __('Show "Visitor Votes" in Archive Page?', 'yasr'), 'yasr_show_visitor_votes_in_loop_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
56
- add_settings_field( 'yasr_custom_text', __('Insert custom text to show before / after stars', 'yasr'), 'yasr_custom_text_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
57
- add_settings_field( 'yasr_visitors_stats', __('Do you want show stats for visitors votes?', 'yasr'), 'yasr_visitors_stats_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
58
- add_settings_field( 'yasr_allow_only_logged_in_id', __('Allow only logged in user to vote?', 'yasr'), 'yasr_allow_only_logged_in_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
59
- add_settings_field( 'yasr_choose_snippet_id', __('Rich snippet options', 'yasr'), 'yasr_choose_snippet_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
60
- add_settings_field( 'yasr_choose_overall_rating_method', __('How do you want to rate "Overall Rating"?', 'yasr'), 'yasr_choose_overall_rating_method_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
61
 
62
  }
63
 
64
 
65
  function yasr_section_callback() {
66
- //_e('Manage auto insert', 'yasr');
67
  }
68
 
69
  function yasr_auto_insert_callback($option) {
@@ -71,13 +71,13 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
71
  ?>
72
 
73
 
74
- <strong><?php _e('Use Auto Insert?', 'yasr'); ?></strong>
75
  <br />
76
 
77
  <div class="yasr-indented-answer">
78
 
79
  <input type='radio' name='yasr_general_options[auto_insert_enabled]' value='1' id='yasr_auto_insert_radio_on' <?php if ($option['auto_insert_enabled']==1) echo " checked='checked' "; ?> />
80
- <?php _e('Yes', 'yasr') ?>
81
  &nbsp;&nbsp;&nbsp;
82
 
83
 
@@ -91,7 +91,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
91
  echo "/>";
92
  }
93
 
94
- _e('No', 'yasr');
95
 
96
  ?>
97
 
@@ -99,74 +99,74 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
99
 
100
  </div>
101
 
102
- <strong><?php _e('What?', 'yasr'); ?></strong>
103
 
104
  <div class="yasr-indented-answer">
105
 
106
  <input type="radio" name="yasr_general_options[auto_insert_what]" value="overall_rating" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_what']==='overall_rating') echo " checked=\"checked\" "; ?> >
107
- <?php _e('Overall Rating / Author Rating', 'yasr') ?>
108
  <br />
109
 
110
  <input type="radio" name="yasr_general_options[auto_insert_what]" value="visitor_rating" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_what']==='visitor_rating') echo " checked=\"checked\" "; ?> >
111
- <?php _e('Visitor Votes', 'yasr')?>
112
  <br />
113
 
114
  <input type="radio" name="yasr_general_options[auto_insert_what]" value="both" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_what']==='both') echo " checked=\"checked\" "; ?> >
115
- <?php _e('Both', 'yasr')?>
116
 
117
  <p>&nbsp;</p>
118
 
119
  </div>
120
 
121
- <strong><?php _e('Where?', 'yasr'); ?></strong>
122
 
123
  <div class="yasr-indented-answer">
124
 
125
  <input type="radio" name="yasr_general_options[auto_insert_where]" value="top" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_where']==='top' ) echo " checked=\"checked\" "; ?> >
126
- <?php _e('Before the post', 'yasr')?>
127
  <br />
128
 
129
  <input type="radio" name="yasr_general_options[auto_insert_where]" value="bottom" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_where']==='bottom') echo " checked=\"checked\" "; ?> >
130
- <?php _e('After the post', 'yasr')?>
131
  <br />
132
 
133
  <p>&nbsp;</p>
134
 
135
  </div>
136
 
137
- <strong><?php _e('Size', 'yasr'); ?></strong>
138
 
139
  <div class="yasr-indented-answer">
140
 
141
  <div class="yasr-option-size">
142
  <input type="radio" name="yasr_general_options[auto_insert_size]" value="small" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_size']==='small' ) echo " checked=\"checked\" "; ?> >
143
- <img src="<?php echo YASR_IMG_DIR . "yasr-stars-small.png" ?>" class="yasr-img-option-size"><span class="yasr-text-options-size"><?php _e('Small', 'yasr')?></span>
144
  </div>
145
 
146
  <div class="yasr-option-size">
147
  <input type="radio" name="yasr_general_options[auto_insert_size]" value="medium" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_size']==='medium' ) echo " checked=\"checked\" "; ?> >
148
- <img src="<?php echo YASR_IMG_DIR . "yasr-stars-medium.png" ?>" class="yasr-img-option-size"><span class="yasr-text-options-size"><?php _e('Medium', 'yasr')?></span>
149
  </div>
150
 
151
  <div class="yasr-option-size">
152
  <input type="radio" name="yasr_general_options[auto_insert_size]" value="large" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_size']==='large' ) echo " checked=\"checked\" "; ?> >
153
- <img src="<?php echo YASR_IMG_DIR . "yasr-stars-large.png" ?>" class="yasr-img-option-size"><span class="yasr-text-options-size"><?php _e('Large', 'yasr')?></span>
154
  </div>
155
 
156
  <p>&nbsp;</p>
157
 
158
  </div>
159
 
160
- <strong><?php _e('Exclude Pages?', 'yasr'); ?></strong>
161
 
162
  <div class="yasr-indented-answer">
163
  <input type="radio" name="yasr_general_options[auto_insert_exclude_pages]" value="yes" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_exclude_pages']==='yes' ) echo " checked=\"checked\" "; ?> >
164
- <?php _e('Yes', 'yasr'); ?>
165
 
166
  &nbsp;&nbsp;&nbsp;
167
 
168
  <input type="radio" name="yasr_general_options[auto_insert_exclude_pages]" value="no" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_exclude_pages']==='no') echo " checked=\"checked\" "; ?> >
169
- <?php _e('No', 'yasr'); ?>
170
  <br />
171
 
172
  <p>&nbsp;</p>
@@ -178,21 +178,21 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
178
  $custom_post_types = yasr_get_custom_post_type('bool');
179
 
180
  if ($custom_post_types) { ?>
181
- <strong><?php _e('Use only in custom post types?', 'yasr'); ?></strong>
182
  <div class="yasr-indented-answer">
183
  <input type="radio" name="yasr_general_options[auto_insert_custom_post_only]" value="yes" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_custom_post_only']==='yes' ) echo " checked=\"checked\" "; ?> >
184
- <?php _e('Yes', 'yasr'); ?>
185
 
186
  &nbsp;&nbsp;&nbsp;
187
 
188
  <input type="radio" name="yasr_general_options[auto_insert_custom_post_only]" value="no" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_custom_post_only']==='no') echo " checked=\"checked\" "; ?> >
189
- <?php _e('No', 'yasr'); ?>
190
 
191
  <p>
192
 
193
- <?php _e("You see this because you use custom post types.", "yasr"); ?>
194
  <br/>
195
- <?php _e("If you want to use auto insert only in custom post types, choose Yes", "yasr"); ?>
196
 
197
  <p>&nbsp;</p>
198
 
@@ -225,16 +225,16 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
225
  ?>
226
 
227
  <input type='radio' name='yasr_general_options[show_overall_in_loop]' value='enabled' class='yasr-general-option-show-overall-in-loop' <?php if ($option['show_overall_in_loop']==='enabled') echo " checked=\"checked\" "; ?> />
228
- <?php _e('Yes', 'yasr')?>
229
 
230
  &nbsp;&nbsp;&nbsp;
231
 
232
  <input type='radio' name='yasr_general_options[show_overall_in_loop]' value='disabled' class='yasr-general-option-show-overall-in-loop' <?php if ($option['show_overall_in_loop']==='disabled') echo " checked=\"checked\" "; ?> />
233
- <?php _e('No', 'yasr')?>
234
  <br />
235
  <br />
236
 
237
- <?php _e('If you enable this, "Overall Rating" will be showed not only in the single article or page, but also in pages like Home Page, category pages or archives.', 'yasr')?>
238
 
239
  <p>&nbsp;</p>
240
 
@@ -251,16 +251,16 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
251
  ?>
252
 
253
  <input type='radio' name='yasr_general_options[show_visitor_votes_in_loop]' value='enabled' class='yasr-general-option-show-visitor-votes-in-loop' <?php if ($option['show_visitor_votes_in_loop']==='enabled') echo " checked=\"checked\" "; ?> />
254
- <?php _e('Yes', 'yasr')?>
255
 
256
  &nbsp;&nbsp;&nbsp;
257
 
258
  <input type='radio' name='yasr_general_options[show_visitor_votes_in_loop]' value='disabled' class='yasr-general-option-show-visitor-votes-in-loop' <?php if ($option['show_visitor_votes_in_loop']==='disabled') echo " checked=\"checked\" "; ?> />
259
- <?php _e('No', 'yasr')?>
260
  <br />
261
  <br />
262
 
263
- <?php _e('If you enable this, "Visitor Votes" will be showed not only in the single article or page, but also in pages like Home Page, category pages or archives.', 'yasr')?>
264
 
265
  <p>&nbsp;</p>
266
 
@@ -285,46 +285,46 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
285
  ?>
286
 
287
  <input type='radio' name='yasr_general_options[text_before_stars]' value='1' id='yasr_text_before_star_on' <?php if ($option['text_before_stars']==1) echo " checked='checked' "; ?> />
288
- <?php _e('Yes', 'yasr') ?>
289
  &nbsp;&nbsp;&nbsp;
290
 
291
  <input type='radio' name='yasr_general_options[text_before_stars]' value='0' id='yasr_text_before_star_off' <?php if ($option['text_before_stars']==0) echo " checked='checked' "; ?> />
292
 
293
- <?php _e('No', 'yasr'); ?>
294
 
295
  <br /> <br />
296
 
297
  <input type='text' name='yasr_general_options[text_before_overall]' id="yasr-general-options-custom-text-before-overall" class='yasr-general-options-text-before' <?php printf('value="%s"', $text_before_overall); ?> maxlength="40"/>
298
- <?php _e('Custom text to display before Overall Rating', 'yasr')?>
299
 
300
  <br /> <br /> <br />
301
 
302
  <input type='text' name='yasr_general_options[text_before_visitor_rating]' id="yasr-general-options-custom-text-before-visitor" class='yasr-general-options-text-before' <?php printf('value="%s"', $text_before_visitor_rating); ?> maxlength="80"/>
303
- <?php _e('Custom text to display BEFORE Visitor Rating', 'yasr')?>
304
 
305
  <br /> <br />
306
 
307
 
308
  <input type='text' name='yasr_general_options[text_after_visitor_rating]' id="yasr-general-options-custom-text-after-visitor" class='yasr-general-options-text-before' <?php printf('value="%s"', $text_after_visitor_rating); ?> maxlength="80"/>
309
- <?php _e('Custom text to display AFTER Visitor Rating', 'yasr')?>
310
 
311
  <br /> <br /> <br />
312
 
313
  <input type='text' name='yasr_general_options[custom_text_user_voted]' id="yasr-general-options-custom-text-already-rated" class='yasr-general-options-text-before' <?php printf('value="%s"', $custom_text_user_votes); ?> maxlength="60"/>
314
- <?php _e('Custom text to display when a non logged user has already rated', 'yasr')?>
315
 
316
 
317
  <br /> <br />
318
 
319
- <a href="#" id="yasr-doc-custom-text-link"><?php _e('Help', 'yasr'); ?></a>
320
 
321
  <div id="yasr-doc-custom-text-div" class="yasr-help-box-settings">
322
 
323
- <?php _e('In the first field you can use %overall_rating% pattern to show the overall rating.', 'yasr');?>
324
 
325
  <br /> <br />
326
 
327
- <?php _e('In the Second and Third fields you can use %total_count% pattern to show the total count, and %average% pattern to show the average', 'yasr');?>
328
 
329
  </div>
330
 
@@ -340,12 +340,12 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
340
  ?>
341
 
342
  <input type='radio' name='yasr_general_options[visitors_stats]' value='yes' class='yasr-general-options-scheme-color' <?php if ($option['visitors_stats']==='yes') echo " checked=\"checked\" "; ?> />
343
- <?php _e('Yes', 'yasr')?>
344
 
345
  &nbsp;&nbsp;&nbsp;
346
 
347
  <input type='radio' name='yasr_general_options[visitors_stats]' value='no' class='yasr-general-options-scheme-color' <?php if ($option['visitors_stats']==='no') echo " checked=\"checked\" "; ?> />
348
- <?php _e('No', 'yasr')?>
349
  <br />
350
 
351
  <br />
@@ -363,11 +363,11 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
363
  ?>
364
 
365
  <input type='radio' name='yasr_general_options[allowed_user]' value='logged_only' class='yasr_auto_insert_loggedonly' <?php if ($option['allowed_user']==='logged_only') echo " checked=\"checked\" "; ?> />
366
- <?php _e('Allow only logged-in users', 'yasr')?>
367
  <br />
368
 
369
  <input type='radio' name='yasr_general_options[allowed_user]' value='allow_anonymous' class='yasr_auto_insert_loggedonly' <?php if ($option['allowed_user']==='allow_anonymous') echo " checked=\"checked\" "; ?> />
370
- <?php _e('Allow everybody (logged in and anonymous)', 'yasr')?>
371
  <br />
372
 
373
  <p>&nbsp;</p>
@@ -383,30 +383,30 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
383
 
384
  ?>
385
 
386
- <strong><?php _e('Which rich snippet do you want to use?', 'yasr'); ?></strong>
387
 
388
  <div class="yasr-indented-answer">
389
  <input type="radio" name="yasr_general_options[snippet]" value="overall_rating" class="yasr_choose_snippet" <?php if ($option['snippet']==='overall_rating') echo " checked=\"checked\" "; ?> >
390
- <?php _e('Review Rating', 'yasr') ?>
391
  <br />
392
 
393
  <input type="radio" name="yasr_general_options[snippet]" value="visitor_rating" class="yasr_choose_snippet" <?php if ($option['snippet']==='visitor_rating') echo " checked=\"checked\" "; ?> >
394
- <?php _e('Aggregate Rating', 'yasr')?>
395
  <br />
396
 
397
  <p>&nbsp;</p>
398
 
399
- <a href="#" id="yasr-snippet-explained-link"><?php _e("What is this?", "yasr") ?></a>
400
 
401
  <div id="yasr-snippet-explained" class="yasr-help-box-settings">
402
  <?php
403
 
404
- _e("If you select \"Review Rating\", your site will be indexed from search engines like this: ", "yasr");
405
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "yasr_review.png>";
406
 
407
  echo "<br /> <br />";
408
 
409
- _e("If, instead, you choose \"Aggregate Rating\", your site will be indexed like this", "yasr");
410
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "yasr_aggregate.jpg>";
411
  ?>
412
  </div>
@@ -417,48 +417,48 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
417
 
418
  <br />
419
 
420
- <strong><?php _e('Select default item type for all post or pages', 'yasr'); ?></strong>
421
 
422
  <div class="yasr-indented-answer">
423
 
424
  <input type="radio" name="yasr_general_options[snippet_itemtype]" value="Product" class="yasr_choose_snippet" <?php if ($option['snippet_itemtype']==='Product') echo " checked=\"checked\" "; ?> >
425
- <?php _e('Product', 'yasr') ?>
426
  <br />
427
 
428
  <input type="radio" name="yasr_general_options[snippet_itemtype]" value="Place" class="yasr_choose_snippet" <?php if ($option['snippet_itemtype']==='Place') echo " checked=\"checked\" "; ?> >
429
- <?php _e('Place', 'yasr')?>
430
  <br />
431
 
432
  <input type="radio" name="yasr_general_options[snippet_itemtype]" value="Other" class="yasr_choose_snippet" <?php if ($option['snippet_itemtype']==='Other') echo " checked=\"checked\" "; ?> >
433
- <?php _e('Other', 'yasr')?>
434
  <br />
435
 
436
 
437
  <br />
438
 
439
- <small><?php _e('You can always change it in the single post or page.', 'yasr'); ?></small>
440
  <br />
441
- <small><?php _e('This will affect only the post/page where you didn\'t change manually the itemtype yet.', 'yasr'); ?> </small>
442
 
443
  <p>&nbsp;</p>
444
 
445
  </div>
446
 
447
 
448
- <strong><?php _e('Which format do you want to use?', 'yasr'); ?></strong>
449
 
450
  <div class="yasr-indented-answer">
451
  <input type="radio" name="yasr_general_options[snippet_format]" value="microdata" class="yasr_choose_snippet" <?php if ($option['snippet_format']==='microdata') echo " checked=\"checked\" "; ?> >
452
- <?php _e('Microdata', 'yasr') ?>
453
  <br />
454
 
455
  <input type="radio" name="yasr_general_options[snippet_format]" value="jsonld" class="yasr_choose_snippet" <?php if ($option['snippet_format']==='jsonld') echo " checked=\"checked\" "; ?> >
456
- <?php _e('Json-ld', 'yasr')?>
457
  <br />
458
 
459
  <br />
460
 
461
- <small><?php _e('Leave the default value if you don\'t know what this is' , 'yasr'); ?></small>
462
 
463
  <p>&nbsp;</p>
464
 
@@ -477,11 +477,11 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
477
  ?>
478
 
479
  <input type="radio" name="yasr_general_options[metabox_overall_rating]" value="stars" class="yasr_choose_overall_rating_method" <?php if ($option['metabox_overall_rating']==='stars') echo " checked=\"checked\" "; ?> >
480
- <?php _e('Stars', 'yasr') ?>
481
  <br />
482
 
483
  <input type="radio" name="yasr_general_options[metabox_overall_rating]" value="numbers" class="yasr_choose_overall_rating_method" <?php if ($option['metabox_overall_rating']==='numbers') echo " checked=\"checked\" "; ?> >
484
- <?php _e('Numbers', 'yasr')?>
485
  <br />
486
 
487
  <?php
@@ -506,7 +506,7 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
506
  $option_multiset = get_option( 'yasr_multiset_options' );
507
 
508
  add_settings_section( 'yasr_multiset_options_section_id', '', 'yasr_multiset_section_callback', 'yasr_multiset_tab' );
509
- add_settings_field( 'yasr_color_scheme', __('Which color scheme do you want to use?', 'yasr') , 'yasr_color_scheme_callback', 'yasr_multiset_tab', 'yasr_multiset_options_section_id', $option_multiset);
510
 
511
  }
512
 
@@ -527,27 +527,27 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
527
  ?>
528
 
529
  <input type='radio' name='yasr_multiset_options[scheme_color]' value='light' class='yasr-general-options-scheme-color' <?php if ($option_multiset['scheme_color']==='light') echo " checked=\"checked\" "; ?> />
530
- <?php _e('Light', 'yasr')?>
531
 
532
  &nbsp;&nbsp;&nbsp;
533
 
534
  <input type='radio' name='yasr_multiset_options[scheme_color]' value='dark' class='yasr-general-options-scheme-color' <?php if ($option_multiset['scheme_color']==='dark') echo " checked=\"checked\" "; ?> />
535
- <?php _e('Dark', 'yasr')?>
536
  <br />
537
 
538
  <br />
539
 
540
- <a href="#" id="yasr-color-scheme-preview-link"><?php _e("Preview", "yasr") ?></a>
541
 
542
  <div id="yasr-color-scheme-preview" style="display:none">
543
  <?php
544
 
545
- _e("Light theme", "yasr");
546
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "yasr-multi-set.png>";
547
 
548
  echo "<br /> <br />";
549
 
550
- _e("Dark theme", "yasr");
551
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "dark-multi-set.png>";
552
  ?>
553
  </div>
@@ -562,21 +562,21 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
562
  function yasr_display_multi_set_form() {
563
  ?>
564
 
565
- <h4 class="yasr-multi-set-form-headers"><?php _e("Add New Multiple Set", "yasr"); ?></h4>
566
- <em><?php _e('Name, Element#1 and Element#2 MUST be filled and must be long at least 3 characters', 'yasr') ?></em>
567
  <p>
568
  <form action="<?php echo admin_url('options-general.php?page=yasr_settings_page&tab=manage_multi') ?>" id="form_add_multi_set" method="post">
569
- <strong><?php _e("Name", 'yasr')?></strong>
570
  <input type="text" name="multi-set-name" id="new-multi-set-name" class="input-text-multi-set">
571
  <input type="hidden" name="action" value="yasr_new_multi_set_form" />
572
 
573
  <p></p>
574
- <?php _e("You can insert up to nine elements", "yasr") ?>
575
  <br />
576
 
577
  <?php for($i=1; $i<=9; $i++) {
578
 
579
- echo "<strong>" . __("Element ", "yasr") . "#$i" . "</strong>";
580
  ?>
581
  <input type="text" name="multi-set-name-element-<?php echo $i ?>" id="multi-set-name-element-<?php echo $i ?>" class="input-text-multi-set">
582
  <br />
@@ -586,7 +586,7 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
586
  wp_nonce_field( 'add-multi-set', 'add-nonce-new-multi-set' ) ?><!-- a little security to process on submission -->
587
 
588
  <br />
589
- <input type="submit" value="<?php _e("Create New Set", 'yasr') ?>" class="button-primary"/>
590
  </form>
591
 
592
  <?php
@@ -607,9 +607,9 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
607
 
608
  <div class="yasr-manage-multiset">
609
 
610
- <h4 class="yasr-multi-set-form-headers"><?php _e("Manage Multiple Set" , "yasr"); ?></h4>
611
 
612
- <?php _e('Wich set do you want to edit or remove?', 'yasr')?>
613
 
614
  <select id ="yasr_select_edit_set">
615
  <?php foreach ($multi_set as $name) { ?>
@@ -640,7 +640,7 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
640
 
641
  <div class="yasr-manage-multiset-single">
642
 
643
- <h4 class="yasr-multi-set-form-headers"><?php _e("Manage Multiple Set", "yasr"); ?></h4>
644
 
645
  <form action=" <?php echo admin_url('options-general.php?page=yasr_settings_page&tab=manage_multi') ?>" id="form_edit_multi_set" method="post">
646
 
@@ -650,11 +650,11 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
650
  <tr>
651
 
652
  <td id="yasr-table-form-edit-multi-set-header">
653
- <?php _e('Field name', 'yasr') ?>
654
  </td>
655
 
656
  <td id="yasr-table-form-edit-multi-set-remove">
657
- <?php _e('Remove', 'yasr') ?>
658
  </td>
659
 
660
  </tr>
@@ -696,7 +696,7 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
696
  <table width=\"100%\" class=\"yasr-edit-form-remove-entire-set\">
697
  <tr>
698
 
699
- <td width=\"80%\">" . __("Remove whole set?", "yasr") . "</td>
700
 
701
  <td width=\"20%\" style=\"text-align:center\">
702
  <input type=\"checkbox\" name=\"yasr-remove-multi-set\" value=\"$set_type\">
@@ -709,18 +709,18 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
709
  ";
710
 
711
  echo "<p>";
712
- _e("If you remove something you will remove all the votes for that set or field. This operation CAN'T BE undone." , "yasr");
713
  echo "</p>";
714
 
715
  wp_nonce_field( 'edit-multi-set', 'add-nonce-edit-multi-set' )
716
 
717
  ?>
718
 
719
- <div id="yasr-element-limit" style="display:none; color:red"><?php _e("You can use up to 9 elements" , "yasr") ?></div>
720
 
721
- <input type="button" class="button-delete" id="yasr-add-field-edit-multiset" value="<?php _e('Add element', 'yasr'); ?>">
722
 
723
- <input type="submit" value="<?php _e('Save changes', 'yasr') ?>" class="button-primary" >
724
 
725
  </form>
726
 
@@ -730,7 +730,7 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
730
  }
731
 
732
  else {
733
- _e("No Multiple Set were found", "yasr");
734
  }
735
 
736
  }//End function
@@ -768,11 +768,11 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
768
  <tr>
769
 
770
  <td id="yasr-table-form-edit-multi-set-header">
771
- <?php _e('Field name', 'yasr') ?>
772
  </td>
773
 
774
  <td id="yasr-table-form-edit-multi-set-remove">
775
- <?php _e('Remove', 'yasr') ?>
776
  </td>
777
 
778
  </tr>
@@ -814,7 +814,7 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
814
  <table width=\"100%\" class=\"yasr-edit-form-remove-entire-set\">
815
  <tr>
816
 
817
- <td width=\"80%\">" . __("Remove whole set?", "yasr") . "</td>
818
 
819
  <td width=\"20%\" style=\"text-align:center\">
820
  <input type=\"checkbox\" name=\"yasr-remove-multi-set\" value=\"$set_type\">
@@ -827,18 +827,18 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
827
  ";
828
 
829
  echo "<p>";
830
- _e("If you remove something you will remove all the votes for that set or field. This operation CAN'T BE undone." , "yasr");
831
  echo "</p>";
832
 
833
  wp_nonce_field( 'edit-multi-set', 'add-nonce-edit-multi-set' )
834
 
835
  ?>
836
 
837
- <div id="yasr-element-limit" style="display:none; color:red"><?php _e("You can use up to 9 elements" , "yasr") ?></div>
838
 
839
- <input type="button" class="button-delete" id="yasr-add-field-edit-multiset" value="<?php _e('Add element', 'yasr'); ?>">
840
 
841
- <input type="submit" value="<?php _e('Save changes', 'yasr') ?>" class="button-primary" >
842
 
843
  </form>
844
 
@@ -979,18 +979,18 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
979
 
980
  if ($insert_set_value) {
981
  echo "<div class=\"updated\"><p><strong>";
982
- _e("Settings Saved", 'yasr');
983
  echo "</strong></p></div> ";
984
  }
985
 
986
  else {
987
- _e("Something goes wrong trying insert set field name. Please report it", "yasr");
988
  }
989
 
990
  } //End if $insert_multi_name_success
991
 
992
  else {
993
- _e("Something goes wrong trying insert Multi Set name. Please report it", "yasr");
994
  }
995
 
996
  } //End if !$error
@@ -1065,21 +1065,21 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
1065
 
1066
  if ($remove_set==FALSE) {
1067
  $error = TRUE;
1068
- $array_errors[] .= __("Something goes wrong trying to delete a Multi Set . Please report it", 'yasr');
1069
  }
1070
 
1071
 
1072
  //Comment this out, if try to delete an empty set print error
1073
  /*if ($remove_set_values==FALSE) {
1074
  $error = TRUE;
1075
- $array_errors[] .= __("Something goes wrong trying to delete data fields for a set. Please report it", 'yasr');
1076
  }
1077
  */
1078
 
1079
  //Comment this out, will echo error even if the value for that field it's just empty
1080
  /*if ($remove_set_votes==FALSE) {
1081
  $error = TRUE;
1082
- $array_errors[] .= __("Something goes wrong trying to delete data values for a set. Please report it", 'yasr');
1083
  }*/
1084
 
1085
  }
@@ -1111,14 +1111,14 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
1111
 
1112
  if ($remove_field == FALSE) {
1113
  $error = TRUE;
1114
- $array_errors[] = __("Something goes wrong trying to delete a Multi Set's element. Please report it", 'yasr');
1115
  }
1116
 
1117
 
1118
  //Comment this out, will echo error even if the value for that field it's just empty
1119
  /*if ($remove_values == FALSE) {
1120
  $error = TRUE;
1121
- $array_errors[] = __("Something goes wrong trying to delete data value for an element. Please report it", 'yasr');
1122
  }*/
1123
 
1124
 
@@ -1134,12 +1134,12 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
1134
 
1135
  //if elements name is shorter than 3 chars
1136
  if (mb_strlen($field_name) <3) {
1137
- $array_errors[] = __("Field # $i must be at least 3 characters", "yasr");
1138
  $error=TRUE;
1139
  }
1140
 
1141
  if(mb_strlen($field_name) > 23) {
1142
- $array_errors[] = __("Field # $i must be shorter than 23 characters", "yasr");
1143
  $error=TRUE;
1144
  }
1145
 
@@ -1175,7 +1175,7 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
1175
 
1176
  if ($insert_field_name == FALSE) {
1177
  $error = TRUE;
1178
- $array_errors[] = __("Something goes wrong trying to update a Multi Set's element. Please report it", 'yasr');
1179
  }
1180
 
1181
  } //End if ($field_name_in_database != $field_name) {
@@ -1194,12 +1194,12 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
1194
  //because I don't wont return error if an user add an empty field. An empty field will be
1195
  //just ignored
1196
  if (mb_strlen($field_name) > 1 && mb_strlen($field_name) < 3) {
1197
- $array_errors[] = __("Field # $i must be at least 3 characters", "yasr");
1198
  $error=TRUE;
1199
  }
1200
 
1201
  if(mb_strlen($field_name) > 23) {
1202
- $array_errors[] = __("Field # $i must be shorter than 23 characters", "yasr");
1203
  $error=TRUE;
1204
  }
1205
 
@@ -1232,7 +1232,7 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
1232
 
1233
  if ($insert_set_value == FALSE) {
1234
  $error = TRUE;
1235
- $array_errors[] = __("Something goes wrong trying to insert set field name in edit form. Please report it", 'yasr');
1236
  }
1237
 
1238
  } //end else
@@ -1247,7 +1247,7 @@ add_action( 'admin_init', 'yasr_multiset_options_init' ); //This is for general
1247
  }
1248
  else {
1249
  echo "<div class=\"updated\"><p><strong>";
1250
- _e("Settings Saved", 'yasr');
1251
  echo "</strong></p></div> ";
1252
  }
1253
 
@@ -1277,15 +1277,15 @@ add_action( 'admin_init', 'yasr_style_options_init' ); //This is for auto insert
1277
 
1278
  }
1279
 
1280
- add_settings_section( 'yasr_style_options_section_id', __('Style Options', 'yasr'), 'yasr_style_section_callback', 'yasr_style_tab' );
1281
- add_settings_field( 'yasr_style_options_textarea', __('Custom CSS Styles', 'yasr'), 'yasr_style_options_textarea_callback', 'yasr_style_tab', 'yasr_style_options_section_id', $style_options );
1282
 
1283
  }
1284
 
1285
  function yasr_style_section_callback () {
1286
- _e("Please use text area below to write your own CSS styles to override the default ones.", "yasr");
1287
  echo "<strong>";
1288
- _e("Leave it blank if you don't know what you're doing", "yasr");
1289
  echo "</strong>";
1290
  }
1291
 
@@ -1308,8 +1308,8 @@ function yasr_go_pro () {
1308
 
1309
  <?php
1310
 
1311
- _e("Looking for more features?", "yasr");
1312
- echo " <a href=\"https://yetanotherstarsrating.com/pro-version/\">" . __("Upgrade to yasr pro!", "yasr") . "</a>";
1313
 
1314
  echo "<br>";
1315
 
@@ -1325,54 +1325,54 @@ function yasr_go_pro () {
1325
  </tr>
1326
 
1327
  <tr>
1328
- <td class="rowTitle"><?php _e("Unlimited ratings and votes" , "yasr"); ?></td>
1329
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1330
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1331
  </tr>
1332
 
1333
  <tr>
1334
- <td class="rowTitle"><?php _e("Works with shortcodes" , "yasr"); ?></td>
1335
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1336
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1337
  </tr>
1338
 
1339
  <tr>
1340
- <td class="rowTitle"><?php _e("Multi Set Support" , "yasr"); ?></td>
1341
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1342
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1343
  </tr>
1344
  <tr>
1345
- <td class="rowTitle"><?php _e("Logs and stats for visitors votes" , "yasr"); ?></td>
1346
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1347
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1348
  </tr>
1349
  <tr>
1350
- <td class="rowTitle"><?php _e("Localization (.po and .mo files included)" , "yasr"); ?></td>
1351
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1352
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1353
  </tr>
1354
  <tr>
1355
- <td class="rowTitle"><?php _e("Rich Snippet Support" , "yasr"); ?></td>
1356
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1357
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1358
  </tr>
1359
  <tr>
1360
- <td class="rowTitle"><?php _e("Rankings for reviews, votes and users" , "yasr"); ?></td>
1361
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1362
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1363
  </tr>
1364
  <tr>
1365
- <td class="rowTitle"><?php _e("Rankings Customization" , "yasr"); ?></td>
1366
  <td><img src=<?php echo YASR_IMG_DIR . '/addRedX2.png' ?> alt='icon' /></td>
1367
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1368
  </tr>
1369
  <tr>
1370
- <td class="rowTitle"><?php _e("Stars Customization" , "yasr"); ?></td>
1371
- <td><?php _e("Size Only" , "yasr"); ?></td>
1372
- <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>
1373
  </tr>
1374
  <tr>
1375
- <td class="rowTitle"><?php _e("Users can review in comments" , "yasr"); ?></td>
1376
  <td><img src=<?php echo YASR_IMG_DIR . '/addRedX2.png' ?> alt='icon' /></td>
1377
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1378
  </tr>
@@ -1383,7 +1383,7 @@ function yasr_go_pro () {
1383
 
1384
  echo "<img src=" . YASR_IMG_DIR . "/addExclamation.png alt=icon /> =" ;
1385
 
1386
- _e("Not avaible yet", "yasr");
1387
 
1388
  echo "<p>";
1389
 
@@ -1442,7 +1442,7 @@ function yasr_fb_box ($position=FALSE) {
1442
 
1443
  <div class="<?php echo $yasr_fb_class; ?>" style="display:none">
1444
 
1445
- <h2><?php _e('Keep in touch!', 'yasr'); ?></h2>
1446
 
1447
  <div class="fb-page" data-href="https://www.facebook.com/yetanotherstarsrating" data-hide-cover="false" data-show-facepile="true" data-show-posts="false">
1448
  <div class="fb-xfbml-parse-ignore">
@@ -1484,21 +1484,21 @@ function yasr_ask_rating ($position=FALSE) {
1484
 
1485
  if($n_stored_ratings > 20) {
1486
 
1487
- $text = sprintf( __('Hey, seems like you reached %s votes on your site throught YASR! That\'s cool!', 'yasr'),'<strong>'.$n_stored_ratings.'</strong>');
1488
  $text .= "<br />";
1489
- $text .= __('Can I ask a favor?', 'yasr');
1490
  $text .= "<br />";
1491
- $text .= __('Can you please rate YASR 5 stars on', 'yasr');
1492
  $text .= ' <a href="https://wordpress.org/support/view/plugin-reviews/yet-another-stars-rating?filter=5">wordpress.org?</a>';
1493
- $text .= __(' It will require just 1 min but it\'s a HUGE help for me. Thank you.' , 'yasr');
1494
  $text .= "<br /><br />";
1495
  $text .= "<em>> Dario Curvino</em>";
1496
 
1497
  $text .= "<ul>
1498
 
1499
- <li><a href=\"https://wordpress.org/support/view/plugin-reviews/yet-another-stars-rating?filter=5\">" . __("Ok, I'm glad to help!" , "yasr") ."</a></li>
1500
- <li><a href=\"#\" id=\"yasr-ask-five-star-later\">" . __("Remind me later!" , "yasr") ."</a></li>
1501
- <li><a href=\"#\" id=\"yasr-ask-five-close\">" . __("Don't need to ask, I already did it!" , "yasr") ."</a></li>
1502
 
1503
  </ul>";
1504
 
@@ -1531,7 +1531,7 @@ function yasr_custom_admin_footer ($text) {
1531
  if ($yasr_page == 'yasr_settings_page') {
1532
 
1533
  $custom_text = ' | <i>';
1534
- $custom_text .= sprintf( __( 'Thank you for using <a href="%s" target="_blank">Yet Another Stars Rating</a>. Please <a href="%s" target="_blank">rate it</a> 5 stars on <a href="%s" target="_blank">WordPress.org</a>', 'yasr' ), 'https://yetanotherstarsrating.com', 'https://wordpress.org/support/view/plugin-reviews/yet-another-stars-rating?filter=5', 'https://wordpress.org/support/view/plugin-reviews/yet-another-stars-rating?filter=5' );
1535
  $custom_text .= '</i>';
1536
 
1537
  return $text . $custom_text;
@@ -1576,7 +1576,7 @@ function yasr_search_gd_star_rating () {
1576
  }
1577
 
1578
  else {
1579
- __( 'No previous Gd Star Rating installation was found', 'yasr' );
1580
  }
1581
  }
1582
 
49
  $option['custom_text_user_voted'] = '';
50
  }
51
 
52
+ add_settings_section( 'yasr_general_options_section_id', __('General settings', 'yet-another-stars-rating'), 'yasr_section_callback', 'yasr_general_settings_tab' );
53
+ add_settings_field( 'yasr_use_auto_insert_id', __('Auto insert options', 'yet-another-stars-rating'), 'yasr_auto_insert_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
54
+ add_settings_field( 'yasr_show_overall_in_loop', __('Show "Overall Rating" in Archive Page?', 'yet-another-stars-rating'), 'yasr_show_overall_in_loop_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
55
+ add_settings_field( 'yasr_show_visitor_votes_in_loop', __('Show "Visitor Votes" in Archive Page?', 'yet-another-stars-rating'), 'yasr_show_visitor_votes_in_loop_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
56
+ add_settings_field( 'yasr_custom_text', __('Insert custom text to show before / after stars', 'yet-another-stars-rating'), 'yasr_custom_text_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
57
+ add_settings_field( 'yasr_visitors_stats', __('Do you want show stats for visitors votes?', 'yet-another-stars-rating'), 'yasr_visitors_stats_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
58
+ add_settings_field( 'yasr_allow_only_logged_in_id', __('Allow only logged in user to vote?', 'yet-another-stars-rating'), 'yasr_allow_only_logged_in_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
59
+ add_settings_field( 'yasr_choose_snippet_id', __('Rich snippet options', 'yet-another-stars-rating'), 'yasr_choose_snippet_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
60
+ add_settings_field( 'yasr_choose_overall_rating_method', __('How do you want to rate "Overall Rating"?', 'yet-another-stars-rating'), 'yasr_choose_overall_rating_method_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
61
 
62
  }
63
 
64
 
65
  function yasr_section_callback() {
66
+ //_e('Manage auto insert', 'yet-another-stars-rating');
67
  }
68
 
69
  function yasr_auto_insert_callback($option) {
71
  ?>
72
 
73
 
74
+ <strong><?php _e('Use Auto Insert?', 'yet-another-stars-rating'); ?></strong>
75
  <br />
76
 
77
  <div class="yasr-indented-answer">
78
 
79
  <input type='radio' name='yasr_general_options[auto_insert_enabled]' value='1' id='yasr_auto_insert_radio_on' <?php if ($option['auto_insert_enabled']==1) echo " checked='checked' "; ?> />
80
+ <?php _e('Yes', 'yet-another-stars-rating') ?>
81
  &nbsp;&nbsp;&nbsp;
82
 
83
 
91
  echo "/>";
92
  }
93
 
94
+ _e('No', 'yet-another-stars-rating');
95
 
96
  ?>
97
 
99
 
100
  </div>
101
 
102
+ <strong><?php _e('What?', 'yet-another-stars-rating'); ?></strong>
103
 
104
  <div class="yasr-indented-answer">
105
 
106
  <input type="radio" name="yasr_general_options[auto_insert_what]" value="overall_rating" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_what']==='overall_rating') echo " checked=\"checked\" "; ?> >
107
+ <?php _e('Overall Rating / Author Rating', 'yet-another-stars-rating') ?>
108
  <br />
109
 
110
  <input type="radio" name="yasr_general_options[auto_insert_what]" value="visitor_rating" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_what']==='visitor_rating') echo " checked=\"checked\" "; ?> >
111
+ <?php _e('Visitor Votes', 'yet-another-stars-rating')?>
112
  <br />
113
 
114
  <input type="radio" name="yasr_general_options[auto_insert_what]" value="both" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_what']==='both') echo " checked=\"checked\" "; ?> >
115
+ <?php _e('Both', 'yet-another-stars-rating')?>
116
 
117
  <p>&nbsp;</p>
118
 
119
  </div>
120
 
121
+ <strong><?php _e('Where?', 'yet-another-stars-rating'); ?></strong>
122
 
123
  <div class="yasr-indented-answer">
124
 
125
  <input type="radio" name="yasr_general_options[auto_insert_where]" value="top" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_where']==='top' ) echo " checked=\"checked\" "; ?> >
126
+ <?php _e('Before the post', 'yet-another-stars-rating')?>
127
  <br />
128
 
129
  <input type="radio" name="yasr_general_options[auto_insert_where]" value="bottom" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_where']==='bottom') echo " checked=\"checked\" "; ?> >
130
+ <?php _e('After the post', 'yet-another-stars-rating')?>
131
  <br />
132
 
133
  <p>&nbsp;</p>
134
 
135
  </div>
136
 
137
+ <strong><?php _e('Size', 'yet-another-stars-rating'); ?></strong>
138
 
139
  <div class="yasr-indented-answer">
140
 
141
  <div class="yasr-option-size">
142
  <input type="radio" name="yasr_general_options[auto_insert_size]" value="small" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_size']==='small' ) echo " checked=\"checked\" "; ?> >
143
+ <img src="<?php echo YASR_IMG_DIR . "yasr-stars-small.png" ?>" class="yasr-img-option-size"><span class="yasr-text-options-size"><?php _e('Small', 'yet-another-stars-rating')?></span>
144
  </div>
145
 
146
  <div class="yasr-option-size">
147
  <input type="radio" name="yasr_general_options[auto_insert_size]" value="medium" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_size']==='medium' ) echo " checked=\"checked\" "; ?> >
148
+ <img src="<?php echo YASR_IMG_DIR . "yasr-stars-medium.png" ?>" class="yasr-img-option-size"><span class="yasr-text-options-size"><?php _e('Medium', 'yet-another-stars-rating')?></span>
149
  </div>
150
 
151
  <div class="yasr-option-size">
152
  <input type="radio" name="yasr_general_options[auto_insert_size]" value="large" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_size']==='large' ) echo " checked=\"checked\" "; ?> >
153
+ <img src="<?php echo YASR_IMG_DIR . "yasr-stars-large.png" ?>" class="yasr-img-option-size"><span class="yasr-text-options-size"><?php _e('Large', 'yet-another-stars-rating')?></span>
154
  </div>
155
 
156
  <p>&nbsp;</p>
157
 
158
  </div>
159
 
160
+ <strong><?php _e('Exclude Pages?', 'yet-another-stars-rating'); ?></strong>
161
 
162
  <div class="yasr-indented-answer">
163
  <input type="radio" name="yasr_general_options[auto_insert_exclude_pages]" value="yes" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_exclude_pages']==='yes' ) echo " checked=\"checked\" "; ?> >
164
+ <?php _e('Yes', 'yet-another-stars-rating'); ?>
165
 
166
  &nbsp;&nbsp;&nbsp;
167
 
168
  <input type="radio" name="yasr_general_options[auto_insert_exclude_pages]" value="no" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_exclude_pages']==='no') echo " checked=\"checked\" "; ?> >
169
+ <?php _e('No', 'yet-another-stars-rating'); ?>
170
  <br />
171
 
172
  <p>&nbsp;</p>
178
  $custom_post_types = yasr_get_custom_post_type('bool');
179
 
180
  if ($custom_post_types) { ?>
181
+ <strong><?php _e('Use only in custom post types?', 'yet-another-stars-rating'); ?></strong>
182
  <div class="yasr-indented-answer">
183
  <input type="radio" name="yasr_general_options[auto_insert_custom_post_only]" value="yes" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_custom_post_only']==='yes' ) echo " checked=\"checked\" "; ?> >
184
+ <?php _e('Yes', 'yet-another-stars-rating'); ?>
185
 
186
  &nbsp;&nbsp;&nbsp;
187
 
188
  <input type="radio" name="yasr_general_options[auto_insert_custom_post_only]" value="no" class="yasr-auto-insert-options-class" <?php if ($option['auto_insert_custom_post_only']==='no') echo " checked=\"checked\" "; ?> >
189
+ <?php _e('No', 'yet-another-stars-rating'); ?>
190
 
191
  <p>
192
 
193
+ <?php _e("You see this because you use custom post types.", 'yet-another-stars-rating'); ?>
194
  <br/>
195
+ <?php _e("If you want to use auto insert only in custom post types, choose Yes", 'yet-another-stars-rating'); ?>
196
 
197
  <p>&nbsp;</p>
198
 
225
  ?>
226
 
227
  <input type='radio' name='yasr_general_options[show_overall_in_loop]' value='enabled' class='yasr-general-option-show-overall-in-loop' <?php if ($option['show_overall_in_loop']==='enabled') echo " checked=\"checked\" "; ?> />
228
+ <?php _e('Yes', 'yet-another-stars-rating')?>
229
 
230
  &nbsp;&nbsp;&nbsp;
231
 
232
  <input type='radio' name='yasr_general_options[show_overall_in_loop]' value='disabled' class='yasr-general-option-show-overall-in-loop' <?php if ($option['show_overall_in_loop']==='disabled') echo " checked=\"checked\" "; ?> />
233
+ <?php _e('No', 'yet-another-stars-rating')?>
234
  <br />
235
  <br />
236
 
237
+ <?php _e('If you enable this, "Overall Rating" will be showed not only in the single article or page, but also in pages like Home Page, category pages or archives.', 'yet-another-stars-rating')?>
238
 
239
  <p>&nbsp;</p>
240
 
251
  ?>
252
 
253
  <input type='radio' name='yasr_general_options[show_visitor_votes_in_loop]' value='enabled' class='yasr-general-option-show-visitor-votes-in-loop' <?php if ($option['show_visitor_votes_in_loop']==='enabled') echo " checked=\"checked\" "; ?> />
254
+ <?php _e('Yes', 'yet-another-stars-rating')?>
255
 
256
  &nbsp;&nbsp;&nbsp;
257
 
258
  <input type='radio' name='yasr_general_options[show_visitor_votes_in_loop]' value='disabled' class='yasr-general-option-show-visitor-votes-in-loop' <?php if ($option['show_visitor_votes_in_loop']==='disabled') echo " checked=\"checked\" "; ?> />
259
+ <?php _e('No', 'yet-another-stars-rating')?>
260
  <br />
261
  <br />
262
 
263
+ <?php _e('If you enable this, "Visitor Votes" will be showed not only in the single article or page, but also in pages like Home Page, category pages or archives.', 'yet-another-stars-rating')?>
264
 
265
  <p>&nbsp;</p>
266
 
285
  ?>
286
 
287
  <input type='radio' name='yasr_general_options[text_before_stars]' value='1' id='yasr_text_before_star_on' <?php if ($option['text_before_stars']==1) echo " checked='checked' "; ?> />
288
+ <?php _e('Yes', 'yet-another-stars-rating') ?>
289
  &nbsp;&nbsp;&nbsp;
290
 
291
  <input type='radio' name='yasr_general_options[text_before_stars]' value='0' id='yasr_text_before_star_off' <?php if ($option['text_before_stars']==0) echo " checked='checked' "; ?> />
292
 
293
+ <?php _e('No', 'yet-another-stars-rating'); ?>
294
 
295
  <br /> <br />
296
 
297
  <input type='text' name='yasr_general_options[text_before_overall]' id="yasr-general-options-custom-text-before-overall" class='yasr-general-options-text-before' <?php printf('value="%s"', $text_before_overall); ?> maxlength="40"/>
298
+ <?php _e('Custom text to display before Overall Rating', 'yet-another-stars-rating')?>
299
 
300
  <br /> <br /> <br />
301
 
302
  <input type='text' name='yasr_general_options[text_before_visitor_rating]' id="yasr-general-options-custom-text-before-visitor" class='yasr-general-options-text-before' <?php printf('value="%s"', $text_before_visitor_rating); ?> maxlength="80"/>
303
+ <?php _e('Custom text to display BEFORE Visitor Rating', 'yet-another-stars-rating')?>
304
 
305
  <br /> <br />
306
 
307
 
308
  <input type='text' name='yasr_general_options[text_after_visitor_rating]' id="yasr-general-options-custom-text-after-visitor" class='yasr-general-options-text-before' <?php printf('value="%s"', $text_after_visitor_rating); ?> maxlength="80"/>
309
+ <?php _e('Custom text to display AFTER Visitor Rating', 'yet-another-stars-rating')?>
310
 
311
  <br /> <br /> <br />
312
 
313
  <input type='text' name='yasr_general_options[custom_text_user_voted]' id="yasr-general-options-custom-text-already-rated" class='yasr-general-options-text-before' <?php printf('value="%s"', $custom_text_user_votes); ?> maxlength="60"/>
314
+ <?php _e('Custom text to display when a non logged user has already rated', 'yet-another-stars-rating')?>
315
 
316
 
317
  <br /> <br />
318
 
319
+ <a href="#" id="yasr-doc-custom-text-link"><?php _e('Help', 'yet-another-stars-rating'); ?></a>
320
 
321
  <div id="yasr-doc-custom-text-div" class="yasr-help-box-settings">
322
 
323
+ <?php _e('In the first field you can use %overall_rating% pattern to show the overall rating.', 'yet-another-stars-rating');?>
324
 
325
  <br /> <br />
326
 
327
+ <?php _e('In the Second and Third fields you can use %total_count% pattern to show the total count, and %average% pattern to show the average', 'yet-another-stars-rating');?>
328
 
329
  </div>
330
 
340
  ?>
341
 
342
  <input type='radio' name='yasr_general_options[visitors_stats]' value='yes' class='yasr-general-options-scheme-color' <?php if ($option['visitors_stats']==='yes') echo " checked=\"checked\" "; ?> />
343
+ <?php _e('Yes', 'yet-another-stars-rating')?>
344
 
345
  &nbsp;&nbsp;&nbsp;
346
 
347
  <input type='radio' name='yasr_general_options[visitors_stats]' value='no' class='yasr-general-options-scheme-color' <?php if ($option['visitors_stats']==='no') echo " checked=\"checked\" "; ?> />
348
+ <?php _e('No', 'yet-another-stars-rating')?>
349
  <br />
350
 
351
  <br />
363
  ?>
364
 
365
  <input type='radio' name='yasr_general_options[allowed_user]' value='logged_only' class='yasr_auto_insert_loggedonly' <?php if ($option['allowed_user']==='logged_only') echo " checked=\"checked\" "; ?> />
366
+ <?php _e('Allow only logged-in users', 'yet-another-stars-rating')?>
367
  <br />
368
 
369
  <input type='radio' name='yasr_general_options[allowed_user]' value='allow_anonymous' class='yasr_auto_insert_loggedonly' <?php if ($option['allowed_user']==='allow_anonymous') echo " checked=\"checked\" "; ?> />
370
+ <?php _e('Allow everybody (logged in and anonymous)', 'yet-another-stars-rating')?>
371
  <br />
372
 
373
  <p>&nbsp;</p>
383
 
384
  ?>
385
 
386
+ <strong><?php _e('Which rich snippet do you want to use?', 'yet-another-stars-rating'); ?></strong>
387
 
388
  <div class="yasr-indented-answer">
389
  <input type="radio" name="yasr_general_options[snippet]" value="overall_rating" class="yasr_choose_snippet" <?php if ($option['snippet']==='overall_rating') echo " checked=\"checked\" "; ?> >
390
+ <?php _e('Review Rating', 'yet-another-stars-rating') ?>
391
  <br />
392
 
393
  <input type="radio" name="yasr_general_options[snippet]" value="visitor_rating" class="yasr_choose_snippet" <?php if ($option['snippet']==='visitor_rating') echo " checked=\"checked\" "; ?> >
394
+ <?php _e('Aggregate Rating', 'yet-another-stars-rating')?>
395
  <br />
396
 
397
  <p>&nbsp;</p>
398
 
399
+ <a href="#" id="yasr-snippet-explained-link"><?php _e("What is this?", 'yet-another-stars-rating') ?></a>
400
 
401
  <div id="yasr-snippet-explained" class="yasr-help-box-settings">
402
  <?php
403
 
404
+ _e("If you select \"Review Rating\", your site will be indexed from search engines like this: ", 'yet-another-stars-rating');
405
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "yasr_review.png>";
406
 
407
  echo "<br /> <br />";
408
 
409
+ _e("If, instead, you choose \"Aggregate Rating\", your site will be indexed like this", 'yet-another-stars-rating');
410
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "yasr_aggregate.jpg>";
411
  ?>
412
  </div>
417
 
418
  <br />
419
 
420
+ <strong><?php _e('Select default item type for all post or pages', 'yet-another-stars-rating'); ?></strong>
421
 
422
  <div class="yasr-indented-answer">
423
 
424
  <input type="radio" name="yasr_general_options[snippet_itemtype]" value="Product" class="yasr_choose_snippet" <?php if ($option['snippet_itemtype']==='Product') echo " checked=\"checked\" "; ?> >
425
+ <?php _e('Product', 'yet-another-stars-rating') ?>
426
  <br />
427
 
428
  <input type="radio" name="yasr_general_options[snippet_itemtype]" value="Place" class="yasr_choose_snippet" <?php if ($option['snippet_itemtype']==='Place') echo " checked=\"checked\" "; ?> >
429
+ <?php _e('Place', 'yet-another-stars-rating')?>
430
  <br />
431
 
432
  <input type="radio" name="yasr_general_options[snippet_itemtype]" value="Other" class="yasr_choose_snippet" <?php if ($option['snippet_itemtype']==='Other') echo " checked=\"checked\" "; ?> >
433
+ <?php _e('Other', 'yet-another-stars-rating')?>
434
  <br />
435
 
436
 
437
  <br />
438
 
439
+ <small><?php _e('You can always change it in the single post or page.', 'yet-another-stars-rating'); ?></small>
440
  <br />
441
+ <small><?php _e('This will affect only the post/page where you didn\'t change manually the itemtype yet.', 'yet-another-stars-rating'); ?> </small>
442
 
443
  <p>&nbsp;</p>
444
 
445
  </div>
446
 
447
 
448
+ <strong><?php _e('Which format do you want to use?', 'yet-another-stars-rating'); ?></strong>
449
 
450
  <div class="yasr-indented-answer">
451
  <input type="radio" name="yasr_general_options[snippet_format]" value="microdata" class="yasr_choose_snippet" <?php if ($option['snippet_format']==='microdata') echo " checked=\"checked\" "; ?> >
452
+ <?php _e('Microdata', 'yet-another-stars-rating') ?>
453
  <br />
454
 
455
  <input type="radio" name="yasr_general_options[snippet_format]" value="jsonld" class="yasr_choose_snippet" <?php if ($option['snippet_format']==='jsonld') echo " checked=\"checked\" "; ?> >
456
+ <?php _e('Json-ld', 'yet-another-stars-rating')?>
457
  <br />
458
 
459
  <br />
460
 
461
+ <small><?php _e('Leave the default value if you don\'t know what this is' , 'yet-another-stars-rating'); ?></small>
462
 
463
  <p>&nbsp;</p>
464
 
477
  ?>
478
 
479
  <input type="radio" name="yasr_general_options[metabox_overall_rating]" value="stars" class="yasr_choose_overall_rating_method" <?php if ($option['metabox_overall_rating']==='stars') echo " checked=\"checked\" "; ?> >
480
+ <?php _e('Stars', 'yet-another-stars-rating') ?>
481
  <br />
482
 
483
  <input type="radio" name="yasr_general_options[metabox_overall_rating]" value="numbers" class="yasr_choose_overall_rating_method" <?php if ($option['metabox_overall_rating']==='numbers') echo " checked=\"checked\" "; ?> >
484
+ <?php _e('Numbers', 'yet-another-stars-rating')?>
485
  <br />
486
 
487
  <?php
506
  $option_multiset = get_option( 'yasr_multiset_options' );
507
 
508
  add_settings_section( 'yasr_multiset_options_section_id', '', 'yasr_multiset_section_callback', 'yasr_multiset_tab' );
509
+ add_settings_field( 'yasr_color_scheme', __('Which color scheme do you want to use?', 'yet-another-stars-rating') , 'yasr_color_scheme_callback', 'yasr_multiset_tab', 'yasr_multiset_options_section_id', $option_multiset);
510
 
511
  }
512
 
527
  ?>
528
 
529
  <input type='radio' name='yasr_multiset_options[scheme_color]' value='light' class='yasr-general-options-scheme-color' <?php if ($option_multiset['scheme_color']==='light') echo " checked=\"checked\" "; ?> />
530
+ <?php _e('Light', 'yet-another-stars-rating')?>
531
 
532
  &nbsp;&nbsp;&nbsp;
533
 
534
  <input type='radio' name='yasr_multiset_options[scheme_color]' value='dark' class='yasr-general-options-scheme-color' <?php if ($option_multiset['scheme_color']==='dark') echo " checked=\"checked\" "; ?> />
535
+ <?php _e('Dark', 'yet-another-stars-rating')?>
536
  <br />
537
 
538
  <br />
539
 
540
+ <a href="#" id="yasr-color-scheme-preview-link"><?php _e("Preview", 'yet-another-stars-rating') ?></a>
541
 
542
  <div id="yasr-color-scheme-preview" style="display:none">
543
  <?php
544
 
545
+ _e("Light theme", 'yet-another-stars-rating');
546
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "yasr-multi-set.png>";
547
 
548
  echo "<br /> <br />";
549
 
550
+ _e("Dark theme", 'yet-another-stars-rating');
551
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "dark-multi-set.png>";
552
  ?>
553
  </div>
562
  function yasr_display_multi_set_form() {
563
  ?>
564
 
565
+ <h4 class="yasr-multi-set-form-headers"><?php _e("Add New Multiple Set", 'yet-another-stars-rating'); ?></h4>
566
+ <em><?php _e('Name, Element#1 and Element#2 MUST be filled and must be long at least 3 characters', 'yet-another-stars-rating') ?></em>
567
  <p>
568
  <form action="<?php echo admin_url('options-general.php?page=yasr_settings_page&tab=manage_multi') ?>" id="form_add_multi_set" method="post">
569
+ <strong><?php _e("Name", 'yet-another-stars-rating')?></strong>
570
  <input type="text" name="multi-set-name" id="new-multi-set-name" class="input-text-multi-set">
571
  <input type="hidden" name="action" value="yasr_new_multi_set_form" />
572
 
573
  <p></p>
574
+ <?php _e("You can insert up to nine elements", 'yet-another-stars-rating') ?>
575
  <br />
576
 
577
  <?php for($i=1; $i<=9; $i++) {
578
 
579
+ echo "<strong>" . __("Element ", 'yet-another-stars-rating') . "#$i" . "</strong>";
580
  ?>
581
  <input type="text" name="multi-set-name-element-<?php echo $i ?>" id="multi-set-name-element-<?php echo $i ?>" class="input-text-multi-set">
582
  <br />
586
  wp_nonce_field( 'add-multi-set', 'add-nonce-new-multi-set' ) ?><!-- a little security to process on submission -->
587
 
588
  <br />
589
+ <input type="submit" value="<?php _e("Create New Set", 'yet-another-stars-rating') ?>" class="button-primary"/>
590
  </form>
591
 
592
  <?php
607
 
608
  <div class="yasr-manage-multiset">
609
 
610
+ <h4 class="yasr-multi-set-form-headers"><?php _e("Manage Multiple Set" , 'yet-another-stars-rating'); ?></h4>
611
 
612
+ <?php _e('Wich set do you want to edit or remove?', 'yet-another-stars-rating')?>
613
 
614
  <select id ="yasr_select_edit_set">
615
  <?php foreach ($multi_set as $name) { ?>
640
 
641
  <div class="yasr-manage-multiset-single">
642
 
643
+ <h4 class="yasr-multi-set-form-headers"><?php _e("Manage Multiple Set", 'yet-another-stars-rating'); ?></h4>
644
 
645
  <form action=" <?php echo admin_url('options-general.php?page=yasr_settings_page&tab=manage_multi') ?>" id="form_edit_multi_set" method="post">
646
 
650
  <tr>
651
 
652
  <td id="yasr-table-form-edit-multi-set-header">
653
+ <?php _e('Field name', 'yet-another-stars-rating') ?>
654
  </td>
655
 
656
  <td id="yasr-table-form-edit-multi-set-remove">
657
+ <?php _e('Remove', 'yet-another-stars-rating') ?>
658
  </td>
659
 
660
  </tr>
696
  <table width=\"100%\" class=\"yasr-edit-form-remove-entire-set\">
697
  <tr>
698
 
699
+ <td width=\"80%\">" . __("Remove whole set?", 'yet-another-stars-rating') . "</td>
700
 
701
  <td width=\"20%\" style=\"text-align:center\">
702
  <input type=\"checkbox\" name=\"yasr-remove-multi-set\" value=\"$set_type\">
709
  ";
710
 
711
  echo "<p>";
712
+ _e("If you remove something you will remove all the votes for that set or field. This operation CAN'T BE undone." , 'yet-another-stars-rating');
713
  echo "</p>";
714
 
715
  wp_nonce_field( 'edit-multi-set', 'add-nonce-edit-multi-set' )
716
 
717
  ?>
718
 
719
+ <div id="yasr-element-limit" style="display:none; color:red"><?php _e("You can use up to 9 elements" , 'yet-another-stars-rating') ?></div>
720
 
721
+ <input type="button" class="button-delete" id="yasr-add-field-edit-multiset" value="<?php _e('Add element', 'yet-another-stars-rating'); ?>">
722
 
723
+ <input type="submit" value="<?php _e('Save changes', 'yet-another-stars-rating') ?>" class="button-primary" >
724
 
725
  </form>
726
 
730
  }
731
 
732
  else {
733
+ _e("No Multiple Set were found", 'yet-another-stars-rating');
734
  }
735
 
736
  }//End function
768
  <tr>
769
 
770
  <td id="yasr-table-form-edit-multi-set-header">
771
+ <?php _e('Field name', 'yet-another-stars-rating') ?>
772
  </td>
773
 
774
  <td id="yasr-table-form-edit-multi-set-remove">
775
+ <?php _e('Remove', 'yet-another-stars-rating') ?>
776
  </td>
777
 
778
  </tr>
814
  <table width=\"100%\" class=\"yasr-edit-form-remove-entire-set\">
815
  <tr>
816
 
817
+ <td width=\"80%\">" . __("Remove whole set?", 'yet-another-stars-rating') . "</td>
818
 
819
  <td width=\"20%\" style=\"text-align:center\">
820
  <input type=\"checkbox\" name=\"yasr-remove-multi-set\" value=\"$set_type\">
827
  ";
828
 
829
  echo "<p>";
830
+ _e("If you remove something you will remove all the votes for that set or field. This operation CAN'T BE undone." , 'yet-another-stars-rating');
831
  echo "</p>";
832
 
833
  wp_nonce_field( 'edit-multi-set', 'add-nonce-edit-multi-set' )
834
 
835
  ?>
836
 
837
+ <div id="yasr-element-limit" style="display:none; color:red"><?php _e("You can use up to 9 elements" , 'yet-another-stars-rating') ?></div>
838
 
839
+ <input type="button" class="button-delete" id="yasr-add-field-edit-multiset" value="<?php _e('Add element', 'yet-another-stars-rating'); ?>">
840
 
841
+ <input type="submit" value="<?php _e('Save changes', 'yet-another-stars-rating') ?>" class="button-primary" >
842
 
843
  </form>
844
 
979
 
980
  if ($insert_set_value) {
981
  echo "<div class=\"updated\"><p><strong>";
982
+ _e("Settings Saved", 'yet-another-stars-rating');
983
  echo "</strong></p></div> ";
984
  }
985
 
986
  else {
987
+ _e("Something goes wrong trying insert set field name. Please report it", 'yet-another-stars-rating');
988
  }
989
 
990
  } //End if $insert_multi_name_success
991
 
992
  else {
993
+ _e("Something goes wrong trying insert Multi Set name. Please report it", 'yet-another-stars-rating');
994
  }
995
 
996
  } //End if !$error
1065
 
1066
  if ($remove_set==FALSE) {
1067
  $error = TRUE;
1068
+ $array_errors[] .= __("Something goes wrong trying to delete a Multi Set . Please report it", 'yet-another-stars-rating');
1069
  }
1070
 
1071
 
1072
  //Comment this out, if try to delete an empty set print error
1073
  /*if ($remove_set_values==FALSE) {
1074
  $error = TRUE;
1075
+ $array_errors[] .= __("Something goes wrong trying to delete data fields for a set. Please report it", 'yet-another-stars-rating');
1076
  }
1077
  */
1078
 
1079
  //Comment this out, will echo error even if the value for that field it's just empty
1080
  /*if ($remove_set_votes==FALSE) {
1081
  $error = TRUE;
1082
+ $array_errors[] .= __("Something goes wrong trying to delete data values for a set. Please report it", 'yet-another-stars-rating');
1083
  }*/
1084
 
1085
  }
1111
 
1112
  if ($remove_field == FALSE) {
1113
  $error = TRUE;
1114
+ $array_errors[] = __("Something goes wrong trying to delete a Multi Set's element. Please report it", 'yet-another-stars-rating');
1115
  }
1116
 
1117
 
1118
  //Comment this out, will echo error even if the value for that field it's just empty
1119
  /*if ($remove_values == FALSE) {
1120
  $error = TRUE;
1121
+ $array_errors[] = __("Something goes wrong trying to delete data value for an element. Please report it", 'yet-another-stars-rating');
1122
  }*/
1123
 
1124
 
1134
 
1135
  //if elements name is shorter than 3 chars
1136
  if (mb_strlen($field_name) <3) {
1137
+ $array_errors[] = __("Field # $i must be at least 3 characters", 'yet-another-stars-rating');
1138
  $error=TRUE;
1139
  }
1140
 
1141
  if(mb_strlen($field_name) > 23) {
1142
+ $array_errors[] = __("Field # $i must be shorter than 23 characters", 'yet-another-stars-rating');
1143
  $error=TRUE;
1144
  }
1145
 
1175
 
1176
  if ($insert_field_name == FALSE) {
1177
  $error = TRUE;
1178
+ $array_errors[] = __("Something goes wrong trying to update a Multi Set's element. Please report it", 'yet-another-stars-rating');
1179
  }
1180
 
1181
  } //End if ($field_name_in_database != $field_name) {
1194
  //because I don't wont return error if an user add an empty field. An empty field will be
1195
  //just ignored
1196
  if (mb_strlen($field_name) > 1 && mb_strlen($field_name) < 3) {
1197
+ $array_errors[] = __("Field # $i must be at least 3 characters", 'yet-another-stars-rating');
1198
  $error=TRUE;
1199
  }
1200
 
1201
  if(mb_strlen($field_name) > 23) {
1202
+ $array_errors[] = __("Field # $i must be shorter than 23 characters", 'yet-another-stars-rating');
1203
  $error=TRUE;
1204
  }
1205
 
1232
 
1233
  if ($insert_set_value == FALSE) {
1234
  $error = TRUE;
1235
+ $array_errors[] = __("Something goes wrong trying to insert set field name in edit form. Please report it", 'yet-another-stars-rating');
1236
  }
1237
 
1238
  } //end else
1247
  }
1248
  else {
1249
  echo "<div class=\"updated\"><p><strong>";
1250
+ _e("Settings Saved", 'yet-another-stars-rating');
1251
  echo "</strong></p></div> ";
1252
  }
1253
 
1277
 
1278
  }
1279
 
1280
+ add_settings_section( 'yasr_style_options_section_id', __('Style Options', 'yet-another-stars-rating'), 'yasr_style_section_callback', 'yasr_style_tab' );
1281
+ add_settings_field( 'yasr_style_options_textarea', __('Custom CSS Styles', 'yet-another-stars-rating'), 'yasr_style_options_textarea_callback', 'yasr_style_tab', 'yasr_style_options_section_id', $style_options );
1282
 
1283
  }
1284
 
1285
  function yasr_style_section_callback () {
1286
+ _e("Please use text area below to write your own CSS styles to override the default ones.", 'yet-another-stars-rating');
1287
  echo "<strong>";
1288
+ _e("Leave it blank if you don't know what you're doing", 'yet-another-stars-rating');
1289
  echo "</strong>";
1290
  }
1291
 
1308
 
1309
  <?php
1310
 
1311
+ _e("Looking for more features?", 'yet-another-stars-rating');
1312
+ echo " <a href=\"https://yetanotherstarsrating.com/pro-version/\">" . __("Upgrade to yasr pro!", 'yet-another-stars-rating') . "</a>";
1313
 
1314
  echo "<br>";
1315
 
1325
  </tr>
1326
 
1327
  <tr>
1328
+ <td class="rowTitle"><?php _e("Unlimited ratings and votes" , 'yet-another-stars-rating'); ?></td>
1329
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1330
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1331
  </tr>
1332
 
1333
  <tr>
1334
+ <td class="rowTitle"><?php _e("Works with shortcodes" , 'yet-another-stars-rating'); ?></td>
1335
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1336
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1337
  </tr>
1338
 
1339
  <tr>
1340
+ <td class="rowTitle"><?php _e("Multi Set Support" , 'yet-another-stars-rating'); ?></td>
1341
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1342
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1343
  </tr>
1344
  <tr>
1345
+ <td class="rowTitle"><?php _e("Logs and stats for visitors votes" , 'yet-another-stars-rating'); ?></td>
1346
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1347
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1348
  </tr>
1349
  <tr>
1350
+ <td class="rowTitle"><?php _e("Localization (.po and .mo files included)" , 'yet-another-stars-rating'); ?></td>
1351
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1352
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1353
  </tr>
1354
  <tr>
1355
+ <td class="rowTitle"><?php _e("Rich Snippet Support" , 'yet-another-stars-rating'); ?></td>
1356
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1357
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1358
  </tr>
1359
  <tr>
1360
+ <td class="rowTitle"><?php _e("Rankings for reviews, votes and users" , 'yet-another-stars-rating'); ?></td>
1361
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1362
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1363
  </tr>
1364
  <tr>
1365
+ <td class="rowTitle"><?php _e("Rankings Customization" , 'yet-another-stars-rating'); ?></td>
1366
  <td><img src=<?php echo YASR_IMG_DIR . '/addRedX2.png' ?> alt='icon' /></td>
1367
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1368
  </tr>
1369
  <tr>
1370
+ <td class="rowTitle"><?php _e("Stars Customization" , 'yet-another-stars-rating'); ?></td>
1371
+ <td><?php _e("Size Only" , 'yet-another-stars-rating'); ?></td>
1372
+ <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." , 'yet-another-stars-rating'); ?></td>
1373
  </tr>
1374
  <tr>
1375
+ <td class="rowTitle"><?php _e("Users can review in comments" , 'yet-another-stars-rating'); ?></td>
1376
  <td><img src=<?php echo YASR_IMG_DIR . '/addRedX2.png' ?> alt='icon' /></td>
1377
  <td><img src=<?php echo YASR_IMG_DIR . '/addCheck.png' ?> alt='icon' /></td>
1378
  </tr>
1383
 
1384
  echo "<img src=" . YASR_IMG_DIR . "/addExclamation.png alt=icon /> =" ;
1385
 
1386
+ _e("Not avaible yet", 'yet-another-stars-rating');
1387
 
1388
  echo "<p>";
1389
 
1442
 
1443
  <div class="<?php echo $yasr_fb_class; ?>" style="display:none">
1444
 
1445
+ <h2><?php _e('Keep in touch!', 'yet-another-stars-rating'); ?></h2>
1446
 
1447
  <div class="fb-page" data-href="https://www.facebook.com/yetanotherstarsrating" data-hide-cover="false" data-show-facepile="true" data-show-posts="false">
1448
  <div class="fb-xfbml-parse-ignore">
1484
 
1485
  if($n_stored_ratings > 20) {
1486
 
1487
+ $text = sprintf( __('Hey, seems like you reached %s votes on your site throught YASR! That\'s cool!', 'yet-another-stars-rating'),'<strong>'.$n_stored_ratings.'</strong>');
1488
  $text .= "<br />";
1489
+ $text .= __('Can I ask a favor?', 'yet-another-stars-rating');
1490
  $text .= "<br />";
1491
+ $text .= __('Can you please rate YASR 5 stars on', 'yet-another-stars-rating');
1492
  $text .= ' <a href="https://wordpress.org/support/view/plugin-reviews/yet-another-stars-rating?filter=5">wordpress.org?</a>';
1493
+ $text .= __(' It will require just 1 min but it\'s a HUGE help for me. Thank you.' , 'yet-another-stars-rating');
1494
  $text .= "<br /><br />";
1495
  $text .= "<em>> Dario Curvino</em>";
1496
 
1497
  $text .= "<ul>
1498
 
1499
+ <li><a href=\"https://wordpress.org/support/view/plugin-reviews/yet-another-stars-rating?filter=5\">" . __("Ok, I'm glad to help!" , 'yet-another-stars-rating') ."</a></li>
1500
+ <li><a href=\"#\" id=\"yasr-ask-five-star-later\">" . __("Remind me later!" , 'yet-another-stars-rating') ."</a></li>
1501
+ <li><a href=\"#\" id=\"yasr-ask-five-close\">" . __("Don't need to ask, I already did it!" , 'yet-another-stars-rating') ."</a></li>
1502
 
1503
  </ul>";
1504
 
1531
  if ($yasr_page == 'yasr_settings_page') {
1532
 
1533
  $custom_text = ' | <i>';
1534
+ $custom_text .= sprintf( __( 'Thank you for using <a href="%s" target="_blank">Yet Another Stars Rating</a>. Please <a href="%s" target="_blank">rate it</a> 5 stars on <a href="%s" target="_blank">WordPress.org</a>', 'yet-another-stars-rating' ), 'https://yetanotherstarsrating.com', 'https://wordpress.org/support/view/plugin-reviews/yet-another-stars-rating?filter=5', 'https://wordpress.org/support/view/plugin-reviews/yet-another-stars-rating?filter=5' );
1535
  $custom_text .= '</i>';
1536
 
1537
  return $text . $custom_text;
1576
  }
1577
 
1578
  else {
1579
+ __( 'No previous Gd Star Rating installation was found', 'yet-another-stars-rating' );
1580
  }
1581
  }
1582
 
lib/yasr-shortcode-functions.php CHANGED
@@ -146,7 +146,7 @@ function shortcode_visitor_votes_callback ($atts) {
146
 
147
  $image = YASR_IMG_DIR . "/loader.gif";
148
 
149
- $loader_html = '<div id="loader-visitor-rating" >&nbsp; ' . __("Loading, please wait","yasr") . ' <img src=' . "$image" .' title="yasr-loader" alt="yasr-loader"></div>';
150
 
151
  $medium_rating=round($medium_rating, 1);
152
 
@@ -199,7 +199,7 @@ function shortcode_visitor_votes_callback ($atts) {
199
  //If user has already rated
200
  if ($vote_if_user_already_rated) {
201
 
202
- $span_after_rate_it="<span class=\"yasr-small-block-bold\" id=\"yasr-already-voted-text\">" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </span>";
203
 
204
  }
205
 
@@ -220,7 +220,7 @@ function shortcode_visitor_votes_callback ($atts) {
220
 
221
  else {
222
 
223
- $span_after_rate_it="<span class=\"yasr-small-block-bold\" id=\"yasr-already-voted-text\">" . __("You've already voted this article with", "yasr") . " $cookie_value </span>";
224
 
225
  }
226
 
@@ -250,7 +250,7 @@ function shortcode_visitor_votes_callback ($atts) {
250
 
251
  if ($vote_if_user_already_rated) {
252
 
253
- $span_after_rate_it="<span class=\"yasr-small-block-bold\" id=\"yasr-already-voted-text\">" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </span>";
254
 
255
  }
256
 
@@ -261,7 +261,7 @@ function shortcode_visitor_votes_callback ($atts) {
261
 
262
  $readonly = 'true'; //readonly is true if user isn't logged
263
 
264
- $span_after_rate_it = __("You must sign to vote", "yasr");
265
 
266
  }
267
 
@@ -303,7 +303,7 @@ function shortcode_visitor_votes_callback ($atts) {
303
  else {
304
 
305
  $span_text_after_star = "<span class=\"yasr-total-average-container\" id=\"yasr-total-average-text_$post_id\">
306
- [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]
307
  </span>";
308
 
309
  }
@@ -319,7 +319,7 @@ function shortcode_visitor_votes_callback ($atts) {
319
  $shortcode_html .= "</div>";
320
 
321
 
322
- $var_tooltip_values = __("bad, poor, ok, good, super", "yasr");
323
  $var_tooltip_values= json_encode($var_tooltip_values);
324
 
325
  $var_post_id = json_encode($post_id);
@@ -543,14 +543,14 @@ function yasr_visitor_multiset_callback ( $atts ) {
543
 
544
  $image = YASR_IMG_DIR . "/loader.gif";
545
 
546
- $loader_html = "<span class=\"yasr-loader-multiset-visitor\" id=\"yasr-loader-multiset-visitor-$post_id-$setid\" >&nbsp; " . __("Loading, please wait","yasr") . ' <img src=' . "$image" .' title="yasr-loader" alt="yasr-loader"></span>';
547
 
548
 
549
  if (isset($_COOKIE[$cookiename])) {
550
 
551
  $button = "";
552
  $star_readonly = 'true';
553
- $span_message_content = __('Thank you for voting! ', 'yasr');
554
 
555
  }
556
 
@@ -561,7 +561,7 @@ function yasr_visitor_multiset_callback ( $atts ) {
561
 
562
  if (YASR_ALLOWED_USER === 'allow_anonymous') {
563
 
564
- $button = "<input type=\"submit\" name=\"submit\" id=\"yasr-send-visitor-multiset-$post_id-$setid\" class=\"button button-primary\" value=\"". __('Submit!', 'yasr') . " \" />";
565
  $star_readonly = 'false';
566
  $span_message_content = "";
567
 
@@ -569,9 +569,9 @@ function yasr_visitor_multiset_callback ( $atts ) {
569
 
570
  elseif (YASR_ALLOWED_USER === 'logged_only') {
571
 
572
- $button = "<input type=\"submit\" name=\"submit\" id=\"yasr-send-visitor-multiset-$post_id-$setid\" class=\"button button-primary\" value=\"". __('Submit!', 'yasr') . " \" />";
573
  $star_readonly = 'true';
574
- $span_message_content = __("You must sign to vote", "yasr");;
575
 
576
  }
577
 
@@ -581,7 +581,7 @@ function yasr_visitor_multiset_callback ( $atts ) {
581
  //Is user is logged in
582
  else {
583
 
584
- $button = "<input type=\"submit\" name=\"submit\" id=\"yasr-send-visitor-multiset-$post_id-$setid\" class=\"button button-primary\" value=\"" . __('Submit!', 'yasr') . " \" />";
585
  $star_readonly = 'false';
586
  $span_message_content = "";
587
 
@@ -758,7 +758,7 @@ function yasr_top_ten_highest_rated_callback () {
758
  <td width=\"60%\"><a href=\"$link\">$post_title</a></td>
759
  <td width=\"40%\">
760
  <div class=\"rateit medium\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$result->overall_rating\" data-rateit-step=\"0.1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
761
- <span class=\"yasr-highest-rated-text\">" . __("Rating", "yasr") . " $result->overall_rating </span>
762
  </td>
763
  </tr>";
764
 
@@ -772,7 +772,7 @@ function yasr_top_ten_highest_rated_callback () {
772
  } //end if $query_result
773
 
774
  else {
775
- _e("You don't have any votes stored", "yasr");
776
  }
777
 
778
  } //End function
@@ -808,8 +808,8 @@ function yasr_most_or_highest_rated_posts_callback () {
808
 
809
  $shortcode_html .= "<table class=\"yasr-table-chart\" id=\"yasr-most-rated-posts\">
810
  <tr>
811
- <th>" . __("Post / Page" , "yasr") ." </th>
812
- <th>". __("Order By" , "yasr") .":&nbsp;&nbsp;<span id=\"yasr_multi_chart_link_to_nothing\">" . __("Most Rated" , "yasr") ."</span> | <a href=\"#\" id=\"yasr_multi_chart_highest\">" . __("Highest Rated" , "yasr") ."</a></th>
813
  </tr>"
814
  ;
815
 
@@ -827,7 +827,7 @@ function yasr_most_or_highest_rated_posts_callback () {
827
  <td width=\"60%\"><a href=\"$link\">$post_title</a></td>
828
  <td width=\"40%\"><div id=\"yasr_visitor_votes\">
829
  <div class=\"rateit medium\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$rating\" data-rateit-step=\"0.1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
830
- <br /> [" . __("Total:" , "yasr") . "$result->number_of_votes &nbsp;&nbsp;&nbsp;" . __("Average" , "yasr") . " $rating]
831
  </td>
832
  </tr>";
833
 
@@ -839,7 +839,7 @@ function yasr_most_or_highest_rated_posts_callback () {
839
  } //End if $query_result_most_rated)
840
 
841
  else {
842
- $shortcode_html = __("You've not enough data","yasr") . "<br />";
843
  }
844
 
845
 
@@ -847,8 +847,8 @@ function yasr_most_or_highest_rated_posts_callback () {
847
 
848
  $shortcode_html .= "<table class=\"yasr-table-chart\" id=\"yasr-highest-rated-posts\">
849
  <tr>
850
- <th>" . __("Post / Page" , "yasr") ." </th>
851
- <th>". __("Order By" , "yasr") .":&nbsp;&nbsp; <a href=\"#\" id=\"yasr_multi_chart_most\">". __("Most Rated" , "yasr") ."</a> | <span id=\"yasr_multi_chart_link_to_nothing\">". __("Highest Rated" , "yasr") ."</span></th>
852
  </tr>";
853
 
854
  foreach ($query_result_highest as $result) {
@@ -862,7 +862,7 @@ function yasr_most_or_highest_rated_posts_callback () {
862
  $shortcode_html .= "<tr>
863
  <td width=\"60%\"><a href=\"$link\">$post_title</a></td>
864
  <td width=\"40%\"><div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$rating\" data-rateit-step=\"0.1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
865
- <br /> [" . __("Total:" , "yasr") . "$result->number_of_votes &nbsp;&nbsp;&nbsp;" . __("Average" , "yasr") . " $rating]
866
  </td>
867
  </tr>";
868
 
@@ -874,7 +874,7 @@ function yasr_most_or_highest_rated_posts_callback () {
874
  } //end if $query_result
875
 
876
  else {
877
- $shortcode_html = __("You've not enought data","yasr") . "<br />";
878
  }
879
 
880
  ?>
146
 
147
  $image = YASR_IMG_DIR . "/loader.gif";
148
 
149
+ $loader_html = '<div id="loader-visitor-rating" >&nbsp; ' . __("Loading, please wait",'yet-another-stars-rating') . ' <img src=' . "$image" .' title="yasr-loader" alt="yasr-loader"></div>';
150
 
151
  $medium_rating=round($medium_rating, 1);
152
 
199
  //If user has already rated
200
  if ($vote_if_user_already_rated) {
201
 
202
+ $span_after_rate_it="<span class=\"yasr-small-block-bold\" id=\"yasr-already-voted-text\">" . __("You've already voted this article with", 'yet-another-stars-rating') . " $vote_if_user_already_rated </span>";
203
 
204
  }
205
 
220
 
221
  else {
222
 
223
+ $span_after_rate_it="<span class=\"yasr-small-block-bold\" id=\"yasr-already-voted-text\">" . __("You've already voted this article with", 'yet-another-stars-rating') . " $cookie_value </span>";
224
 
225
  }
226
 
250
 
251
  if ($vote_if_user_already_rated) {
252
 
253
+ $span_after_rate_it="<span class=\"yasr-small-block-bold\" id=\"yasr-already-voted-text\">" . __("You've already voted this article with", 'yet-another-stars-rating') . " $vote_if_user_already_rated </span>";
254
 
255
  }
256
 
261
 
262
  $readonly = 'true'; //readonly is true if user isn't logged
263
 
264
+ $span_after_rate_it = __("You must sign to vote", 'yet-another-stars-rating');
265
 
266
  }
267
 
303
  else {
304
 
305
  $span_text_after_star = "<span class=\"yasr-total-average-container\" id=\"yasr-total-average-text_$post_id\">
306
+ [" . __("Total: ", 'yet-another-stars-rating') . "$votes_number &nbsp; &nbsp;" . __("Average: ",'yet-another-stars-rating') . "$medium_rating/5]
307
  </span>";
308
 
309
  }
319
  $shortcode_html .= "</div>";
320
 
321
 
322
+ $var_tooltip_values = __("bad, poor, ok, good, super", 'yet-another-stars-rating');
323
  $var_tooltip_values= json_encode($var_tooltip_values);
324
 
325
  $var_post_id = json_encode($post_id);
543
 
544
  $image = YASR_IMG_DIR . "/loader.gif";
545
 
546
+ $loader_html = "<span class=\"yasr-loader-multiset-visitor\" id=\"yasr-loader-multiset-visitor-$post_id-$setid\" >&nbsp; " . __("Loading, please wait",'yet-another-stars-rating') . ' <img src=' . "$image" .' title="yasr-loader" alt="yasr-loader"></span>';
547
 
548
 
549
  if (isset($_COOKIE[$cookiename])) {
550
 
551
  $button = "";
552
  $star_readonly = 'true';
553
+ $span_message_content = __('Thank you for voting! ', 'yet-another-stars-rating');
554
 
555
  }
556
 
561
 
562
  if (YASR_ALLOWED_USER === 'allow_anonymous') {
563
 
564
+ $button = "<input type=\"submit\" name=\"submit\" id=\"yasr-send-visitor-multiset-$post_id-$setid\" class=\"button button-primary\" value=\"". __('Submit!', 'yet-another-stars-rating') . " \" />";
565
  $star_readonly = 'false';
566
  $span_message_content = "";
567
 
569
 
570
  elseif (YASR_ALLOWED_USER === 'logged_only') {
571
 
572
+ $button = "<input type=\"submit\" name=\"submit\" id=\"yasr-send-visitor-multiset-$post_id-$setid\" class=\"button button-primary\" value=\"". __('Submit!', 'yet-another-stars-rating') . " \" />";
573
  $star_readonly = 'true';
574
+ $span_message_content = __("You must sign to vote", 'yet-another-stars-rating');;
575
 
576
  }
577
 
581
  //Is user is logged in
582
  else {
583
 
584
+ $button = "<input type=\"submit\" name=\"submit\" id=\"yasr-send-visitor-multiset-$post_id-$setid\" class=\"button button-primary\" value=\"" . __('Submit!', 'yet-another-stars-rating') . " \" />";
585
  $star_readonly = 'false';
586
  $span_message_content = "";
587
 
758
  <td width=\"60%\"><a href=\"$link\">$post_title</a></td>
759
  <td width=\"40%\">
760
  <div class=\"rateit medium\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$result->overall_rating\" data-rateit-step=\"0.1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
761
+ <span class=\"yasr-highest-rated-text\">" . __("Rating", 'yet-another-stars-rating') . " $result->overall_rating </span>
762
  </td>
763
  </tr>";
764
 
772
  } //end if $query_result
773
 
774
  else {
775
+ _e("You don't have any votes stored", 'yet-another-stars-rating');
776
  }
777
 
778
  } //End function
808
 
809
  $shortcode_html .= "<table class=\"yasr-table-chart\" id=\"yasr-most-rated-posts\">
810
  <tr>
811
+ <th>" . __("Post / Page" , 'yet-another-stars-rating') ." </th>
812
+ <th>". __("Order By" , 'yet-another-stars-rating') .":&nbsp;&nbsp;<span id=\"yasr_multi_chart_link_to_nothing\">" . __("Most Rated" , 'yet-another-stars-rating') ."</span> | <a href=\"#\" id=\"yasr_multi_chart_highest\">" . __("Highest Rated" , 'yet-another-stars-rating') ."</a></th>
813
  </tr>"
814
  ;
815
 
827
  <td width=\"60%\"><a href=\"$link\">$post_title</a></td>
828
  <td width=\"40%\"><div id=\"yasr_visitor_votes\">
829
  <div class=\"rateit medium\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$rating\" data-rateit-step=\"0.1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
830
+ <br /> [" . __("Total:" , 'yet-another-stars-rating') . "$result->number_of_votes &nbsp;&nbsp;&nbsp;" . __("Average" , 'yet-another-stars-rating') . " $rating]
831
  </td>
832
  </tr>";
833
 
839
  } //End if $query_result_most_rated)
840
 
841
  else {
842
+ $shortcode_html = __("You've not enough data",'yet-another-stars-rating') . "<br />";
843
  }
844
 
845
 
847
 
848
  $shortcode_html .= "<table class=\"yasr-table-chart\" id=\"yasr-highest-rated-posts\">
849
  <tr>
850
+ <th>" . __("Post / Page" , 'yet-another-stars-rating') ." </th>
851
+ <th>". __("Order By" , 'yet-another-stars-rating') .":&nbsp;&nbsp; <a href=\"#\" id=\"yasr_multi_chart_most\">". __("Most Rated" , 'yet-another-stars-rating') ."</a> | <span id=\"yasr_multi_chart_link_to_nothing\">". __("Highest Rated" , 'yet-another-stars-rating') ."</span></th>
852
  </tr>";
853
 
854
  foreach ($query_result_highest as $result) {
862
  $shortcode_html .= "<tr>
863
  <td width=\"60%\"><a href=\"$link\">$post_title</a></td>
864
  <td width=\"40%\"><div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$rating\" data-rateit-step=\"0.1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
865
+ <br /> [" . __("Total:" , 'yet-another-stars-rating') . "$result->number_of_votes &nbsp;&nbsp;&nbsp;" . __("Average" , 'yet-another-stars-rating') . " $rating]
866
  </td>
867
  </tr>";
868
 
874
  } //end if $query_result
875
 
876
  else {
877
+ $shortcode_html = __("You've not enought data",'yet-another-stars-rating') . "<br />";
878
  }
879
 
880
  ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: 5 star, admin, administrator, AJAX, five-star, javascript, jquery, post r
4
  Requires at least: 3.5
5
  Contributors: Dudo
6
  Tested up to: 4.3.1
7
- Stable tag: 0.9.9
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
@@ -38,35 +38,26 @@ This operation can take some time, don't stop it! Once it's done you just need t
38
  If with gd-star-rating you're using a different number of stars from the default of 5, YASR will automatically convert all the scores in a range from 1 to 5.
39
 
40
  = Supported Languages =
41
- * English
42
- * Italian
43
- * German (thanks to [Josef Seidl,](http://www.blog-it-solutions.de/) until version 0.6.5, than mp3-post )
44
- * Polish (thanks to Hoek i Tutu Team)
45
- * Dutch (thanks to [Marcel Pol](http://zenoweb.nl ) )
46
- * French (Thanks to Sébastien Gracia)
47
- * Norwegian (Thanks to [Line Holm Anderssen, Anderssen Language Services](http://www.alanguageservices.com/) )
48
- * Persian (Thanks to Babak Mehri )
49
- * Brazilian Portuguese (Thanks to [Iuri](http://assistirfilmesonline.info) )
50
- * Russian (Thanks to Ron)
51
- * Spanish (Thanks to [Carlos](http://CGlevel.com) )
52
- * Croatian (Thanks to Sanjin Barac)
53
-
54
- Check [here](http://translate.yetanotherstarsrating.com/) to see if your translation is up to date
55
 
56
  In this video I'll show you the "Auto Insert" feature and manual placement of YASR basic shortcodes.
57
  [youtube https://www.youtube.com/watch?v=M47xsJMQJ1E]
58
 
59
  = Related Link =
60
- * News and doc at [Yasr Official Site](http://yetanotherstarsrating.com/)
61
- * [Demo site](http://demo.yetanotherstarsrating.com/)
 
 
62
 
63
  = Press =
64
  * [WPMUDEV](http://premium.wpmudev.org/blog/free-wordpress-ratings-testimonials-subscriber-count-plugins/)
65
  * [BRIANLI.COM](http://brianli.com/yet-another-stars-rating-wordpress-plugin-review/)
66
  * [WPEXPLORER](http://www.wpexplorer.com/google-rich-snippets-wordpress/)
 
 
67
 
68
-
69
- Do you want more feature? [GO PRO!](https://yetanotherstarsrating.com/pro-version/)
70
 
71
  > #### Pro Only features:
72
  > * You can display as many rows as you like in all rankings.
@@ -92,9 +83,14 @@ It is the vote given by who writes the review: readers are able to see this vote
92
  = What is "Visitor Rating"? =
93
  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.
94
 
 
 
 
95
  = What is "Multi Set"? =
96
  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.
97
 
 
 
98
  = What is "Ranking reviews" ? =
99
  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]**
100
 
@@ -109,10 +105,12 @@ If in your site there are more than 1 person writing reviews, this chart will sh
109
  = What is "Most active users" ? =
110
  When a visitor (logged in or not) rates a post/page, his rating is stored in the database. This chart will show the 10 most active users, displaying the login name if logged in or "Anonymous" otherwise. The shortcode : **[yasr_top_ten_active_users]**
111
 
 
 
112
  = Wait, wait! Do I need to keep in mind all this shortcode? =
113
  Of course not: you can easily add it on the visual editor just by clicking on the yellow star and then choose what to insert.
114
 
115
- [Demo site](http://demo.yetanotherstarsrating.com/)
116
 
117
  == Screenshots ==
118
  1. Example of yasr in a videogame review
@@ -123,6 +121,9 @@ Of course not: you can easily add it on the visual editor just by clicking on th
123
 
124
  == Changelog ==
125
 
 
 
 
126
  = 0.9.9 =
127
  * New feature: is now possible to choose between json-ld and microdata for rich snippet
128
 
4
  Requires at least: 3.5
5
  Contributors: Dudo
6
  Tested up to: 4.3.1
7
+ Stable tag: 1.0.0
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
38
  If with gd-star-rating you're using a different number of stars from the default of 5, YASR will automatically convert all the scores in a range from 1 to 5.
39
 
40
  = Supported Languages =
41
+
42
+ Check [here](https://translate.wordpress.org/projects/wp-plugins/yet-another-stars-rating/dev) to see if your translation is up to date
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
  In this video I'll show you the "Auto Insert" feature and manual placement of YASR basic shortcodes.
45
  [youtube https://www.youtube.com/watch?v=M47xsJMQJ1E]
46
 
47
  = Related Link =
48
+ * News and doc at [Yasr Official Site](https://yetanotherstarsrating.com/)
49
+ * [Demo page for Overall Rating and Vistor Rating](https://yetanotherstarsrating.com/yasr-basics-shortcode/)
50
+ * [Demo page for Multi Sets](https://yetanotherstarsrating.com/yasr-multi-sets/)
51
+ * [Demo page for Rankings](https://yetanotherstarsrating.com/yasr-rankings/)
52
 
53
  = Press =
54
  * [WPMUDEV](http://premium.wpmudev.org/blog/free-wordpress-ratings-testimonials-subscriber-count-plugins/)
55
  * [BRIANLI.COM](http://brianli.com/yet-another-stars-rating-wordpress-plugin-review/)
56
  * [WPEXPLORER](http://www.wpexplorer.com/google-rich-snippets-wordpress/)
57
+ * [SOURCEWP](http://www.sourcewp.com/best-post-voting-plugins-wordpress/)
58
+ * [HOWSHOST](https://howshost.com/add-post-rating-system-in-wordpress/)
59
 
60
+ Do you want more feature? [GO PRO!](https://yetanotherstarsrating.com/#yasr-pro-anchor)
 
61
 
62
  > #### Pro Only features:
63
  > * You can display as many rows as you like in all rankings.
83
  = What is "Visitor Rating"? =
84
  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.
85
 
86
+ [Demo page for Overall Rating and Vistor Rating](https://yetanotherstarsrating.com/yasr-basics-shortcode/)
87
+
88
+
89
  = What is "Multi Set"? =
90
  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.
91
 
92
+ [Demo page for Multi Sets](https://yetanotherstarsrating.com/yasr-multi-sets/)
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]**
96
 
105
  = What is "Most active users" ? =
106
  When a visitor (logged in or not) rates a post/page, his rating is stored in the database. This chart will show the 10 most active users, displaying the login name if logged in or "Anonymous" otherwise. The shortcode : **[yasr_top_ten_active_users]**
107
 
108
+ [Demo page for Rankings](https://yetanotherstarsrating.com/yasr-rankings/)
109
+
110
  = Wait, wait! Do I need to keep in mind all this shortcode? =
111
  Of course not: you can easily add it on the visual editor just by clicking on the yellow star and then choose what to insert.
112
 
113
+
114
 
115
  == Screenshots ==
116
  1. Example of yasr in a videogame review
121
 
122
  == Changelog ==
123
 
124
+ = 1.0.0 =
125
+ * TWEAK: Changed textdomain from 'yasr' to 'yet-another-stars-rating'.
126
+
127
  = 0.9.9 =
128
  * New feature: is now possible to choose between json-ld and microdata for rich snippet
129
 
yasr-metabox-multiple-rating.php CHANGED
@@ -32,7 +32,7 @@ $n_multi_set = $wpdb->num_rows; //wpdb->num_rows always store the the count numb
32
 
33
  if ($n_multi_set>1) {
34
 
35
- _e("Choose wich set you want to use");
36
 
37
  ?>
38
 
32
 
33
  if ($n_multi_set>1) {
34
 
35
+ _e("Choose wich set you want to use", 'yet-another-stars-rating');
36
 
37
  ?>
38
 
yasr-metabox-top-right.php CHANGED
@@ -72,13 +72,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
72
  <div id="yasr-vote-overall-stars">
73
 
74
  <span id="yasr-rateit-vote-overall-text">
75
- <?php _e("Rate this article / item", "yasr"); ?>
76
  </span>
77
 
78
  <div class="rateit bigstars" id="yasr_rateit_overall" data-rateit-starwidth="32" data-rateit-starheight="32" data-rateit-value="<?php echo $overall_rating ?>" data-rateit-step="0.1" data-rateit-resetable="true" data-rateit-readonly="false">
79
  </div>
80
 
81
- <div id="loader-overall-rating" style="display:none;" >&nbsp;<?php _e("Loading, please wait","yasr"); ?><img src="<?php echo YASR_IMG_DIR . "/loader.gif" ?>">
82
  </div>
83
 
84
  </p>
@@ -106,7 +106,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
106
  <div id="yasr-vote-with-numbers" >
107
 
108
  <span id="yasr-rateit-vote-overall-text">
109
- <?php _e("Rate this article / item", "yasr"); ?>
110
  </span>
111
 
112
  <div id="yasr-vote-with-numbers-select-container">
@@ -154,7 +154,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
154
 
155
  <p>
156
 
157
- <button href="#" class="button-secondary" id="yasr-send-overall-numbers"><?php _e('Save Vote', 'yasr'); ?></button>
158
 
159
  <p>
160
 
@@ -178,7 +178,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
178
 
179
  <?php yasr_select_itemtype(); ?>
180
 
181
- <button href="#" class="button-secondary" id="yasr-send-review-type"><?php _e('Select', 'yasr'); ?></button>
182
 
183
  <br />
184
 
@@ -196,7 +196,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
196
  if( YASR_AUTO_INSERT_ENABLED == 0 || (YASR_AUTO_INSERT_ENABLED == 1 && YASR_AUTO_INSERT_WHAT === 'visitor_rating') ) {
197
 
198
  echo "<div>";
199
- _e ("Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> where you want to display this rating", "yasr");
200
  echo "</div>";
201
 
202
  }
72
  <div id="yasr-vote-overall-stars">
73
 
74
  <span id="yasr-rateit-vote-overall-text">
75
+ <?php _e("Rate this article / item", 'yet-another-stars-rating'); ?>
76
  </span>
77
 
78
  <div class="rateit bigstars" id="yasr_rateit_overall" data-rateit-starwidth="32" data-rateit-starheight="32" data-rateit-value="<?php echo $overall_rating ?>" data-rateit-step="0.1" data-rateit-resetable="true" data-rateit-readonly="false">
79
  </div>
80
 
81
+ <div id="loader-overall-rating" style="display:none;" >&nbsp;<?php _e("Loading, please wait",'yet-another-stars-rating'); ?><img src="<?php echo YASR_IMG_DIR . "/loader.gif" ?>">
82
  </div>
83
 
84
  </p>
106
  <div id="yasr-vote-with-numbers" >
107
 
108
  <span id="yasr-rateit-vote-overall-text">
109
+ <?php _e("Rate this article / item", 'yet-another-stars-rating'); ?>
110
  </span>
111
 
112
  <div id="yasr-vote-with-numbers-select-container">
154
 
155
  <p>
156
 
157
+ <button href="#" class="button-secondary" id="yasr-send-overall-numbers"><?php _e('Save Vote', 'yet-another-stars-rating'); ?></button>
158
 
159
  <p>
160
 
178
 
179
  <?php yasr_select_itemtype(); ?>
180
 
181
+ <button href="#" class="button-secondary" id="yasr-send-review-type"><?php _e('Select', 'yet-another-stars-rating'); ?></button>
182
 
183
  <br />
184
 
196
  if( YASR_AUTO_INSERT_ENABLED == 0 || (YASR_AUTO_INSERT_ENABLED == 1 && YASR_AUTO_INSERT_WHAT === 'visitor_rating') ) {
197
 
198
  echo "<div>";
199
+ _e ("Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> where you want to display this rating", 'yet-another-stars-rating');
200
  echo "</div>";
201
 
202
  }
yasr-settings-page.php CHANGED
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
21
  if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // Exit if accessed directly
22
 
23
  if ( !current_user_can( 'manage_options' ) ) {
24
- wp_die( __( 'You do not have sufficient permissions to access this page.', 'yasr' ));
25
  }
26
 
27
  $n_multi_set = NULL; //Evoid undefined variable when printed outside multiset tab
@@ -34,7 +34,7 @@ yasr_include_fb_sdk ();
34
 
35
  <div class="wrap">
36
 
37
- <h2>Yet Another Stars Rating: <?php _e("Settings", "yasr"); ?></h2>
38
 
39
  <?php
40
 
@@ -46,7 +46,7 @@ yasr_include_fb_sdk ();
46
  echo "<div class=\"error\"> <p> <strong>";
47
 
48
  foreach ($error_new_multi_set as $error) {
49
- _e($error, 'yasr');
50
  echo "<br />";
51
  }
52
 
@@ -57,7 +57,7 @@ yasr_include_fb_sdk ();
57
  echo "<div class=\"error\"> <p> <strong>";
58
 
59
  foreach ($error_edit_multi_set as $error) {
60
- _e($error, 'yasr');
61
  echo "<br />";
62
  }
63
 
@@ -77,10 +77,10 @@ yasr_include_fb_sdk ();
77
  ?>
78
 
79
  <h2 class="nav-tab-wrapper yasr-no-underline">
80
- <a href="?page=yasr_settings_page&tab=general_settings" class="nav-tab <?php if ($active_tab == 'general_settings' || ($active_tab != 'manage_multi' && $active_tab != 'style_options' && $active_tab != 'go_pro')) echo 'nav-tab-active'; ?>" > <?php _e("General Settings", "yasr"); ?> </a>
81
- <a href="?page=yasr_settings_page&tab=manage_multi" class="nav-tab <?php if ($active_tab == 'manage_multi') echo 'nav-tab-active'; ?>" > <?php _e("Multi Sets", "yasr"); ?> </a>
82
- <a href="?page=yasr_settings_page&tab=style_options" class="nav-tab <?php if ($active_tab == 'style_options') echo 'nav-tab-active'; ?>" > <?php _e("Styles", "yasr"); ?> </a>
83
- <a href="?page=yasr_settings_page&tab=go_pro" class="nav-tab <?php if ($active_tab == 'go_pro') echo 'nav-tab-active'; ?>" > <?php _e("Pro Features!", "yasr"); ?> </a>
84
 
85
  </h2>
86
 
@@ -122,17 +122,17 @@ yasr_include_fb_sdk ();
122
  if ($gd_star_rating_found && !$gd_star_imported) {
123
  ?>
124
  <div class="yasr-settingsdiv">
125
- <h3><?php _e("Import Gd Star Rating", "yasr"); ?></h3>
126
- <?php _e("I've found a previous installation of Gd Star Rating.", "yasr"); ?> <br /><?php _e("Do you want proceed to import data?", "yasr"); ?>
127
  <br />
128
- <button href="#" class="button-delete" id="import-gdstar"><?php _e('Yes, Begin Import', 'yasr'); ?></button>
129
 
130
  <div id="yasr-import-gdstar-div" style="display:none;">
131
  <strong>
132
  <?php _e("Click on Proceed to import Gd Star Rating data."); ?>
133
  </strong>
134
  <br />
135
- <button href="#" class="button-primary" id="import-button"> <?php _e('Proceed', 'yasr'); ?></button>
136
 
137
  <span id="yasr-loader-importer" style="display:none;" >&nbsp;<img src="<?php echo YASR_IMG_DIR . "loader.gif" ?>">
138
  </span>
@@ -154,9 +154,9 @@ yasr_include_fb_sdk ();
154
  ?>
155
 
156
  <div class="yasr-settingsdiv">
157
- <h3><?php _e("Manage GD Star Data", "yasr"); ?></h3>
158
- <?php _e("Gd Star Rating has been already imported.", 'yasr'); ?> <br />
159
- <?php _e("If you wish you can import it again, but", 'yasr'); ?><strong> <?php _e("you will lose all data you've collect since the import!", "yasr"); ?> </strong>
160
  <br />
161
  <button href="#" class="button-delete" id="import-gdstar"><?php _e('Ok, Import Again'); ?></button>
162
 
@@ -165,7 +165,7 @@ yasr_include_fb_sdk ();
165
  <?php _e("Click on Proceed to import again Gd Star Rating data. This may take a while!"); ?>
166
  </strong>
167
  <br />
168
- <button href="#" class="button-primary" id="import-button"> <?php _e('Proceed', 'yasr'); ?></button>
169
 
170
  <span id="yasr-loader-importer" style="display:none;" >&nbsp;<img src="<?php echo YASR_IMG_DIR . "loader.gif" ?>">
171
  </span>
@@ -199,30 +199,30 @@ yasr_include_fb_sdk ();
199
 
200
  <div class="yasr-settingsdiv">
201
 
202
- <h3> <?php _e("Manage Multi Set", "yasr"); ?></h3>
203
 
204
  <p>
205
 
206
- <a href="#" id="yasr-multi-set-doc-link"><?php _e("What is a Multi Set?", "yasr") ?></a>
207
 
208
  </p>
209
 
210
  <div id="yasr-multi-set-doc-box" style="display:none">
211
- <?php _e("Multi Set allows you to insert a rate for each aspect about the product / local business / whetever you're reviewing, example in the image below.", "yasr");
212
 
213
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "/yasr-multi-set.png> <br /> <br />";
214
 
215
- _e("You can create up to 99 different Multi Set and each one can contain up to 9 different fields. Once you've saved it, you can insert the rates while typing your article in the box below the editor, as you can see in this image (click to see it larger)", "yasr");
216
 
217
  echo "<br /><br /><a href=\"" . YASR_IMG_DIR ."yasr-multi-set-insert-rate.jpg\"><img src=" . YASR_IMG_DIR . "/yasr-multi-set-insert-rate-small.jpg></a> <br /> <br />";
218
 
219
- _e("In order to insert your Multi Sets into a post or page, you can either past the short code that will appear at the bottom of the box or just click on the star in the graphic editor and select \"Insert Multi Set\".", "yasr");
220
 
221
  ?>
222
 
223
  <br /> <br />
224
 
225
- <a href="#" id="yasr-multi-set-doc-link-hide"><?php _e("Close this message", "yasr") ?></a>
226
 
227
  </div>
228
 
@@ -332,8 +332,7 @@ yasr_include_fb_sdk ();
332
  </div>
333
 
334
 
335
-
336
- <script type="text/javascript">
337
 
338
  jQuery( document ).ready(function() {
339
 
21
  if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // Exit if accessed directly
22
 
23
  if ( !current_user_can( 'manage_options' ) ) {
24
+ wp_die( __( 'You do not have sufficient permissions to access this page.', 'yet-another-stars-rating' ));
25
  }
26
 
27
  $n_multi_set = NULL; //Evoid undefined variable when printed outside multiset tab
34
 
35
  <div class="wrap">
36
 
37
+ <h2>Yet Another Stars Rating: <?php _e("Settings", 'yet-another-stars-rating'); ?></h2>
38
 
39
  <?php
40
 
46
  echo "<div class=\"error\"> <p> <strong>";
47
 
48
  foreach ($error_new_multi_set as $error) {
49
+ _e($error, 'yet-another-stars-rating');
50
  echo "<br />";
51
  }
52
 
57
  echo "<div class=\"error\"> <p> <strong>";
58
 
59
  foreach ($error_edit_multi_set as $error) {
60
+ _e($error, 'yet-another-stars-rating');
61
  echo "<br />";
62
  }
63
 
77
  ?>
78
 
79
  <h2 class="nav-tab-wrapper yasr-no-underline">
80
+ <a href="?page=yasr_settings_page&tab=general_settings" class="nav-tab <?php if ($active_tab == 'general_settings' || ($active_tab != 'manage_multi' && $active_tab != 'style_options' && $active_tab != 'go_pro')) echo 'nav-tab-active'; ?>" > <?php _e("General Settings", 'yet-another-stars-rating'); ?> </a>
81
+ <a href="?page=yasr_settings_page&tab=manage_multi" class="nav-tab <?php if ($active_tab == 'manage_multi') echo 'nav-tab-active'; ?>" > <?php _e("Multi Sets", 'yet-another-stars-rating'); ?> </a>
82
+ <a href="?page=yasr_settings_page&tab=style_options" class="nav-tab <?php if ($active_tab == 'style_options') echo 'nav-tab-active'; ?>" > <?php _e("Styles", 'yet-another-stars-rating'); ?> </a>
83
+ <a href="?page=yasr_settings_page&tab=go_pro" class="nav-tab <?php if ($active_tab == 'go_pro') echo 'nav-tab-active'; ?>" > <?php _e("Pro Features!", 'yet-another-stars-rating'); ?> </a>
84
 
85
  </h2>
86
 
122
  if ($gd_star_rating_found && !$gd_star_imported) {
123
  ?>
124
  <div class="yasr-settingsdiv">
125
+ <h3><?php _e("Import Gd Star Rating", 'yet-another-stars-rating'); ?></h3>
126
+ <?php _e("I've found a previous installation of Gd Star Rating.", 'yet-another-stars-rating'); ?> <br /><?php _e("Do you want proceed to import data?", 'yet-another-stars-rating'); ?>
127
  <br />
128
+ <button href="#" class="button-delete" id="import-gdstar"><?php _e('Yes, Begin Import', 'yet-another-stars-rating'); ?></button>
129
 
130
  <div id="yasr-import-gdstar-div" style="display:none;">
131
  <strong>
132
  <?php _e("Click on Proceed to import Gd Star Rating data."); ?>
133
  </strong>
134
  <br />
135
+ <button href="#" class="button-primary" id="import-button"> <?php _e('Proceed', 'yet-another-stars-rating'); ?></button>
136
 
137
  <span id="yasr-loader-importer" style="display:none;" >&nbsp;<img src="<?php echo YASR_IMG_DIR . "loader.gif" ?>">
138
  </span>
154
  ?>
155
 
156
  <div class="yasr-settingsdiv">
157
+ <h3><?php _e("Manage GD Star Data", 'yet-another-stars-rating'); ?></h3>
158
+ <?php _e("Gd Star Rating has been already imported.", 'yet-another-stars-rating'); ?> <br />
159
+ <?php _e("If you wish you can import it again, but", 'yet-another-stars-rating'); ?><strong> <?php _e("you will lose all data you've collect since the import!", 'yet-another-stars-rating'); ?> </strong>
160
  <br />
161
  <button href="#" class="button-delete" id="import-gdstar"><?php _e('Ok, Import Again'); ?></button>
162
 
165
  <?php _e("Click on Proceed to import again Gd Star Rating data. This may take a while!"); ?>
166
  </strong>
167
  <br />
168
+ <button href="#" class="button-primary" id="import-button"> <?php _e('Proceed', 'yet-another-stars-rating'); ?></button>
169
 
170
  <span id="yasr-loader-importer" style="display:none;" >&nbsp;<img src="<?php echo YASR_IMG_DIR . "loader.gif" ?>">
171
  </span>
199
 
200
  <div class="yasr-settingsdiv">
201
 
202
+ <h3> <?php _e("Manage Multi Set", 'yet-another-stars-rating'); ?></h3>
203
 
204
  <p>
205
 
206
+ <a href="#" id="yasr-multi-set-doc-link"><?php _e("What is a Multi Set?", 'yet-another-stars-rating') ?></a>
207
 
208
  </p>
209
 
210
  <div id="yasr-multi-set-doc-box" style="display:none">
211
+ <?php _e("Multi Set allows you to insert a rate for each aspect about the product / local business / whetever you're reviewing, example in the image below.", 'yet-another-stars-rating');
212
 
213
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "/yasr-multi-set.png> <br /> <br />";
214
 
215
+ _e("You can create up to 99 different Multi Set and each one can contain up to 9 different fields. Once you've saved it, you can insert the rates while typing your article in the box below the editor, as you can see in this image (click to see it larger)", 'yet-another-stars-rating');
216
 
217
  echo "<br /><br /><a href=\"" . YASR_IMG_DIR ."yasr-multi-set-insert-rate.jpg\"><img src=" . YASR_IMG_DIR . "/yasr-multi-set-insert-rate-small.jpg></a> <br /> <br />";
218
 
219
+ _e("In order to insert your Multi Sets into a post or page, you can either past the short code that will appear at the bottom of the box or just click on the star in the graphic editor and select \"Insert Multi Set\".", 'yet-another-stars-rating');
220
 
221
  ?>
222
 
223
  <br /> <br />
224
 
225
+ <a href="#" id="yasr-multi-set-doc-link-hide"><?php _e("Close this message", 'yet-another-stars-rating') ?></a>
226
 
227
  </div>
228
 
332
  </div>
333
 
334
 
335
+ <script type="text/javascript">
 
336
 
337
  jQuery( document ).ready(function() {
338
 
yet-another-stars-rating.php CHANGED
@@ -3,9 +3,11 @@
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.9.9
7
  * Author: Dario Curvino
8
  * Author URI: https://yetanotherstarsrating.com/
 
 
9
  * License: GPL2
10
  */
11
 
@@ -28,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
28
  */
29
 
30
 
31
- define('YASR_VERSION_NUM', '0.9.9');
32
 
33
  //Plugin relative path
34
  define( "YASR_RELATIVE_PATH", dirname(__FILE__) );
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: 1.0.0
7
  * Author: Dario Curvino
8
  * Author URI: https://yetanotherstarsrating.com/
9
+ * Text Domain: yet-another-stars-rating
10
+ * Domain Path: languages
11
  * License: GPL2
12
  */
13
 
30
  */
31
 
32
 
33
+ define('YASR_VERSION_NUM', '1.0.0');
34
 
35
  //Plugin relative path
36
  define( "YASR_RELATIVE_PATH", dirname(__FILE__) );