Version Description
- Fixed bug in rich snippet
- Under the hood changes and code cleanup
Download this release
Release Info
Developer | Dudo |
Plugin | Yasr – Yet Another Stars Rating |
Version | 0.4.9 |
Comparing to | |
See all releases |
Code changes from version 0.4.8 to 0.4.9
- languages/yasr-de_DE.mo +0 -0
- languages/yasr-de_DE.po +122 -240
- languages/yasr-it_IT.mo +0 -0
- languages/yasr-it_IT.po +194 -196
- lib/yasr-db-functions.php +0 -24
- lib/yasr-functions.php +45 -664
- lib/yasr-settings-functions.php +1 -7
- lib/yasr-shortcode-functions.php +149 -109
- readme.txt +5 -1
- yasr-settings-page.php +79 -68
- yet-another-stars-rating.php +2 -31
languages/yasr-de_DE.mo
CHANGED
Binary file
|
languages/yasr-de_DE.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YASR lenguages\n"
|
4 |
-
"POT-Creation-Date: 2014-08-
|
5 |
-
"PO-Revision-Date: 2014-08-19
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: \n"
|
8 |
"Language: de_DE\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
@@ -17,8 +17,8 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-1: ../lib\n"
|
18 |
|
19 |
#: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:75
|
20 |
-
#: ../lib/yasr-ajax-functions.php:29 ../lib/yasr-ajax-functions.php:
|
21 |
-
#: ../lib/yasr-ajax-functions.php:
|
22 |
msgid "You do not have sufficient permissions to access this page."
|
23 |
msgstr ""
|
24 |
"Du verfügst nicht über ausreichende Berechtigungen um auf diese Seite "
|
@@ -58,29 +58,25 @@ msgstr ""
|
|
58 |
#: ../yasr-settings-page.php:84 ../yasr-settings-page.php:241
|
59 |
#: ../yasr-settings-page.php:278 ../yasr-settings-page.php:302
|
60 |
msgid "Thank you!"
|
61 |
-
msgstr "Herzlichen
|
62 |
|
63 |
#: ../yasr-settings-page.php:104
|
64 |
msgid "Import Gd Star Rating"
|
65 |
msgstr "Importiere Gd Star Rating Daten"
|
66 |
|
67 |
#: ../yasr-settings-page.php:105
|
68 |
-
#, fuzzy
|
69 |
msgid "I've found a previous installation of Gd Star Rating."
|
70 |
-
msgstr ""
|
71 |
-
"Es wurde eine Installation von Gd Star Rating gefunden. <br />Willst du die "
|
72 |
-
"Daten importieren?"
|
73 |
|
74 |
#: ../yasr-settings-page.php:105
|
75 |
msgid "Do you want proceed to import data?"
|
76 |
-
msgstr ""
|
77 |
|
78 |
#: ../yasr-settings-page.php:107
|
79 |
msgid "Yes, Begin Import"
|
80 |
msgstr "Ja, Import starten"
|
81 |
|
82 |
#: ../yasr-settings-page.php:111
|
83 |
-
#, fuzzy
|
84 |
msgid "Click on Proceed to import Gd Star Rating data."
|
85 |
msgstr "Klicke auf Fortfahren um die Gd Star Rating Daten zu importieren."
|
86 |
|
@@ -109,35 +105,30 @@ msgid "Ok, Import Again"
|
|
109 |
msgstr "Ok, erneut importieren"
|
110 |
|
111 |
#: ../yasr-settings-page.php:144
|
112 |
-
#, fuzzy
|
113 |
msgid ""
|
114 |
"Click on Proceed to import again Gd Star Rating data. This may take a while!"
|
115 |
msgstr ""
|
116 |
"Klicke auf Fortfahren um die Gd Star Rating Daten erneut zu importieren. Das "
|
117 |
-
"kann
|
118 |
|
119 |
#: ../yasr-settings-page.php:185
|
120 |
-
#, fuzzy
|
121 |
msgid "Manage Multi Set"
|
122 |
-
msgstr "
|
123 |
|
124 |
#: ../yasr-settings-page.php:189
|
125 |
-
#, fuzzy
|
126 |
msgid "What is a Multi Set?"
|
127 |
msgstr "Was ist ein Multi-Set?"
|
128 |
|
129 |
#: ../yasr-settings-page.php:194
|
130 |
-
#, fuzzy
|
131 |
msgid ""
|
132 |
"Multi Set allows you to insert a rate for each aspect about the product / "
|
133 |
"local business / whetever you're reviewing, example in the image below."
|
134 |
msgstr ""
|
135 |
"Ein Multi-Set erlaubt dir eine Bewertung für verschiedene Aspekte eines "
|
136 |
-
"Produkts / lokalen Geschäfts etc
|
137 |
-
"
|
138 |
|
139 |
#: ../yasr-settings-page.php:198
|
140 |
-
#, fuzzy
|
141 |
msgid ""
|
142 |
"You can create up to 99 different Multi Set and each one can contain up to 9 "
|
143 |
"different fields. Once you've saved it, you can insert the rates while "
|
@@ -145,22 +136,19 @@ msgid ""
|
|
145 |
"image (click to see it larger)"
|
146 |
msgstr ""
|
147 |
"Du kannst bis zu 99 verschiedene Multi-Sets mit jeweils bis zu 9 "
|
148 |
-
"verschiedenen Feldern anlegen.
|
149 |
-
"
|
150 |
-
"
|
151 |
-
"\t\t\t\t\t wie am Bild unten (klicken zum Vergrößern) zu sehen ist."
|
152 |
|
153 |
#: ../yasr-settings-page.php:202
|
154 |
-
#, fuzzy
|
155 |
msgid ""
|
156 |
"In order to insert your Multi Sets into a post or page, you can either past "
|
157 |
"the short code that will appear at the bottom of the box or just click on "
|
158 |
"the star in the graphic editor and select \"Insert Multi Set\"."
|
159 |
msgstr ""
|
160 |
"Um deine Multi-Set in einen Beitrag oder in eine Seite einzufügen, kannst du "
|
161 |
-
"entweder
|
162 |
-
"
|
163 |
-
"\t\t\t\t\t auf den Stern im Editor klicken und \"Insert Multi-Set\" wählen."
|
164 |
|
165 |
#: ../yasr-settings-page.php:208
|
166 |
msgid "Close this message"
|
@@ -236,65 +224,16 @@ msgstr ""
|
|
236 |
#: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
|
237 |
#: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
|
238 |
#: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
|
239 |
-
#: ../lib/yasr-functions.php:607 ../lib/yasr-ajax-functions.php:
|
240 |
-
#: ../lib/yasr-ajax-functions.php:
|
241 |
-
#: ../lib/yasr-ajax-functions.php:
|
242 |
-
#: ../lib/yasr-ajax-functions.php:
|
243 |
-
#: ../lib/yasr-ajax-functions.php:
|
244 |
-
#: ../lib/yasr-ajax-functions.php:
|
245 |
-
#: ../lib/yasr-ajax-functions.php:
|
246 |
msgid "Total: "
|
247 |
msgstr "Gesamt:"
|
248 |
|
249 |
-
#: ../lib/yasr-shortcode-functions.php:156
|
250 |
-
#: ../lib/yasr-shortcode-functions.php:168
|
251 |
-
#: ../lib/yasr-shortcode-functions.php:173
|
252 |
-
#: ../lib/yasr-shortcode-functions.php:186
|
253 |
-
#: ../lib/yasr-shortcode-functions.php:191
|
254 |
-
#: ../lib/yasr-shortcode-functions.php:211
|
255 |
-
#: ../lib/yasr-shortcode-functions.php:220
|
256 |
-
#: ../lib/yasr-shortcode-functions.php:226
|
257 |
-
#: ../lib/yasr-shortcode-functions.php:240
|
258 |
-
#: ../lib/yasr-shortcode-functions.php:246
|
259 |
-
#: ../lib/yasr-shortcode-functions.php:271
|
260 |
-
#: ../lib/yasr-shortcode-functions.php:283
|
261 |
-
#: ../lib/yasr-shortcode-functions.php:288
|
262 |
-
#: ../lib/yasr-shortcode-functions.php:301
|
263 |
-
#: ../lib/yasr-shortcode-functions.php:306
|
264 |
-
#: ../lib/yasr-shortcode-functions.php:327
|
265 |
-
#: ../lib/yasr-shortcode-functions.php:336
|
266 |
-
#: ../lib/yasr-shortcode-functions.php:342
|
267 |
-
#: ../lib/yasr-shortcode-functions.php:356
|
268 |
-
#: ../lib/yasr-shortcode-functions.php:362
|
269 |
-
#: ../lib/yasr-shortcode-functions.php:387
|
270 |
-
#: ../lib/yasr-shortcode-functions.php:399
|
271 |
-
#: ../lib/yasr-shortcode-functions.php:404
|
272 |
-
#: ../lib/yasr-shortcode-functions.php:417
|
273 |
-
#: ../lib/yasr-shortcode-functions.php:422
|
274 |
-
#: ../lib/yasr-shortcode-functions.php:443
|
275 |
-
#: ../lib/yasr-shortcode-functions.php:452
|
276 |
-
#: ../lib/yasr-shortcode-functions.php:458
|
277 |
-
#: ../lib/yasr-shortcode-functions.php:472
|
278 |
-
#: ../lib/yasr-shortcode-functions.php:478 ../lib/yasr-functions.php:285
|
279 |
-
#: ../lib/yasr-functions.php:297 ../lib/yasr-functions.php:302
|
280 |
-
#: ../lib/yasr-functions.php:315 ../lib/yasr-functions.php:320
|
281 |
-
#: ../lib/yasr-functions.php:340 ../lib/yasr-functions.php:349
|
282 |
-
#: ../lib/yasr-functions.php:355 ../lib/yasr-functions.php:369
|
283 |
-
#: ../lib/yasr-functions.php:375 ../lib/yasr-functions.php:400
|
284 |
-
#: ../lib/yasr-functions.php:412 ../lib/yasr-functions.php:417
|
285 |
-
#: ../lib/yasr-functions.php:430 ../lib/yasr-functions.php:435
|
286 |
-
#: ../lib/yasr-functions.php:456 ../lib/yasr-functions.php:465
|
287 |
-
#: ../lib/yasr-functions.php:471 ../lib/yasr-functions.php:485
|
288 |
-
#: ../lib/yasr-functions.php:491 ../lib/yasr-functions.php:516
|
289 |
-
#: ../lib/yasr-functions.php:528 ../lib/yasr-functions.php:533
|
290 |
-
#: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
|
291 |
-
#: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
|
292 |
-
#: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
|
293 |
-
#: ../lib/yasr-functions.php:607
|
294 |
-
#, fuzzy
|
295 |
-
msgid "Average: "
|
296 |
-
msgstr "Durchschnitt"
|
297 |
-
|
298 |
#: ../lib/yasr-shortcode-functions.php:157
|
299 |
#: ../lib/yasr-shortcode-functions.php:212
|
300 |
#: ../lib/yasr-shortcode-functions.php:272
|
@@ -308,14 +247,9 @@ msgid "You've already voted this article with"
|
|
308 |
msgstr "Du hast für diesen Artikel folgende Bewertung abgegeben: "
|
309 |
|
310 |
#: ../lib/yasr-shortcode-functions.php:241
|
311 |
-
#: ../lib/yasr-shortcode-functions.php:247
|
312 |
#: ../lib/yasr-shortcode-functions.php:357
|
313 |
-
#: ../lib/yasr-shortcode-functions.php:
|
314 |
-
#: ../lib/yasr-
|
315 |
-
#: ../lib/yasr-shortcode-functions.php:479 ../lib/yasr-functions.php:370
|
316 |
-
#: ../lib/yasr-functions.php:376 ../lib/yasr-functions.php:486
|
317 |
-
#: ../lib/yasr-functions.php:492 ../lib/yasr-functions.php:602
|
318 |
-
#: ../lib/yasr-functions.php:608
|
319 |
msgid "You must sign to vote"
|
320 |
msgstr "Um eine Bewertung abzugeben musst du angemeldet sein"
|
321 |
|
@@ -356,7 +290,6 @@ msgid "Auto insert options"
|
|
356 |
msgstr "Anzeigeoptionen"
|
357 |
|
358 |
#: ../lib/yasr-settings-functions.php:33
|
359 |
-
#, fuzzy
|
360 |
msgid "Show \"Overall Rating\" in Home Page?"
|
361 |
msgstr "Gesamtbewertung auf der Startseite anzeigen?"
|
362 |
|
@@ -403,7 +336,7 @@ msgstr "Was soll eingefügt werden?"
|
|
403 |
msgid "Overall Rating / Author Rating"
|
404 |
msgstr "Gesamtbewertung (Autorenbewertung)"
|
405 |
|
406 |
-
#: ../lib/yasr-settings-functions.php:87 ../lib/yasr-ajax-functions.php:
|
407 |
msgid "Visitor Votes"
|
408 |
msgstr "Besucherbewertung"
|
409 |
|
@@ -427,18 +360,18 @@ msgstr "Nach dem Artikel"
|
|
427 |
msgid "Size"
|
428 |
msgstr "Größe"
|
429 |
|
430 |
-
#: ../lib/yasr-settings-functions.php:111 ../lib/yasr-ajax-functions.php:
|
431 |
-
#: ../lib/yasr-ajax-functions.php:
|
432 |
msgid "Small"
|
433 |
msgstr "Klein"
|
434 |
|
435 |
-
#: ../lib/yasr-settings-functions.php:116 ../lib/yasr-ajax-functions.php:
|
436 |
-
#: ../lib/yasr-ajax-functions.php:
|
437 |
msgid "Medium"
|
438 |
msgstr "Mittel"
|
439 |
|
440 |
-
#: ../lib/yasr-settings-functions.php:121 ../lib/yasr-ajax-functions.php:
|
441 |
-
#: ../lib/yasr-ajax-functions.php:
|
442 |
msgid "Large"
|
443 |
msgstr "Groß"
|
444 |
|
@@ -457,12 +390,10 @@ msgstr ""
|
|
457 |
"Kategorien und im Archiv."
|
458 |
|
459 |
#: ../lib/yasr-settings-functions.php:198
|
460 |
-
#, fuzzy
|
461 |
msgid "Custom text to display before Overall Rating"
|
462 |
msgstr "Benutzerdefinierter Text vor der Gesamtbewertung (Autorenbewertung)"
|
463 |
|
464 |
#: ../lib/yasr-settings-functions.php:203
|
465 |
-
#, fuzzy
|
466 |
msgid "Custom text to display before Visitor Rating"
|
467 |
msgstr "Benutzerdefinierter Text vor der Besucherbewertung"
|
468 |
|
@@ -529,12 +460,10 @@ msgstr ""
|
|
529 |
"wie folgt aus:"
|
530 |
|
531 |
#: ../lib/yasr-settings-functions.php:317
|
532 |
-
#, fuzzy
|
533 |
msgid "Add New Multiple Set"
|
534 |
-
msgstr "
|
535 |
|
536 |
#: ../lib/yasr-settings-functions.php:318
|
537 |
-
#, fuzzy
|
538 |
msgid ""
|
539 |
"Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
|
540 |
"characters"
|
@@ -607,7 +536,6 @@ msgid "Save changes"
|
|
607 |
msgstr "Änderungen speichern"
|
608 |
|
609 |
#: ../lib/yasr-settings-functions.php:484
|
610 |
-
#, fuzzy
|
611 |
msgid "No Multiple Set were found"
|
612 |
msgstr "Keine Multi-Sets gefunden"
|
613 |
|
@@ -623,21 +551,18 @@ msgstr ""
|
|
623 |
"melde das Problem"
|
624 |
|
625 |
#: ../lib/yasr-settings-functions.php:745
|
626 |
-
#, fuzzy
|
627 |
msgid "Something goes wrong trying insert Multi Set name. Please report it"
|
628 |
msgstr ""
|
629 |
"Beim Einfügen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
|
630 |
"Problem"
|
631 |
|
632 |
#: ../lib/yasr-settings-functions.php:820
|
633 |
-
#, fuzzy
|
634 |
msgid "Something goes wrong trying to delete a Multi Set . Please report it"
|
635 |
msgstr ""
|
636 |
"Beim Löschen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
|
637 |
"Problem"
|
638 |
|
639 |
#: ../lib/yasr-settings-functions.php:866
|
640 |
-
#, fuzzy
|
641 |
msgid ""
|
642 |
"Something goes wrong trying to delete a Multi Set's element. Please report it"
|
643 |
msgstr ""
|
@@ -645,7 +570,6 @@ msgstr ""
|
|
645 |
"das Problem"
|
646 |
|
647 |
#: ../lib/yasr-settings-functions.php:930
|
648 |
-
#, fuzzy
|
649 |
msgid ""
|
650 |
"Something goes wrong trying to update a Multi Set's element. Please report it"
|
651 |
msgstr ""
|
@@ -681,23 +605,22 @@ msgid "Leave it blank if you don't know what you're doing"
|
|
681 |
msgstr " Lasse diesen Bereich leer, wenn du nicht weißt was du tust."
|
682 |
|
683 |
#: ../lib/yasr-settings-functions.php:1071
|
684 |
-
#, fuzzy
|
685 |
msgid "No previous Gd Star Rating installation was found"
|
686 |
msgstr "Es wurde keine Gd Star Ratings Installation gefunden"
|
687 |
|
688 |
-
#: ../lib/yasr-db-functions.php:214 ../lib/yasr-ajax-functions.php:
|
689 |
msgid "No Recenet votes yet"
|
690 |
msgstr "Keine kürzlichen Bewertungen"
|
691 |
|
692 |
-
#: ../lib/yasr-db-functions.php:229 ../lib/yasr-ajax-functions.php:
|
693 |
msgid "anonymous"
|
694 |
msgstr "Anonym"
|
695 |
|
696 |
-
#: ../lib/yasr-db-functions.php:252 ../lib/yasr-ajax-functions.php:
|
697 |
msgid "Ip address"
|
698 |
msgstr "IP-Adresse"
|
699 |
|
700 |
-
#: ../lib/yasr-db-functions.php:293 ../lib/yasr-ajax-functions.php:
|
701 |
msgid "Pages"
|
702 |
msgstr "Seiten"
|
703 |
|
@@ -714,14 +637,12 @@ msgid "Yet Another Stars Rating: Multiple set"
|
|
714 |
msgstr "Yet Another Stars Rating: Multi-Sets"
|
715 |
|
716 |
#: ../lib/yasr-functions.php:124
|
717 |
-
#, fuzzy
|
718 |
msgid "You don't have enought privileges to insert Overall Rating"
|
719 |
msgstr ""
|
720 |
"Du hast nicht die notwendigen Berechtigungen um eine Gesamtbewertung "
|
721 |
"einzufügen"
|
722 |
|
723 |
#: ../lib/yasr-functions.php:134
|
724 |
-
#, fuzzy
|
725 |
msgid "You don't have enought privileges to insert Multi Set"
|
726 |
msgstr ""
|
727 |
"Du hast nicht die notwendigen Berechtigungen um ein Multi-Set einzufügen"
|
@@ -743,264 +664,225 @@ msgid " on 5.0"
|
|
743 |
msgstr " mit 5"
|
744 |
|
745 |
#: ../lib/yasr-functions.php:888
|
746 |
-
|
747 |
-
|
748 |
-
msgstr "Durchschnittsbewertung"
|
749 |
|
750 |
#: ../lib/yasr-functions.php:889
|
751 |
msgid " user ratings"
|
752 |
msgstr " Besucherbewertungen"
|
753 |
|
754 |
-
#: ../lib/yasr-ajax-functions.php:
|
755 |
-
#, fuzzy
|
756 |
-
msgid "You've rated it "
|
757 |
-
msgstr " ist bewertet mit "
|
758 |
-
|
759 |
-
#: ../lib/yasr-ajax-functions.php:71
|
760 |
-
#, fuzzy
|
761 |
-
msgid "You've reset the vote"
|
762 |
-
msgstr "Um eine Bewertung abzugeben musst du angemeldet sein"
|
763 |
-
|
764 |
-
#: ../lib/yasr-ajax-functions.php:108
|
765 |
msgid "Choose a vote for each element"
|
766 |
msgstr "Wähle eine Bewertung für jedes Element"
|
767 |
|
768 |
-
#: ../lib/yasr-ajax-functions.php:
|
769 |
msgid "Remember to insert this shortcode"
|
770 |
msgstr "Diesen Shortcode"
|
771 |
|
772 |
-
#: ../lib/yasr-ajax-functions.php:
|
773 |
msgid "where you want to display this multi set"
|
774 |
msgstr "an der Stelle einfügen, wo das Multi-Set angezeigt werden soll."
|
775 |
|
776 |
-
#: ../lib/yasr-ajax-functions.php:
|
777 |
msgid "Choose a vote for every element"
|
778 |
msgstr "Wähle eine Bewertung für jedes Element"
|
779 |
|
780 |
-
#: ../lib/yasr-ajax-functions.php:
|
781 |
msgid "Main"
|
782 |
-
msgstr ""
|
783 |
|
784 |
-
#: ../lib/yasr-ajax-functions.php:
|
785 |
msgid "Charts"
|
786 |
-
msgstr ""
|
787 |
|
788 |
-
#: ../lib/yasr-ajax-functions.php:
|
789 |
msgid "Read the doc"
|
790 |
-
msgstr ""
|
791 |
|
792 |
-
#: ../lib/yasr-ajax-functions.php:
|
793 |
msgid "Overall Rating / Review"
|
794 |
msgstr "Gesamtbewertung (Autorenbewertung)"
|
795 |
|
796 |
-
#: ../lib/yasr-ajax-functions.php:
|
797 |
-
#, fuzzy
|
798 |
msgid "Insert Overall Rating"
|
799 |
-
msgstr "Gesamtbewertung"
|
800 |
|
801 |
-
#: ../lib/yasr-ajax-functions.php:
|
802 |
msgid "Insert Overall Rating / Review for this post"
|
803 |
-
msgstr "Gesamtbewertung
|
804 |
|
805 |
-
#: ../lib/yasr-ajax-functions.php:
|
806 |
msgid "Choose Size"
|
807 |
msgstr "Größe wählen"
|
808 |
|
809 |
-
#: ../lib/yasr-ajax-functions.php:
|
810 |
-
#, fuzzy
|
811 |
msgid "Insert Visitor Votes"
|
812 |
-
msgstr "Besucherbewertung"
|
813 |
|
814 |
-
#: ../lib/yasr-ajax-functions.php:
|
815 |
msgid "Insert the ability for your visitor to vote"
|
816 |
msgstr "Besucher dürfen Bewertungen abgeben"
|
817 |
|
818 |
-
#: ../lib/yasr-ajax-functions.php:
|
819 |
-
#, fuzzy
|
820 |
msgid "If you want to insert a Multi Set, pick one:"
|
821 |
-
msgstr "
|
822 |
|
823 |
-
#: ../lib/yasr-ajax-functions.php:
|
824 |
msgid "Choose wich set you want to insert."
|
825 |
-
msgstr "
|
826 |
|
827 |
-
#: ../lib/yasr-ajax-functions.php:
|
828 |
msgid "Insert Multiset:"
|
829 |
msgstr "Multi-Set einfügen:"
|
830 |
|
831 |
-
#: ../lib/yasr-ajax-functions.php:
|
832 |
-
#, fuzzy
|
833 |
msgid "Insert Multiple Set"
|
834 |
-
msgstr "Multi-Set einfügen
|
835 |
|
836 |
-
#: ../lib/yasr-ajax-functions.php:
|
837 |
msgid "Insert multiple set in this post ?"
|
838 |
-
msgstr ""
|
839 |
|
840 |
-
#: ../lib/yasr-ajax-functions.php:
|
841 |
-
#, fuzzy
|
842 |
msgid "Top 10 Overall Ratings"
|
843 |
-
msgstr "Top 10
|
844 |
|
845 |
-
#: ../lib/yasr-ajax-functions.php:
|
846 |
-
#, fuzzy
|
847 |
msgid "Insert Top 10 highest rated"
|
848 |
-
msgstr ""
|
849 |
-
"Füge die Top 10 höchst bewerteten Artikel/Seiten von Review-Autoren ein"
|
850 |
|
851 |
-
#: ../lib/yasr-ajax-functions.php:
|
852 |
msgid "Insert Top 10 highest rated by post author"
|
853 |
-
msgstr ""
|
854 |
-
"Füge die Top 10 höchst bewerteten Artikel/Seiten von Review-Autoren ein"
|
855 |
|
856 |
-
#: ../lib/yasr-ajax-functions.php:
|
857 |
-
#, fuzzy
|
858 |
msgid "Top 10 Visitor Ratings"
|
859 |
-
msgstr "Top 10
|
860 |
|
861 |
-
#: ../lib/yasr-ajax-functions.php:
|
862 |
-
#, fuzzy
|
863 |
msgid "Insert Top 10 posts by visitors"
|
864 |
-
msgstr "Top 10 Artikel
|
865 |
|
866 |
-
#: ../lib/yasr-ajax-functions.php:
|
867 |
msgid "Insert Top 10 most or higher rated posts from visitors"
|
868 |
-
msgstr ""
|
869 |
-
"Füge die Top 10 meist oder höchst bewertetsten Artikel/Seiten von Besuchern "
|
870 |
-
"ein"
|
871 |
|
872 |
-
#: ../lib/yasr-ajax-functions.php:
|
873 |
msgid "Most active reviewers"
|
874 |
-
msgstr "Aktivste Review-Autoren"
|
875 |
|
876 |
-
#: ../lib/yasr-ajax-functions.php:
|
877 |
-
#, fuzzy
|
878 |
msgid "Insert Top 5 most active reviewers"
|
879 |
-
msgstr "
|
880 |
|
881 |
-
#: ../lib/yasr-ajax-functions.php:
|
882 |
msgid "Insert Top 5 active reviewers"
|
883 |
msgstr "Füge die Top 5 aktivsten Review-Autoren ein"
|
884 |
|
885 |
-
#: ../lib/yasr-ajax-functions.php:
|
886 |
msgid "Most active users"
|
887 |
-
msgstr "Aktivste Besucher"
|
888 |
|
889 |
-
#: ../lib/yasr-ajax-functions.php:
|
890 |
-
#, fuzzy
|
891 |
msgid "Insert Top 10 most active users"
|
892 |
-
msgstr "Füge die Top
|
893 |
|
894 |
-
#: ../lib/yasr-ajax-functions.php:
|
895 |
-
#, fuzzy
|
896 |
msgid "Insert Top 10 active users in Visitor Ratings"
|
897 |
-
msgstr "
|
898 |
|
899 |
-
#: ../lib/yasr-ajax-functions.php:
|
900 |
-
#, fuzzy
|
901 |
msgid "Reviews and Visitor Votes have been successfull imported."
|
902 |
msgstr "Autoren-Reviews und Bewertungen wurden erfolgreich importiert."
|
903 |
|
904 |
-
#: ../lib/yasr-ajax-functions.php:
|
905 |
-
#, fuzzy
|
906 |
msgid ""
|
907 |
"Step2: I will check if you used Multiple Sets and if so I will import them. "
|
908 |
"THIS MAY TAKE A WHILE!"
|
909 |
msgstr ""
|
910 |
-
"Schritt 2: Prüfe ob Multi-Sets verwendet wurden und importiere diese "
|
911 |
-
"
|
912 |
|
913 |
-
#: ../lib/yasr-ajax-functions.php:
|
914 |
msgid "Proceed Step 2"
|
915 |
msgstr "Fortfahren mit Schritt 2"
|
916 |
|
917 |
-
#: ../lib/yasr-ajax-functions.php:
|
918 |
msgid "Something goes wrong! Refresh the page and try again!"
|
919 |
msgstr ""
|
920 |
"Hier ist etwas schief gelaufen. Bitte aktualisiere die Seite und versuche es "
|
921 |
"noch einmal!"
|
922 |
|
923 |
-
#: ../lib/yasr-ajax-functions.php:
|
924 |
-
#, fuzzy
|
925 |
msgid "I've found Multiple Set! Importing..."
|
926 |
msgstr "Es wurden verschiedene Multi-Sets gefunden. Starte Import..."
|
927 |
|
928 |
-
#: ../lib/yasr-ajax-functions.php:
|
929 |
-
#, fuzzy
|
930 |
msgid "Multi Set's name has been successfull imported."
|
931 |
msgstr "Multi-Set Namen wurden erfolgreich importiert."
|
932 |
|
933 |
-
#: ../lib/yasr-ajax-functions.php:
|
934 |
-
#, fuzzy
|
935 |
msgid "Now I'm going to import Multi Set data"
|
936 |
msgstr "Der Import der Multi-Set Daten wird gestartet"
|
937 |
|
938 |
-
#: ../lib/yasr-ajax-functions.php:
|
939 |
msgid "All votes has been successfull imported."
|
940 |
msgstr "Alle Bewertungen wurden erfolgreich importiert."
|
941 |
|
942 |
-
#: ../lib/yasr-ajax-functions.php:
|
943 |
msgid "Done"
|
944 |
msgstr "Fertig"
|
945 |
|
946 |
-
#: ../lib/yasr-ajax-functions.php:
|
947 |
-
#, fuzzy
|
948 |
msgid "I've found Multiple Set's votes but I couldn't insert into db"
|
949 |
msgstr ""
|
950 |
"Es wurden Multi-Set Bewertungen gefunden aber diese konnten nicht in der "
|
951 |
"Datenbank gespeichert werden."
|
952 |
|
953 |
-
#: ../lib/yasr-ajax-functions.php:
|
954 |
-
#, fuzzy
|
955 |
msgid "I've found Multi Set but with no data"
|
956 |
msgstr "Das Multi-Set wurde gefunden aber es sind keine Daten vorhanden"
|
957 |
|
958 |
-
#: ../lib/yasr-ajax-functions.php:
|
959 |
-
#, fuzzy
|
960 |
msgid "I've found Multi Sets names but I couldn't insert into db"
|
961 |
msgstr ""
|
962 |
-
"
|
963 |
-
"
|
964 |
|
965 |
-
#: ../lib/yasr-ajax-functions.php:
|
966 |
-
#, fuzzy
|
967 |
msgid "Multisets were not found. Imported is done!"
|
968 |
-
msgstr "Multi-Set
|
969 |
|
970 |
-
#: ../lib/yasr-ajax-functions.php:
|
971 |
-
#: ../lib/yasr-ajax-functions.php:
|
972 |
-
#: ../lib/yasr-ajax-functions.php:
|
973 |
msgid "Average rating"
|
974 |
msgstr "Durchschnittsbewertung"
|
975 |
|
976 |
-
#: ../lib/yasr-ajax-functions.php:
|
977 |
-
#: ../lib/yasr-ajax-functions.php:
|
978 |
-
#: ../lib/yasr-ajax-functions.php:
|
979 |
msgid "Vote Saved"
|
980 |
msgstr "Bewertung gespeichert"
|
981 |
|
982 |
-
#: ../lib/yasr-ajax-functions.php:
|
983 |
-
#: ../lib/yasr-ajax-functions.php:
|
984 |
msgid "Vote Updated"
|
985 |
msgstr "Bewertung aktualisiert"
|
986 |
|
987 |
-
#: ../lib/yasr-ajax-functions.php:
|
988 |
-
#: ../lib/yasr-ajax-functions.php:
|
989 |
msgid "Average "
|
990 |
msgstr "Durchschnitt"
|
991 |
|
992 |
-
#: ../lib/yasr-ajax-functions.php:
|
993 |
msgid "Total:"
|
994 |
msgstr "Gesamt:"
|
995 |
|
996 |
-
#: ../lib/yasr-ajax-functions.php:
|
997 |
msgid "Average"
|
998 |
msgstr "Durchschnitt"
|
999 |
|
1000 |
-
#, fuzzy
|
1001 |
-
#~ msgid " rating "
|
1002 |
-
#~ msgstr "Noch keine Bewertung"
|
1003 |
-
|
1004 |
#~ msgid " out of "
|
1005 |
#~ msgstr " von "
|
1006 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YASR lenguages\n"
|
4 |
+
"POT-Creation-Date: 2014-08-18 15:39+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-08-19 15:28+0100\n"
|
6 |
+
"Last-Translator: Josef Seidl <info@blog-it-solutions.de>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: de_DE\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.6.7\n"
|
13 |
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
"X-Poedit-SearchPath-1: ../lib\n"
|
18 |
|
19 |
#: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:75
|
20 |
+
#: ../lib/yasr-ajax-functions.php:29 ../lib/yasr-ajax-functions.php:89
|
21 |
+
#: ../lib/yasr-ajax-functions.php:228 ../lib/yasr-ajax-functions.php:752
|
22 |
msgid "You do not have sufficient permissions to access this page."
|
23 |
msgstr ""
|
24 |
"Du verfügst nicht über ausreichende Berechtigungen um auf diese Seite "
|
58 |
#: ../yasr-settings-page.php:84 ../yasr-settings-page.php:241
|
59 |
#: ../yasr-settings-page.php:278 ../yasr-settings-page.php:302
|
60 |
msgid "Thank you!"
|
61 |
+
msgstr "Herzlichen Dank!"
|
62 |
|
63 |
#: ../yasr-settings-page.php:104
|
64 |
msgid "Import Gd Star Rating"
|
65 |
msgstr "Importiere Gd Star Rating Daten"
|
66 |
|
67 |
#: ../yasr-settings-page.php:105
|
|
|
68 |
msgid "I've found a previous installation of Gd Star Rating."
|
69 |
+
msgstr "Es wurde eine Installation von Gd Star Rating gefunden."
|
|
|
|
|
70 |
|
71 |
#: ../yasr-settings-page.php:105
|
72 |
msgid "Do you want proceed to import data?"
|
73 |
+
msgstr "Willst du mit dem Import der Daten fortfahren?"
|
74 |
|
75 |
#: ../yasr-settings-page.php:107
|
76 |
msgid "Yes, Begin Import"
|
77 |
msgstr "Ja, Import starten"
|
78 |
|
79 |
#: ../yasr-settings-page.php:111
|
|
|
80 |
msgid "Click on Proceed to import Gd Star Rating data."
|
81 |
msgstr "Klicke auf Fortfahren um die Gd Star Rating Daten zu importieren."
|
82 |
|
105 |
msgstr "Ok, erneut importieren"
|
106 |
|
107 |
#: ../yasr-settings-page.php:144
|
|
|
108 |
msgid ""
|
109 |
"Click on Proceed to import again Gd Star Rating data. This may take a while!"
|
110 |
msgstr ""
|
111 |
"Klicke auf Fortfahren um die Gd Star Rating Daten erneut zu importieren. Das "
|
112 |
+
"kann eine Weile dauern!"
|
113 |
|
114 |
#: ../yasr-settings-page.php:185
|
|
|
115 |
msgid "Manage Multi Set"
|
116 |
+
msgstr "Multi-Sets verwalten"
|
117 |
|
118 |
#: ../yasr-settings-page.php:189
|
|
|
119 |
msgid "What is a Multi Set?"
|
120 |
msgstr "Was ist ein Multi-Set?"
|
121 |
|
122 |
#: ../yasr-settings-page.php:194
|
|
|
123 |
msgid ""
|
124 |
"Multi Set allows you to insert a rate for each aspect about the product / "
|
125 |
"local business / whetever you're reviewing, example in the image below."
|
126 |
msgstr ""
|
127 |
"Ein Multi-Set erlaubt dir eine Bewertung für verschiedene Aspekte eines "
|
128 |
+
"Produkts / lokalen Geschäfts etc. abzugeben. Die nachfolgende Abbildung "
|
129 |
+
"zeigt ein Beispiel."
|
130 |
|
131 |
#: ../yasr-settings-page.php:198
|
|
|
132 |
msgid ""
|
133 |
"You can create up to 99 different Multi Set and each one can contain up to 9 "
|
134 |
"different fields. Once you've saved it, you can insert the rates while "
|
136 |
"image (click to see it larger)"
|
137 |
msgstr ""
|
138 |
"Du kannst bis zu 99 verschiedene Multi-Sets mit jeweils bis zu 9 "
|
139 |
+
"verschiedenen Feldern anlegen. Sobald du alles gespeichert hast, kannst du "
|
140 |
+
"deine Bewertung direkt unterhalb des Editors abgeben, wie am Bild unten "
|
141 |
+
"(klicken zum Vergrößern) zu sehen ist."
|
|
|
142 |
|
143 |
#: ../yasr-settings-page.php:202
|
|
|
144 |
msgid ""
|
145 |
"In order to insert your Multi Sets into a post or page, you can either past "
|
146 |
"the short code that will appear at the bottom of the box or just click on "
|
147 |
"the star in the graphic editor and select \"Insert Multi Set\"."
|
148 |
msgstr ""
|
149 |
"Um deine Multi-Set in einen Beitrag oder in eine Seite einzufügen, kannst du "
|
150 |
+
"entweder den angezeigten Shortcode am Ende der Box nutzen oder einfach auf "
|
151 |
+
"den Stern im Editor klicken und \"Insert Multi-Set\" wählen."
|
|
|
152 |
|
153 |
#: ../yasr-settings-page.php:208
|
154 |
msgid "Close this message"
|
224 |
#: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
|
225 |
#: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
|
226 |
#: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
|
227 |
+
#: ../lib/yasr-functions.php:607 ../lib/yasr-ajax-functions.php:993
|
228 |
+
#: ../lib/yasr-ajax-functions.php:1001 ../lib/yasr-ajax-functions.php:1009
|
229 |
+
#: ../lib/yasr-ajax-functions.php:1021 ../lib/yasr-ajax-functions.php:1029
|
230 |
+
#: ../lib/yasr-ajax-functions.php:1036 ../lib/yasr-ajax-functions.php:1126
|
231 |
+
#: ../lib/yasr-ajax-functions.php:1134 ../lib/yasr-ajax-functions.php:1142
|
232 |
+
#: ../lib/yasr-ajax-functions.php:1178 ../lib/yasr-ajax-functions.php:1184
|
233 |
+
#: ../lib/yasr-ajax-functions.php:1190 ../lib/yasr-ajax-functions.php:1199
|
234 |
msgid "Total: "
|
235 |
msgstr "Gesamt:"
|
236 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
#: ../lib/yasr-shortcode-functions.php:157
|
238 |
#: ../lib/yasr-shortcode-functions.php:212
|
239 |
#: ../lib/yasr-shortcode-functions.php:272
|
247 |
msgstr "Du hast für diesen Artikel folgende Bewertung abgegeben: "
|
248 |
|
249 |
#: ../lib/yasr-shortcode-functions.php:241
|
|
|
250 |
#: ../lib/yasr-shortcode-functions.php:357
|
251 |
+
#: ../lib/yasr-shortcode-functions.php:473 ../lib/yasr-functions.php:370
|
252 |
+
#: ../lib/yasr-functions.php:486 ../lib/yasr-functions.php:602
|
|
|
|
|
|
|
|
|
253 |
msgid "You must sign to vote"
|
254 |
msgstr "Um eine Bewertung abzugeben musst du angemeldet sein"
|
255 |
|
290 |
msgstr "Anzeigeoptionen"
|
291 |
|
292 |
#: ../lib/yasr-settings-functions.php:33
|
|
|
293 |
msgid "Show \"Overall Rating\" in Home Page?"
|
294 |
msgstr "Gesamtbewertung auf der Startseite anzeigen?"
|
295 |
|
336 |
msgid "Overall Rating / Author Rating"
|
337 |
msgstr "Gesamtbewertung (Autorenbewertung)"
|
338 |
|
339 |
+
#: ../lib/yasr-settings-functions.php:87 ../lib/yasr-ajax-functions.php:355
|
340 |
msgid "Visitor Votes"
|
341 |
msgstr "Besucherbewertung"
|
342 |
|
360 |
msgid "Size"
|
361 |
msgstr "Größe"
|
362 |
|
363 |
+
#: ../lib/yasr-settings-functions.php:111 ../lib/yasr-ajax-functions.php:345
|
364 |
+
#: ../lib/yasr-ajax-functions.php:363
|
365 |
msgid "Small"
|
366 |
msgstr "Klein"
|
367 |
|
368 |
+
#: ../lib/yasr-settings-functions.php:116 ../lib/yasr-ajax-functions.php:346
|
369 |
+
#: ../lib/yasr-ajax-functions.php:364
|
370 |
msgid "Medium"
|
371 |
msgstr "Mittel"
|
372 |
|
373 |
+
#: ../lib/yasr-settings-functions.php:121 ../lib/yasr-ajax-functions.php:347
|
374 |
+
#: ../lib/yasr-ajax-functions.php:365
|
375 |
msgid "Large"
|
376 |
msgstr "Groß"
|
377 |
|
390 |
"Kategorien und im Archiv."
|
391 |
|
392 |
#: ../lib/yasr-settings-functions.php:198
|
|
|
393 |
msgid "Custom text to display before Overall Rating"
|
394 |
msgstr "Benutzerdefinierter Text vor der Gesamtbewertung (Autorenbewertung)"
|
395 |
|
396 |
#: ../lib/yasr-settings-functions.php:203
|
|
|
397 |
msgid "Custom text to display before Visitor Rating"
|
398 |
msgstr "Benutzerdefinierter Text vor der Besucherbewertung"
|
399 |
|
460 |
"wie folgt aus:"
|
461 |
|
462 |
#: ../lib/yasr-settings-functions.php:317
|
|
|
463 |
msgid "Add New Multiple Set"
|
464 |
+
msgstr "Neues Multi-Set hinzufügen"
|
465 |
|
466 |
#: ../lib/yasr-settings-functions.php:318
|
|
|
467 |
msgid ""
|
468 |
"Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
|
469 |
"characters"
|
536 |
msgstr "Änderungen speichern"
|
537 |
|
538 |
#: ../lib/yasr-settings-functions.php:484
|
|
|
539 |
msgid "No Multiple Set were found"
|
540 |
msgstr "Keine Multi-Sets gefunden"
|
541 |
|
551 |
"melde das Problem"
|
552 |
|
553 |
#: ../lib/yasr-settings-functions.php:745
|
|
|
554 |
msgid "Something goes wrong trying insert Multi Set name. Please report it"
|
555 |
msgstr ""
|
556 |
"Beim Einfügen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
|
557 |
"Problem"
|
558 |
|
559 |
#: ../lib/yasr-settings-functions.php:820
|
|
|
560 |
msgid "Something goes wrong trying to delete a Multi Set . Please report it"
|
561 |
msgstr ""
|
562 |
"Beim Löschen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
|
563 |
"Problem"
|
564 |
|
565 |
#: ../lib/yasr-settings-functions.php:866
|
|
|
566 |
msgid ""
|
567 |
"Something goes wrong trying to delete a Multi Set's element. Please report it"
|
568 |
msgstr ""
|
570 |
"das Problem"
|
571 |
|
572 |
#: ../lib/yasr-settings-functions.php:930
|
|
|
573 |
msgid ""
|
574 |
"Something goes wrong trying to update a Multi Set's element. Please report it"
|
575 |
msgstr ""
|
605 |
msgstr " Lasse diesen Bereich leer, wenn du nicht weißt was du tust."
|
606 |
|
607 |
#: ../lib/yasr-settings-functions.php:1071
|
|
|
608 |
msgid "No previous Gd Star Rating installation was found"
|
609 |
msgstr "Es wurde keine Gd Star Ratings Installation gefunden"
|
610 |
|
611 |
+
#: ../lib/yasr-db-functions.php:214 ../lib/yasr-ajax-functions.php:764
|
612 |
msgid "No Recenet votes yet"
|
613 |
msgstr "Keine kürzlichen Bewertungen"
|
614 |
|
615 |
+
#: ../lib/yasr-db-functions.php:229 ../lib/yasr-ajax-functions.php:777
|
616 |
msgid "anonymous"
|
617 |
msgstr "Anonym"
|
618 |
|
619 |
+
#: ../lib/yasr-db-functions.php:252 ../lib/yasr-ajax-functions.php:800
|
620 |
msgid "Ip address"
|
621 |
msgstr "IP-Adresse"
|
622 |
|
623 |
+
#: ../lib/yasr-db-functions.php:293 ../lib/yasr-ajax-functions.php:841
|
624 |
msgid "Pages"
|
625 |
msgstr "Seiten"
|
626 |
|
637 |
msgstr "Yet Another Stars Rating: Multi-Sets"
|
638 |
|
639 |
#: ../lib/yasr-functions.php:124
|
|
|
640 |
msgid "You don't have enought privileges to insert Overall Rating"
|
641 |
msgstr ""
|
642 |
"Du hast nicht die notwendigen Berechtigungen um eine Gesamtbewertung "
|
643 |
"einzufügen"
|
644 |
|
645 |
#: ../lib/yasr-functions.php:134
|
|
|
646 |
msgid "You don't have enought privileges to insert Multi Set"
|
647 |
msgstr ""
|
648 |
"Du hast nicht die notwendigen Berechtigungen um ein Multi-Set einzufügen"
|
664 |
msgstr " mit 5"
|
665 |
|
666 |
#: ../lib/yasr-functions.php:888
|
667 |
+
msgid " rating "
|
668 |
+
msgstr " Bewertung"
|
|
|
669 |
|
670 |
#: ../lib/yasr-functions.php:889
|
671 |
msgid " user ratings"
|
672 |
msgstr " Besucherbewertungen"
|
673 |
|
674 |
+
#: ../lib/yasr-ajax-functions.php:100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
675 |
msgid "Choose a vote for each element"
|
676 |
msgstr "Wähle eine Bewertung für jedes Element"
|
677 |
|
678 |
+
#: ../lib/yasr-ajax-functions.php:156 ../lib/yasr-ajax-functions.php:199
|
679 |
msgid "Remember to insert this shortcode"
|
680 |
msgstr "Diesen Shortcode"
|
681 |
|
682 |
+
#: ../lib/yasr-ajax-functions.php:158 ../lib/yasr-ajax-functions.php:201
|
683 |
msgid "where you want to display this multi set"
|
684 |
msgstr "an der Stelle einfügen, wo das Multi-Set angezeigt werden soll."
|
685 |
|
686 |
+
#: ../lib/yasr-ajax-functions.php:166
|
687 |
msgid "Choose a vote for every element"
|
688 |
msgstr "Wähle eine Bewertung für jedes Element"
|
689 |
|
690 |
+
#: ../lib/yasr-ajax-functions.php:325
|
691 |
msgid "Main"
|
692 |
+
msgstr "Allgemein"
|
693 |
|
694 |
+
#: ../lib/yasr-ajax-functions.php:326
|
695 |
msgid "Charts"
|
696 |
+
msgstr "Charts"
|
697 |
|
698 |
+
#: ../lib/yasr-ajax-functions.php:328
|
699 |
msgid "Read the doc"
|
700 |
+
msgstr "Lese die Dokumentation"
|
701 |
|
702 |
+
#: ../lib/yasr-ajax-functions.php:337
|
703 |
msgid "Overall Rating / Review"
|
704 |
msgstr "Gesamtbewertung (Autorenbewertung)"
|
705 |
|
706 |
+
#: ../lib/yasr-ajax-functions.php:339
|
|
|
707 |
msgid "Insert Overall Rating"
|
708 |
+
msgstr "Gesamtbewertung einfügen"
|
709 |
|
710 |
+
#: ../lib/yasr-ajax-functions.php:340
|
711 |
msgid "Insert Overall Rating / Review for this post"
|
712 |
+
msgstr "Gesamtbewertung der Review-Autoren einfügen"
|
713 |
|
714 |
+
#: ../lib/yasr-ajax-functions.php:343 ../lib/yasr-ajax-functions.php:361
|
715 |
msgid "Choose Size"
|
716 |
msgstr "Größe wählen"
|
717 |
|
718 |
+
#: ../lib/yasr-ajax-functions.php:357
|
|
|
719 |
msgid "Insert Visitor Votes"
|
720 |
+
msgstr "Besucherbewertung einfügen"
|
721 |
|
722 |
+
#: ../lib/yasr-ajax-functions.php:358
|
723 |
msgid "Insert the ability for your visitor to vote"
|
724 |
msgstr "Besucher dürfen Bewertungen abgeben"
|
725 |
|
726 |
+
#: ../lib/yasr-ajax-functions.php:375
|
|
|
727 |
msgid "If you want to insert a Multi Set, pick one:"
|
728 |
+
msgstr "Vorhandene Multi-Sets"
|
729 |
|
730 |
+
#: ../lib/yasr-ajax-functions.php:381
|
731 |
msgid "Choose wich set you want to insert."
|
732 |
+
msgstr "Wähle das einzufügende Multi-Set."
|
733 |
|
734 |
+
#: ../lib/yasr-ajax-functions.php:389
|
735 |
msgid "Insert Multiset:"
|
736 |
msgstr "Multi-Set einfügen:"
|
737 |
|
738 |
+
#: ../lib/yasr-ajax-functions.php:392
|
|
|
739 |
msgid "Insert Multiple Set"
|
740 |
+
msgstr "Multi-Set einfügen"
|
741 |
|
742 |
+
#: ../lib/yasr-ajax-functions.php:393
|
743 |
msgid "Insert multiple set in this post ?"
|
744 |
+
msgstr "Multi-Set in Artikel/Seite einfügen?"
|
745 |
|
746 |
+
#: ../lib/yasr-ajax-functions.php:408
|
|
|
747 |
msgid "Top 10 Overall Ratings"
|
748 |
+
msgstr "Top 10 Gesamtbewertung"
|
749 |
|
750 |
+
#: ../lib/yasr-ajax-functions.php:409
|
|
|
751 |
msgid "Insert Top 10 highest rated"
|
752 |
+
msgstr "Füge die Top 10 höchst bewerteten Artikel ein"
|
|
|
753 |
|
754 |
+
#: ../lib/yasr-ajax-functions.php:410
|
755 |
msgid "Insert Top 10 highest rated by post author"
|
756 |
+
msgstr "Top 10 höchst bewerteten Artikel/Seiten von Review-Autoren"
|
|
|
757 |
|
758 |
+
#: ../lib/yasr-ajax-functions.php:414
|
|
|
759 |
msgid "Top 10 Visitor Ratings"
|
760 |
+
msgstr "Top 10 Besucherbewertungen"
|
761 |
|
762 |
+
#: ../lib/yasr-ajax-functions.php:415
|
|
|
763 |
msgid "Insert Top 10 posts by visitors"
|
764 |
+
msgstr "Füge die Top 10 Artikel ein"
|
765 |
|
766 |
+
#: ../lib/yasr-ajax-functions.php:416
|
767 |
msgid "Insert Top 10 most or higher rated posts from visitors"
|
768 |
+
msgstr "Top 10 meist oder höchst bewertetsten Artikel/Seiten von Besuchern"
|
|
|
|
|
769 |
|
770 |
+
#: ../lib/yasr-ajax-functions.php:420
|
771 |
msgid "Most active reviewers"
|
772 |
+
msgstr "Top 5 Aktivste Review-Autoren"
|
773 |
|
774 |
+
#: ../lib/yasr-ajax-functions.php:421
|
|
|
775 |
msgid "Insert Top 5 most active reviewers"
|
776 |
+
msgstr "Top 5 aktivsten Review-Autoren"
|
777 |
|
778 |
+
#: ../lib/yasr-ajax-functions.php:422
|
779 |
msgid "Insert Top 5 active reviewers"
|
780 |
msgstr "Füge die Top 5 aktivsten Review-Autoren ein"
|
781 |
|
782 |
+
#: ../lib/yasr-ajax-functions.php:426
|
783 |
msgid "Most active users"
|
784 |
+
msgstr "Top 10 Aktivste Besucher"
|
785 |
|
786 |
+
#: ../lib/yasr-ajax-functions.php:427
|
|
|
787 |
msgid "Insert Top 10 most active users"
|
788 |
+
msgstr "Füge die Top 10 aktivsten Besucher ein"
|
789 |
|
790 |
+
#: ../lib/yasr-ajax-functions.php:428
|
|
|
791 |
msgid "Insert Top 10 active users in Visitor Ratings"
|
792 |
+
msgstr "Top 10 aktivsten Besucher"
|
793 |
|
794 |
+
#: ../lib/yasr-ajax-functions.php:622
|
|
|
795 |
msgid "Reviews and Visitor Votes have been successfull imported."
|
796 |
msgstr "Autoren-Reviews und Bewertungen wurden erfolgreich importiert."
|
797 |
|
798 |
+
#: ../lib/yasr-ajax-functions.php:628
|
|
|
799 |
msgid ""
|
800 |
"Step2: I will check if you used Multiple Sets and if so I will import them. "
|
801 |
"THIS MAY TAKE A WHILE!"
|
802 |
msgstr ""
|
803 |
+
"Schritt 2: Prüfe ob Multi-Sets verwendet wurden und importiere diese. DAS "
|
804 |
+
"KANN ETWAS DAUERN!"
|
805 |
|
806 |
+
#: ../lib/yasr-ajax-functions.php:630
|
807 |
msgid "Proceed Step 2"
|
808 |
msgstr "Fortfahren mit Schritt 2"
|
809 |
|
810 |
+
#: ../lib/yasr-ajax-functions.php:637
|
811 |
msgid "Something goes wrong! Refresh the page and try again!"
|
812 |
msgstr ""
|
813 |
"Hier ist etwas schief gelaufen. Bitte aktualisiere die Seite und versuche es "
|
814 |
"noch einmal!"
|
815 |
|
816 |
+
#: ../lib/yasr-ajax-functions.php:666
|
|
|
817 |
msgid "I've found Multiple Set! Importing..."
|
818 |
msgstr "Es wurden verschiedene Multi-Sets gefunden. Starte Import..."
|
819 |
|
820 |
+
#: ../lib/yasr-ajax-functions.php:675
|
|
|
821 |
msgid "Multi Set's name has been successfull imported."
|
822 |
msgstr "Multi-Set Namen wurden erfolgreich importiert."
|
823 |
|
824 |
+
#: ../lib/yasr-ajax-functions.php:677
|
|
|
825 |
msgid "Now I'm going to import Multi Set data"
|
826 |
msgstr "Der Import der Multi-Set Daten wird gestartet"
|
827 |
|
828 |
+
#: ../lib/yasr-ajax-functions.php:688
|
829 |
msgid "All votes has been successfull imported."
|
830 |
msgstr "Alle Bewertungen wurden erfolgreich importiert."
|
831 |
|
832 |
+
#: ../lib/yasr-ajax-functions.php:690
|
833 |
msgid "Done"
|
834 |
msgstr "Fertig"
|
835 |
|
836 |
+
#: ../lib/yasr-ajax-functions.php:695
|
|
|
837 |
msgid "I've found Multiple Set's votes but I couldn't insert into db"
|
838 |
msgstr ""
|
839 |
"Es wurden Multi-Set Bewertungen gefunden aber diese konnten nicht in der "
|
840 |
"Datenbank gespeichert werden."
|
841 |
|
842 |
+
#: ../lib/yasr-ajax-functions.php:703
|
|
|
843 |
msgid "I've found Multi Set but with no data"
|
844 |
msgstr "Das Multi-Set wurde gefunden aber es sind keine Daten vorhanden"
|
845 |
|
846 |
+
#: ../lib/yasr-ajax-functions.php:712
|
|
|
847 |
msgid "I've found Multi Sets names but I couldn't insert into db"
|
848 |
msgstr ""
|
849 |
+
"Multi-Set Namen wurde gefunden aber konnten nicht in die Datenbank "
|
850 |
+
"importiert werden"
|
851 |
|
852 |
+
#: ../lib/yasr-ajax-functions.php:720
|
|
|
853 |
msgid "Multisets were not found. Imported is done!"
|
854 |
+
msgstr "Kein Multi-Set gefunden aber Import war erfolgreich!"
|
855 |
|
856 |
+
#: ../lib/yasr-ajax-functions.php:993 ../lib/yasr-ajax-functions.php:1001
|
857 |
+
#: ../lib/yasr-ajax-functions.php:1009 ../lib/yasr-ajax-functions.php:1021
|
858 |
+
#: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1036
|
859 |
msgid "Average rating"
|
860 |
msgstr "Durchschnittsbewertung"
|
861 |
|
862 |
+
#: ../lib/yasr-ajax-functions.php:994 ../lib/yasr-ajax-functions.php:1002
|
863 |
+
#: ../lib/yasr-ajax-functions.php:1010 ../lib/yasr-ajax-functions.php:1022
|
864 |
+
#: ../lib/yasr-ajax-functions.php:1030 ../lib/yasr-ajax-functions.php:1037
|
865 |
msgid "Vote Saved"
|
866 |
msgstr "Bewertung gespeichert"
|
867 |
|
868 |
+
#: ../lib/yasr-ajax-functions.php:1127 ../lib/yasr-ajax-functions.php:1135
|
869 |
+
#: ../lib/yasr-ajax-functions.php:1143
|
870 |
msgid "Vote Updated"
|
871 |
msgstr "Bewertung aktualisiert"
|
872 |
|
873 |
+
#: ../lib/yasr-ajax-functions.php:1178 ../lib/yasr-ajax-functions.php:1184
|
874 |
+
#: ../lib/yasr-ajax-functions.php:1190 ../lib/yasr-ajax-functions.php:1199
|
875 |
msgid "Average "
|
876 |
msgstr "Durchschnitt"
|
877 |
|
878 |
+
#: ../lib/yasr-ajax-functions.php:1257 ../lib/yasr-ajax-functions.php:1292
|
879 |
msgid "Total:"
|
880 |
msgstr "Gesamt:"
|
881 |
|
882 |
+
#: ../lib/yasr-ajax-functions.php:1257 ../lib/yasr-ajax-functions.php:1292
|
883 |
msgid "Average"
|
884 |
msgstr "Durchschnitt"
|
885 |
|
|
|
|
|
|
|
|
|
886 |
#~ msgid " out of "
|
887 |
#~ msgstr " von "
|
888 |
|
languages/yasr-it_IT.mo
CHANGED
Binary file
|
languages/yasr-it_IT.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Yasr Translation\n"
|
4 |
-
"POT-Creation-Date: 2014-08-
|
5 |
-
"PO-Revision-Date: 2014-08-
|
6 |
"Last-Translator: Dario <thedudoworld@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: it\n"
|
@@ -21,29 +21,33 @@ msgstr ""
|
|
21 |
msgid "You do not have sufficient permissions to access this page."
|
22 |
msgstr "Non hai permeessi sufficienti per accedere a questa pagina"
|
23 |
|
24 |
-
#: ../yasr-settings-page.php:
|
|
|
|
|
|
|
|
|
25 |
msgid "General Settings"
|
26 |
msgstr "Impostazioni generali"
|
27 |
|
28 |
-
#: ../yasr-settings-page.php:
|
29 |
msgid "Multi Sets"
|
30 |
msgstr "Set Multipli"
|
31 |
|
32 |
-
#: ../yasr-settings-page.php:
|
33 |
msgid "Styles"
|
34 |
msgstr "Stili"
|
35 |
|
36 |
-
#: ../yasr-settings-page.php:
|
37 |
msgid "Save"
|
38 |
msgstr "Salva"
|
39 |
|
40 |
-
#: ../yasr-settings-page.php:
|
41 |
-
#: ../yasr-settings-page.php:
|
42 |
msgid "Donations"
|
43 |
msgstr "Donazioni"
|
44 |
|
45 |
-
#: ../yasr-settings-page.php:
|
46 |
-
#: ../yasr-settings-page.php:
|
47 |
msgid ""
|
48 |
"If you have found this plugin useful, please consider making a donation to "
|
49 |
"help support future development. Your support will be much appreciated. "
|
@@ -52,71 +56,71 @@ msgstr ""
|
|
52 |
"supportarne lo sviluppo. Il tuo aiuto sarà molto apprezzato! P.s. YASR è "
|
53 |
"made in Italy ;)"
|
54 |
|
55 |
-
#: ../yasr-settings-page.php:
|
56 |
-
#: ../yasr-settings-page.php:
|
57 |
msgid "Thank you!"
|
58 |
msgstr "Grazie!"
|
59 |
|
60 |
-
#: ../yasr-settings-page.php:
|
61 |
msgid "Import Gd Star Rating"
|
62 |
msgstr "Importa Gd Star Rating"
|
63 |
|
64 |
-
#: ../yasr-settings-page.php:
|
65 |
msgid "I've found a previous installation of Gd Star Rating."
|
66 |
msgstr "Ho trovato un'installazione precedentedente di Gd Star Rating"
|
67 |
|
68 |
-
#: ../yasr-settings-page.php:
|
69 |
msgid "Do you want proceed to import data?"
|
70 |
msgstr "Vuoi procedere nell'importazione dei dati?"
|
71 |
|
72 |
-
#: ../yasr-settings-page.php:
|
73 |
msgid "Yes, Begin Import"
|
74 |
msgstr "Si, Inizia"
|
75 |
|
76 |
-
#: ../yasr-settings-page.php:
|
77 |
msgid "Click on Proceed to import Gd Star Rating data."
|
78 |
msgstr "Clicca su Procedi per importare i dati di Gd Star Rating"
|
79 |
|
80 |
-
#: ../yasr-settings-page.php:
|
81 |
msgid "Proceed"
|
82 |
msgstr "Procedi"
|
83 |
|
84 |
-
#: ../yasr-settings-page.php:
|
85 |
msgid "Manage GD Star Data"
|
86 |
msgstr "Gestisci dati di GD Star Rating"
|
87 |
|
88 |
-
#: ../yasr-settings-page.php:
|
89 |
msgid "Gd Star Rating has been already imported."
|
90 |
msgstr "Gd Star Rating è stato già importato"
|
91 |
|
92 |
-
#: ../yasr-settings-page.php:
|
93 |
msgid "If you wish you can import it again, but"
|
94 |
msgstr "Se vuoi lo puoi importare di nuovo, ma"
|
95 |
|
96 |
-
#: ../yasr-settings-page.php:
|
97 |
msgid "you will lose all data you've collect since the import!"
|
98 |
msgstr "perderai tutti i dati che hai realizzato dall'import in poi!"
|
99 |
|
100 |
-
#: ../yasr-settings-page.php:
|
101 |
msgid "Ok, Import Again"
|
102 |
msgstr "Ok, importa nuovamente"
|
103 |
|
104 |
-
#: ../yasr-settings-page.php:
|
105 |
msgid ""
|
106 |
"Click on Proceed to import again Gd Star Rating data. This may take a while!"
|
107 |
msgstr ""
|
108 |
"Clicca su Procedi per importare di nuovo i dati di Gd Star Rating. Potrebbe "
|
109 |
"richiedere un pò di tempo!"
|
110 |
|
111 |
-
#: ../yasr-settings-page.php:
|
112 |
msgid "Manage Multi Set"
|
113 |
msgstr "Set Multipli"
|
114 |
|
115 |
-
#: ../yasr-settings-page.php:
|
116 |
msgid "What is a Multi Set?"
|
117 |
msgstr "Che cos'è un Set Multiplo?"
|
118 |
|
119 |
-
#: ../yasr-settings-page.php:
|
120 |
msgid ""
|
121 |
"Multi Set allows you to insert a rate for each aspect about the product / "
|
122 |
"local business / whetever you're reviewing, example in the image below."
|
@@ -125,7 +129,7 @@ msgstr ""
|
|
125 |
"prodotto / attività / qualsiasi cosa tua stia recensendo, esempio "
|
126 |
"nell'immagine sottostante."
|
127 |
|
128 |
-
#: ../yasr-settings-page.php:
|
129 |
msgid ""
|
130 |
"You can create up to 99 different Multi Set and each one can contain up to 9 "
|
131 |
"different fields. Once you've saved it, you can insert the rates while "
|
@@ -137,7 +141,7 @@ msgstr ""
|
|
137 |
"scrivendo il tuo articolo nel box sotto l'editor, come puoi vedere in questa "
|
138 |
"immagine (clicca per allargare)"
|
139 |
|
140 |
-
#: ../yasr-settings-page.php:
|
141 |
msgid ""
|
142 |
"In order to insert your Multi Sets into a post or page, you can either past "
|
143 |
"the short code that will appear at the bottom of the box or just click on "
|
@@ -148,7 +152,7 @@ msgstr ""
|
|
148 |
"cliccare sulla stella presente nell'editor visuale e selezionare \"Inserisci "
|
149 |
"Set Multiplo\""
|
150 |
|
151 |
-
#: ../yasr-settings-page.php:
|
152 |
msgid "Close this message"
|
153 |
msgstr "Chiudi questo messaggio"
|
154 |
|
@@ -157,7 +161,7 @@ msgid "Choose wich set you want to use"
|
|
157 |
msgstr "Scegli che set vuoi usare"
|
158 |
|
159 |
#: ../yasr-metabox-multiple-rating.php:26
|
160 |
-
#: ../lib/yasr-settings-functions.php:
|
161 |
msgid "Select"
|
162 |
msgstr "Seleziona"
|
163 |
|
@@ -166,7 +170,7 @@ msgid "Rate this article / item"
|
|
166 |
msgstr "Vota questo articolo / oggetto"
|
167 |
|
168 |
#: ../yasr-metabox-overall-rating.php:22
|
169 |
-
#: ../lib/yasr-shortcode-functions.php:
|
170 |
msgid "Loading, please wait"
|
171 |
msgstr "Caricamento, attendere prego"
|
172 |
|
@@ -178,51 +182,36 @@ msgstr ""
|
|
178 |
"Ricorda di inserire questo shortcode <strong>[yasr_overall_rating]</strong> "
|
179 |
"dove vuoi far apparire questo voto"
|
180 |
|
181 |
-
#: ../lib/yasr-shortcode-functions.php:
|
182 |
-
#: ../lib/yasr-shortcode-functions.php:
|
183 |
-
#: ../lib/yasr-shortcode-functions.php:
|
184 |
-
#: ../lib/yasr-shortcode-functions.php:
|
185 |
-
#: ../lib/yasr-shortcode-functions.php:191
|
186 |
-
#: ../lib/yasr-shortcode-functions.php:211
|
187 |
#: ../lib/yasr-shortcode-functions.php:220
|
188 |
-
#: ../lib/yasr-shortcode-functions.php:226
|
189 |
#: ../lib/yasr-shortcode-functions.php:240
|
190 |
-
#: ../lib/yasr-shortcode-functions.php:
|
191 |
-
#: ../lib/yasr-shortcode-functions.php:
|
192 |
-
#: ../lib/yasr-shortcode-functions.php:
|
193 |
-
#: ../lib/yasr-shortcode-functions.php:
|
194 |
-
#: ../lib/yasr-shortcode-functions.php:
|
195 |
-
#: ../lib/yasr-shortcode-functions.php:
|
196 |
-
#: ../lib/yasr-shortcode-functions.php:
|
197 |
-
#: ../lib/yasr-shortcode-functions.php:
|
198 |
-
#: ../lib/yasr-shortcode-functions.php:
|
199 |
#: ../lib/yasr-shortcode-functions.php:356
|
200 |
-
#: ../lib/yasr-shortcode-functions.php:
|
201 |
-
#: ../lib/yasr-shortcode-functions.php:
|
202 |
-
#: ../lib/yasr-shortcode-functions.php:
|
203 |
-
#: ../lib/yasr-shortcode-functions.php:
|
204 |
-
#: ../lib/yasr-shortcode-functions.php:
|
205 |
-
#: ../lib/yasr-shortcode-functions.php:
|
206 |
-
#: ../lib/yasr-shortcode-functions.php:
|
207 |
-
#: ../lib/yasr-shortcode-functions.php:
|
208 |
-
#: ../lib/yasr-shortcode-functions.php:
|
209 |
#: ../lib/yasr-shortcode-functions.php:472
|
210 |
-
#: ../lib/yasr-shortcode-functions.php:
|
211 |
-
#: ../lib/yasr-
|
212 |
-
#: ../lib/yasr-
|
213 |
-
#: ../lib/yasr-functions.php:
|
214 |
-
#: ../lib/yasr-functions.php:355 ../lib/yasr-functions.php:369
|
215 |
-
#: ../lib/yasr-functions.php:375 ../lib/yasr-functions.php:400
|
216 |
-
#: ../lib/yasr-functions.php:412 ../lib/yasr-functions.php:417
|
217 |
-
#: ../lib/yasr-functions.php:430 ../lib/yasr-functions.php:435
|
218 |
-
#: ../lib/yasr-functions.php:456 ../lib/yasr-functions.php:465
|
219 |
-
#: ../lib/yasr-functions.php:471 ../lib/yasr-functions.php:485
|
220 |
-
#: ../lib/yasr-functions.php:491 ../lib/yasr-functions.php:516
|
221 |
-
#: ../lib/yasr-functions.php:528 ../lib/yasr-functions.php:533
|
222 |
-
#: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
|
223 |
-
#: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
|
224 |
-
#: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
|
225 |
-
#: ../lib/yasr-functions.php:607 ../lib/yasr-ajax-functions.php:1001
|
226 |
#: ../lib/yasr-ajax-functions.php:1009 ../lib/yasr-ajax-functions.php:1017
|
227 |
#: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1037
|
228 |
#: ../lib/yasr-ajax-functions.php:1044 ../lib/yasr-ajax-functions.php:1134
|
@@ -232,43 +221,70 @@ msgstr ""
|
|
232 |
msgid "Total: "
|
233 |
msgstr "Voti: "
|
234 |
|
235 |
-
#: ../lib/yasr-shortcode-functions.php:
|
236 |
-
#: ../lib/yasr-shortcode-functions.php:
|
237 |
-
#: ../lib/yasr-shortcode-functions.php:
|
238 |
-
#: ../lib/yasr-shortcode-functions.php:
|
239 |
-
#: ../lib/yasr-shortcode-functions.php:
|
240 |
-
#: ../lib/yasr-shortcode-functions.php:
|
241 |
-
#: ../lib/yasr-
|
242 |
-
#: ../lib/yasr-
|
243 |
-
#: ../lib/yasr-functions.php:
|
244 |
-
|
245 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
|
|
|
247 |
#: ../lib/yasr-shortcode-functions.php:241
|
248 |
-
#: ../lib/yasr-shortcode-functions.php:
|
249 |
#: ../lib/yasr-shortcode-functions.php:357
|
250 |
-
#: ../lib/yasr-shortcode-functions.php:
|
251 |
#: ../lib/yasr-shortcode-functions.php:473
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
#: ../lib/yasr-functions.php:
|
|
|
|
|
|
|
|
|
|
|
256 |
msgid "You must sign to vote"
|
257 |
msgstr "Devi fare il login per votare"
|
258 |
|
259 |
-
#: ../lib/yasr-shortcode-functions.php:
|
260 |
msgid "Rating"
|
261 |
-
msgstr ""
|
262 |
|
263 |
-
#: ../lib/yasr-shortcode-functions.php:
|
264 |
msgid "You don't have any votes stored"
|
265 |
msgstr "Non hai alcun voto salvato"
|
266 |
|
267 |
-
#: ../lib/yasr-shortcode-functions.php:
|
268 |
msgid "Chart is loading, please wait"
|
269 |
msgstr "Caricamento classifica, attendere prego"
|
270 |
|
271 |
-
#: ../lib/yasr-shortcode-functions.php:
|
272 |
msgid ""
|
273 |
"Problem while retriving the top 5 most active reviewers. Did you published "
|
274 |
"any review?"
|
@@ -276,7 +292,7 @@ msgstr ""
|
|
276 |
"C'è stato un problema nell'ottenere la classifica dei 5 recensori più "
|
277 |
"attivi. Hai pubblicato qualche recensione?"
|
278 |
|
279 |
-
#: ../lib/yasr-shortcode-functions.php:
|
280 |
msgid ""
|
281 |
"Problem while retriving the top 10 active users chart. Are you sure you have "
|
282 |
"votes to show?"
|
@@ -317,71 +333,71 @@ msgid "Use Auto Insert?"
|
|
317 |
msgstr "Usare l'inserimento automatico?"
|
318 |
|
319 |
#: ../lib/yasr-settings-functions.php:54
|
320 |
-
#: ../lib/yasr-settings-functions.php:
|
321 |
-
#: ../lib/yasr-settings-functions.php:
|
322 |
-
#: ../lib/yasr-settings-functions.php:
|
323 |
msgid "Yes"
|
324 |
msgstr "Si"
|
325 |
|
326 |
-
#: ../lib/yasr-settings-functions.php:
|
327 |
-
#: ../lib/yasr-settings-functions.php:
|
328 |
-
#: ../lib/yasr-settings-functions.php:
|
329 |
-
#: ../lib/yasr-settings-functions.php:
|
330 |
msgid "No"
|
331 |
msgstr "No"
|
332 |
|
333 |
-
#: ../lib/yasr-settings-functions.php:
|
334 |
msgid "What?"
|
335 |
msgstr "Cosa?"
|
336 |
|
337 |
-
#: ../lib/yasr-settings-functions.php:
|
338 |
msgid "Overall Rating / Author Rating"
|
339 |
msgstr "Voto Complessivo / Voto Autore"
|
340 |
|
341 |
-
#: ../lib/yasr-settings-functions.php:
|
342 |
msgid "Visitor Votes"
|
343 |
msgstr "Voto Utenti"
|
344 |
|
345 |
-
#: ../lib/yasr-settings-functions.php:
|
346 |
msgid "Both"
|
347 |
msgstr "Entrambi"
|
348 |
|
349 |
-
#: ../lib/yasr-settings-functions.php:
|
350 |
msgid "Where?"
|
351 |
msgstr "Dove?"
|
352 |
|
353 |
-
#: ../lib/yasr-settings-functions.php:
|
354 |
msgid "Before the post"
|
355 |
msgstr "Prima del contenuto"
|
356 |
|
357 |
-
#: ../lib/yasr-settings-functions.php:
|
358 |
msgid "After the post"
|
359 |
msgstr "Dopo il contenuto"
|
360 |
|
361 |
-
#: ../lib/yasr-settings-functions.php:
|
362 |
msgid "Size"
|
363 |
msgstr "Grandezza"
|
364 |
|
365 |
-
#: ../lib/yasr-settings-functions.php:
|
366 |
#: ../lib/yasr-ajax-functions.php:371
|
367 |
msgid "Small"
|
368 |
msgstr "Piccolo"
|
369 |
|
370 |
-
#: ../lib/yasr-settings-functions.php:
|
371 |
#: ../lib/yasr-ajax-functions.php:372
|
372 |
msgid "Medium"
|
373 |
msgstr "Medio"
|
374 |
|
375 |
-
#: ../lib/yasr-settings-functions.php:
|
376 |
#: ../lib/yasr-ajax-functions.php:373
|
377 |
msgid "Large"
|
378 |
msgstr "Grande"
|
379 |
|
380 |
-
#: ../lib/yasr-settings-functions.php:
|
381 |
msgid "Exclude Pages?"
|
382 |
msgstr "Escludere pagine?"
|
383 |
|
384 |
-
#: ../lib/yasr-settings-functions.php:
|
385 |
msgid ""
|
386 |
"If you enable this, \"Overall Rating\" will be showed not only in the single "
|
387 |
"article or page, but also in pages like Home Page, category pages or "
|
@@ -391,60 +407,60 @@ msgstr ""
|
|
391 |
"articolo o nella singola pagina, ma anche in pagine come l' Home Page, "
|
392 |
"categorie o archivi"
|
393 |
|
394 |
-
#: ../lib/yasr-settings-functions.php:
|
395 |
msgid "Custom text to display before Overall Rating"
|
396 |
msgstr "Testo personalizzato da visualizzare prima del Voto Complessivo"
|
397 |
|
398 |
-
#: ../lib/yasr-settings-functions.php:
|
399 |
msgid "Custom text to display before Visitor Rating"
|
400 |
msgstr "Testo personalizzato da visualizzare prima del Voto Complessivo"
|
401 |
|
402 |
-
#: ../lib/yasr-settings-functions.php:
|
403 |
msgid "Custom text to display when a non logged user has already rated"
|
404 |
msgstr ""
|
405 |
"Testo personalizzato da mostrare quanto un utente non loggato ha già votato"
|
406 |
|
407 |
-
#: ../lib/yasr-settings-functions.php:
|
408 |
msgid "Light"
|
409 |
msgstr "Chiaro"
|
410 |
|
411 |
-
#: ../lib/yasr-settings-functions.php:
|
412 |
msgid "Dark"
|
413 |
msgstr "Scuro"
|
414 |
|
415 |
-
#: ../lib/yasr-settings-functions.php:
|
416 |
msgid "Preview"
|
417 |
msgstr "Anteprima"
|
418 |
|
419 |
-
#: ../lib/yasr-settings-functions.php:
|
420 |
msgid "Light theme"
|
421 |
msgstr "Tema chiaro"
|
422 |
|
423 |
-
#: ../lib/yasr-settings-functions.php:
|
424 |
msgid "Dark Theme"
|
425 |
msgstr "Tema scuro"
|
426 |
|
427 |
-
#: ../lib/yasr-settings-functions.php:
|
428 |
msgid "Allow only logged-in users"
|
429 |
msgstr "Permetti solo agli utenti loggati"
|
430 |
|
431 |
-
#: ../lib/yasr-settings-functions.php:
|
432 |
msgid "Allow everybody (logged in and anonymous)"
|
433 |
msgstr "Permetti a tutti (loggati ed anonimi)"
|
434 |
|
435 |
-
#: ../lib/yasr-settings-functions.php:
|
436 |
msgid "Review Rating"
|
437 |
msgstr "Voto Recensione"
|
438 |
|
439 |
-
#: ../lib/yasr-settings-functions.php:
|
440 |
msgid "Aggregate Rating"
|
441 |
msgstr "Media Voto Utenti"
|
442 |
|
443 |
-
#: ../lib/yasr-settings-functions.php:
|
444 |
msgid "What is this?"
|
445 |
msgstr "Cos'è questo?"
|
446 |
|
447 |
-
#: ../lib/yasr-settings-functions.php:
|
448 |
msgid ""
|
449 |
"If you select \"Review Rating\", your site will be indexed from search "
|
450 |
"engines like this: "
|
@@ -452,18 +468,18 @@ msgstr ""
|
|
452 |
"Se hai scelto \"Voto Recensione\", il sito verrà indicizzato dai motori di "
|
453 |
"ricerca così:"
|
454 |
|
455 |
-
#: ../lib/yasr-settings-functions.php:
|
456 |
msgid ""
|
457 |
"If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
|
458 |
"this"
|
459 |
msgstr ""
|
460 |
"Se, invece, hai scelto \"Media Voto Utenti\", il sito verrà indicizzato così"
|
461 |
|
462 |
-
#: ../lib/yasr-settings-functions.php:
|
463 |
msgid "Add New Multiple Set"
|
464 |
msgstr "Set Multipli"
|
465 |
|
466 |
-
#: ../lib/yasr-settings-functions.php:
|
467 |
msgid ""
|
468 |
"Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
|
469 |
"characters"
|
@@ -471,48 +487,48 @@ msgstr ""
|
|
471 |
"Nome, Elemento#1 e Elemento#2 DEVONO essere riempiti e devono essere lunghi "
|
472 |
"almeno 3 caratteri"
|
473 |
|
474 |
-
#: ../lib/yasr-settings-functions.php:
|
475 |
msgid "Name"
|
476 |
msgstr "Nome"
|
477 |
|
478 |
-
#: ../lib/yasr-settings-functions.php:
|
479 |
msgid "You can insert up to nine element"
|
480 |
msgstr "Puoi inserire fino a nove elementi"
|
481 |
|
482 |
-
#: ../lib/yasr-settings-functions.php:
|
483 |
msgid "Element "
|
484 |
msgstr "Elemento"
|
485 |
|
486 |
-
#: ../lib/yasr-settings-functions.php:
|
487 |
msgid "Create New Set"
|
488 |
msgstr "Crea Nuovo Set"
|
489 |
|
490 |
-
#: ../lib/yasr-settings-functions.php:
|
491 |
-
#: ../lib/yasr-settings-functions.php:
|
492 |
msgid "Manage Multiple Set"
|
493 |
msgstr "Gestisci Set Multiplo"
|
494 |
|
495 |
-
#: ../lib/yasr-settings-functions.php:
|
496 |
msgid "Wich set do you want to edit or remove?"
|
497 |
msgstr "Quale set vuoi modificare o rimuovere"
|
498 |
|
499 |
-
#: ../lib/yasr-settings-functions.php:
|
500 |
-
#: ../lib/yasr-settings-functions.php:
|
501 |
msgid "Field name"
|
502 |
msgstr "Nome campo"
|
503 |
|
504 |
-
#: ../lib/yasr-settings-functions.php:
|
505 |
-
#: ../lib/yasr-settings-functions.php:
|
506 |
msgid "Remove"
|
507 |
msgstr "Rimuovi"
|
508 |
|
509 |
-
#: ../lib/yasr-settings-functions.php:
|
510 |
-
#: ../lib/yasr-settings-functions.php:
|
511 |
msgid "Remove whole set?"
|
512 |
msgstr "Rimuovere l'intero set?"
|
513 |
|
514 |
-
#: ../lib/yasr-settings-functions.php:
|
515 |
-
#: ../lib/yasr-settings-functions.php:
|
516 |
msgid ""
|
517 |
"If you remove something you will remove all the votes for that set or field. "
|
518 |
"This operation CAN'T BE undone."
|
@@ -520,63 +536,63 @@ msgstr ""
|
|
520 |
"Se rimuovi qualcosa rimuoverai anche i voti per quel set o campo. Questa "
|
521 |
"operazione NON PUÒ ESSERE ANNULLATA"
|
522 |
|
523 |
-
#: ../lib/yasr-settings-functions.php:
|
524 |
-
#: ../lib/yasr-settings-functions.php:
|
525 |
msgid "You can use up to 9 elements"
|
526 |
msgstr "Puoi usare fino a 9 elementi"
|
527 |
|
528 |
-
#: ../lib/yasr-settings-functions.php:
|
529 |
-
#: ../lib/yasr-settings-functions.php:
|
530 |
msgid "Add element"
|
531 |
msgstr "Aggiungi elemento"
|
532 |
|
533 |
-
#: ../lib/yasr-settings-functions.php:
|
534 |
-
#: ../lib/yasr-settings-functions.php:
|
535 |
msgid "Save changes"
|
536 |
msgstr "Salva modifiche"
|
537 |
|
538 |
-
#: ../lib/yasr-settings-functions.php:
|
539 |
msgid "No Multiple Set were found"
|
540 |
msgstr "Nessun Set Multiplo trovato"
|
541 |
|
542 |
-
#: ../lib/yasr-settings-functions.php:
|
543 |
-
#: ../lib/yasr-settings-functions.php:
|
544 |
msgid "Settings Saved"
|
545 |
msgstr "Impostazioni Salvate"
|
546 |
|
547 |
-
#: ../lib/yasr-settings-functions.php:
|
548 |
msgid "Something goes wrong trying insert set field name. Please report it"
|
549 |
msgstr ""
|
550 |
"Qualcosa è andato storto cercando di inserire un elemento. Per favore "
|
551 |
"segnalalo"
|
552 |
|
553 |
-
#: ../lib/yasr-settings-functions.php:
|
554 |
msgid "Something goes wrong trying insert Multi Set name. Please report it"
|
555 |
msgstr ""
|
556 |
"Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
|
557 |
"favore segnalalo"
|
558 |
|
559 |
-
#: ../lib/yasr-settings-functions.php:
|
560 |
msgid "Something goes wrong trying to delete a Multi Set . Please report it"
|
561 |
msgstr ""
|
562 |
"Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
|
563 |
"favore segnalalo"
|
564 |
|
565 |
-
#: ../lib/yasr-settings-functions.php:
|
566 |
msgid ""
|
567 |
"Something goes wrong trying to delete a Multi Set's element. Please report it"
|
568 |
msgstr ""
|
569 |
"Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
|
570 |
"favore segnalalo"
|
571 |
|
572 |
-
#: ../lib/yasr-settings-functions.php:
|
573 |
msgid ""
|
574 |
"Something goes wrong trying to update a Multi Set's element. Please report it"
|
575 |
msgstr ""
|
576 |
"Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
|
577 |
"favore segnalalo"
|
578 |
|
579 |
-
#: ../lib/yasr-settings-functions.php:
|
580 |
msgid ""
|
581 |
"Something goes wrong trying to insert set field name in edit form. Please "
|
582 |
"report it"
|
@@ -584,15 +600,15 @@ msgstr ""
|
|
584 |
"Qualcosa è andato storto cercando di inserire il campo nel form di modifica. "
|
585 |
"Per favore segnalalo"
|
586 |
|
587 |
-
#: ../lib/yasr-settings-functions.php:
|
588 |
msgid "Style Options"
|
589 |
msgstr "Opzioni Stili"
|
590 |
|
591 |
-
#: ../lib/yasr-settings-functions.php:
|
592 |
msgid "Custom CSS Styles"
|
593 |
msgstr "Stili CSS Personalizzati"
|
594 |
|
595 |
-
#: ../lib/yasr-settings-functions.php:
|
596 |
msgid ""
|
597 |
"Please use text area below to write your own CSS styles to override the "
|
598 |
"default ones."
|
@@ -600,27 +616,27 @@ msgstr ""
|
|
600 |
"Usa l'area di testo sottostante per scrivere le tue regole CSS che "
|
601 |
"sovrascriveranno quelle di default"
|
602 |
|
603 |
-
#: ../lib/yasr-settings-functions.php:
|
604 |
msgid "Leave it blank if you don't know what you're doing"
|
605 |
msgstr "Lascialo vuoto se non stai cosa stai facendo"
|
606 |
|
607 |
-
#: ../lib/yasr-settings-functions.php:
|
608 |
msgid "No previous Gd Star Rating installation was found"
|
609 |
msgstr "Installazione precedente di Gd Star Rating non stata trovata"
|
610 |
|
611 |
-
#: ../lib/yasr-db-functions.php:
|
612 |
msgid "No Recenet votes yet"
|
613 |
msgstr "Ancora nessun voto recente"
|
614 |
|
615 |
-
#: ../lib/yasr-db-functions.php:
|
616 |
msgid "anonymous"
|
617 |
msgstr "anonimo"
|
618 |
|
619 |
-
#: ../lib/yasr-db-functions.php:
|
620 |
msgid "Ip address"
|
621 |
msgstr "Indirizzo Ip"
|
622 |
|
623 |
-
#: ../lib/yasr-db-functions.php:
|
624 |
msgid "Pages"
|
625 |
msgstr "Pagine"
|
626 |
|
@@ -644,45 +660,27 @@ msgstr "Non hai permessi sufficienti per inserire il Voto Complessivo"
|
|
644 |
msgid "You don't have enought privileges to insert Multi Set"
|
645 |
msgstr "Non hai abbastanza permessi per inserire un Multi Set"
|
646 |
|
647 |
-
#: ../lib/yasr-functions.php:
|
648 |
-
#: ../lib/yasr-functions.php:302 ../lib/yasr-functions.php:315
|
649 |
-
#: ../lib/yasr-functions.php:320 ../lib/yasr-functions.php:340
|
650 |
-
#: ../lib/yasr-functions.php:349 ../lib/yasr-functions.php:355
|
651 |
-
#: ../lib/yasr-functions.php:369 ../lib/yasr-functions.php:375
|
652 |
-
#: ../lib/yasr-functions.php:400 ../lib/yasr-functions.php:412
|
653 |
-
#: ../lib/yasr-functions.php:417 ../lib/yasr-functions.php:430
|
654 |
-
#: ../lib/yasr-functions.php:435 ../lib/yasr-functions.php:456
|
655 |
-
#: ../lib/yasr-functions.php:465 ../lib/yasr-functions.php:471
|
656 |
-
#: ../lib/yasr-functions.php:485 ../lib/yasr-functions.php:491
|
657 |
-
#: ../lib/yasr-functions.php:516 ../lib/yasr-functions.php:528
|
658 |
-
#: ../lib/yasr-functions.php:533 ../lib/yasr-functions.php:546
|
659 |
-
#: ../lib/yasr-functions.php:551 ../lib/yasr-functions.php:572
|
660 |
-
#: ../lib/yasr-functions.php:581 ../lib/yasr-functions.php:587
|
661 |
-
#: ../lib/yasr-functions.php:601 ../lib/yasr-functions.php:607
|
662 |
-
msgid "Average: "
|
663 |
-
msgstr "Media Voto: "
|
664 |
-
|
665 |
-
#: ../lib/yasr-functions.php:842
|
666 |
msgid " reviewed by "
|
667 |
msgstr " recensito da "
|
668 |
|
669 |
-
#: ../lib/yasr-functions.php:
|
670 |
msgid " on "
|
671 |
msgstr " il "
|
672 |
|
673 |
-
#: ../lib/yasr-functions.php:
|
674 |
msgid " rated "
|
675 |
msgstr " votato "
|
676 |
|
677 |
-
#: ../lib/yasr-functions.php:
|
678 |
msgid " on 5.0"
|
679 |
msgstr " su 5.0 "
|
680 |
|
681 |
-
#: ../lib/yasr-functions.php:
|
682 |
msgid " average rating "
|
683 |
msgstr " media voto "
|
684 |
|
685 |
-
#: ../lib/yasr-functions.php:
|
686 |
msgid " user ratings"
|
687 |
msgstr " voti utenti "
|
688 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Yasr Translation\n"
|
4 |
+
"POT-Creation-Date: 2014-08-25 13:31+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-08-25 13:32+0100\n"
|
6 |
"Last-Translator: Dario <thedudoworld@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: it\n"
|
21 |
msgid "You do not have sufficient permissions to access this page."
|
22 |
msgstr "Non hai permeessi sufficienti per accedere a questa pagina"
|
23 |
|
24 |
+
#: ../yasr-settings-page.php:15
|
25 |
+
msgid "Settings"
|
26 |
+
msgstr "Impostazioni Salvate"
|
27 |
+
|
28 |
+
#: ../yasr-settings-page.php:58
|
29 |
msgid "General Settings"
|
30 |
msgstr "Impostazioni generali"
|
31 |
|
32 |
+
#: ../yasr-settings-page.php:59
|
33 |
msgid "Multi Sets"
|
34 |
msgstr "Set Multipli"
|
35 |
|
36 |
+
#: ../yasr-settings-page.php:60
|
37 |
msgid "Styles"
|
38 |
msgstr "Stili"
|
39 |
|
40 |
+
#: ../yasr-settings-page.php:76 ../yasr-settings-page.php:269
|
41 |
msgid "Save"
|
42 |
msgstr "Salva"
|
43 |
|
44 |
+
#: ../yasr-settings-page.php:82 ../yasr-settings-page.php:239
|
45 |
+
#: ../yasr-settings-page.php:276 ../yasr-settings-page.php:300
|
46 |
msgid "Donations"
|
47 |
msgstr "Donazioni"
|
48 |
|
49 |
+
#: ../yasr-settings-page.php:84 ../yasr-settings-page.php:241
|
50 |
+
#: ../yasr-settings-page.php:278 ../yasr-settings-page.php:302
|
51 |
msgid ""
|
52 |
"If you have found this plugin useful, please consider making a donation to "
|
53 |
"help support future development. Your support will be much appreciated. "
|
56 |
"supportarne lo sviluppo. Il tuo aiuto sarà molto apprezzato! P.s. YASR è "
|
57 |
"made in Italy ;)"
|
58 |
|
59 |
+
#: ../yasr-settings-page.php:86 ../yasr-settings-page.php:243
|
60 |
+
#: ../yasr-settings-page.php:280 ../yasr-settings-page.php:304
|
61 |
msgid "Thank you!"
|
62 |
msgstr "Grazie!"
|
63 |
|
64 |
+
#: ../yasr-settings-page.php:106
|
65 |
msgid "Import Gd Star Rating"
|
66 |
msgstr "Importa Gd Star Rating"
|
67 |
|
68 |
+
#: ../yasr-settings-page.php:107
|
69 |
msgid "I've found a previous installation of Gd Star Rating."
|
70 |
msgstr "Ho trovato un'installazione precedentedente di Gd Star Rating"
|
71 |
|
72 |
+
#: ../yasr-settings-page.php:107
|
73 |
msgid "Do you want proceed to import data?"
|
74 |
msgstr "Vuoi procedere nell'importazione dei dati?"
|
75 |
|
76 |
+
#: ../yasr-settings-page.php:109
|
77 |
msgid "Yes, Begin Import"
|
78 |
msgstr "Si, Inizia"
|
79 |
|
80 |
+
#: ../yasr-settings-page.php:113
|
81 |
msgid "Click on Proceed to import Gd Star Rating data."
|
82 |
msgstr "Clicca su Procedi per importare i dati di Gd Star Rating"
|
83 |
|
84 |
+
#: ../yasr-settings-page.php:116 ../yasr-settings-page.php:149
|
85 |
msgid "Proceed"
|
86 |
msgstr "Procedi"
|
87 |
|
88 |
+
#: ../yasr-settings-page.php:138
|
89 |
msgid "Manage GD Star Data"
|
90 |
msgstr "Gestisci dati di GD Star Rating"
|
91 |
|
92 |
+
#: ../yasr-settings-page.php:139
|
93 |
msgid "Gd Star Rating has been already imported."
|
94 |
msgstr "Gd Star Rating è stato già importato"
|
95 |
|
96 |
+
#: ../yasr-settings-page.php:140
|
97 |
msgid "If you wish you can import it again, but"
|
98 |
msgstr "Se vuoi lo puoi importare di nuovo, ma"
|
99 |
|
100 |
+
#: ../yasr-settings-page.php:140
|
101 |
msgid "you will lose all data you've collect since the import!"
|
102 |
msgstr "perderai tutti i dati che hai realizzato dall'import in poi!"
|
103 |
|
104 |
+
#: ../yasr-settings-page.php:142
|
105 |
msgid "Ok, Import Again"
|
106 |
msgstr "Ok, importa nuovamente"
|
107 |
|
108 |
+
#: ../yasr-settings-page.php:146
|
109 |
msgid ""
|
110 |
"Click on Proceed to import again Gd Star Rating data. This may take a while!"
|
111 |
msgstr ""
|
112 |
"Clicca su Procedi per importare di nuovo i dati di Gd Star Rating. Potrebbe "
|
113 |
"richiedere un pò di tempo!"
|
114 |
|
115 |
+
#: ../yasr-settings-page.php:187
|
116 |
msgid "Manage Multi Set"
|
117 |
msgstr "Set Multipli"
|
118 |
|
119 |
+
#: ../yasr-settings-page.php:191
|
120 |
msgid "What is a Multi Set?"
|
121 |
msgstr "Che cos'è un Set Multiplo?"
|
122 |
|
123 |
+
#: ../yasr-settings-page.php:196
|
124 |
msgid ""
|
125 |
"Multi Set allows you to insert a rate for each aspect about the product / "
|
126 |
"local business / whetever you're reviewing, example in the image below."
|
129 |
"prodotto / attività / qualsiasi cosa tua stia recensendo, esempio "
|
130 |
"nell'immagine sottostante."
|
131 |
|
132 |
+
#: ../yasr-settings-page.php:200
|
133 |
msgid ""
|
134 |
"You can create up to 99 different Multi Set and each one can contain up to 9 "
|
135 |
"different fields. Once you've saved it, you can insert the rates while "
|
141 |
"scrivendo il tuo articolo nel box sotto l'editor, come puoi vedere in questa "
|
142 |
"immagine (clicca per allargare)"
|
143 |
|
144 |
+
#: ../yasr-settings-page.php:204
|
145 |
msgid ""
|
146 |
"In order to insert your Multi Sets into a post or page, you can either past "
|
147 |
"the short code that will appear at the bottom of the box or just click on "
|
152 |
"cliccare sulla stella presente nell'editor visuale e selezionare \"Inserisci "
|
153 |
"Set Multiplo\""
|
154 |
|
155 |
+
#: ../yasr-settings-page.php:210
|
156 |
msgid "Close this message"
|
157 |
msgstr "Chiudi questo messaggio"
|
158 |
|
161 |
msgstr "Scegli che set vuoi usare"
|
162 |
|
163 |
#: ../yasr-metabox-multiple-rating.php:26
|
164 |
+
#: ../lib/yasr-settings-functions.php:366
|
165 |
msgid "Select"
|
166 |
msgstr "Seleziona"
|
167 |
|
170 |
msgstr "Vota questo articolo / oggetto"
|
171 |
|
172 |
#: ../yasr-metabox-overall-rating.php:22
|
173 |
+
#: ../lib/yasr-shortcode-functions.php:154
|
174 |
msgid "Loading, please wait"
|
175 |
msgstr "Caricamento, attendere prego"
|
176 |
|
182 |
"Ricorda di inserire questo shortcode <strong>[yasr_overall_rating]</strong> "
|
183 |
"dove vuoi far apparire questo voto"
|
184 |
|
185 |
+
#: ../lib/yasr-shortcode-functions.php:185
|
186 |
+
#: ../lib/yasr-shortcode-functions.php:197
|
187 |
+
#: ../lib/yasr-shortcode-functions.php:202
|
188 |
+
#: ../lib/yasr-shortcode-functions.php:215
|
|
|
|
|
189 |
#: ../lib/yasr-shortcode-functions.php:220
|
|
|
190 |
#: ../lib/yasr-shortcode-functions.php:240
|
191 |
+
#: ../lib/yasr-shortcode-functions.php:249
|
192 |
+
#: ../lib/yasr-shortcode-functions.php:255
|
193 |
+
#: ../lib/yasr-shortcode-functions.php:269
|
194 |
+
#: ../lib/yasr-shortcode-functions.php:275
|
195 |
+
#: ../lib/yasr-shortcode-functions.php:300
|
196 |
+
#: ../lib/yasr-shortcode-functions.php:312
|
197 |
+
#: ../lib/yasr-shortcode-functions.php:317
|
198 |
+
#: ../lib/yasr-shortcode-functions.php:330
|
199 |
+
#: ../lib/yasr-shortcode-functions.php:335
|
200 |
#: ../lib/yasr-shortcode-functions.php:356
|
201 |
+
#: ../lib/yasr-shortcode-functions.php:365
|
202 |
+
#: ../lib/yasr-shortcode-functions.php:371
|
203 |
+
#: ../lib/yasr-shortcode-functions.php:385
|
204 |
+
#: ../lib/yasr-shortcode-functions.php:391
|
205 |
+
#: ../lib/yasr-shortcode-functions.php:416
|
206 |
+
#: ../lib/yasr-shortcode-functions.php:428
|
207 |
+
#: ../lib/yasr-shortcode-functions.php:433
|
208 |
+
#: ../lib/yasr-shortcode-functions.php:446
|
209 |
+
#: ../lib/yasr-shortcode-functions.php:451
|
210 |
#: ../lib/yasr-shortcode-functions.php:472
|
211 |
+
#: ../lib/yasr-shortcode-functions.php:481
|
212 |
+
#: ../lib/yasr-shortcode-functions.php:487
|
213 |
+
#: ../lib/yasr-shortcode-functions.php:501
|
214 |
+
#: ../lib/yasr-shortcode-functions.php:507 ../lib/yasr-ajax-functions.php:1001
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
#: ../lib/yasr-ajax-functions.php:1009 ../lib/yasr-ajax-functions.php:1017
|
216 |
#: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1037
|
217 |
#: ../lib/yasr-ajax-functions.php:1044 ../lib/yasr-ajax-functions.php:1134
|
221 |
msgid "Total: "
|
222 |
msgstr "Voti: "
|
223 |
|
224 |
+
#: ../lib/yasr-shortcode-functions.php:185
|
225 |
+
#: ../lib/yasr-shortcode-functions.php:197
|
226 |
+
#: ../lib/yasr-shortcode-functions.php:202
|
227 |
+
#: ../lib/yasr-shortcode-functions.php:215
|
228 |
+
#: ../lib/yasr-shortcode-functions.php:220
|
229 |
+
#: ../lib/yasr-shortcode-functions.php:240
|
230 |
+
#: ../lib/yasr-shortcode-functions.php:249
|
231 |
+
#: ../lib/yasr-shortcode-functions.php:255
|
232 |
+
#: ../lib/yasr-shortcode-functions.php:269
|
233 |
+
#: ../lib/yasr-shortcode-functions.php:275
|
234 |
+
#: ../lib/yasr-shortcode-functions.php:300
|
235 |
+
#: ../lib/yasr-shortcode-functions.php:312
|
236 |
+
#: ../lib/yasr-shortcode-functions.php:317
|
237 |
+
#: ../lib/yasr-shortcode-functions.php:330
|
238 |
+
#: ../lib/yasr-shortcode-functions.php:335
|
239 |
+
#: ../lib/yasr-shortcode-functions.php:356
|
240 |
+
#: ../lib/yasr-shortcode-functions.php:365
|
241 |
+
#: ../lib/yasr-shortcode-functions.php:371
|
242 |
+
#: ../lib/yasr-shortcode-functions.php:385
|
243 |
+
#: ../lib/yasr-shortcode-functions.php:391
|
244 |
+
#: ../lib/yasr-shortcode-functions.php:416
|
245 |
+
#: ../lib/yasr-shortcode-functions.php:428
|
246 |
+
#: ../lib/yasr-shortcode-functions.php:433
|
247 |
+
#: ../lib/yasr-shortcode-functions.php:446
|
248 |
+
#: ../lib/yasr-shortcode-functions.php:451
|
249 |
+
#: ../lib/yasr-shortcode-functions.php:472
|
250 |
+
#: ../lib/yasr-shortcode-functions.php:481
|
251 |
+
#: ../lib/yasr-shortcode-functions.php:487
|
252 |
+
#: ../lib/yasr-shortcode-functions.php:501
|
253 |
+
#: ../lib/yasr-shortcode-functions.php:507
|
254 |
+
msgid "Average: "
|
255 |
+
msgstr "Media Voto: "
|
256 |
|
257 |
+
#: ../lib/yasr-shortcode-functions.php:186
|
258 |
#: ../lib/yasr-shortcode-functions.php:241
|
259 |
+
#: ../lib/yasr-shortcode-functions.php:301
|
260 |
#: ../lib/yasr-shortcode-functions.php:357
|
261 |
+
#: ../lib/yasr-shortcode-functions.php:417
|
262 |
#: ../lib/yasr-shortcode-functions.php:473
|
263 |
+
msgid "You've already voted this article with"
|
264 |
+
msgstr "Hai già votato questo articolo con "
|
265 |
+
|
266 |
+
#: ../lib/yasr-shortcode-functions.php:270
|
267 |
+
#: ../lib/yasr-shortcode-functions.php:276
|
268 |
+
#: ../lib/yasr-shortcode-functions.php:386
|
269 |
+
#: ../lib/yasr-shortcode-functions.php:392
|
270 |
+
#: ../lib/yasr-shortcode-functions.php:502
|
271 |
+
#: ../lib/yasr-shortcode-functions.php:508
|
272 |
msgid "You must sign to vote"
|
273 |
msgstr "Devi fare il login per votare"
|
274 |
|
275 |
+
#: ../lib/yasr-shortcode-functions.php:745
|
276 |
msgid "Rating"
|
277 |
+
msgstr "Voto"
|
278 |
|
279 |
+
#: ../lib/yasr-shortcode-functions.php:759
|
280 |
msgid "You don't have any votes stored"
|
281 |
msgstr "Non hai alcun voto salvato"
|
282 |
|
283 |
+
#: ../lib/yasr-shortcode-functions.php:773
|
284 |
msgid "Chart is loading, please wait"
|
285 |
msgstr "Caricamento classifica, attendere prego"
|
286 |
|
287 |
+
#: ../lib/yasr-shortcode-functions.php:902
|
288 |
msgid ""
|
289 |
"Problem while retriving the top 5 most active reviewers. Did you published "
|
290 |
"any review?"
|
292 |
"C'è stato un problema nell'ottenere la classifica dei 5 recensori più "
|
293 |
"attivi. Hai pubblicato qualche recensione?"
|
294 |
|
295 |
+
#: ../lib/yasr-shortcode-functions.php:970
|
296 |
msgid ""
|
297 |
"Problem while retriving the top 10 active users chart. Are you sure you have "
|
298 |
"votes to show?"
|
333 |
msgstr "Usare l'inserimento automatico?"
|
334 |
|
335 |
#: ../lib/yasr-settings-functions.php:54
|
336 |
+
#: ../lib/yasr-settings-functions.php:123
|
337 |
+
#: ../lib/yasr-settings-functions.php:143
|
338 |
+
#: ../lib/yasr-settings-functions.php:168
|
339 |
msgid "Yes"
|
340 |
msgstr "Si"
|
341 |
|
342 |
+
#: ../lib/yasr-settings-functions.php:68
|
343 |
+
#: ../lib/yasr-settings-functions.php:128
|
344 |
+
#: ../lib/yasr-settings-functions.php:148
|
345 |
+
#: ../lib/yasr-settings-functions.php:185
|
346 |
msgid "No"
|
347 |
msgstr "No"
|
348 |
|
349 |
+
#: ../lib/yasr-settings-functions.php:74
|
350 |
msgid "What?"
|
351 |
msgstr "Cosa?"
|
352 |
|
353 |
+
#: ../lib/yasr-settings-functions.php:77
|
354 |
msgid "Overall Rating / Author Rating"
|
355 |
msgstr "Voto Complessivo / Voto Autore"
|
356 |
|
357 |
+
#: ../lib/yasr-settings-functions.php:81 ../lib/yasr-ajax-functions.php:363
|
358 |
msgid "Visitor Votes"
|
359 |
msgstr "Voto Utenti"
|
360 |
|
361 |
+
#: ../lib/yasr-settings-functions.php:85
|
362 |
msgid "Both"
|
363 |
msgstr "Entrambi"
|
364 |
|
365 |
+
#: ../lib/yasr-settings-functions.php:89
|
366 |
msgid "Where?"
|
367 |
msgstr "Dove?"
|
368 |
|
369 |
+
#: ../lib/yasr-settings-functions.php:92
|
370 |
msgid "Before the post"
|
371 |
msgstr "Prima del contenuto"
|
372 |
|
373 |
+
#: ../lib/yasr-settings-functions.php:96
|
374 |
msgid "After the post"
|
375 |
msgstr "Dopo il contenuto"
|
376 |
|
377 |
+
#: ../lib/yasr-settings-functions.php:101
|
378 |
msgid "Size"
|
379 |
msgstr "Grandezza"
|
380 |
|
381 |
+
#: ../lib/yasr-settings-functions.php:105 ../lib/yasr-ajax-functions.php:353
|
382 |
#: ../lib/yasr-ajax-functions.php:371
|
383 |
msgid "Small"
|
384 |
msgstr "Piccolo"
|
385 |
|
386 |
+
#: ../lib/yasr-settings-functions.php:110 ../lib/yasr-ajax-functions.php:354
|
387 |
#: ../lib/yasr-ajax-functions.php:372
|
388 |
msgid "Medium"
|
389 |
msgstr "Medio"
|
390 |
|
391 |
+
#: ../lib/yasr-settings-functions.php:115 ../lib/yasr-ajax-functions.php:355
|
392 |
#: ../lib/yasr-ajax-functions.php:373
|
393 |
msgid "Large"
|
394 |
msgstr "Grande"
|
395 |
|
396 |
+
#: ../lib/yasr-settings-functions.php:120
|
397 |
msgid "Exclude Pages?"
|
398 |
msgstr "Escludere pagine?"
|
399 |
|
400 |
+
#: ../lib/yasr-settings-functions.php:152
|
401 |
msgid ""
|
402 |
"If you enable this, \"Overall Rating\" will be showed not only in the single "
|
403 |
"article or page, but also in pages like Home Page, category pages or "
|
407 |
"articolo o nella singola pagina, ma anche in pagine come l' Home Page, "
|
408 |
"categorie o archivi"
|
409 |
|
410 |
+
#: ../lib/yasr-settings-functions.php:192
|
411 |
msgid "Custom text to display before Overall Rating"
|
412 |
msgstr "Testo personalizzato da visualizzare prima del Voto Complessivo"
|
413 |
|
414 |
+
#: ../lib/yasr-settings-functions.php:197
|
415 |
msgid "Custom text to display before Visitor Rating"
|
416 |
msgstr "Testo personalizzato da visualizzare prima del Voto Complessivo"
|
417 |
|
418 |
+
#: ../lib/yasr-settings-functions.php:202
|
419 |
msgid "Custom text to display when a non logged user has already rated"
|
420 |
msgstr ""
|
421 |
"Testo personalizzato da mostrare quanto un utente non loggato ha già votato"
|
422 |
|
423 |
+
#: ../lib/yasr-settings-functions.php:218
|
424 |
msgid "Light"
|
425 |
msgstr "Chiaro"
|
426 |
|
427 |
+
#: ../lib/yasr-settings-functions.php:223
|
428 |
msgid "Dark"
|
429 |
msgstr "Scuro"
|
430 |
|
431 |
+
#: ../lib/yasr-settings-functions.php:228
|
432 |
msgid "Preview"
|
433 |
msgstr "Anteprima"
|
434 |
|
435 |
+
#: ../lib/yasr-settings-functions.php:233
|
436 |
msgid "Light theme"
|
437 |
msgstr "Tema chiaro"
|
438 |
|
439 |
+
#: ../lib/yasr-settings-functions.php:238
|
440 |
msgid "Dark Theme"
|
441 |
msgstr "Tema scuro"
|
442 |
|
443 |
+
#: ../lib/yasr-settings-functions.php:256
|
444 |
msgid "Allow only logged-in users"
|
445 |
msgstr "Permetti solo agli utenti loggati"
|
446 |
|
447 |
+
#: ../lib/yasr-settings-functions.php:260
|
448 |
msgid "Allow everybody (logged in and anonymous)"
|
449 |
msgstr "Permetti a tutti (loggati ed anonimi)"
|
450 |
|
451 |
+
#: ../lib/yasr-settings-functions.php:277
|
452 |
msgid "Review Rating"
|
453 |
msgstr "Voto Recensione"
|
454 |
|
455 |
+
#: ../lib/yasr-settings-functions.php:281
|
456 |
msgid "Aggregate Rating"
|
457 |
msgstr "Media Voto Utenti"
|
458 |
|
459 |
+
#: ../lib/yasr-settings-functions.php:286
|
460 |
msgid "What is this?"
|
461 |
msgstr "Cos'è questo?"
|
462 |
|
463 |
+
#: ../lib/yasr-settings-functions.php:291
|
464 |
msgid ""
|
465 |
"If you select \"Review Rating\", your site will be indexed from search "
|
466 |
"engines like this: "
|
468 |
"Se hai scelto \"Voto Recensione\", il sito verrà indicizzato dai motori di "
|
469 |
"ricerca così:"
|
470 |
|
471 |
+
#: ../lib/yasr-settings-functions.php:296
|
472 |
msgid ""
|
473 |
"If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
|
474 |
"this"
|
475 |
msgstr ""
|
476 |
"Se, invece, hai scelto \"Media Voto Utenti\", il sito verrà indicizzato così"
|
477 |
|
478 |
+
#: ../lib/yasr-settings-functions.php:311
|
479 |
msgid "Add New Multiple Set"
|
480 |
msgstr "Set Multipli"
|
481 |
|
482 |
+
#: ../lib/yasr-settings-functions.php:312
|
483 |
msgid ""
|
484 |
"Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
|
485 |
"characters"
|
487 |
"Nome, Elemento#1 e Elemento#2 DEVONO essere riempiti e devono essere lunghi "
|
488 |
"almeno 3 caratteri"
|
489 |
|
490 |
+
#: ../lib/yasr-settings-functions.php:315
|
491 |
msgid "Name"
|
492 |
msgstr "Nome"
|
493 |
|
494 |
+
#: ../lib/yasr-settings-functions.php:320
|
495 |
msgid "You can insert up to nine element"
|
496 |
msgstr "Puoi inserire fino a nove elementi"
|
497 |
|
498 |
+
#: ../lib/yasr-settings-functions.php:325
|
499 |
msgid "Element "
|
500 |
msgstr "Elemento"
|
501 |
|
502 |
+
#: ../lib/yasr-settings-functions.php:335
|
503 |
msgid "Create New Set"
|
504 |
msgstr "Crea Nuovo Set"
|
505 |
|
506 |
+
#: ../lib/yasr-settings-functions.php:356
|
507 |
+
#: ../lib/yasr-settings-functions.php:388
|
508 |
msgid "Manage Multiple Set"
|
509 |
msgstr "Gestisci Set Multiplo"
|
510 |
|
511 |
+
#: ../lib/yasr-settings-functions.php:358
|
512 |
msgid "Wich set do you want to edit or remove?"
|
513 |
msgstr "Quale set vuoi modificare o rimuovere"
|
514 |
|
515 |
+
#: ../lib/yasr-settings-functions.php:398
|
516 |
+
#: ../lib/yasr-settings-functions.php:516
|
517 |
msgid "Field name"
|
518 |
msgstr "Nome campo"
|
519 |
|
520 |
+
#: ../lib/yasr-settings-functions.php:402
|
521 |
+
#: ../lib/yasr-settings-functions.php:520
|
522 |
msgid "Remove"
|
523 |
msgstr "Rimuovi"
|
524 |
|
525 |
+
#: ../lib/yasr-settings-functions.php:444
|
526 |
+
#: ../lib/yasr-settings-functions.php:562
|
527 |
msgid "Remove whole set?"
|
528 |
msgstr "Rimuovere l'intero set?"
|
529 |
|
530 |
+
#: ../lib/yasr-settings-functions.php:457
|
531 |
+
#: ../lib/yasr-settings-functions.php:575
|
532 |
msgid ""
|
533 |
"If you remove something you will remove all the votes for that set or field. "
|
534 |
"This operation CAN'T BE undone."
|
536 |
"Se rimuovi qualcosa rimuoverai anche i voti per quel set o campo. Questa "
|
537 |
"operazione NON PUÒ ESSERE ANNULLATA"
|
538 |
|
539 |
+
#: ../lib/yasr-settings-functions.php:464
|
540 |
+
#: ../lib/yasr-settings-functions.php:582
|
541 |
msgid "You can use up to 9 elements"
|
542 |
msgstr "Puoi usare fino a 9 elementi"
|
543 |
|
544 |
+
#: ../lib/yasr-settings-functions.php:466
|
545 |
+
#: ../lib/yasr-settings-functions.php:584
|
546 |
msgid "Add element"
|
547 |
msgstr "Aggiungi elemento"
|
548 |
|
549 |
+
#: ../lib/yasr-settings-functions.php:468
|
550 |
+
#: ../lib/yasr-settings-functions.php:586
|
551 |
msgid "Save changes"
|
552 |
msgstr "Salva modifiche"
|
553 |
|
554 |
+
#: ../lib/yasr-settings-functions.php:478
|
555 |
msgid "No Multiple Set were found"
|
556 |
msgstr "Nessun Set Multiplo trovato"
|
557 |
|
558 |
+
#: ../lib/yasr-settings-functions.php:728
|
559 |
+
#: ../lib/yasr-settings-functions.php:996
|
560 |
msgid "Settings Saved"
|
561 |
msgstr "Impostazioni Salvate"
|
562 |
|
563 |
+
#: ../lib/yasr-settings-functions.php:733
|
564 |
msgid "Something goes wrong trying insert set field name. Please report it"
|
565 |
msgstr ""
|
566 |
"Qualcosa è andato storto cercando di inserire un elemento. Per favore "
|
567 |
"segnalalo"
|
568 |
|
569 |
+
#: ../lib/yasr-settings-functions.php:739
|
570 |
msgid "Something goes wrong trying insert Multi Set name. Please report it"
|
571 |
msgstr ""
|
572 |
"Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
|
573 |
"favore segnalalo"
|
574 |
|
575 |
+
#: ../lib/yasr-settings-functions.php:814
|
576 |
msgid "Something goes wrong trying to delete a Multi Set . Please report it"
|
577 |
msgstr ""
|
578 |
"Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
|
579 |
"favore segnalalo"
|
580 |
|
581 |
+
#: ../lib/yasr-settings-functions.php:860
|
582 |
msgid ""
|
583 |
"Something goes wrong trying to delete a Multi Set's element. Please report it"
|
584 |
msgstr ""
|
585 |
"Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
|
586 |
"favore segnalalo"
|
587 |
|
588 |
+
#: ../lib/yasr-settings-functions.php:924
|
589 |
msgid ""
|
590 |
"Something goes wrong trying to update a Multi Set's element. Please report it"
|
591 |
msgstr ""
|
592 |
"Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
|
593 |
"favore segnalalo"
|
594 |
|
595 |
+
#: ../lib/yasr-settings-functions.php:981
|
596 |
msgid ""
|
597 |
"Something goes wrong trying to insert set field name in edit form. Please "
|
598 |
"report it"
|
600 |
"Qualcosa è andato storto cercando di inserire il campo nel form di modifica. "
|
601 |
"Per favore segnalalo"
|
602 |
|
603 |
+
#: ../lib/yasr-settings-functions.php:1024
|
604 |
msgid "Style Options"
|
605 |
msgstr "Opzioni Stili"
|
606 |
|
607 |
+
#: ../lib/yasr-settings-functions.php:1025
|
608 |
msgid "Custom CSS Styles"
|
609 |
msgstr "Stili CSS Personalizzati"
|
610 |
|
611 |
+
#: ../lib/yasr-settings-functions.php:1030
|
612 |
msgid ""
|
613 |
"Please use text area below to write your own CSS styles to override the "
|
614 |
"default ones."
|
616 |
"Usa l'area di testo sottostante per scrivere le tue regole CSS che "
|
617 |
"sovrascriveranno quelle di default"
|
618 |
|
619 |
+
#: ../lib/yasr-settings-functions.php:1032
|
620 |
msgid "Leave it blank if you don't know what you're doing"
|
621 |
msgstr "Lascialo vuoto se non stai cosa stai facendo"
|
622 |
|
623 |
+
#: ../lib/yasr-settings-functions.php:1065
|
624 |
msgid "No previous Gd Star Rating installation was found"
|
625 |
msgstr "Installazione precedente di Gd Star Rating non stata trovata"
|
626 |
|
627 |
+
#: ../lib/yasr-db-functions.php:190 ../lib/yasr-ajax-functions.php:772
|
628 |
msgid "No Recenet votes yet"
|
629 |
msgstr "Ancora nessun voto recente"
|
630 |
|
631 |
+
#: ../lib/yasr-db-functions.php:205 ../lib/yasr-ajax-functions.php:785
|
632 |
msgid "anonymous"
|
633 |
msgstr "anonimo"
|
634 |
|
635 |
+
#: ../lib/yasr-db-functions.php:228 ../lib/yasr-ajax-functions.php:808
|
636 |
msgid "Ip address"
|
637 |
msgstr "Indirizzo Ip"
|
638 |
|
639 |
+
#: ../lib/yasr-db-functions.php:269 ../lib/yasr-ajax-functions.php:849
|
640 |
msgid "Pages"
|
641 |
msgstr "Pagine"
|
642 |
|
660 |
msgid "You don't have enought privileges to insert Multi Set"
|
661 |
msgstr "Non hai abbastanza permessi per inserire un Multi Set"
|
662 |
|
663 |
+
#: ../lib/yasr-functions.php:223
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
664 |
msgid " reviewed by "
|
665 |
msgstr " recensito da "
|
666 |
|
667 |
+
#: ../lib/yasr-functions.php:224
|
668 |
msgid " on "
|
669 |
msgstr " il "
|
670 |
|
671 |
+
#: ../lib/yasr-functions.php:225
|
672 |
msgid " rated "
|
673 |
msgstr " votato "
|
674 |
|
675 |
+
#: ../lib/yasr-functions.php:225
|
676 |
msgid " on 5.0"
|
677 |
msgstr " su 5.0 "
|
678 |
|
679 |
+
#: ../lib/yasr-functions.php:269
|
680 |
msgid " average rating "
|
681 |
msgstr " media voto "
|
682 |
|
683 |
+
#: ../lib/yasr-functions.php:270
|
684 |
msgid " user ratings"
|
685 |
msgstr " voti utenti "
|
686 |
|
lib/yasr-db-functions.php
CHANGED
@@ -115,30 +115,6 @@ function yasr_get_overall_rating() {
|
|
115 |
}
|
116 |
|
117 |
|
118 |
-
/****** Get visitor rating ******/
|
119 |
-
/*function yasr_get_vistor_rating() {
|
120 |
-
global $wpdb;
|
121 |
-
|
122 |
-
$post_id=get_the_ID();
|
123 |
-
|
124 |
-
$result=$wpdb->get_results("SELECT number_of_votes, sum_votes FROM " . YASR_VOTES_TABLE . " WHERE post_id=$post_id");
|
125 |
-
|
126 |
-
if ($result) {
|
127 |
-
|
128 |
-
$visitor_rating = array();
|
129 |
-
|
130 |
-
foreach ($result as $rating) {
|
131 |
-
$visitor_rating['votes_number']=$rating->number_of_votes;
|
132 |
-
$visitor_rating['sum']=$rating->sum_votes;
|
133 |
-
|
134 |
-
return $visitor_rating;
|
135 |
-
}
|
136 |
-
}
|
137 |
-
|
138 |
-
}*/
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
/****** Get multi set name ******/
|
143 |
function yasr_get_multi_set() {
|
144 |
global $wpdb;
|
115 |
}
|
116 |
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
/****** Get multi set name ******/
|
119 |
function yasr_get_multi_set() {
|
120 |
global $wpdb;
|
lib/yasr-functions.php
CHANGED
@@ -137,687 +137,68 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
|
|
137 |
}
|
138 |
|
139 |
|
|
|
140 |
|
141 |
-
|
142 |
-
|
143 |
-
function overall_rating_auto_insert_code () {
|
144 |
-
|
145 |
-
$overall_rating=yasr_get_overall_rating();
|
146 |
-
|
147 |
-
if (!$overall_rating) {
|
148 |
-
$overall_rating = "-1";
|
149 |
-
}
|
150 |
-
|
151 |
-
$shortcode_html = '';
|
152 |
-
|
153 |
-
if( YASR_TEXT_BEFORE_STARS == 1 && YASR_TEXT_BEFORE_STARS != '' ) {
|
154 |
-
|
155 |
-
$shortcode_html = "<div class=\"yasr-container-custom-text-and-overall\">
|
156 |
-
<span id=\"yasr-custom-text-before-overall\">" . YASR_TEXT_BEFORE_OVERALL . "</span>";
|
157 |
-
|
158 |
-
}
|
159 |
-
|
160 |
-
switch (YASR_AUTO_INSERT_SIZE) {
|
161 |
-
case 'small':
|
162 |
-
$shortcode_html .= "<div class=\"rateit\" id=\"yasr_rateit_overall\" data-rateit-value=\"$overall_rating\" data-rateit-step=\"0.1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>";
|
163 |
-
break;
|
164 |
-
|
165 |
-
case 'medium':
|
166 |
-
$shortcode_html .= "<div class=\"rateit medium\" id=\"yasr_rateit_overall\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$overall_rating\" data-rateit-step=\"0.1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>";
|
167 |
-
break;
|
168 |
-
|
169 |
-
case 'large':
|
170 |
-
$shortcode_html .= "<div class=\"rateit bigstars\" id=\"yasr_rateit_overall\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$overall_rating\" data-rateit-step=\"0.1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>";
|
171 |
-
break;
|
172 |
-
}
|
173 |
-
|
174 |
-
if( YASR_TEXT_BEFORE_STARS == 1 && YASR_TEXT_BEFORE_STARS != '' ) {
|
175 |
-
|
176 |
-
$shortcode_html .= "</div>";
|
177 |
|
178 |
-
|
179 |
|
|
|
180 |
|
181 |
-
|
182 |
-
if ( YASR_SHOW_OVERALL_IN_LOOP === 'disabled' ) {
|
183 |
|
184 |
-
|
185 |
-
if ( YASR_AUTO_INSERT_EXCLUDE_PAGES === 'no' ) {
|
186 |
|
187 |
-
|
188 |
|
189 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
}
|
192 |
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
} // End if YASR_SHOW_OVERALL_IN_LOOP === 'disabled') {
|
205 |
-
|
206 |
-
//If overall rating in loop is enabled don't use is_singular && is main_query
|
207 |
-
elseif ( YASR_SHOW_OVERALL_IN_LOOP === 'enabled' ) {
|
208 |
-
|
209 |
-
//If pages are not excluted return always
|
210 |
-
if ( YASR_AUTO_INSERT_EXCLUDE_PAGES === 'no' ) {
|
211 |
|
212 |
-
return $
|
213 |
|
214 |
-
}
|
215 |
|
216 |
-
//Else if page are excluted return only if is not a page
|
217 |
else {
|
218 |
|
219 |
-
|
220 |
-
|
221 |
-
return $shortcode_html;
|
222 |
-
|
223 |
-
}
|
224 |
|
225 |
}
|
226 |
|
227 |
-
}
|
228 |
-
|
229 |
-
} //End function
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
/****** Return html code that will output visitor rating stars. It's almost the same
|
234 |
-
than shortcode_visitor_votes_callback used in yasr-shortcode function, but work only when
|
235 |
-
is called and have initial different conditions ******/
|
236 |
-
|
237 |
-
function visitor_votes_auto_insert_code () {
|
238 |
-
|
239 |
-
$shortcode_html = ''; //Avoid undefined variable outside is_singular && is_main_query
|
240 |
-
|
241 |
-
if( is_singular() && is_main_query() ) {
|
242 |
-
|
243 |
-
$ajax_nonce_visitor = wp_create_nonce( "yasr_nonce_insert_visitor_rating" );
|
244 |
-
|
245 |
-
$votes=yasr_get_visitor_votes();
|
246 |
-
|
247 |
-
$medium_rating=0; //Avoid undefined variable
|
248 |
-
|
249 |
-
if (!$votes) {
|
250 |
-
$votes=0; //Avoid undefined variable if there is not overall rating
|
251 |
-
$votes_number=0; //Avoid undefined variable
|
252 |
-
}
|
253 |
-
|
254 |
-
else {
|
255 |
-
foreach ($votes as $user_votes) {
|
256 |
-
$votes_number = $user_votes->number_of_votes;
|
257 |
-
if ($votes_number !=0 ) {
|
258 |
-
$medium_rating = ($user_votes->sum_votes/$votes_number);
|
259 |
-
}
|
260 |
-
}
|
261 |
-
}
|
262 |
-
|
263 |
-
|
264 |
-
$image = YASR_IMG_DIR . "/loader.gif";
|
265 |
-
|
266 |
-
$loader_html = "<div id=\"loader-visitor-rating\" > " . __("Loading, please wait","yasr") . " <img src= \" $image \"></div>";
|
267 |
-
|
268 |
-
$medium_rating=round($medium_rating, 1);
|
269 |
-
|
270 |
-
if (YASR_AUTO_INSERT_SIZE == 'small') {
|
271 |
-
|
272 |
-
//if anonymous are allowed to vote
|
273 |
-
if (YASR_ALLOWED_USER === 'allow_anonymous') {
|
274 |
-
|
275 |
-
//I've to block a logged in user that has already rated
|
276 |
-
if ( is_user_logged_in() ) {
|
277 |
-
|
278 |
-
//Chek if a logged in user has already rated for this post
|
279 |
-
$vote_if_user_already_rated = yasr_check_if_user_already_voted();
|
280 |
-
|
281 |
-
//If user has already rated show readonly stars
|
282 |
-
if ($vote_if_user_already_rated) {
|
283 |
-
|
284 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr-rateit-visitor-votes-logged-rated\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
285 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
286 |
-
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
287 |
-
|
288 |
-
}
|
289 |
-
|
290 |
-
//else logged user can vote
|
291 |
-
else {
|
292 |
-
|
293 |
-
$vote_if_user_already_rated = 0;
|
294 |
-
|
295 |
-
if ($votes_number>0) {
|
296 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
297 |
-
<span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
298 |
-
}
|
299 |
-
|
300 |
-
else {
|
301 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
302 |
-
<span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
303 |
-
}
|
304 |
-
|
305 |
-
} //End else
|
306 |
-
|
307 |
-
} //End if user is logged
|
308 |
-
|
309 |
-
|
310 |
-
//else if is not logged can vote
|
311 |
-
else {
|
312 |
-
|
313 |
-
if ($votes_number>0) {
|
314 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
315 |
-
<span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
316 |
-
}
|
317 |
-
|
318 |
-
else {
|
319 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
320 |
-
<span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
321 |
-
}
|
322 |
-
|
323 |
-
} //end else
|
324 |
-
|
325 |
-
} //end if ($allow_logged_option['allowed_user']==='allow_anonymous') {
|
326 |
-
|
327 |
-
|
328 |
-
//If only logged in users can vote
|
329 |
-
elseif (YASR_ALLOWED_USER === 'logged_only') {
|
330 |
-
|
331 |
-
//If user is logged in and can vote
|
332 |
-
if ( is_user_logged_in() ) {
|
333 |
-
|
334 |
-
//Chek if a logged in user has already rated for this post
|
335 |
-
$vote_if_user_already_rated = yasr_check_if_user_already_voted();
|
336 |
-
|
337 |
-
if ($vote_if_user_already_rated) {
|
338 |
-
|
339 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr-rateit-visitor-votes-logged-rated\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
340 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
341 |
-
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
342 |
-
|
343 |
-
}
|
344 |
-
|
345 |
-
else {
|
346 |
-
|
347 |
-
if ($votes_number>0) {
|
348 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
349 |
-
<span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
350 |
-
</div>";
|
351 |
-
}
|
352 |
-
|
353 |
-
else {
|
354 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
355 |
-
<span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
356 |
-
</div>";
|
357 |
-
}
|
358 |
-
|
359 |
-
}
|
360 |
-
|
361 |
-
} //End if user is logged in
|
362 |
-
|
363 |
-
//Else mean user is not logged in
|
364 |
-
else {
|
365 |
-
|
366 |
-
|
367 |
-
if ($votes_number>0) {
|
368 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
369 |
-
<span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
370 |
-
" . __("You must sign to vote", "yasr") . "</div>";
|
371 |
-
}
|
372 |
-
|
373 |
-
else {
|
374 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
375 |
-
<span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
376 |
-
" . __("You must sign to vote", "yasr") . "</div>";
|
377 |
-
}
|
378 |
-
|
379 |
-
}
|
380 |
-
|
381 |
-
}
|
382 |
-
|
383 |
-
} //End if $size == 'small'
|
384 |
-
|
385 |
-
elseif (YASR_AUTO_INSERT_SIZE == 'medium') {
|
386 |
-
|
387 |
-
//if anonymous are allowed to vote
|
388 |
-
if (YASR_ALLOWED_USER === 'allow_anonymous') {
|
389 |
-
|
390 |
-
//I've to block a logged in user that has already rated
|
391 |
-
if ( is_user_logged_in() ) {
|
392 |
-
|
393 |
-
//Chek if a logged in user has already rated for this post
|
394 |
-
$vote_if_user_already_rated = yasr_check_if_user_already_voted();
|
395 |
-
|
396 |
-
//If user has already rated show readonly stars
|
397 |
-
if ($vote_if_user_already_rated) {
|
398 |
-
|
399 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr-rateit-visitor-votes-logged-rated\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
400 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
401 |
-
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
402 |
-
|
403 |
-
}
|
404 |
-
|
405 |
-
//else logged user can vote
|
406 |
-
else {
|
407 |
-
|
408 |
-
$vote_if_user_already_rated = 0;
|
409 |
-
|
410 |
-
if ($votes_number>0) {
|
411 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
412 |
-
<span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
413 |
-
}
|
414 |
-
|
415 |
-
else {
|
416 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
417 |
-
<span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
418 |
-
}
|
419 |
-
|
420 |
-
} //End else
|
421 |
-
|
422 |
-
} //End if user is logged
|
423 |
-
|
424 |
-
|
425 |
-
//else if is not logged can vote
|
426 |
-
else {
|
427 |
-
|
428 |
-
if ($votes_number>0) {
|
429 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
430 |
-
<span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
431 |
-
}
|
432 |
-
|
433 |
-
else {
|
434 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
435 |
-
<span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
436 |
-
}
|
437 |
-
|
438 |
-
} //end else
|
439 |
-
|
440 |
-
} //end if ($allow_logged_option['allowed_user']==='allow_anonymous') {
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
//If only logged in users can vote
|
445 |
-
elseif (YASR_ALLOWED_USER === 'logged_only') {
|
446 |
-
|
447 |
-
//If user is logged in and can vote
|
448 |
-
if ( is_user_logged_in() ) {
|
449 |
-
|
450 |
-
//Chek if a logged in user has already rated for this post
|
451 |
-
$vote_if_user_already_rated = yasr_check_if_user_already_voted();
|
452 |
-
|
453 |
-
if ($vote_if_user_already_rated) {
|
454 |
-
|
455 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr-rateit-visitor-votes-logged-rated\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
456 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
457 |
-
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
458 |
-
|
459 |
-
}
|
460 |
-
|
461 |
-
else {
|
462 |
-
|
463 |
-
if ($votes_number>0) {
|
464 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
465 |
-
<span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
466 |
-
</div>";
|
467 |
-
}
|
468 |
-
|
469 |
-
else {
|
470 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
471 |
-
<span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
472 |
-
</div>";
|
473 |
-
}
|
474 |
-
|
475 |
-
}
|
476 |
-
|
477 |
-
} //End if user is logged in
|
478 |
-
|
479 |
-
//Else mean user is not logged in
|
480 |
-
else {
|
481 |
-
|
482 |
-
|
483 |
-
if ($votes_number>0) {
|
484 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
485 |
-
<span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
486 |
-
" . __("You must sign to vote", "yasr") . "</div>";
|
487 |
-
}
|
488 |
-
|
489 |
-
else {
|
490 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
491 |
-
<span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
492 |
-
" . __("You must sign to vote", "yasr") . "</div>";
|
493 |
-
}
|
494 |
-
|
495 |
-
}
|
496 |
-
|
497 |
-
}
|
498 |
-
|
499 |
-
} //End if $size == 'medium'
|
500 |
-
|
501 |
-
elseif (YASR_AUTO_INSERT_SIZE == 'large') {
|
502 |
-
|
503 |
-
//if anonymous are allowed to vote
|
504 |
-
if (YASR_ALLOWED_USER === 'allow_anonymous') {
|
505 |
-
|
506 |
-
//I've to block a logged in user that has already rated
|
507 |
-
if ( is_user_logged_in() ) {
|
508 |
-
|
509 |
-
//Chek if a logged in user has already rated for this post
|
510 |
-
$vote_if_user_already_rated = yasr_check_if_user_already_voted();
|
511 |
-
|
512 |
-
//If user has already rated show readonly stars
|
513 |
-
if ($vote_if_user_already_rated) {
|
514 |
-
|
515 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr-rateit-visitor-votes-logged-rated\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
516 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
517 |
-
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
518 |
-
|
519 |
-
}
|
520 |
-
|
521 |
-
//else logged user can vote
|
522 |
-
else {
|
523 |
-
|
524 |
-
$vote_if_user_already_rated = 0;
|
525 |
-
|
526 |
-
if ($votes_number>0) {
|
527 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
528 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
529 |
-
}
|
530 |
-
|
531 |
-
else {
|
532 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
533 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
534 |
-
}
|
535 |
-
|
536 |
-
} //End else
|
537 |
-
|
538 |
-
} //End if user is logged
|
539 |
-
|
540 |
-
|
541 |
-
//else if is not logged can vote
|
542 |
-
else {
|
543 |
-
|
544 |
-
if ($votes_number>0) {
|
545 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
546 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
547 |
-
}
|
548 |
-
|
549 |
-
else {
|
550 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
551 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
|
552 |
-
}
|
553 |
-
|
554 |
-
} //end else
|
555 |
-
|
556 |
-
} //end if ($allow_logged_option['allowed_user']==='allow_anonymous') {
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
//If only logged in users can vote
|
561 |
-
elseif (YASR_ALLOWED_USER === 'logged_only') {
|
562 |
-
|
563 |
-
//If user is logged in and can vote
|
564 |
-
if ( is_user_logged_in() ) {
|
565 |
-
|
566 |
-
//Chek if a logged in user has already rated for this post
|
567 |
-
$vote_if_user_already_rated = yasr_check_if_user_already_voted();
|
568 |
-
|
569 |
-
if ($vote_if_user_already_rated) {
|
570 |
-
|
571 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr-rateit-visitor-votes-logged-rated\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
572 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
573 |
-
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
574 |
-
|
575 |
-
}
|
576 |
-
|
577 |
-
else {
|
578 |
-
|
579 |
-
if ($votes_number>0) {
|
580 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
581 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
582 |
-
</div>";
|
583 |
-
}
|
584 |
-
|
585 |
-
else {
|
586 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
|
587 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
588 |
-
</div>";
|
589 |
-
}
|
590 |
-
|
591 |
-
}
|
592 |
-
|
593 |
-
} //End if user is logged in
|
594 |
-
|
595 |
-
//Else mean user is not logged in
|
596 |
-
else {
|
597 |
-
|
598 |
-
|
599 |
-
if ($votes_number>0) {
|
600 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
601 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
602 |
-
" . __("You must sign to vote", "yasr") . "</div>";
|
603 |
-
}
|
604 |
-
|
605 |
-
else {
|
606 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
607 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average: ","yasr") . "$medium_rating/5]</span>
|
608 |
-
" . __("You must sign to vote", "yasr") . "</div>";
|
609 |
-
}
|
610 |
-
|
611 |
-
}
|
612 |
-
|
613 |
-
}
|
614 |
-
|
615 |
-
} //End if $size == 'large'
|
616 |
-
|
617 |
-
|
618 |
-
if(YASR_TEXT_BEFORE_STARS == 1 && YASR_TEXT_BEFORE_VISITOR_RATING != '') {
|
619 |
-
|
620 |
-
$shortcode_html_tmp = "<div class=\"yasr-container-custom-text-and-visitor-rating\">
|
621 |
-
<span id=\"yasr-custom-text-before-visitor-rating\">" . YASR_TEXT_BEFORE_VISITOR_RATING . "</span>" . $shortcode_html . "</div>";
|
622 |
-
|
623 |
-
$shortcode_html = $shortcode_html_tmp;
|
624 |
-
|
625 |
-
}
|
626 |
-
|
627 |
-
|
628 |
-
?>
|
629 |
-
|
630 |
-
<script>
|
631 |
-
jQuery(document).ready(function() {
|
632 |
-
|
633 |
-
var tooltipvalues = ['bad', 'poor', 'ok', 'good', 'super'];
|
634 |
-
jQuery("#yasr_rateit_visitor_votes").bind('over', function (event, value) { jQuery(this).attr('title', tooltipvalues[value-1]); });
|
635 |
-
|
636 |
-
var postid = <?php the_ID(); ?>;
|
637 |
-
var cookiename = "yasr_visitor_vote_" + postid;
|
638 |
-
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
639 |
-
|
640 |
-
var size = "<?php echo YASR_AUTO_INSERT_SIZE ?>";
|
641 |
-
|
642 |
-
//json encode convert php type to javascript type
|
643 |
-
var logged_user = <?php echo json_encode(is_user_logged_in()); ?>
|
644 |
-
|
645 |
-
//On click Insert visitor votes
|
646 |
-
jQuery('#yasr_rateit_visitor_votes').on('rated', function() {
|
647 |
-
var el = jQuery(this);
|
648 |
-
var value = el.rateit('value');
|
649 |
-
var value = value.toFixed(1); //
|
650 |
-
|
651 |
-
jQuery('#yasr_visitor_votes').html( ' <?php echo "$loader_html" ?> ');
|
652 |
-
|
653 |
-
var data = {
|
654 |
-
action: 'yasr_send_visitor_rating',
|
655 |
-
rating: value,
|
656 |
-
post_id: postid,
|
657 |
-
size: size,
|
658 |
-
nonce_visitor: "<?php echo "$ajax_nonce_visitor"; ?>"
|
659 |
-
};
|
660 |
-
|
661 |
-
//Send value to the Server
|
662 |
-
jQuery.post(ajaxurl, data, function(response) {
|
663 |
-
//response
|
664 |
-
jQuery('#yasr_visitor_votes').html(response);
|
665 |
-
jQuery('.rateit').rateit();
|
666 |
-
//Create a cookie to disable double vote
|
667 |
-
jQuery.cookie(cookiename, value, { expires : 360 });
|
668 |
-
}) ;
|
669 |
-
});
|
670 |
-
//} //End if (!jQuery.cookie(cookiename))
|
671 |
-
|
672 |
-
|
673 |
-
//If user is not logged in
|
674 |
-
if (! logged_user) {
|
675 |
-
|
676 |
-
//Check if has cookie
|
677 |
-
if (jQuery.cookie(cookiename)) {
|
678 |
-
|
679 |
-
var cookievote=jQuery.cookie(cookiename);
|
680 |
-
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
681 |
-
|
682 |
-
var data = {
|
683 |
-
action: 'yasr_readonly_visitor_shortcode',
|
684 |
-
size: size,
|
685 |
-
rating: cookievote,
|
686 |
-
votes: <?php echo $medium_rating ?>,
|
687 |
-
votes_number: <?php echo $votes_number ?>,
|
688 |
-
post_id: postid
|
689 |
-
}
|
690 |
-
|
691 |
-
jQuery.post(ajaxurl, data, function(response) {
|
692 |
-
jQuery('#yasr_visitor_votes').html(response);
|
693 |
-
jQuery('.rateit').rateit();
|
694 |
-
});
|
695 |
-
|
696 |
-
} //End if jquery cookie
|
697 |
-
|
698 |
-
}
|
699 |
-
|
700 |
-
//If a logged in user has already voted, he/she can update the vote
|
701 |
-
else {
|
702 |
-
|
703 |
-
jQuery('#yasr-rateit-visitor-votes-logged-rated').on('rated', function() {
|
704 |
-
|
705 |
-
var el = jQuery(this);
|
706 |
-
var value = el.rateit('value');
|
707 |
-
var value = value.toFixed(1); //
|
708 |
-
|
709 |
-
jQuery('#yasr_visitor_votes').html( ' <?php echo "$loader_html" ?> ');
|
710 |
-
|
711 |
-
var data = {
|
712 |
-
action: 'yasr_update_visitor_rating',
|
713 |
-
rating: value,
|
714 |
-
post_id: postid,
|
715 |
-
size: size,
|
716 |
-
nonce_visitor: "<?php echo "$ajax_nonce_visitor"; ?>"
|
717 |
-
};
|
718 |
-
|
719 |
-
//Send value to the Server
|
720 |
-
jQuery.post(ajaxurl, data, function(response) {
|
721 |
-
//response
|
722 |
-
jQuery('#yasr_visitor_votes').html(response);
|
723 |
-
jQuery('.rateit').rateit();
|
724 |
-
//Create a cookie to disable double vote
|
725 |
-
jQuery.cookie(cookiename, value, { expires : 360 });
|
726 |
-
}) ;
|
727 |
-
|
728 |
-
});//End function update vote
|
729 |
-
|
730 |
-
}
|
731 |
-
|
732 |
-
});
|
733 |
-
|
734 |
-
</script>
|
735 |
-
|
736 |
-
<?php
|
737 |
-
|
738 |
-
if (YASR_AUTO_INSERT_EXCLUDE_PAGES === 'no') {
|
739 |
-
|
740 |
-
return $shortcode_html;
|
741 |
-
|
742 |
-
}
|
743 |
-
|
744 |
-
else {
|
745 |
-
|
746 |
-
if ( !is_page() ) {
|
747 |
-
|
748 |
-
return $shortcode_html;
|
749 |
-
|
750 |
-
}
|
751 |
-
|
752 |
-
}
|
753 |
-
|
754 |
-
} //End if is singular
|
755 |
-
|
756 |
-
} //End function shortcode_visitor_votes_callback
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
/****** Auto insert overall rating and visitor rating ******/
|
761 |
-
|
762 |
-
add_filter('the_content', 'yasr_auto_insert_shortcode_callback');
|
763 |
-
|
764 |
-
function yasr_auto_insert_shortcode_callback($content) {
|
765 |
-
|
766 |
-
if (YASR_AUTO_INSERT_ENABLED == 1) {
|
767 |
-
|
768 |
-
$auto_insert_shortcode=NULL; //To avoid undefined variable notice outside the loop (if (is_singular) )
|
769 |
-
|
770 |
-
$overall_rating_code = overall_rating_auto_insert_code();
|
771 |
-
$visitor_votes_code = visitor_votes_auto_insert_code();
|
772 |
-
|
773 |
-
if (YASR_AUTO_INSERT_WHAT==='overall_rating') {
|
774 |
-
switch (YASR_AUTO_INSERT_WHERE) {
|
775 |
-
case 'top':
|
776 |
-
return $overall_rating_code . $content;
|
777 |
-
break;
|
778 |
-
|
779 |
-
case 'bottom':
|
780 |
-
return $content . $overall_rating_code;
|
781 |
-
break;
|
782 |
-
} //End Switch
|
783 |
-
} //end YASR_AUTO_INSERT_WHAT overall rating
|
784 |
-
|
785 |
-
elseif (YASR_AUTO_INSERT_WHAT==='visitor_rating') {
|
786 |
-
switch (YASR_AUTO_INSERT_WHERE) {
|
787 |
-
case 'top':
|
788 |
-
return $visitor_votes_code . $content;
|
789 |
-
break;
|
790 |
-
|
791 |
-
case 'bottom':
|
792 |
-
return $content . $visitor_votes_code;
|
793 |
-
break;
|
794 |
-
} //End Switch
|
795 |
-
}
|
796 |
-
|
797 |
-
elseif (YASR_AUTO_INSERT_WHAT==='both') {
|
798 |
-
switch (YASR_AUTO_INSERT_WHERE) {
|
799 |
-
case 'top':
|
800 |
-
return $overall_rating_code . $visitor_votes_code . $content;
|
801 |
-
break;
|
802 |
-
|
803 |
-
case 'bottom':
|
804 |
-
return $content . $overall_rating_code . $visitor_votes_code;
|
805 |
-
break;
|
806 |
-
} //End Switch
|
807 |
-
}
|
808 |
-
|
809 |
-
return $content;
|
810 |
-
|
811 |
-
} //End if (YASR_AUTO_INSERT_ENABLED
|
812 |
-
|
813 |
-
else {
|
814 |
-
|
815 |
-
return $content;
|
816 |
-
|
817 |
-
}
|
818 |
-
|
819 |
|
820 |
-
|
821 |
|
822 |
|
823 |
/****** Add review schema data at the end of the post *******/
|
@@ -885,8 +266,8 @@ function visitor_votes_auto_insert_code () {
|
|
885 |
$div_1 = "<div class=\"yasr_schema\" itemscope itemtype=\"http://schema.org/Product\">";
|
886 |
$title = "<span itemprop=\"name\">". get_the_title() ."</span>";
|
887 |
$span_1 = "<span itemprop=\"aggregateRating\" itemscope itemtype=\"http://schema.org/AggregateRating\">";
|
888 |
-
$rating = __( ' average rating ' , 'yasr' ) . "<span itemprop=\"ratingValue\">" . $average_rating . "</span
|
889 |
-
$n_ratings = "<span itemprop=\"ratingCount\">
|
890 |
$end_span_1 = "</span>";
|
891 |
$end_div_1 = "</div>";
|
892 |
|
137 |
}
|
138 |
|
139 |
|
140 |
+
/****** Auto insert overall rating and visitor rating ******/
|
141 |
|
142 |
+
add_filter('the_content', 'yasr_auto_insert_shortcode_callback');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
|
144 |
+
function yasr_auto_insert_shortcode_callback($content) {
|
145 |
|
146 |
+
if (YASR_AUTO_INSERT_ENABLED == 1) {
|
147 |
|
148 |
+
$auto_insert_shortcode=NULL; //To avoid undefined variable notice outside the loop (if (is_singular) )
|
|
|
149 |
|
150 |
+
$overall_rating_code = '[yasr_overall_rating size="' . YASR_AUTO_INSERT_SIZE . '"]';
|
|
|
151 |
|
152 |
+
$visitor_votes_code = '[yasr_visitor_votes size="' . YASR_AUTO_INSERT_SIZE . '"]';
|
153 |
|
154 |
+
if (YASR_AUTO_INSERT_WHAT==='overall_rating') {
|
155 |
+
switch (YASR_AUTO_INSERT_WHERE) {
|
156 |
+
case 'top':
|
157 |
+
return $overall_rating_code . $content;
|
158 |
+
break;
|
159 |
+
|
160 |
+
case 'bottom':
|
161 |
+
return $content . $overall_rating_code;
|
162 |
+
break;
|
163 |
+
} //End Switch
|
164 |
+
} //end YASR_AUTO_INSERT_WHAT overall rating
|
165 |
|
166 |
+
elseif (YASR_AUTO_INSERT_WHAT==='visitor_rating') {
|
167 |
+
switch (YASR_AUTO_INSERT_WHERE) {
|
168 |
+
case 'top':
|
169 |
+
return $visitor_votes_code . $content;
|
170 |
+
break;
|
171 |
+
|
172 |
+
case 'bottom':
|
173 |
+
return $content . $visitor_votes_code;
|
174 |
+
break;
|
175 |
+
} //End Switch
|
176 |
}
|
177 |
|
178 |
+
elseif (YASR_AUTO_INSERT_WHAT==='both') {
|
179 |
+
switch (YASR_AUTO_INSERT_WHERE) {
|
180 |
+
case 'top':
|
181 |
+
return $overall_rating_code . $visitor_votes_code . $content;
|
182 |
+
break;
|
183 |
+
|
184 |
+
case 'bottom':
|
185 |
+
return $content . $overall_rating_code . $visitor_votes_code;
|
186 |
+
break;
|
187 |
+
} //End Switch
|
188 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
|
190 |
+
return $content;
|
191 |
|
192 |
+
} //End if (YASR_AUTO_INSERT_ENABLED
|
193 |
|
|
|
194 |
else {
|
195 |
|
196 |
+
return $content;
|
|
|
|
|
|
|
|
|
197 |
|
198 |
}
|
199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
|
201 |
+
} //End function yasr_auto_insert_shortcode_callback
|
202 |
|
203 |
|
204 |
/****** Add review schema data at the end of the post *******/
|
266 |
$div_1 = "<div class=\"yasr_schema\" itemscope itemtype=\"http://schema.org/Product\">";
|
267 |
$title = "<span itemprop=\"name\">". get_the_title() ."</span>";
|
268 |
$span_1 = "<span itemprop=\"aggregateRating\" itemscope itemtype=\"http://schema.org/AggregateRating\">";
|
269 |
+
$rating = __( ' average rating ' , 'yasr' ) . "<span itemprop=\"ratingValue\">" . $average_rating . "</span>/<span itemprop=\"bestRating\">5</span>";
|
270 |
+
$n_ratings = " - <span itemprop=\"ratingCount\"> " . $visitor_rating['votes_number'] . "</span>" . __(' user ratings', 'yasr');
|
271 |
$end_span_1 = "</span>";
|
272 |
$end_div_1 = "</div>";
|
273 |
|
lib/yasr-settings-functions.php
CHANGED
@@ -59,12 +59,6 @@
|
|
59 |
<?php
|
60 |
if ($option['auto_insert_enabled']==0) {
|
61 |
echo " checked='checked' />";
|
62 |
-
echo ("
|
63 |
-
<script>
|
64 |
-
jQuery( document ).ready(function() {
|
65 |
-
jQuery('.yasr_auto_insert_where_what_radio').prop('disabled', true);
|
66 |
-
});
|
67 |
-
</script>") ;
|
68 |
}
|
69 |
|
70 |
else {
|
@@ -481,7 +475,7 @@ function yasr_edit_multi_form() {
|
|
481 |
}
|
482 |
|
483 |
else {
|
484 |
-
_e("No Multiple Set were found");
|
485 |
}
|
486 |
|
487 |
}//End function
|
59 |
<?php
|
60 |
if ($option['auto_insert_enabled']==0) {
|
61 |
echo " checked='checked' />";
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
}
|
63 |
|
64 |
else {
|
475 |
}
|
476 |
|
477 |
else {
|
478 |
+
_e("No Multiple Set were found", "yasr");
|
479 |
}
|
480 |
|
481 |
}//End function
|
lib/yasr-shortcode-functions.php
CHANGED
@@ -3,7 +3,6 @@
|
|
3 |
if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // Exit if accessed directly
|
4 |
|
5 |
/****** Add shortcode for overall rating ******/
|
6 |
-
|
7 |
add_shortcode ('yasr_overall_rating', 'shortcode_overall_rating_callback');
|
8 |
|
9 |
function shortcode_overall_rating_callback ($atts) {
|
@@ -20,11 +19,6 @@ function shortcode_overall_rating_callback ($atts) {
|
|
20 |
);
|
21 |
}
|
22 |
|
23 |
-
//To avoid double visualization, I will insert this only if auto insert is off or if auto insert is set on visitor rating.
|
24 |
-
//If auto insert is on overall rating this shortcode must return nothing
|
25 |
-
|
26 |
-
if (YASR_AUTO_INSERT_ENABLED == 0 || (YASR_AUTO_INSERT_ENABLED == 1 && YASR_AUTO_INSERT_WHAT === 'visitor_rating' )) {
|
27 |
-
|
28 |
$overall_rating=yasr_get_overall_rating();
|
29 |
|
30 |
if (!$overall_rating) {
|
@@ -62,24 +56,52 @@ function shortcode_overall_rating_callback ($atts) {
|
|
62 |
}
|
63 |
|
64 |
//IF show overall rating in loop is disabled use is_singular && is_main query
|
65 |
-
if (YASR_SHOW_OVERALL_IN_LOOP === 'disabled') {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
return $shortcode_html;
|
70 |
|
71 |
}
|
72 |
|
73 |
-
|
|
|
74 |
|
75 |
-
|
76 |
-
elseif (YASR_SHOW_OVERALL_IN_LOOP === 'enabled') {
|
77 |
|
78 |
-
|
79 |
|
80 |
-
|
81 |
|
82 |
-
|
|
|
|
|
83 |
|
84 |
} //end function
|
85 |
|
@@ -93,7 +115,7 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
93 |
//To avoid double visualization, I will insert this only if auto insert is off or if auto insert is set on overall rating.
|
94 |
//If auto insert is on visitor rating this shortcode must return nothing
|
95 |
|
96 |
-
if (YASR_AUTO_INSERT_ENABLED == 0 || (YASR_AUTO_INSERT_ENABLED == 1 && YASR_AUTO_INSERT_WHAT === 'overall_rating' )) {
|
97 |
|
98 |
$shortcode_html = NULL; //Avoid undefined variable outside is_singular && is_main_query
|
99 |
|
@@ -101,20 +123,20 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
101 |
|
102 |
$ajax_nonce_visitor = wp_create_nonce( "yasr_nonce_insert_visitor_rating" );
|
103 |
|
104 |
-
|
105 |
|
106 |
$medium_rating=0; //Avoid undefined variable
|
107 |
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
|
113 |
else {
|
114 |
-
|
115 |
-
|
116 |
if ($votes_number !=0 ) {
|
117 |
-
|
118 |
}
|
119 |
}
|
120 |
}
|
@@ -497,82 +519,23 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
497 |
|
498 |
?>
|
499 |
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
var tooltipvalues = ['bad', 'poor', 'ok', 'good', 'super'];
|
504 |
-
jQuery("#yasr_rateit_visitor_votes").bind('over', function (event, value) { jQuery(this).attr('title', tooltipvalues[value-1]); });
|
505 |
-
|
506 |
-
var postid = <?php the_ID(); ?>;
|
507 |
-
var cookiename = "yasr_visitor_vote_" + postid;
|
508 |
-
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
509 |
-
|
510 |
-
var size = "<?php echo $size ?>";
|
511 |
-
|
512 |
-
//json encode convert php type to javascript type
|
513 |
-
var logged_user = <?php echo json_encode(is_user_logged_in()); ?>
|
514 |
-
|
515 |
-
//On click Insert visitor votes
|
516 |
-
jQuery('#yasr_rateit_visitor_votes').on('rated', function() {
|
517 |
-
var el = jQuery(this);
|
518 |
-
var value = el.rateit('value');
|
519 |
-
var value = value.toFixed(1); //
|
520 |
-
|
521 |
-
jQuery('#yasr_visitor_votes').html( ' <?php echo "$loader_html" ?> ');
|
522 |
-
|
523 |
-
var data = {
|
524 |
-
action: 'yasr_send_visitor_rating',
|
525 |
-
rating: value,
|
526 |
-
post_id: postid,
|
527 |
-
size: size,
|
528 |
-
nonce_visitor: "<?php echo "$ajax_nonce_visitor"; ?>"
|
529 |
-
};
|
530 |
-
|
531 |
-
//Send value to the Server
|
532 |
-
jQuery.post(ajaxurl, data, function(response) {
|
533 |
-
//response
|
534 |
-
jQuery('#yasr_visitor_votes').html(response);
|
535 |
-
jQuery('.rateit').rateit();
|
536 |
-
//Create a cookie to disable double vote
|
537 |
-
jQuery.cookie(cookiename, value, { expires : 360 });
|
538 |
-
}) ;
|
539 |
-
});
|
540 |
-
//} //End if (!jQuery.cookie(cookiename))
|
541 |
-
|
542 |
-
|
543 |
-
//If user is not logged in
|
544 |
-
if (! logged_user) {
|
545 |
-
|
546 |
-
//Check if has cookie
|
547 |
-
if (jQuery.cookie(cookiename)) {
|
548 |
-
|
549 |
-
var cookievote=jQuery.cookie(cookiename);
|
550 |
-
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
551 |
-
|
552 |
-
var data = {
|
553 |
-
action: 'yasr_readonly_visitor_shortcode',
|
554 |
-
size: size,
|
555 |
-
rating: cookievote,
|
556 |
-
votes: <?php echo $medium_rating ?>,
|
557 |
-
votes_number: <?php echo $votes_number ?>,
|
558 |
-
post_id: postid
|
559 |
-
}
|
560 |
-
|
561 |
-
jQuery.post(ajaxurl, data, function(response) {
|
562 |
-
jQuery('#yasr_visitor_votes').html(response);
|
563 |
-
jQuery('.rateit').rateit();
|
564 |
-
});
|
565 |
-
|
566 |
-
} //End if jquery cookie
|
567 |
|
568 |
-
|
|
|
569 |
|
570 |
-
|
|
|
|
|
571 |
|
572 |
-
|
573 |
|
574 |
-
|
|
|
575 |
|
|
|
|
|
576 |
var el = jQuery(this);
|
577 |
var value = el.rateit('value');
|
578 |
var value = value.toFixed(1); //
|
@@ -580,12 +543,12 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
580 |
jQuery('#yasr_visitor_votes').html( ' <?php echo "$loader_html" ?> ');
|
581 |
|
582 |
var data = {
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
|
590 |
//Send value to the Server
|
591 |
jQuery.post(ajaxurl, data, function(response) {
|
@@ -594,28 +557,105 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
594 |
jQuery('.rateit').rateit();
|
595 |
//Create a cookie to disable double vote
|
596 |
jQuery.cookie(cookiename, value, { expires : 360 });
|
597 |
-
}) ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
598 |
|
599 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
600 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
601 |
}
|
602 |
|
603 |
-
|
|
|
|
|
|
|
|
|
604 |
|
605 |
-
|
606 |
|
607 |
-
|
|
|
|
|
|
|
|
|
608 |
|
609 |
-
return $shortcode_html;
|
610 |
|
611 |
} //End if is singular
|
612 |
|
613 |
-
} //End if auto_insert_enabled
|
614 |
|
615 |
} //End function shortcode_visitor_votes_callback
|
616 |
|
617 |
|
618 |
-
|
619 |
/****** Add shortcode for multiple set ******/
|
620 |
|
621 |
add_shortcode ('yasr_multiset', 'shortcode_multi_set_callback');
|
@@ -926,4 +966,4 @@ function yasr_top_ten_active_users_callback () {
|
|
926 |
|
927 |
} //End function
|
928 |
|
929 |
-
?>
|
3 |
if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // Exit if accessed directly
|
4 |
|
5 |
/****** Add shortcode for overall rating ******/
|
|
|
6 |
add_shortcode ('yasr_overall_rating', 'shortcode_overall_rating_callback');
|
7 |
|
8 |
function shortcode_overall_rating_callback ($atts) {
|
19 |
);
|
20 |
}
|
21 |
|
|
|
|
|
|
|
|
|
|
|
22 |
$overall_rating=yasr_get_overall_rating();
|
23 |
|
24 |
if (!$overall_rating) {
|
56 |
}
|
57 |
|
58 |
//IF show overall rating in loop is disabled use is_singular && is_main query
|
59 |
+
if ( YASR_SHOW_OVERALL_IN_LOOP === 'disabled' ) {
|
60 |
+
|
61 |
+
//If pages are not excluted
|
62 |
+
if ( YASR_AUTO_INSERT_EXCLUDE_PAGES === 'no' ) {
|
63 |
+
|
64 |
+
if( is_singular() && is_main_query() ) {
|
65 |
+
|
66 |
+
return $shortcode_html;
|
67 |
+
|
68 |
+
}
|
69 |
+
|
70 |
+
}
|
71 |
|
72 |
+
//If page are excluted
|
73 |
+
else {
|
74 |
+
|
75 |
+
if( is_singular() && is_main_query() && !is_page() )
|
76 |
+
|
77 |
+
return $shortcode_html;
|
78 |
+
|
79 |
+
}
|
80 |
+
|
81 |
+
} // End if YASR_SHOW_OVERALL_IN_LOOP === 'disabled') {
|
82 |
+
|
83 |
+
//If overall rating in loop is enabled don't use is_singular && is main_query
|
84 |
+
elseif ( YASR_SHOW_OVERALL_IN_LOOP === 'enabled' ) {
|
85 |
+
|
86 |
+
//If pages are not excluted return always
|
87 |
+
if ( YASR_AUTO_INSERT_EXCLUDE_PAGES === 'no' ) {
|
88 |
|
89 |
return $shortcode_html;
|
90 |
|
91 |
}
|
92 |
|
93 |
+
//Else if page are excluted return only if is not a page
|
94 |
+
else {
|
95 |
|
96 |
+
if ( !is_page() ) {
|
|
|
97 |
|
98 |
+
return $shortcode_html;
|
99 |
|
100 |
+
}
|
101 |
|
102 |
+
}
|
103 |
+
|
104 |
+
}
|
105 |
|
106 |
} //end function
|
107 |
|
115 |
//To avoid double visualization, I will insert this only if auto insert is off or if auto insert is set on overall rating.
|
116 |
//If auto insert is on visitor rating this shortcode must return nothing
|
117 |
|
118 |
+
//if (YASR_AUTO_INSERT_ENABLED == 0 || (YASR_AUTO_INSERT_ENABLED == 1 && YASR_AUTO_INSERT_WHAT === 'overall_rating' )) {
|
119 |
|
120 |
$shortcode_html = NULL; //Avoid undefined variable outside is_singular && is_main_query
|
121 |
|
123 |
|
124 |
$ajax_nonce_visitor = wp_create_nonce( "yasr_nonce_insert_visitor_rating" );
|
125 |
|
126 |
+
$votes=yasr_get_visitor_votes();
|
127 |
|
128 |
$medium_rating=0; //Avoid undefined variable
|
129 |
|
130 |
+
if (!$votes) {
|
131 |
+
$votes=0; //Avoid undefined variable if there is not overall rating
|
132 |
+
$votes_number=0; //Avoid undefined variable
|
133 |
+
}
|
134 |
|
135 |
else {
|
136 |
+
foreach ($votes as $user_votes) {
|
137 |
+
$votes_number = $user_votes->number_of_votes;
|
138 |
if ($votes_number !=0 ) {
|
139 |
+
$medium_rating = ($user_votes->sum_votes/$votes_number);
|
140 |
}
|
141 |
}
|
142 |
}
|
519 |
|
520 |
?>
|
521 |
|
522 |
+
<script>
|
523 |
+
jQuery(document).ready(function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
524 |
|
525 |
+
var tooltipvalues = ['bad', 'poor', 'ok', 'good', 'super'];
|
526 |
+
jQuery("#yasr_rateit_visitor_votes").bind('over', function (event, value) { jQuery(this).attr('title', tooltipvalues[value-1]); });
|
527 |
|
528 |
+
var postid = <?php the_ID(); ?>;
|
529 |
+
var cookiename = "yasr_visitor_vote_" + postid;
|
530 |
+
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
531 |
|
532 |
+
var size = "<?php echo $size ?>";
|
533 |
|
534 |
+
//json encode convert php type to javascript type
|
535 |
+
var logged_user = <?php echo json_encode(is_user_logged_in()); ?>
|
536 |
|
537 |
+
//On click Insert visitor votes
|
538 |
+
jQuery('#yasr_rateit_visitor_votes').on('rated', function() {
|
539 |
var el = jQuery(this);
|
540 |
var value = el.rateit('value');
|
541 |
var value = value.toFixed(1); //
|
543 |
jQuery('#yasr_visitor_votes').html( ' <?php echo "$loader_html" ?> ');
|
544 |
|
545 |
var data = {
|
546 |
+
action: 'yasr_send_visitor_rating',
|
547 |
+
rating: value,
|
548 |
+
post_id: postid,
|
549 |
+
size: size,
|
550 |
+
nonce_visitor: "<?php echo "$ajax_nonce_visitor"; ?>"
|
551 |
+
};
|
552 |
|
553 |
//Send value to the Server
|
554 |
jQuery.post(ajaxurl, data, function(response) {
|
557 |
jQuery('.rateit').rateit();
|
558 |
//Create a cookie to disable double vote
|
559 |
jQuery.cookie(cookiename, value, { expires : 360 });
|
560 |
+
}) ;
|
561 |
+
});
|
562 |
+
//} //End if (!jQuery.cookie(cookiename))
|
563 |
+
|
564 |
+
|
565 |
+
//If user is not logged in
|
566 |
+
if (! logged_user) {
|
567 |
+
|
568 |
+
//Check if has cookie
|
569 |
+
if (jQuery.cookie(cookiename)) {
|
570 |
+
|
571 |
+
var cookievote=jQuery.cookie(cookiename);
|
572 |
+
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
573 |
+
|
574 |
+
var data = {
|
575 |
+
action: 'yasr_readonly_visitor_shortcode',
|
576 |
+
size: size,
|
577 |
+
rating: cookievote,
|
578 |
+
votes: <?php echo $medium_rating ?>,
|
579 |
+
votes_number: <?php echo $votes_number ?>,
|
580 |
+
post_id: postid
|
581 |
+
}
|
582 |
+
|
583 |
+
jQuery.post(ajaxurl, data, function(response) {
|
584 |
+
jQuery('#yasr_visitor_votes').html(response);
|
585 |
+
jQuery('.rateit').rateit();
|
586 |
+
});
|
587 |
+
|
588 |
+
} //End if jquery cookie
|
589 |
+
|
590 |
+
}
|
591 |
+
|
592 |
+
//If a logged in user has already voted, he/she can update the vote
|
593 |
+
|
594 |
+
else {
|
595 |
+
|
596 |
+
jQuery('#yasr-rateit-visitor-votes-logged-rated').on('rated', function() {
|
597 |
+
|
598 |
+
var el = jQuery(this);
|
599 |
+
var value = el.rateit('value');
|
600 |
+
var value = value.toFixed(1); //
|
601 |
+
|
602 |
+
jQuery('#yasr_visitor_votes').html( ' <?php echo "$loader_html" ?> ');
|
603 |
|
604 |
+
var data = {
|
605 |
+
action: 'yasr_update_visitor_rating',
|
606 |
+
rating: value,
|
607 |
+
post_id: postid,
|
608 |
+
size: size,
|
609 |
+
nonce_visitor: "<?php echo "$ajax_nonce_visitor"; ?>"
|
610 |
+
};
|
611 |
|
612 |
+
//Send value to the Server
|
613 |
+
jQuery.post(ajaxurl, data, function(response) {
|
614 |
+
//response
|
615 |
+
jQuery('#yasr_visitor_votes').html(response);
|
616 |
+
jQuery('.rateit').rateit();
|
617 |
+
//Create a cookie to disable double vote
|
618 |
+
jQuery.cookie(cookiename, value, { expires : 360 });
|
619 |
+
}) ;
|
620 |
+
|
621 |
+
});//End function update vote
|
622 |
+
|
623 |
+
}
|
624 |
+
|
625 |
+
});
|
626 |
+
|
627 |
+
</script>
|
628 |
+
|
629 |
+
<?php
|
630 |
+
|
631 |
+
if (YASR_AUTO_INSERT_ENABLED == 1) {
|
632 |
+
|
633 |
+
if (YASR_AUTO_INSERT_EXCLUDE_PAGES === 'no') {
|
634 |
+
return $shortcode_html; //Return everywehere
|
635 |
}
|
636 |
|
637 |
+
elseif (YASR_AUTO_INSERT_EXCLUDE_PAGES === 'yes') {
|
638 |
+
if ( !is_page() ) {
|
639 |
+
return $shortcode_html; //Return only if it is not a page
|
640 |
+
}
|
641 |
+
}
|
642 |
|
643 |
+
}
|
644 |
|
645 |
+
else {
|
646 |
+
|
647 |
+
return $shortcode_html;
|
648 |
+
|
649 |
+
}
|
650 |
|
|
|
651 |
|
652 |
} //End if is singular
|
653 |
|
654 |
+
//} //End if auto_insert_enabled
|
655 |
|
656 |
} //End function shortcode_visitor_votes_callback
|
657 |
|
658 |
|
|
|
659 |
/****** Add shortcode for multiple set ******/
|
660 |
|
661 |
add_shortcode ('yasr_multiset', 'shortcode_multi_set_callback');
|
966 |
|
967 |
} //End function
|
968 |
|
969 |
+
?>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
3 |
Tags: 5 star, admin, administrator, AJAX, five-star, javascript, jquery, post rating, posts, rate, rating, rating platform, rating system, ratings, review, reviews, rich snippets, seo, star, star rating, stars, vote, Votes, voting, voting contest, schema, serp
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 3.9.1
|
6 |
-
Stable tag: 0.4.
|
7 |
License: GPL2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -83,6 +83,10 @@ Of course not: you can easily add it on the visual editor just by clicking on th
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
|
|
86 |
= 0.4.8 =
|
87 |
* Many bug fix and code changes for i18n
|
88 |
* Yasr.css have been sperated in 2 files: 1 for admin and 1 for frontend
|
3 |
Tags: 5 star, admin, administrator, AJAX, five-star, javascript, jquery, post rating, posts, rate, rating, rating platform, rating system, ratings, review, reviews, rich snippets, seo, star, star rating, stars, vote, Votes, voting, voting contest, schema, serp
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 3.9.1
|
6 |
+
Stable tag: 0.4.9
|
7 |
License: GPL2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 0.4.9 =
|
87 |
+
* Fixed bug in rich snippet
|
88 |
+
* Under the hood changes and code cleanup
|
89 |
+
|
90 |
= 0.4.8 =
|
91 |
* Many bug fix and code changes for i18n
|
92 |
* Yasr.css have been sperated in 2 files: 1 for admin and 1 for frontend
|
yasr-settings-page.php
CHANGED
@@ -6,11 +6,13 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
6 |
wp_die( __( 'You do not have sufficient permissions to access this page.', 'yasr' ));
|
7 |
}
|
8 |
|
|
|
|
|
9 |
?>
|
10 |
|
11 |
<div class="wrap">
|
12 |
|
13 |
-
<h2>Yet Another Stars Rating: Settings
|
14 |
|
15 |
<?php
|
16 |
|
@@ -313,83 +315,96 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
313 |
|
314 |
|
315 |
|
316 |
-
|
317 |
|
318 |
-
|
319 |
|
320 |
-
|
321 |
-
jQuery('#yasr_auto_insert_radio_on').on('click', function(){
|
322 |
-
jQuery('.yasr_auto_insert_where_what_radio').prop('disabled', false);
|
323 |
-
});
|
324 |
|
325 |
-
|
326 |
-
jQuery('.yasr_auto_insert_where_what_radio').prop('disabled', true);
|
327 |
-
});
|
328 |
|
329 |
-
|
330 |
-
jQuery('.yasr-general-options-text-before').prop('disabled', false);
|
331 |
-
});
|
332 |
|
333 |
-
|
334 |
-
jQuery('.yasr-general-options-text-before').prop('disabled', true);
|
335 |
-
});
|
336 |
|
337 |
-
|
338 |
-
jQuery('#yasr-color-scheme-preview').toggle('slow');
|
339 |
-
return false; // prevent default click action from happening!
|
340 |
-
});
|
341 |
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
});
|
346 |
|
|
|
|
|
|
|
|
|
347 |
|
348 |
-
|
|
|
|
|
349 |
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
});
|
354 |
|
355 |
-
|
356 |
-
|
|
|
357 |
|
358 |
-
|
359 |
-
|
360 |
-
|
|
|
361 |
|
362 |
-
|
363 |
-
|
364 |
-
|
|
|
365 |
|
366 |
-
}); //End step1
|
367 |
|
368 |
-
|
369 |
-
//Now we are going to prepare another ajax call to check if multiple set exists
|
370 |
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
jQuery.post(ajaxurl, data, function(response) {
|
376 |
-
jQuery('#result-import').append(response);
|
377 |
-
});
|
378 |
|
379 |
-
|
|
|
380 |
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
});
|
385 |
|
386 |
-
|
|
|
|
|
387 |
|
388 |
-
|
389 |
|
390 |
-
|
391 |
-
|
392 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
393 |
|
394 |
jQuery('#yasr-multi-set-doc-link').on('click', function() {
|
395 |
jQuery('#yasr-multi-set-doc-box').toggle("slow");
|
@@ -399,7 +414,7 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
399 |
jQuery('#yasr-multi-set-doc-box').toggle("slow");
|
400 |
});
|
401 |
|
402 |
-
|
403 |
|
404 |
var counter = jQuery("#yasr-edit-form-number-elements").attr('value');
|
405 |
|
@@ -423,13 +438,10 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
423 |
|
424 |
});
|
425 |
|
426 |
-
<?php
|
427 |
|
428 |
} //End if ($n_multi_set == 1)
|
429 |
|
430 |
-
if (
|
431 |
-
|
432 |
-
?>
|
433 |
|
434 |
//If more then 1 set is used...
|
435 |
jQuery('#yasr-button-select-set-edit-form').on("click", function() {
|
@@ -475,11 +487,10 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
475 |
|
476 |
});
|
477 |
|
478 |
-
|
479 |
-
} //End if ($n_multi_set > 1)
|
480 |
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
|
485 |
-
|
6 |
wp_die( __( 'You do not have sufficient permissions to access this page.', 'yasr' ));
|
7 |
}
|
8 |
|
9 |
+
$n_multi_set = NULL;
|
10 |
+
|
11 |
?>
|
12 |
|
13 |
<div class="wrap">
|
14 |
|
15 |
+
<h2>Yet Another Stars Rating: <?php _e("Settings", "yasr"); ?></h2>
|
16 |
|
17 |
<?php
|
18 |
|
315 |
|
316 |
|
317 |
|
318 |
+
<script type="text/javascript">
|
319 |
|
320 |
+
jQuery( document ).ready(function() {
|
321 |
|
322 |
+
var active_tab = "<?php echo "$active_tab"; ?>";
|
|
|
|
|
|
|
323 |
|
324 |
+
var n_multi_set = <?php echo (json_encode("$n_multi_set")); ?> ;//Null in php is different from javascript NULL
|
|
|
|
|
325 |
|
326 |
+
var auto_insert_enabled = "<?php echo YASR_AUTO_INSERT_ENABLED ?>";
|
|
|
|
|
327 |
|
328 |
+
//-------------------General Settings Code---------------------
|
|
|
|
|
329 |
|
330 |
+
if (active_tab == 'general_settings') {
|
|
|
|
|
|
|
331 |
|
332 |
+
if (auto_insert_enabled == 0) {
|
333 |
+
jQuery('.yasr_auto_insert_where_what_radio').prop('disabled', true);
|
334 |
+
}
|
|
|
335 |
|
336 |
+
//First Div
|
337 |
+
jQuery('#yasr_auto_insert_radio_on').on('click', function(){
|
338 |
+
jQuery('.yasr_auto_insert_where_what_radio').prop('disabled', false);
|
339 |
+
});
|
340 |
|
341 |
+
jQuery('#yasr_auto_insert_radio_off').on('click', function(){
|
342 |
+
jQuery('.yasr_auto_insert_where_what_radio').prop('disabled', true);
|
343 |
+
});
|
344 |
|
345 |
+
jQuery('#yasr_text_before_star_on').on('click', function(){
|
346 |
+
jQuery('.yasr-general-options-text-before').prop('disabled', false);
|
347 |
+
});
|
|
|
348 |
|
349 |
+
jQuery('#yasr_text_before_star_off').on('click', function(){
|
350 |
+
jQuery('.yasr-general-options-text-before').prop('disabled', true);
|
351 |
+
});
|
352 |
|
353 |
+
jQuery('#yasr-color-scheme-preview-link').on('click', function () {
|
354 |
+
jQuery('#yasr-color-scheme-preview').toggle('slow');
|
355 |
+
return false; // prevent default click action from happening!
|
356 |
+
});
|
357 |
|
358 |
+
jQuery('#yasr-snippet-explained-link').on('click', function () {
|
359 |
+
jQuery('#yasr-snippet-explained').toggle('slow');
|
360 |
+
return false; // prevent default click action from happening!
|
361 |
+
});
|
362 |
|
|
|
363 |
|
364 |
+
//Second div code
|
|
|
365 |
|
366 |
+
//On click show proceed button
|
367 |
+
jQuery('#import-gdstar').on('click', function() {
|
368 |
+
jQuery('#yasr-import-gdstar-div').toggle();
|
369 |
+
});
|
|
|
|
|
|
|
370 |
|
371 |
+
//On click begin step1
|
372 |
+
jQuery('#import-button').on('click', function() {
|
373 |
|
374 |
+
var data = {
|
375 |
+
action : 'yasr_import_step1'
|
376 |
+
};
|
|
|
377 |
|
378 |
+
jQuery.post(ajaxurl, data, function(response) {
|
379 |
+
jQuery('#result-import').html(response);
|
380 |
+
});
|
381 |
|
382 |
+
}); //End step1
|
383 |
|
384 |
+
jQuery('#result-import').on('click', '.yasr-result-step-1', function() {
|
385 |
+
//Now we are going to prepare another ajax call to check if multiple set exists
|
386 |
+
|
387 |
+
var data = {
|
388 |
+
action: 'yasr_import_multi_set'
|
389 |
+
};
|
390 |
+
|
391 |
+
jQuery.post(ajaxurl, data, function(response) {
|
392 |
+
jQuery('#result-import').append(response);
|
393 |
+
});
|
394 |
+
|
395 |
+
}); //End second ajax call */
|
396 |
+
|
397 |
+
//Reload page after importing is done
|
398 |
+
jQuery('#result-import').on('click', '.yasr-result-step-2', function() {
|
399 |
+
location.reload(true);
|
400 |
+
});
|
401 |
+
|
402 |
+
} //End if general settings
|
403 |
+
|
404 |
+
|
405 |
+
//--------------Multi Sets Page ------------------
|
406 |
+
|
407 |
+
if (active_tab == 'manage_multi') {
|
408 |
|
409 |
jQuery('#yasr-multi-set-doc-link').on('click', function() {
|
410 |
jQuery('#yasr-multi-set-doc-box').toggle("slow");
|
414 |
jQuery('#yasr-multi-set-doc-box').toggle("slow");
|
415 |
});
|
416 |
|
417 |
+
if (n_multi_set == 1) {
|
418 |
|
419 |
var counter = jQuery("#yasr-edit-form-number-elements").attr('value');
|
420 |
|
438 |
|
439 |
});
|
440 |
|
|
|
441 |
|
442 |
} //End if ($n_multi_set == 1)
|
443 |
|
444 |
+
if (n_multi_set > 1) {
|
|
|
|
|
445 |
|
446 |
//If more then 1 set is used...
|
447 |
jQuery('#yasr-button-select-set-edit-form').on("click", function() {
|
487 |
|
488 |
});
|
489 |
|
490 |
+
} //End if ($n_multi_set > 1)
|
|
|
491 |
|
492 |
+
} //end if active_tab=='manage_multi'
|
493 |
+
|
494 |
+
}); //End jquery document ready
|
495 |
|
496 |
+
</script>
|
yet-another-stars-rating.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Yet Another Stars Rating
|
4 |
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
|
5 |
* Description: Rating system with rich snippets
|
6 |
-
* Version: 0.4.
|
7 |
* Author: Dario Curvino
|
8 |
* Author URI: http://profiles.wordpress.org/dudo/
|
9 |
* License: GPL2
|
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
28 |
*/
|
29 |
|
30 |
|
31 |
-
define('YASR_VERSION_NUM', '0.4.
|
32 |
|
33 |
//Plugin absolute path
|
34 |
define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );
|
@@ -85,35 +85,6 @@ define ("YASR_LOG_TABLE", $wpdb->prefix . 'yasr_log');
|
|
85 |
|
86 |
define ("YASR_LOADER_IMAGE", YASR_IMG_DIR . "/loader.gif");
|
87 |
|
88 |
-
// To remove in the end of August
|
89 |
-
if ($version_installed && $version_installed < '0.3.4') {
|
90 |
-
|
91 |
-
$wpdb->query ("ALTER TABLE " . YASR_MULTI_SET_FIELDS_TABLE . " MODIFY field_name VARCHAR( 23 )");
|
92 |
-
|
93 |
-
$option = array();
|
94 |
-
$option['auto_insert_enabled'] = 0;
|
95 |
-
$option['auto_insert_what'] = 'overall_rating';
|
96 |
-
$option['auto_insert_where'] = 'top';
|
97 |
-
$option['show_overall_in_loop'] = 'disabled';
|
98 |
-
$option['text_before_stars'] = 0;
|
99 |
-
$option['snippet'] = 'overall_rating';
|
100 |
-
$option['allowed_user'] = 'allow_anonymous';
|
101 |
-
|
102 |
-
update_option("yasr_general_options", $option);
|
103 |
-
|
104 |
-
}
|
105 |
-
|
106 |
-
// To remove in the end of August
|
107 |
-
if ($version_installed && $version_installed < '0.3.8') {
|
108 |
-
|
109 |
-
$option = get_option( 'yasr_general_options' );
|
110 |
-
|
111 |
-
$option['auto_insert_exclude_pages'] = 'yes';
|
112 |
-
|
113 |
-
update_option("yasr_general_options", $option);
|
114 |
-
|
115 |
-
}
|
116 |
-
|
117 |
if ($version_installed && $version_installed < '0.4.1') {
|
118 |
|
119 |
$option = get_option( 'yasr_general_options' );
|
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.4.9
|
7 |
* Author: Dario Curvino
|
8 |
* Author URI: http://profiles.wordpress.org/dudo/
|
9 |
* License: GPL2
|
28 |
*/
|
29 |
|
30 |
|
31 |
+
define('YASR_VERSION_NUM', '0.4.9');
|
32 |
|
33 |
//Plugin absolute path
|
34 |
define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );
|
85 |
|
86 |
define ("YASR_LOADER_IMAGE", YASR_IMG_DIR . "/loader.gif");
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
if ($version_installed && $version_installed < '0.4.1') {
|
89 |
|
90 |
$option = get_option( 'yasr_general_options' );
|