Version Description
- Visitor votes has changed: if an user is logged in, now it's possibile to update the given vote
- Using css sprite instead of single images
- Using only 2 css instead 4
- Added German Translation (thanks to Josef Seidl)
Download this release
Release Info
Developer | Dudo |
Plugin | Yasr – Yet Another Stars Rating |
Version | 0.4.7 |
Comparing to | |
See all releases |
Code changes from version 0.4.6 to 0.4.7
- css/bigstars.css +0 -71
- css/rateit.css +0 -102
- css/yasr.css +167 -0
- img/star-black24.png +0 -0
- img/star-black32.png +0 -0
- img/star-gold24.png +0 -0
- img/star-gold32.png +0 -0
- img/star-red24.png +0 -0
- img/star-red32.png +0 -0
- img/star-white24.png +0 -0
- img/star-white32.png +0 -0
- img/star.png +0 -0
- img/stars24.png +0 -0
- img/stars32.png +0 -0
- languages/yasr-de_DE.mo +0 -0
- languages/yasr-de_DE.po +863 -0
- languages/yasr-it_IT.mo +0 -0
- languages/yasr-it_IT.po +762 -11
- languages/yasr.mo +0 -0
- languages/yasr.pot +227 -168
- lib/yasr-ajax-functions.php +117 -10
- lib/yasr-db-functions.php +2 -2
- lib/yasr-functions.php +186 -150
- lib/yasr-settings-functions.php +6 -6
- lib/yasr-shortcode-functions.php +86 -61
- readme.txt +10 -1
- yasr-metabox-overall-rating.php +3 -1
- yasr-settings-page.php +12 -12
- yet-another-stars-rating.php +7 -3
css/bigstars.css
DELETED
@@ -1,71 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
SOURCE: Oxygen Team
|
3 |
-
*/
|
4 |
-
|
5 |
-
|
6 |
-
div.bigstars div.rateit-range
|
7 |
-
{
|
8 |
-
background: url('../img/star-white32.png');
|
9 |
-
height: 32px;
|
10 |
-
}
|
11 |
-
|
12 |
-
div.bigstars div.rateit-hover
|
13 |
-
{
|
14 |
-
background: url('../img/star-red32.png');
|
15 |
-
height: 32px;
|
16 |
-
}
|
17 |
-
|
18 |
-
div.bigstars div.rateit-selected
|
19 |
-
{
|
20 |
-
background: url('../img/star-gold32.png');
|
21 |
-
height: 32px;
|
22 |
-
}
|
23 |
-
|
24 |
-
div.bigstars div.rateit-reset
|
25 |
-
{
|
26 |
-
background: url('../img/star-black32.png');
|
27 |
-
width: 32px;
|
28 |
-
height: 32px;
|
29 |
-
|
30 |
-
}
|
31 |
-
|
32 |
-
div.bigstars div.rateit-reset:hover
|
33 |
-
{
|
34 |
-
background: url('../img/star-white32.png');
|
35 |
-
height: 32px;
|
36 |
-
}
|
37 |
-
|
38 |
-
|
39 |
-
/***** Added by Dario Curvino ******/
|
40 |
-
|
41 |
-
/* Creating set 24px image with yellow color read only. */
|
42 |
-
|
43 |
-
div.medium div.rateit-range
|
44 |
-
{
|
45 |
-
|
46 |
-
background: url('../img/star-white24.png');
|
47 |
-
height: 24px;
|
48 |
-
}
|
49 |
-
|
50 |
-
div.medium div.rateit-hover
|
51 |
-
{
|
52 |
-
background: url('../img/star-red24.png');
|
53 |
-
}
|
54 |
-
|
55 |
-
div.medium div.rateit-selected
|
56 |
-
{
|
57 |
-
background: url('../img/star-gold24.png');
|
58 |
-
}
|
59 |
-
|
60 |
-
div.medium div.rateit-reset
|
61 |
-
{
|
62 |
-
background: url('../img/star-black24.png');
|
63 |
-
width: 24px;
|
64 |
-
height: 24px;
|
65 |
-
|
66 |
-
}
|
67 |
-
|
68 |
-
div.medium div.rateit-reset:hover
|
69 |
-
{
|
70 |
-
background: url('../img/star-white24.png');
|
71 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/rateit.css
DELETED
@@ -1,102 +0,0 @@
|
|
1 |
-
.rateit {
|
2 |
-
display: -moz-inline-box;
|
3 |
-
display: inline-block;
|
4 |
-
position: relative;
|
5 |
-
-webkit-user-select: none;
|
6 |
-
-khtml-user-select: none;
|
7 |
-
-moz-user-select: none;
|
8 |
-
-o-user-select: none;
|
9 |
-
-ms-user-select: none;
|
10 |
-
user-select: none;
|
11 |
-
-webkit-touch-callout: none;
|
12 |
-
}
|
13 |
-
|
14 |
-
.rateit .rateit-range
|
15 |
-
{
|
16 |
-
position: relative;
|
17 |
-
display: -moz-inline-box;
|
18 |
-
display: inline-block;
|
19 |
-
background: url('../img/star.png');
|
20 |
-
height: 16px;
|
21 |
-
outline: none;
|
22 |
-
}
|
23 |
-
|
24 |
-
.rateit .rateit-range * {
|
25 |
-
display:block;
|
26 |
-
}
|
27 |
-
|
28 |
-
/* for IE 6 */
|
29 |
-
* html .rateit, * html .rateit .rateit-range
|
30 |
-
{
|
31 |
-
display: inline;
|
32 |
-
}
|
33 |
-
|
34 |
-
/* for IE 7 */
|
35 |
-
* + html .rateit, * + html .rateit .rateit-range
|
36 |
-
{
|
37 |
-
display: inline;
|
38 |
-
}
|
39 |
-
|
40 |
-
.rateit .rateit-hover, .rateit .rateit-selected
|
41 |
-
{
|
42 |
-
position: absolute;
|
43 |
-
left: 0px;
|
44 |
-
}
|
45 |
-
|
46 |
-
.rateit .rateit-hover-rtl, .rateit .rateit-selected-rtl
|
47 |
-
{
|
48 |
-
left: auto;
|
49 |
-
right: 0px;
|
50 |
-
}
|
51 |
-
|
52 |
-
.rateit .rateit-hover
|
53 |
-
{
|
54 |
-
background: url('../img/star.png') left -16px;
|
55 |
-
}
|
56 |
-
|
57 |
-
.rateit .rateit-hover-rtl
|
58 |
-
{
|
59 |
-
background-position: right -16px;
|
60 |
-
}
|
61 |
-
|
62 |
-
.rateit .rateit-selected
|
63 |
-
{
|
64 |
-
background: url('../img/star.png') left -32px;
|
65 |
-
}
|
66 |
-
|
67 |
-
.rateit .rateit-selected-rtl
|
68 |
-
{
|
69 |
-
background-position: right -32px;
|
70 |
-
}
|
71 |
-
|
72 |
-
.rateit .rateit-preset
|
73 |
-
{
|
74 |
-
background: url('../img/star.png') left -48px;
|
75 |
-
}
|
76 |
-
|
77 |
-
.rateit .rateit-preset-rtl
|
78 |
-
{
|
79 |
-
background: url('../img/star.png') left -48px;
|
80 |
-
}
|
81 |
-
|
82 |
-
.rateit button.rateit-reset
|
83 |
-
{
|
84 |
-
background: url('../img/delete.gif') 0 0;
|
85 |
-
width: 16px;
|
86 |
-
height: 16px;
|
87 |
-
display: -moz-inline-box;
|
88 |
-
display: inline-block;
|
89 |
-
float: left;
|
90 |
-
outline: none;
|
91 |
-
border:none;
|
92 |
-
padding: 0;
|
93 |
-
}
|
94 |
-
|
95 |
-
.rateit button.rateit-reset:hover, .rateit button.rateit-reset:focus
|
96 |
-
{
|
97 |
-
background-position: 0 -16px;
|
98 |
-
}
|
99 |
-
|
100 |
-
.yasr_settings_fields_content {
|
101 |
-
background-color: #F7F7F7;
|
102 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/yasr.css
CHANGED
@@ -1,3 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
/****** ADMIN RULES ******/
|
2 |
|
3 |
#multi_rating_table
|
1 |
+
/****** Rate it rules *****/
|
2 |
+
|
3 |
+
.rateit {
|
4 |
+
display: -moz-inline-box;
|
5 |
+
display: inline-block;
|
6 |
+
position: relative;
|
7 |
+
-webkit-user-select: none;
|
8 |
+
-khtml-user-select: none;
|
9 |
+
-moz-user-select: none;
|
10 |
+
-o-user-select: none;
|
11 |
+
-ms-user-select: none;
|
12 |
+
user-select: none;
|
13 |
+
-webkit-touch-callout: none;
|
14 |
+
}
|
15 |
+
|
16 |
+
.rateit .rateit-range
|
17 |
+
{
|
18 |
+
position: relative;
|
19 |
+
display: -moz-inline-box;
|
20 |
+
display: inline-block;
|
21 |
+
background: url('../img/star.png');
|
22 |
+
height: 16px;
|
23 |
+
outline: none;
|
24 |
+
}
|
25 |
+
|
26 |
+
.rateit .rateit-range * {
|
27 |
+
display:block;
|
28 |
+
}
|
29 |
+
|
30 |
+
/* for IE 6 */
|
31 |
+
* html .rateit, * html .rateit .rateit-range
|
32 |
+
{
|
33 |
+
display: inline;
|
34 |
+
}
|
35 |
+
|
36 |
+
/* for IE 7 */
|
37 |
+
* + html .rateit, * + html .rateit .rateit-range
|
38 |
+
{
|
39 |
+
display: inline;
|
40 |
+
}
|
41 |
+
|
42 |
+
.rateit .rateit-hover, .rateit .rateit-selected
|
43 |
+
{
|
44 |
+
position: absolute;
|
45 |
+
left: 0px;
|
46 |
+
}
|
47 |
+
|
48 |
+
.rateit .rateit-hover-rtl, .rateit .rateit-selected-rtl
|
49 |
+
{
|
50 |
+
left: auto;
|
51 |
+
right: 0px;
|
52 |
+
}
|
53 |
+
|
54 |
+
.rateit .rateit-hover
|
55 |
+
{
|
56 |
+
background: url('../img/star.png') left -16px;
|
57 |
+
}
|
58 |
+
|
59 |
+
.rateit .rateit-hover-rtl
|
60 |
+
{
|
61 |
+
background-position: right -16px;
|
62 |
+
}
|
63 |
+
|
64 |
+
.rateit .rateit-selected
|
65 |
+
{
|
66 |
+
background: url('../img/star.png') left -32px;
|
67 |
+
}
|
68 |
+
|
69 |
+
.rateit .rateit-selected-rtl
|
70 |
+
{
|
71 |
+
background-position: right -32px;
|
72 |
+
}
|
73 |
+
|
74 |
+
.rateit .rateit-preset
|
75 |
+
{
|
76 |
+
background: url('../img/star.png') left -48px;
|
77 |
+
}
|
78 |
+
|
79 |
+
.rateit .rateit-preset-rtl
|
80 |
+
{
|
81 |
+
background: url('../img/star.png') left -48px;
|
82 |
+
}
|
83 |
+
|
84 |
+
.rateit button.rateit-reset
|
85 |
+
{
|
86 |
+
background: url('../img/delete.gif') 0 0;
|
87 |
+
width: 16px;
|
88 |
+
height: 16px;
|
89 |
+
display: -moz-inline-box;
|
90 |
+
display: inline-block;
|
91 |
+
float: left;
|
92 |
+
outline: none;
|
93 |
+
border:none;
|
94 |
+
padding: 0;
|
95 |
+
}
|
96 |
+
|
97 |
+
.rateit button.rateit-reset:hover, .rateit button.rateit-reset:focus
|
98 |
+
{
|
99 |
+
background-position: 0 -16px;
|
100 |
+
}
|
101 |
+
|
102 |
+
.yasr_settings_fields_content {
|
103 |
+
background-color: #F7F7F7;
|
104 |
+
}
|
105 |
+
|
106 |
+
/*
|
107 |
+
IMAGES BY: Oxygen Team
|
108 |
+
*/
|
109 |
+
|
110 |
+
/* Creating set 24px image . */
|
111 |
+
|
112 |
+
div.medium .rateit-range
|
113 |
+
{
|
114 |
+
/*White*/
|
115 |
+
background: url('../img/stars24.png') left 0px;
|
116 |
+
width: 24px;
|
117 |
+
height: 24px;
|
118 |
+
}
|
119 |
+
|
120 |
+
div.medium .rateit-hover
|
121 |
+
{
|
122 |
+
/*Red*/
|
123 |
+
background: url('../img/stars24.png') left -29px;
|
124 |
+
width: 24px;
|
125 |
+
height: 24px;
|
126 |
+
display: none
|
127 |
+
|
128 |
+
}
|
129 |
+
|
130 |
+
div.medium .rateit-selected
|
131 |
+
{
|
132 |
+
/*Yellow*/
|
133 |
+
background: url('../img/stars24.png') left -58px ;
|
134 |
+
width: 24px;
|
135 |
+
height: 24px;
|
136 |
+
}
|
137 |
+
|
138 |
+
/* Creating set 32 */
|
139 |
+
|
140 |
+
div.bigstars .rateit-range
|
141 |
+
{
|
142 |
+
/*White*/
|
143 |
+
background: url('../img/stars32.png') left 0px ;
|
144 |
+
width: 32px;
|
145 |
+
height: 32px;
|
146 |
+
}
|
147 |
+
|
148 |
+
div.bigstars .rateit-hover
|
149 |
+
{
|
150 |
+
/*red*/
|
151 |
+
background: url('../img/stars32.png') left -74px ;
|
152 |
+
width: 32px;
|
153 |
+
height: 32px;
|
154 |
+
display: none
|
155 |
+
}
|
156 |
+
|
157 |
+
div.bigstars .rateit-selected
|
158 |
+
{
|
159 |
+
/*Gold*/
|
160 |
+
background: url('../img/stars32.png') left -37px ;
|
161 |
+
width: 32px;
|
162 |
+
height: 32px;
|
163 |
+
}
|
164 |
+
|
165 |
+
/****** End rateit rules ******/
|
166 |
+
|
167 |
+
|
168 |
/****** ADMIN RULES ******/
|
169 |
|
170 |
#multi_rating_table
|
img/star-black24.png
DELETED
Binary file
|
img/star-black32.png
DELETED
Binary file
|
img/star-gold24.png
DELETED
Binary file
|
img/star-gold32.png
DELETED
Binary file
|
img/star-red24.png
DELETED
Binary file
|
img/star-red32.png
DELETED
Binary file
|
img/star-white24.png
DELETED
Binary file
|
img/star-white32.png
DELETED
Binary file
|
img/star.png
CHANGED
Binary file
|
img/stars24.png
ADDED
Binary file
|
img/stars32.png
ADDED
Binary file
|
languages/yasr-de_DE.mo
ADDED
Binary file
|
languages/yasr-de_DE.po
ADDED
@@ -0,0 +1,863 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: YASR lenguages\n"
|
4 |
+
"POT-Creation-Date: 2014-08-13 14:28+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-08-13 14:28+0100\n"
|
6 |
+
"Last-Translator: Dario <thedudoworld@gmail.com>\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.5.4\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
+
"X-Poedit-SearchPath-0: ..\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:753
|
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 "
|
25 |
+
"zuzugreifen."
|
26 |
+
|
27 |
+
#: ../yasr-settings-page.php:56
|
28 |
+
#, fuzzy
|
29 |
+
msgid "General Settings"
|
30 |
+
msgstr "Allgemeine Einstellungen"
|
31 |
+
|
32 |
+
#: ../yasr-settings-page.php:57
|
33 |
+
msgid "Multi Sets"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: ../yasr-settings-page.php:58
|
37 |
+
msgid "Styles"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: ../yasr-settings-page.php:74 ../yasr-settings-page.php:272
|
41 |
+
msgid "Save"
|
42 |
+
msgstr "Speichern"
|
43 |
+
|
44 |
+
#: ../yasr-settings-page.php:80 ../yasr-settings-page.php:242
|
45 |
+
#: ../yasr-settings-page.php:279 ../yasr-settings-page.php:303
|
46 |
+
msgid "Donations"
|
47 |
+
msgstr "Spenden"
|
48 |
+
|
49 |
+
#: ../yasr-settings-page.php:82 ../yasr-settings-page.php:244
|
50 |
+
#: ../yasr-settings-page.php:281 ../yasr-settings-page.php:305
|
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. "
|
54 |
+
msgstr ""
|
55 |
+
"Wenn du das Plugin nützlich gefunden hast, dann unterstütze doch die "
|
56 |
+
"Weiterentwicklung mit einer kleinen Spende. Deine Unterstützung ist uns viel "
|
57 |
+
"Wert."
|
58 |
+
|
59 |
+
#: ../yasr-settings-page.php:84 ../yasr-settings-page.php:246
|
60 |
+
#: ../yasr-settings-page.php:283 ../yasr-settings-page.php:307
|
61 |
+
msgid "Thank you!"
|
62 |
+
msgstr "Danke!"
|
63 |
+
|
64 |
+
#: ../yasr-settings-page.php:104
|
65 |
+
msgid "Import Gd Star Rating"
|
66 |
+
msgstr "Importiere Gd Star Rating Daten"
|
67 |
+
|
68 |
+
#: ../yasr-settings-page.php:105
|
69 |
+
msgid ""
|
70 |
+
"I've found a previous installation of Gd Star Rating . <br />Do you want "
|
71 |
+
"proceed to import data?"
|
72 |
+
msgstr ""
|
73 |
+
"Es wurde eine Installation von Gd Star Rating gefunden. <br />Willst du die "
|
74 |
+
"Daten importieren?"
|
75 |
+
|
76 |
+
#: ../yasr-settings-page.php:107
|
77 |
+
msgid "Yes, Begin Import"
|
78 |
+
msgstr "Ja, Import starten"
|
79 |
+
|
80 |
+
#: ../yasr-settings-page.php:111
|
81 |
+
msgid "Click on Proceed to Import Gd Star Rating Data."
|
82 |
+
msgstr "Klicke auf Fortfahren um die Gd Star Rating Daten zu importieren."
|
83 |
+
|
84 |
+
#: ../yasr-settings-page.php:114 ../yasr-settings-page.php:147
|
85 |
+
msgid "Proceed"
|
86 |
+
msgstr "Fortfahren"
|
87 |
+
|
88 |
+
#: ../yasr-settings-page.php:136
|
89 |
+
msgid "Manage GD Star Data"
|
90 |
+
msgstr "Verwalte GD Star Rating Daten"
|
91 |
+
|
92 |
+
#: ../yasr-settings-page.php:137
|
93 |
+
msgid "Gd Star Rating has been already imported."
|
94 |
+
msgstr "Gd Star Rating Daten wurden bereits importiert."
|
95 |
+
|
96 |
+
#: ../yasr-settings-page.php:138
|
97 |
+
msgid "If you wish you can import it again, but"
|
98 |
+
msgstr "Du kannst die Daten erneut importieren, aber"
|
99 |
+
|
100 |
+
#: ../yasr-settings-page.php:138
|
101 |
+
msgid "you will lose all data you've collect since the import!"
|
102 |
+
msgstr "dann gehen alle gesammelten Daten seit dem letzten Import verloren!"
|
103 |
+
|
104 |
+
#: ../yasr-settings-page.php:140
|
105 |
+
msgid "Ok, Import Again"
|
106 |
+
msgstr "Ok, erneut importieren"
|
107 |
+
|
108 |
+
#: ../yasr-settings-page.php:144
|
109 |
+
msgid ""
|
110 |
+
"Click on Proceed to Import again Gd Star Rating Data. This may take a while!"
|
111 |
+
msgstr ""
|
112 |
+
"Klicke auf Fortfahren um die Gd Star Rating Daten erneut zu importieren. Das "
|
113 |
+
"kann unter Umständen eine Weile dauern!"
|
114 |
+
|
115 |
+
#: ../yasr-settings-page.php:185
|
116 |
+
msgid "Manage multi-set"
|
117 |
+
msgstr "Multi-Set verwalten"
|
118 |
+
|
119 |
+
#: ../yasr-settings-page.php:189
|
120 |
+
msgid "What is a Multi-set?"
|
121 |
+
msgstr "Was ist ein Multi-Set?"
|
122 |
+
|
123 |
+
#: ../yasr-settings-page.php:194
|
124 |
+
msgid ""
|
125 |
+
"Multi-set allows you to insert a rate for each aspect about the product / "
|
126 |
+
"local business / whetever\n"
|
127 |
+
"\t\t\t\tyou're reviewing, example in the image below."
|
128 |
+
msgstr ""
|
129 |
+
"Ein Multi-Set erlaubt dir eine Bewertung für verschiedene Aspekte eines "
|
130 |
+
"Produkts / lokalen Geschäfts etc. r\n"
|
131 |
+
"\t\t\t\t abzugeben. Ein Beispiel zeigt die nachfolgende Abbildung."
|
132 |
+
|
133 |
+
#: ../yasr-settings-page.php:199
|
134 |
+
msgid ""
|
135 |
+
"You can create up to 99 different multi-sets and each one can contain up to "
|
136 |
+
"9 different fields. \n"
|
137 |
+
"\t\t\t\t\tOnce you've saved it, you can insert the rates while typing your "
|
138 |
+
"article in the box below the editor, \n"
|
139 |
+
"\t\t\t\t\tas you can see in this image (click to see it larger)"
|
140 |
+
msgstr ""
|
141 |
+
"Du kannst bis zu 99 verschiedene Multi-Sets mit jeweils bis zu 9 "
|
142 |
+
"verschiedenen Feldern anlegen. \n"
|
143 |
+
"\t\t\t\t\t Sobald du alles gespeichert hast, kannst du deine Bewertung "
|
144 |
+
"unterhalb des Editors abgeben, \n"
|
145 |
+
"\t\t\t\t\t wie am Bild unten (Klicken zum Vergrößern) zu sehen ist."
|
146 |
+
|
147 |
+
#: ../yasr-settings-page.php:205
|
148 |
+
msgid ""
|
149 |
+
"In order to insert your text into a post or page, you can either past\n"
|
150 |
+
"\t\t\t\t\tthe short code that will appear at the bottom of the box or just "
|
151 |
+
"click\n"
|
152 |
+
"\t\t\t\t\ton the star in the graphic editor and select \"Insert Multi-Set\"."
|
153 |
+
msgstr ""
|
154 |
+
"Um deinen Text in einen Beitrag oder in eine Seite einzufügen, kannst du "
|
155 |
+
"entweder\n"
|
156 |
+
"\t\t\t\t\t den Shortcode am Ende der Box nutzen oder einfach \n"
|
157 |
+
"\t\t\t\t\t auf den Stern im Editor klicken und \"Insert Multi-Set\" wählen."
|
158 |
+
|
159 |
+
#: ../yasr-settings-page.php:213
|
160 |
+
msgid "Close this message"
|
161 |
+
msgstr "Nachricht schließen"
|
162 |
+
|
163 |
+
#: ../yasr-metabox-multiple-rating.php:15
|
164 |
+
msgid "Choose wich set you want to use"
|
165 |
+
msgstr "Wähle ein Multi-Set aus"
|
166 |
+
|
167 |
+
#: ../yasr-metabox-multiple-rating.php:26
|
168 |
+
#: ../lib/yasr-settings-functions.php:372
|
169 |
+
msgid "Select"
|
170 |
+
msgstr "Auswählen"
|
171 |
+
|
172 |
+
#: ../yasr-metabox-overall-rating.php:17
|
173 |
+
msgid "Rate this article / item"
|
174 |
+
msgstr "Bewerte diesen Artikel / Gegenstand"
|
175 |
+
|
176 |
+
#: ../yasr-metabox-overall-rating.php:25
|
177 |
+
#: ../lib/yasr-shortcode-functions.php:125 ../lib/yasr-functions.php:266
|
178 |
+
msgid "Loading, please wait"
|
179 |
+
msgstr "Wird geladen, bitte warten"
|
180 |
+
|
181 |
+
#: ../yasr-metabox-overall-rating.php:40
|
182 |
+
msgid ""
|
183 |
+
"Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
|
184 |
+
"where you want to display this rating"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: ../lib/yasr-shortcode-functions.php:156
|
188 |
+
#: ../lib/yasr-shortcode-functions.php:168
|
189 |
+
#: ../lib/yasr-shortcode-functions.php:173
|
190 |
+
#: ../lib/yasr-shortcode-functions.php:186
|
191 |
+
#: ../lib/yasr-shortcode-functions.php:191
|
192 |
+
#: ../lib/yasr-shortcode-functions.php:211
|
193 |
+
#: ../lib/yasr-shortcode-functions.php:220
|
194 |
+
#: ../lib/yasr-shortcode-functions.php:226
|
195 |
+
#: ../lib/yasr-shortcode-functions.php:240
|
196 |
+
#: ../lib/yasr-shortcode-functions.php:246
|
197 |
+
#: ../lib/yasr-shortcode-functions.php:271
|
198 |
+
#: ../lib/yasr-shortcode-functions.php:283
|
199 |
+
#: ../lib/yasr-shortcode-functions.php:288
|
200 |
+
#: ../lib/yasr-shortcode-functions.php:301
|
201 |
+
#: ../lib/yasr-shortcode-functions.php:306
|
202 |
+
#: ../lib/yasr-shortcode-functions.php:327
|
203 |
+
#: ../lib/yasr-shortcode-functions.php:336
|
204 |
+
#: ../lib/yasr-shortcode-functions.php:342
|
205 |
+
#: ../lib/yasr-shortcode-functions.php:356
|
206 |
+
#: ../lib/yasr-shortcode-functions.php:362
|
207 |
+
#: ../lib/yasr-shortcode-functions.php:387
|
208 |
+
#: ../lib/yasr-shortcode-functions.php:399
|
209 |
+
#: ../lib/yasr-shortcode-functions.php:404
|
210 |
+
#: ../lib/yasr-shortcode-functions.php:417
|
211 |
+
#: ../lib/yasr-shortcode-functions.php:422
|
212 |
+
#: ../lib/yasr-shortcode-functions.php:443
|
213 |
+
#: ../lib/yasr-shortcode-functions.php:452
|
214 |
+
#: ../lib/yasr-shortcode-functions.php:458
|
215 |
+
#: ../lib/yasr-shortcode-functions.php:472
|
216 |
+
#: ../lib/yasr-shortcode-functions.php:478 ../lib/yasr-functions.php:285
|
217 |
+
#: ../lib/yasr-functions.php:297 ../lib/yasr-functions.php:302
|
218 |
+
#: ../lib/yasr-functions.php:315 ../lib/yasr-functions.php:320
|
219 |
+
#: ../lib/yasr-functions.php:340 ../lib/yasr-functions.php:349
|
220 |
+
#: ../lib/yasr-functions.php:355 ../lib/yasr-functions.php:369
|
221 |
+
#: ../lib/yasr-functions.php:375 ../lib/yasr-functions.php:400
|
222 |
+
#: ../lib/yasr-functions.php:412 ../lib/yasr-functions.php:417
|
223 |
+
#: ../lib/yasr-functions.php:430 ../lib/yasr-functions.php:435
|
224 |
+
#: ../lib/yasr-functions.php:456 ../lib/yasr-functions.php:465
|
225 |
+
#: ../lib/yasr-functions.php:471 ../lib/yasr-functions.php:485
|
226 |
+
#: ../lib/yasr-functions.php:491 ../lib/yasr-functions.php:516
|
227 |
+
#: ../lib/yasr-functions.php:528 ../lib/yasr-functions.php:533
|
228 |
+
#: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
|
229 |
+
#: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
|
230 |
+
#: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
|
231 |
+
#: ../lib/yasr-functions.php:607 ../lib/yasr-ajax-functions.php:991
|
232 |
+
#: ../lib/yasr-ajax-functions.php:999 ../lib/yasr-ajax-functions.php:1007
|
233 |
+
#: ../lib/yasr-ajax-functions.php:1021 ../lib/yasr-ajax-functions.php:1029
|
234 |
+
#: ../lib/yasr-ajax-functions.php:1036 ../lib/yasr-ajax-functions.php:1126
|
235 |
+
#: ../lib/yasr-ajax-functions.php:1134 ../lib/yasr-ajax-functions.php:1142
|
236 |
+
#: ../lib/yasr-ajax-functions.php:1178 ../lib/yasr-ajax-functions.php:1184
|
237 |
+
#: ../lib/yasr-ajax-functions.php:1190 ../lib/yasr-ajax-functions.php:1199
|
238 |
+
msgid "Total: "
|
239 |
+
msgstr "Gesamt:"
|
240 |
+
|
241 |
+
#: ../lib/yasr-shortcode-functions.php:157
|
242 |
+
#: ../lib/yasr-shortcode-functions.php:212
|
243 |
+
#: ../lib/yasr-shortcode-functions.php:272
|
244 |
+
#: ../lib/yasr-shortcode-functions.php:328
|
245 |
+
#: ../lib/yasr-shortcode-functions.php:388
|
246 |
+
#: ../lib/yasr-shortcode-functions.php:444 ../lib/yasr-functions.php:286
|
247 |
+
#: ../lib/yasr-functions.php:341 ../lib/yasr-functions.php:401
|
248 |
+
#: ../lib/yasr-functions.php:457 ../lib/yasr-functions.php:517
|
249 |
+
#: ../lib/yasr-functions.php:573
|
250 |
+
#, fuzzy
|
251 |
+
msgid "You've already voted this article with"
|
252 |
+
msgstr "Bewerte diesen Artikel / Gegenstand"
|
253 |
+
|
254 |
+
#: ../lib/yasr-shortcode-functions.php:241
|
255 |
+
#: ../lib/yasr-shortcode-functions.php:357
|
256 |
+
#: ../lib/yasr-shortcode-functions.php:473 ../lib/yasr-functions.php:370
|
257 |
+
#: ../lib/yasr-functions.php:486 ../lib/yasr-functions.php:602
|
258 |
+
msgid "You must sign to vote"
|
259 |
+
msgstr "Um eine Bewertung abzugeben musst du angemeldet sein"
|
260 |
+
|
261 |
+
#: ../lib/yasr-shortcode-functions.php:698
|
262 |
+
msgid "Rating"
|
263 |
+
msgstr "Bewertung"
|
264 |
+
|
265 |
+
#: ../lib/yasr-shortcode-functions.php:712
|
266 |
+
msgid "You don't have any votes stored"
|
267 |
+
msgstr "Es sind keine Autoren-Bewertungen gespeichert"
|
268 |
+
|
269 |
+
#: ../lib/yasr-shortcode-functions.php:726
|
270 |
+
#, fuzzy
|
271 |
+
msgid "Chart is loading, please wait"
|
272 |
+
msgstr "Wird geladen, bitte warten"
|
273 |
+
|
274 |
+
#: ../lib/yasr-shortcode-functions.php:855
|
275 |
+
msgid ""
|
276 |
+
"Problem while retriving the top 5 most active reviewers. Did you published "
|
277 |
+
"any review?"
|
278 |
+
msgstr ""
|
279 |
+
"Es ist ein Problem beim Laden der 5 aktivsten Review-Autoren aufgetreten. "
|
280 |
+
"Hast du bereits ein Review veröffentlicht?"
|
281 |
+
|
282 |
+
#: ../lib/yasr-shortcode-functions.php:923
|
283 |
+
msgid ""
|
284 |
+
"Problem while retriving the top 10 active users chart. Are you sure you have "
|
285 |
+
"votes to show?"
|
286 |
+
msgstr ""
|
287 |
+
"Es ist ein Problem beim Laden der Top 10 aktivsten Nutzer aufgetreten. Sind "
|
288 |
+
"Sie sicher das Bewertungen vorhanden sind?"
|
289 |
+
|
290 |
+
#: ../lib/yasr-settings-functions.php:31
|
291 |
+
msgid "General settings"
|
292 |
+
msgstr "Allgemeine Einstellungen"
|
293 |
+
|
294 |
+
#: ../lib/yasr-settings-functions.php:32
|
295 |
+
msgid "Auto insert options"
|
296 |
+
msgstr "Anzeigeoptionen"
|
297 |
+
|
298 |
+
#: ../lib/yasr-settings-functions.php:33
|
299 |
+
msgid "Show overall rating in Home Page?"
|
300 |
+
msgstr "Gesamtbewertung auf der Startseite anzeigen?"
|
301 |
+
|
302 |
+
#: ../lib/yasr-settings-functions.php:34
|
303 |
+
msgid "Insert custom text to show before / after stars"
|
304 |
+
msgstr ""
|
305 |
+
"Benutzerdefinierter Text der vor oder nach der Bewertung angezeigt wird"
|
306 |
+
|
307 |
+
#: ../lib/yasr-settings-functions.php:35
|
308 |
+
msgid "Which color scheme do you want to use?"
|
309 |
+
msgstr "Welches Farbschema willst du nutzen?"
|
310 |
+
|
311 |
+
#: ../lib/yasr-settings-functions.php:36
|
312 |
+
msgid "Allow only logged in user to vote?"
|
313 |
+
msgstr "Nur angemeldete Besucher dürfen abstimmen?"
|
314 |
+
|
315 |
+
#: ../lib/yasr-settings-functions.php:37
|
316 |
+
msgid "Which rich snippets do you want to use?"
|
317 |
+
msgstr "Welches Rich Snippet willst du nutzen?"
|
318 |
+
|
319 |
+
#: ../lib/yasr-settings-functions.php:51
|
320 |
+
msgid "Use Auto Insert?"
|
321 |
+
msgstr "Bewertung automatisch einfügen?"
|
322 |
+
|
323 |
+
#: ../lib/yasr-settings-functions.php:54
|
324 |
+
#: ../lib/yasr-settings-functions.php:129
|
325 |
+
#: ../lib/yasr-settings-functions.php:149
|
326 |
+
#: ../lib/yasr-settings-functions.php:174
|
327 |
+
msgid "Yes"
|
328 |
+
msgstr "Ja"
|
329 |
+
|
330 |
+
#: ../lib/yasr-settings-functions.php:74
|
331 |
+
#: ../lib/yasr-settings-functions.php:134
|
332 |
+
#: ../lib/yasr-settings-functions.php:154
|
333 |
+
#: ../lib/yasr-settings-functions.php:191
|
334 |
+
msgid "No"
|
335 |
+
msgstr "Nein"
|
336 |
+
|
337 |
+
#: ../lib/yasr-settings-functions.php:80
|
338 |
+
msgid "What?"
|
339 |
+
msgstr "Was soll eingefügt werden?"
|
340 |
+
|
341 |
+
#: ../lib/yasr-settings-functions.php:83
|
342 |
+
msgid "Overall Rating / Author Rating"
|
343 |
+
msgstr "Gesamtbewertung (Autorenbewertung)"
|
344 |
+
|
345 |
+
#: ../lib/yasr-settings-functions.php:87 ../lib/yasr-ajax-functions.php:355
|
346 |
+
msgid "Visitor Votes"
|
347 |
+
msgstr "Besucherbewertung"
|
348 |
+
|
349 |
+
#: ../lib/yasr-settings-functions.php:91
|
350 |
+
msgid "Both"
|
351 |
+
msgstr "Beides"
|
352 |
+
|
353 |
+
#: ../lib/yasr-settings-functions.php:95
|
354 |
+
msgid "Where?"
|
355 |
+
msgstr "Wo soll es eingefügt werden?"
|
356 |
+
|
357 |
+
#: ../lib/yasr-settings-functions.php:98
|
358 |
+
msgid "Before the post"
|
359 |
+
msgstr "Vor dem Artikel"
|
360 |
+
|
361 |
+
#: ../lib/yasr-settings-functions.php:102
|
362 |
+
msgid "After the post"
|
363 |
+
msgstr "Nach dem Artikel"
|
364 |
+
|
365 |
+
#: ../lib/yasr-settings-functions.php:107
|
366 |
+
msgid "Size"
|
367 |
+
msgstr "Größe"
|
368 |
+
|
369 |
+
#: ../lib/yasr-settings-functions.php:111
|
370 |
+
msgid "Small"
|
371 |
+
msgstr "Klein"
|
372 |
+
|
373 |
+
#: ../lib/yasr-settings-functions.php:116
|
374 |
+
msgid "Medium"
|
375 |
+
msgstr "Mittel"
|
376 |
+
|
377 |
+
#: ../lib/yasr-settings-functions.php:121
|
378 |
+
msgid "Large"
|
379 |
+
msgstr "Groß"
|
380 |
+
|
381 |
+
#: ../lib/yasr-settings-functions.php:126
|
382 |
+
msgid "Exclude Pages?"
|
383 |
+
msgstr "Seiten ausschließen?"
|
384 |
+
|
385 |
+
#: ../lib/yasr-settings-functions.php:158
|
386 |
+
msgid ""
|
387 |
+
"If you enable this, \"Overall Rating\" will be showed not only in the single "
|
388 |
+
"article or page, but also in pages like Home Page, category pages or "
|
389 |
+
"archives."
|
390 |
+
msgstr ""
|
391 |
+
"Ist diese Option aktiviert, dann wird die \"Gesamtbewertung\" nicht nur in "
|
392 |
+
"Beiträgen oder Seiten angezeigt, sondern auch auf der Startseite, in den "
|
393 |
+
"Kategorien und im Archiv."
|
394 |
+
|
395 |
+
#: ../lib/yasr-settings-functions.php:198
|
396 |
+
msgid "Custom text to display before overall rating"
|
397 |
+
msgstr "Benutzerdefinierter Text vor der Gesamtbewertung (Autorenbewertung)"
|
398 |
+
|
399 |
+
#: ../lib/yasr-settings-functions.php:203
|
400 |
+
msgid "Custom text to display before visitor rating"
|
401 |
+
msgstr "Benutzerdefinierter Text vor der Besucherbewertung"
|
402 |
+
|
403 |
+
#: ../lib/yasr-settings-functions.php:208
|
404 |
+
msgid "Custom text to display when a non logged user has already rated"
|
405 |
+
msgstr ""
|
406 |
+
"Benutzerdefinierter Text der angezeigt wird, wenn ein nicht angemeldeter "
|
407 |
+
"Besucher bereits eine Bewertung abgegeben hat"
|
408 |
+
|
409 |
+
#: ../lib/yasr-settings-functions.php:224
|
410 |
+
msgid "Light"
|
411 |
+
msgstr "Hell"
|
412 |
+
|
413 |
+
#: ../lib/yasr-settings-functions.php:229
|
414 |
+
msgid "Dark"
|
415 |
+
msgstr "Dunkel"
|
416 |
+
|
417 |
+
#: ../lib/yasr-settings-functions.php:234
|
418 |
+
msgid "Preview"
|
419 |
+
msgstr "Vorschau"
|
420 |
+
|
421 |
+
#: ../lib/yasr-settings-functions.php:239
|
422 |
+
msgid "Light theme"
|
423 |
+
msgstr "Helles Theme"
|
424 |
+
|
425 |
+
#: ../lib/yasr-settings-functions.php:244
|
426 |
+
msgid "Dark Theme"
|
427 |
+
msgstr "Dunkles Theme"
|
428 |
+
|
429 |
+
#: ../lib/yasr-settings-functions.php:262
|
430 |
+
msgid "Allow only logged-in users"
|
431 |
+
msgstr "Nur angemeldete Besucher erlauben"
|
432 |
+
|
433 |
+
#: ../lib/yasr-settings-functions.php:266
|
434 |
+
msgid "Allow everybody (logged in and anonymous)"
|
435 |
+
msgstr "Jedem erlauben (angemeldete und anonyme Besucher)"
|
436 |
+
|
437 |
+
#: ../lib/yasr-settings-functions.php:283
|
438 |
+
msgid "Review Rating"
|
439 |
+
msgstr "Review Rating (Autorenbewertung)"
|
440 |
+
|
441 |
+
#: ../lib/yasr-settings-functions.php:287
|
442 |
+
msgid "Aggregate Rating"
|
443 |
+
msgstr "Aggregate Rating (Besucherbewertung)"
|
444 |
+
|
445 |
+
#: ../lib/yasr-settings-functions.php:292
|
446 |
+
msgid "What is this?"
|
447 |
+
msgstr "Was ist das?"
|
448 |
+
|
449 |
+
#: ../lib/yasr-settings-functions.php:297
|
450 |
+
msgid ""
|
451 |
+
"If you select \"Review Rating\", your site will be indexed from search "
|
452 |
+
"engines like this: "
|
453 |
+
msgstr ""
|
454 |
+
"Wenn du \"Review Rating\" wählst, dann wird dein Beitrag/Seite bei Google so "
|
455 |
+
"aussehen:"
|
456 |
+
|
457 |
+
#: ../lib/yasr-settings-functions.php:302
|
458 |
+
msgid ""
|
459 |
+
"If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
|
460 |
+
"this"
|
461 |
+
msgstr ""
|
462 |
+
"Wenn du im Vergleich \"Aggregate Rating\" wählst, dann sieht das Ergebnis "
|
463 |
+
"wie folgt aus "
|
464 |
+
|
465 |
+
#: ../lib/yasr-settings-functions.php:318
|
466 |
+
msgid ""
|
467 |
+
"Field Name, Element#1 and Element#2 MUST be filled and must be long at least "
|
468 |
+
"3 characters"
|
469 |
+
msgstr ""
|
470 |
+
"Feldname, Element #1 und Element #2 MÜSSEN ausgefüllt und mindestens 3 "
|
471 |
+
"Zeichen lang sein"
|
472 |
+
|
473 |
+
#: ../lib/yasr-settings-functions.php:321
|
474 |
+
msgid "Name"
|
475 |
+
msgstr "Name"
|
476 |
+
|
477 |
+
#: ../lib/yasr-settings-functions.php:326
|
478 |
+
msgid "You can insert up to nine element"
|
479 |
+
msgstr "Du kannst bis zu 9 Elementen einfügen"
|
480 |
+
|
481 |
+
#: ../lib/yasr-settings-functions.php:331
|
482 |
+
msgid "Element "
|
483 |
+
msgstr "Element"
|
484 |
+
|
485 |
+
#: ../lib/yasr-settings-functions.php:341
|
486 |
+
msgid "Create New Set"
|
487 |
+
msgstr "Neues Multi-Set anlegen"
|
488 |
+
|
489 |
+
#: ../lib/yasr-settings-functions.php:362
|
490 |
+
#, fuzzy
|
491 |
+
msgid "Manage Multiple Set"
|
492 |
+
msgstr "Multi-Set verwalten"
|
493 |
+
|
494 |
+
#: ../lib/yasr-settings-functions.php:364
|
495 |
+
msgid "Wich set do you want to edit or remove?"
|
496 |
+
msgstr "Welches Multi-Set möchtest du bearbeiten oder löschen?"
|
497 |
+
|
498 |
+
#: ../lib/yasr-settings-functions.php:404
|
499 |
+
#: ../lib/yasr-settings-functions.php:522
|
500 |
+
msgid "Field name"
|
501 |
+
msgstr "Feldname"
|
502 |
+
|
503 |
+
#: ../lib/yasr-settings-functions.php:408
|
504 |
+
#: ../lib/yasr-settings-functions.php:526
|
505 |
+
msgid "Remove"
|
506 |
+
msgstr "Entfernen"
|
507 |
+
|
508 |
+
#: ../lib/yasr-settings-functions.php:450
|
509 |
+
msgid "Remove whole set?"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
+
#: ../lib/yasr-settings-functions.php:463
|
513 |
+
#: ../lib/yasr-settings-functions.php:581
|
514 |
+
msgid ""
|
515 |
+
"If you remove something you will remove all the votes for that set or field. "
|
516 |
+
"This operation CAN'T BE undone."
|
517 |
+
msgstr ""
|
518 |
+
"Wenn du etwas löscht, dann werden alle Bewertungen für dieses Multi-Set oder "
|
519 |
+
"Feld gelöscht. Dies kann nicht rückgängig gemacht werden."
|
520 |
+
|
521 |
+
#: ../lib/yasr-settings-functions.php:470
|
522 |
+
#: ../lib/yasr-settings-functions.php:588
|
523 |
+
msgid "You can use up to 9 elements"
|
524 |
+
msgstr "Du kannst bist zu 9 Elementen nutzen"
|
525 |
+
|
526 |
+
#: ../lib/yasr-settings-functions.php:472
|
527 |
+
#: ../lib/yasr-settings-functions.php:590
|
528 |
+
msgid "Add element"
|
529 |
+
msgstr "Element hinzufügen"
|
530 |
+
|
531 |
+
#: ../lib/yasr-settings-functions.php:474
|
532 |
+
#: ../lib/yasr-settings-functions.php:592
|
533 |
+
msgid "Save changes"
|
534 |
+
msgstr "Änderungen speichern"
|
535 |
+
|
536 |
+
#: ../lib/yasr-settings-functions.php:484
|
537 |
+
msgid "No multiple set were found"
|
538 |
+
msgstr "Keine Multi-Sets gefunden"
|
539 |
+
|
540 |
+
#: ../lib/yasr-settings-functions.php:734
|
541 |
+
#: ../lib/yasr-settings-functions.php:1002
|
542 |
+
msgid "Settings Saved"
|
543 |
+
msgstr "Einstellungen gespeichert"
|
544 |
+
|
545 |
+
#: ../lib/yasr-settings-functions.php:739
|
546 |
+
msgid "Something goes wrong trying insert set field name. Please report it"
|
547 |
+
msgstr ""
|
548 |
+
"Beim einfügen des Multi-Set Feldnamens ist etwas schief gelaufen. Bitte "
|
549 |
+
"melde das Problem"
|
550 |
+
|
551 |
+
#: ../lib/yasr-settings-functions.php:745
|
552 |
+
msgid "Something goes wrong trying insert multi set name. Please report it"
|
553 |
+
msgstr ""
|
554 |
+
"Beim Einfügen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
|
555 |
+
"Problem"
|
556 |
+
|
557 |
+
#: ../lib/yasr-settings-functions.php:820
|
558 |
+
msgid "Something goes wrong trying to delete a multi-set . Please report it"
|
559 |
+
msgstr ""
|
560 |
+
"Beim Löschen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
|
561 |
+
"Problem"
|
562 |
+
|
563 |
+
#: ../lib/yasr-settings-functions.php:866
|
564 |
+
msgid ""
|
565 |
+
"Something goes wrong trying to delete a multi-set element. Please report it"
|
566 |
+
msgstr ""
|
567 |
+
"Beim Löschen des Multi-Set Elements ist etwas schief gelaufen. Bitte melde "
|
568 |
+
"das Problem"
|
569 |
+
|
570 |
+
#: ../lib/yasr-settings-functions.php:930
|
571 |
+
msgid ""
|
572 |
+
"Something goes wrong trying to update a multi set element. Please report it"
|
573 |
+
msgstr ""
|
574 |
+
"Bei der Aktualisierung des Multi-Set Elements ist etwas schief gelaufen. "
|
575 |
+
"Bitte melde das Problem"
|
576 |
+
|
577 |
+
#: ../lib/yasr-settings-functions.php:987
|
578 |
+
msgid ""
|
579 |
+
"Something goes wrong trying to insert set field name in edit form. Please "
|
580 |
+
"report it"
|
581 |
+
msgstr ""
|
582 |
+
"Beim Einfügen des Multi-Set Feldnamens ist etwas schief gelaufen. Bitte "
|
583 |
+
"melde das Problem"
|
584 |
+
|
585 |
+
#: ../lib/yasr-settings-functions.php:1030
|
586 |
+
msgid "Style Options"
|
587 |
+
msgstr ""
|
588 |
+
|
589 |
+
#: ../lib/yasr-settings-functions.php:1031
|
590 |
+
msgid "Custom CSS Styles"
|
591 |
+
msgstr ""
|
592 |
+
|
593 |
+
#: ../lib/yasr-settings-functions.php:1036
|
594 |
+
msgid ""
|
595 |
+
"Please use text area below to write your own CSS styles to override the "
|
596 |
+
"default ones."
|
597 |
+
msgstr ""
|
598 |
+
|
599 |
+
#: ../lib/yasr-settings-functions.php:1038
|
600 |
+
msgid "Leave it blank if you don't know what you're doing"
|
601 |
+
msgstr ""
|
602 |
+
|
603 |
+
#: ../lib/yasr-settings-functions.php:1071
|
604 |
+
msgid "No previous Gd Star Ratings installation was found"
|
605 |
+
msgstr "Es wurde keine Gd Star Ratings Installation gefunden"
|
606 |
+
|
607 |
+
#: ../lib/yasr-db-functions.php:214 ../lib/yasr-ajax-functions.php:765
|
608 |
+
msgid "No Recenet votes yet"
|
609 |
+
msgstr "Keine kürzlichen Bewertungen"
|
610 |
+
|
611 |
+
#: ../lib/yasr-db-functions.php:229 ../lib/yasr-ajax-functions.php:778
|
612 |
+
msgid "anonymous"
|
613 |
+
msgstr "Anonym"
|
614 |
+
|
615 |
+
#: ../lib/yasr-db-functions.php:252 ../lib/yasr-ajax-functions.php:801
|
616 |
+
msgid "Ip address"
|
617 |
+
msgstr "IP-Adresse"
|
618 |
+
|
619 |
+
#: ../lib/yasr-db-functions.php:293 ../lib/yasr-ajax-functions.php:842
|
620 |
+
msgid "Pages"
|
621 |
+
msgstr "Seiten"
|
622 |
+
|
623 |
+
#: ../lib/yasr-functions.php:63 ../lib/yasr-functions.php:64
|
624 |
+
msgid "Yet Another Stars Rating: Settings"
|
625 |
+
msgstr "Yet Another Stars Rating"
|
626 |
+
|
627 |
+
#: ../lib/yasr-functions.php:107 ../lib/yasr-functions.php:114
|
628 |
+
msgid "Overall Rating"
|
629 |
+
msgstr "Gesamtbewertung"
|
630 |
+
|
631 |
+
#: ../lib/yasr-functions.php:108
|
632 |
+
msgid "Yet Another Stars Rating: Multiple set"
|
633 |
+
msgstr "YASR: Multi-Sets"
|
634 |
+
|
635 |
+
#: ../lib/yasr-functions.php:124
|
636 |
+
msgid "You don't have enought privileges to insert overall rating"
|
637 |
+
msgstr ""
|
638 |
+
"Du hast nicht die notwendigen Berechtigungen um eine Gesamtbewertung "
|
639 |
+
"einzufügen"
|
640 |
+
|
641 |
+
#: ../lib/yasr-functions.php:134
|
642 |
+
msgid "You don't have enought privileges to insert multi-set"
|
643 |
+
msgstr ""
|
644 |
+
"Du hast nicht die notwendigen Berechtigungen um ein Multi-Set einzufügen"
|
645 |
+
|
646 |
+
#: ../lib/yasr-functions.php:842
|
647 |
+
msgid " reviewed by "
|
648 |
+
msgstr " bewertet von"
|
649 |
+
|
650 |
+
#: ../lib/yasr-functions.php:843
|
651 |
+
msgid " on "
|
652 |
+
msgstr " mit"
|
653 |
+
|
654 |
+
#: ../lib/yasr-functions.php:844 ../lib/yasr-functions.php:888
|
655 |
+
msgid " rated "
|
656 |
+
msgstr " ist bewertet mit "
|
657 |
+
|
658 |
+
#: ../lib/yasr-functions.php:844
|
659 |
+
msgid " on 5.0"
|
660 |
+
msgstr " mit 5"
|
661 |
+
|
662 |
+
#: ../lib/yasr-functions.php:888
|
663 |
+
msgid " out of "
|
664 |
+
msgstr " von "
|
665 |
+
|
666 |
+
#: ../lib/yasr-functions.php:889
|
667 |
+
msgid " based on "
|
668 |
+
msgstr " basierend auf "
|
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 "Bitte füge diesen Shortcode ein"
|
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 "Wo soll das Multi-Set angezeigt werden"
|
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:337
|
691 |
+
msgid "Overall Rating / Review"
|
692 |
+
msgstr "Gesamtbewertung (Autorenbewertung)"
|
693 |
+
|
694 |
+
#: ../lib/yasr-ajax-functions.php:340
|
695 |
+
msgid "Insert Overall Rating / Review for this post"
|
696 |
+
msgstr "Gesamtbewertung einfügen / Bewertung der Review-Autoren"
|
697 |
+
|
698 |
+
#: ../lib/yasr-ajax-functions.php:343 ../lib/yasr-ajax-functions.php:361
|
699 |
+
msgid "Choose Size"
|
700 |
+
msgstr "Größe wählen"
|
701 |
+
|
702 |
+
#: ../lib/yasr-ajax-functions.php:358
|
703 |
+
msgid "Insert the ability for your visitor to vote"
|
704 |
+
msgstr "Besucher dürfen Bewertungen abgeben"
|
705 |
+
|
706 |
+
#: ../lib/yasr-ajax-functions.php:375
|
707 |
+
msgid "If you want to insert a multi-set, pick one:"
|
708 |
+
msgstr "Wähle das einzufügende Multi-Set:"
|
709 |
+
|
710 |
+
#: ../lib/yasr-ajax-functions.php:381
|
711 |
+
msgid "Choose wich set you want to insert."
|
712 |
+
msgstr "Wählen das einzufügende Multi-Set."
|
713 |
+
|
714 |
+
#: ../lib/yasr-ajax-functions.php:389
|
715 |
+
msgid "Insert Multiset:"
|
716 |
+
msgstr "Multi-Set einfügen:"
|
717 |
+
|
718 |
+
#: ../lib/yasr-ajax-functions.php:408
|
719 |
+
msgid "Top 10 overall ratings"
|
720 |
+
msgstr "Top 10 Artikel/Seiten von Review-Autoren"
|
721 |
+
|
722 |
+
#: ../lib/yasr-ajax-functions.php:410
|
723 |
+
msgid "Insert Top 10 highest rated by post author"
|
724 |
+
msgstr ""
|
725 |
+
"Füge die Top 10 höchst bewerteten Artikel/Seiten von Review-Autoren ein"
|
726 |
+
|
727 |
+
#: ../lib/yasr-ajax-functions.php:414
|
728 |
+
msgid "Top 10 by visitors"
|
729 |
+
msgstr "Top 10 Artikel/Seiten von Besuchern"
|
730 |
+
|
731 |
+
#: ../lib/yasr-ajax-functions.php:416
|
732 |
+
msgid "Insert Top 10 most or higher rated posts from visitors"
|
733 |
+
msgstr ""
|
734 |
+
"Füge die Top 10 meist oder höchst bewertetsten Artikel/Seiten von Besuchern "
|
735 |
+
"ein"
|
736 |
+
|
737 |
+
#: ../lib/yasr-ajax-functions.php:420
|
738 |
+
msgid "Most active reviewers"
|
739 |
+
msgstr "Aktivste Review-Autoren"
|
740 |
+
|
741 |
+
#: ../lib/yasr-ajax-functions.php:422
|
742 |
+
msgid "Insert Top 5 active reviewers"
|
743 |
+
msgstr "Füge die Top 5 aktivsten Review-Autoren ein"
|
744 |
+
|
745 |
+
#: ../lib/yasr-ajax-functions.php:426
|
746 |
+
msgid "Most active users"
|
747 |
+
msgstr "Aktivste Besucher"
|
748 |
+
|
749 |
+
#: ../lib/yasr-ajax-functions.php:428
|
750 |
+
msgid "Insert Top 10 active users in visitor ratings"
|
751 |
+
msgstr "Füge die Top 10 aktivsten Besucher ein"
|
752 |
+
|
753 |
+
#: ../lib/yasr-ajax-functions.php:622
|
754 |
+
msgid "Reviews and visitor votes have been successfull imported."
|
755 |
+
msgstr "Autoren-Reviews und Bewertungen wurden erfolgreich importiert."
|
756 |
+
|
757 |
+
#: ../lib/yasr-ajax-functions.php:628
|
758 |
+
msgid ""
|
759 |
+
"Step2: I will check if you used multiple set and if so I will import it. "
|
760 |
+
"THIS MAY TAKE A WHILE!"
|
761 |
+
msgstr ""
|
762 |
+
"Schritt 2: Prüfe ob Multi-Sets verwendet wurden und importiere diese "
|
763 |
+
"gegebenenfalls. DAS KANN ETWAS DAUERN!"
|
764 |
+
|
765 |
+
#: ../lib/yasr-ajax-functions.php:630
|
766 |
+
msgid "Proceed Step 2"
|
767 |
+
msgstr "Fortfahren mit Schritt 2"
|
768 |
+
|
769 |
+
#: ../lib/yasr-ajax-functions.php:637
|
770 |
+
msgid "Something goes wrong! Refresh the page and try again!"
|
771 |
+
msgstr ""
|
772 |
+
"Hier ist etwas schief gelaufen. Bitte aktualisiere die Seite und versuche es "
|
773 |
+
"noch einmal!"
|
774 |
+
|
775 |
+
#: ../lib/yasr-ajax-functions.php:666
|
776 |
+
msgid "I've found multiple set! Importing..."
|
777 |
+
msgstr "Es wurden verschiedene Multi-Sets gefunden. Starte Import..."
|
778 |
+
|
779 |
+
#: ../lib/yasr-ajax-functions.php:675
|
780 |
+
msgid "Multi set's name has been successfull imported."
|
781 |
+
msgstr "Multi-Set Namen wurden erfolgreich importiert."
|
782 |
+
|
783 |
+
#: ../lib/yasr-ajax-functions.php:677
|
784 |
+
msgid "Now I'm going to import multi set data"
|
785 |
+
msgstr "Der Import der Multi-Set Daten wird gestartet"
|
786 |
+
|
787 |
+
#: ../lib/yasr-ajax-functions.php:688
|
788 |
+
msgid "All votes has been successfull imported."
|
789 |
+
msgstr "Alle Bewertungen wurden erfolgreich importiert."
|
790 |
+
|
791 |
+
#: ../lib/yasr-ajax-functions.php:691
|
792 |
+
msgid "Done"
|
793 |
+
msgstr "Fertig"
|
794 |
+
|
795 |
+
#: ../lib/yasr-ajax-functions.php:696
|
796 |
+
msgid "I've found multiple set votes but I couldn't insert into db"
|
797 |
+
msgstr ""
|
798 |
+
"Es wurden Multi-Set Bewertungen gefunden aber diese konnten nicht in der "
|
799 |
+
"Datenbank gespeichert werden."
|
800 |
+
|
801 |
+
#: ../lib/yasr-ajax-functions.php:704
|
802 |
+
msgid "I've found multi set but with no data"
|
803 |
+
msgstr "Das Multi-Set wurde gefunden aber es sind keine Daten vorhanden"
|
804 |
+
|
805 |
+
#: ../lib/yasr-ajax-functions.php:713
|
806 |
+
msgid "I've found multi set name but I couldn't insert into db"
|
807 |
+
msgstr ""
|
808 |
+
"Der Multi-Set Name wurde gefunden aber konnte nicht in die Datenbank "
|
809 |
+
"eingetragen werden"
|
810 |
+
|
811 |
+
#: ../lib/yasr-ajax-functions.php:721
|
812 |
+
#, fuzzy
|
813 |
+
msgid "Multiset was not found. Imported is done!"
|
814 |
+
msgstr "Multi-Set wurde nicht gefunden."
|
815 |
+
|
816 |
+
#: ../lib/yasr-ajax-functions.php:991 ../lib/yasr-ajax-functions.php:999
|
817 |
+
#: ../lib/yasr-ajax-functions.php:1007 ../lib/yasr-ajax-functions.php:1021
|
818 |
+
#: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1036
|
819 |
+
#, fuzzy
|
820 |
+
msgid "Average rating"
|
821 |
+
msgstr "Durchschnittsbewertung"
|
822 |
+
|
823 |
+
#: ../lib/yasr-ajax-functions.php:992 ../lib/yasr-ajax-functions.php:1000
|
824 |
+
#: ../lib/yasr-ajax-functions.php:1008 ../lib/yasr-ajax-functions.php:1022
|
825 |
+
#: ../lib/yasr-ajax-functions.php:1030 ../lib/yasr-ajax-functions.php:1037
|
826 |
+
msgid "Vote Saved"
|
827 |
+
msgstr "Bewertung gespeichert"
|
828 |
+
|
829 |
+
#: ../lib/yasr-ajax-functions.php:1127 ../lib/yasr-ajax-functions.php:1135
|
830 |
+
#: ../lib/yasr-ajax-functions.php:1143
|
831 |
+
#, fuzzy
|
832 |
+
msgid "Vote Updated"
|
833 |
+
msgstr "Bewertung gespeichert"
|
834 |
+
|
835 |
+
#: ../lib/yasr-ajax-functions.php:1178 ../lib/yasr-ajax-functions.php:1184
|
836 |
+
#: ../lib/yasr-ajax-functions.php:1190 ../lib/yasr-ajax-functions.php:1199
|
837 |
+
#, fuzzy
|
838 |
+
msgid "Average "
|
839 |
+
msgstr "Durchschnitt"
|
840 |
+
|
841 |
+
#: ../lib/yasr-ajax-functions.php:1257 ../lib/yasr-ajax-functions.php:1292
|
842 |
+
msgid "Total:"
|
843 |
+
msgstr "Gesamt:"
|
844 |
+
|
845 |
+
#: ../lib/yasr-ajax-functions.php:1257 ../lib/yasr-ajax-functions.php:1292
|
846 |
+
msgid "Average"
|
847 |
+
msgstr "Durchschnitt"
|
848 |
+
|
849 |
+
#~ msgid "You don't have any user votes stored"
|
850 |
+
#~ msgstr "Es sind keine Besucher-Bewertungen gespeichert"
|
851 |
+
|
852 |
+
#~ msgid ""
|
853 |
+
#~ "Something goes wrong trying to delete data fields for a set. Please "
|
854 |
+
#~ "report it"
|
855 |
+
#~ msgstr ""
|
856 |
+
#~ "Beim Löschen eines Datenfeldes im Multi-Set ist etwas schief gelaufen. "
|
857 |
+
#~ "Bitte melde das Problem"
|
858 |
+
|
859 |
+
#~ msgid "User "
|
860 |
+
#~ msgstr "Nutzer"
|
861 |
+
|
862 |
+
#~ msgid "No rating yet"
|
863 |
+
#~ msgstr "Noch keine Bewertung"
|
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-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
"Last-Translator: Dario <thedudoworld@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: it\n"
|
@@ -15,18 +15,769 @@ msgstr ""
|
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
-
#: ../
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
msgstr "Voto Complessivo"
|
21 |
|
22 |
-
#: ../
|
23 |
-
msgid "
|
24 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
-
#: ../lib/yasr-functions.php:
|
27 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
msgstr "Impostazioni"
|
29 |
|
30 |
-
#: ../lib/yasr-
|
31 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Yasr Translation\n"
|
4 |
+
"POT-Creation-Date: 2014-08-13 14:29+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-08-13 14:29+0100\n"
|
6 |
"Last-Translator: Dario <thedudoworld@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: it\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
+
#: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:75
|
19 |
+
#: ../lib/yasr-ajax-functions.php:29 ../lib/yasr-ajax-functions.php:89
|
20 |
+
#: ../lib/yasr-ajax-functions.php:228 ../lib/yasr-ajax-functions.php:753
|
21 |
+
msgid "You do not have sufficient permissions to access this page."
|
22 |
+
msgstr ""
|
23 |
+
|
24 |
+
#: ../yasr-settings-page.php:56
|
25 |
+
#, fuzzy
|
26 |
+
msgid "General Settings"
|
27 |
msgstr "Voto Complessivo"
|
28 |
|
29 |
+
#: ../yasr-settings-page.php:57
|
30 |
+
msgid "Multi Sets"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: ../yasr-settings-page.php:58
|
34 |
+
msgid "Styles"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: ../yasr-settings-page.php:74 ../yasr-settings-page.php:272
|
38 |
+
msgid "Save"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: ../yasr-settings-page.php:80 ../yasr-settings-page.php:242
|
42 |
+
#: ../yasr-settings-page.php:279 ../yasr-settings-page.php:303
|
43 |
+
msgid "Donations"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: ../yasr-settings-page.php:82 ../yasr-settings-page.php:244
|
47 |
+
#: ../yasr-settings-page.php:281 ../yasr-settings-page.php:305
|
48 |
+
msgid ""
|
49 |
+
"If you have found this plugin useful, please consider making a donation to "
|
50 |
+
"help support future development. Your support will be much appreciated. "
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: ../yasr-settings-page.php:84 ../yasr-settings-page.php:246
|
54 |
+
#: ../yasr-settings-page.php:283 ../yasr-settings-page.php:307
|
55 |
+
msgid "Thank you!"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: ../yasr-settings-page.php:104
|
59 |
+
msgid "Import Gd Star Rating"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: ../yasr-settings-page.php:105
|
63 |
+
msgid ""
|
64 |
+
"I've found a previous installation of Gd Star Rating . <br />Do you want "
|
65 |
+
"proceed to import data?"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: ../yasr-settings-page.php:107
|
69 |
+
msgid "Yes, Begin Import"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: ../yasr-settings-page.php:111
|
73 |
+
msgid "Click on Proceed to Import Gd Star Rating Data."
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: ../yasr-settings-page.php:114 ../yasr-settings-page.php:147
|
77 |
+
msgid "Proceed"
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: ../yasr-settings-page.php:136
|
81 |
+
msgid "Manage GD Star Data"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: ../yasr-settings-page.php:137
|
85 |
+
msgid "Gd Star Rating has been already imported."
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: ../yasr-settings-page.php:138
|
89 |
+
msgid "If you wish you can import it again, but"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: ../yasr-settings-page.php:138
|
93 |
+
msgid "you will lose all data you've collect since the import!"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: ../yasr-settings-page.php:140
|
97 |
+
msgid "Ok, Import Again"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: ../yasr-settings-page.php:144
|
101 |
+
msgid ""
|
102 |
+
"Click on Proceed to Import again Gd Star Rating Data. This may take a while!"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: ../yasr-settings-page.php:185
|
106 |
+
msgid "Manage multi-set"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: ../yasr-settings-page.php:189
|
110 |
+
msgid "What is a Multi-set?"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: ../yasr-settings-page.php:194
|
114 |
+
msgid ""
|
115 |
+
"Multi-set allows you to insert a rate for each aspect about the product / "
|
116 |
+
"local business / whetever\n"
|
117 |
+
"\t\t\t\tyou're reviewing, example in the image below."
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: ../yasr-settings-page.php:199
|
121 |
+
msgid ""
|
122 |
+
"You can create up to 99 different multi-sets and each one can contain up to "
|
123 |
+
"9 different fields. \n"
|
124 |
+
"\t\t\t\t\tOnce you've saved it, you can insert the rates while typing your "
|
125 |
+
"article in the box below the editor, \n"
|
126 |
+
"\t\t\t\t\tas you can see in this image (click to see it larger)"
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: ../yasr-settings-page.php:205
|
130 |
+
msgid ""
|
131 |
+
"In order to insert your text into a post or page, you can either past\n"
|
132 |
+
"\t\t\t\t\tthe short code that will appear at the bottom of the box or just "
|
133 |
+
"click\n"
|
134 |
+
"\t\t\t\t\ton the star in the graphic editor and select \"Insert Multi-Set\"."
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: ../yasr-settings-page.php:213
|
138 |
+
msgid "Close this message"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: ../yasr-metabox-multiple-rating.php:15
|
142 |
+
msgid "Choose wich set you want to use"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: ../yasr-metabox-multiple-rating.php:26
|
146 |
+
#: ../lib/yasr-settings-functions.php:372
|
147 |
+
msgid "Select"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: ../yasr-metabox-overall-rating.php:17
|
151 |
+
msgid "Rate this article / item"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: ../yasr-metabox-overall-rating.php:25
|
155 |
+
#: ../lib/yasr-shortcode-functions.php:125 ../lib/yasr-functions.php:266
|
156 |
+
msgid "Loading, please wait"
|
157 |
+
msgstr ""
|
158 |
+
|
159 |
+
#: ../yasr-metabox-overall-rating.php:40
|
160 |
+
msgid ""
|
161 |
+
"Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
|
162 |
+
"where you want to display this rating"
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#: ../lib/yasr-shortcode-functions.php:156
|
166 |
+
#: ../lib/yasr-shortcode-functions.php:168
|
167 |
+
#: ../lib/yasr-shortcode-functions.php:173
|
168 |
+
#: ../lib/yasr-shortcode-functions.php:186
|
169 |
+
#: ../lib/yasr-shortcode-functions.php:191
|
170 |
+
#: ../lib/yasr-shortcode-functions.php:211
|
171 |
+
#: ../lib/yasr-shortcode-functions.php:220
|
172 |
+
#: ../lib/yasr-shortcode-functions.php:226
|
173 |
+
#: ../lib/yasr-shortcode-functions.php:240
|
174 |
+
#: ../lib/yasr-shortcode-functions.php:246
|
175 |
+
#: ../lib/yasr-shortcode-functions.php:271
|
176 |
+
#: ../lib/yasr-shortcode-functions.php:283
|
177 |
+
#: ../lib/yasr-shortcode-functions.php:288
|
178 |
+
#: ../lib/yasr-shortcode-functions.php:301
|
179 |
+
#: ../lib/yasr-shortcode-functions.php:306
|
180 |
+
#: ../lib/yasr-shortcode-functions.php:327
|
181 |
+
#: ../lib/yasr-shortcode-functions.php:336
|
182 |
+
#: ../lib/yasr-shortcode-functions.php:342
|
183 |
+
#: ../lib/yasr-shortcode-functions.php:356
|
184 |
+
#: ../lib/yasr-shortcode-functions.php:362
|
185 |
+
#: ../lib/yasr-shortcode-functions.php:387
|
186 |
+
#: ../lib/yasr-shortcode-functions.php:399
|
187 |
+
#: ../lib/yasr-shortcode-functions.php:404
|
188 |
+
#: ../lib/yasr-shortcode-functions.php:417
|
189 |
+
#: ../lib/yasr-shortcode-functions.php:422
|
190 |
+
#: ../lib/yasr-shortcode-functions.php:443
|
191 |
+
#: ../lib/yasr-shortcode-functions.php:452
|
192 |
+
#: ../lib/yasr-shortcode-functions.php:458
|
193 |
+
#: ../lib/yasr-shortcode-functions.php:472
|
194 |
+
#: ../lib/yasr-shortcode-functions.php:478 ../lib/yasr-functions.php:285
|
195 |
+
#: ../lib/yasr-functions.php:297 ../lib/yasr-functions.php:302
|
196 |
+
#: ../lib/yasr-functions.php:315 ../lib/yasr-functions.php:320
|
197 |
+
#: ../lib/yasr-functions.php:340 ../lib/yasr-functions.php:349
|
198 |
+
#: ../lib/yasr-functions.php:355 ../lib/yasr-functions.php:369
|
199 |
+
#: ../lib/yasr-functions.php:375 ../lib/yasr-functions.php:400
|
200 |
+
#: ../lib/yasr-functions.php:412 ../lib/yasr-functions.php:417
|
201 |
+
#: ../lib/yasr-functions.php:430 ../lib/yasr-functions.php:435
|
202 |
+
#: ../lib/yasr-functions.php:456 ../lib/yasr-functions.php:465
|
203 |
+
#: ../lib/yasr-functions.php:471 ../lib/yasr-functions.php:485
|
204 |
+
#: ../lib/yasr-functions.php:491 ../lib/yasr-functions.php:516
|
205 |
+
#: ../lib/yasr-functions.php:528 ../lib/yasr-functions.php:533
|
206 |
+
#: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
|
207 |
+
#: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
|
208 |
+
#: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
|
209 |
+
#: ../lib/yasr-functions.php:607 ../lib/yasr-ajax-functions.php:991
|
210 |
+
#: ../lib/yasr-ajax-functions.php:999 ../lib/yasr-ajax-functions.php:1007
|
211 |
+
#: ../lib/yasr-ajax-functions.php:1021 ../lib/yasr-ajax-functions.php:1029
|
212 |
+
#: ../lib/yasr-ajax-functions.php:1036 ../lib/yasr-ajax-functions.php:1126
|
213 |
+
#: ../lib/yasr-ajax-functions.php:1134 ../lib/yasr-ajax-functions.php:1142
|
214 |
+
#: ../lib/yasr-ajax-functions.php:1178 ../lib/yasr-ajax-functions.php:1184
|
215 |
+
#: ../lib/yasr-ajax-functions.php:1190 ../lib/yasr-ajax-functions.php:1199
|
216 |
+
msgid "Total: "
|
217 |
+
msgstr ""
|
218 |
+
|
219 |
+
#: ../lib/yasr-shortcode-functions.php:157
|
220 |
+
#: ../lib/yasr-shortcode-functions.php:212
|
221 |
+
#: ../lib/yasr-shortcode-functions.php:272
|
222 |
+
#: ../lib/yasr-shortcode-functions.php:328
|
223 |
+
#: ../lib/yasr-shortcode-functions.php:388
|
224 |
+
#: ../lib/yasr-shortcode-functions.php:444 ../lib/yasr-functions.php:286
|
225 |
+
#: ../lib/yasr-functions.php:341 ../lib/yasr-functions.php:401
|
226 |
+
#: ../lib/yasr-functions.php:457 ../lib/yasr-functions.php:517
|
227 |
+
#: ../lib/yasr-functions.php:573
|
228 |
+
msgid "You've already voted this article with"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: ../lib/yasr-shortcode-functions.php:241
|
232 |
+
#: ../lib/yasr-shortcode-functions.php:357
|
233 |
+
#: ../lib/yasr-shortcode-functions.php:473 ../lib/yasr-functions.php:370
|
234 |
+
#: ../lib/yasr-functions.php:486 ../lib/yasr-functions.php:602
|
235 |
+
msgid "You must sign to vote"
|
236 |
+
msgstr ""
|
237 |
+
|
238 |
+
#: ../lib/yasr-shortcode-functions.php:698
|
239 |
+
msgid "Rating"
|
240 |
+
msgstr ""
|
241 |
+
|
242 |
+
#: ../lib/yasr-shortcode-functions.php:712
|
243 |
+
msgid "You don't have any votes stored"
|
244 |
+
msgstr ""
|
245 |
+
|
246 |
+
#: ../lib/yasr-shortcode-functions.php:726
|
247 |
+
msgid "Chart is loading, please wait"
|
248 |
+
msgstr ""
|
249 |
+
|
250 |
+
#: ../lib/yasr-shortcode-functions.php:855
|
251 |
+
msgid ""
|
252 |
+
"Problem while retriving the top 5 most active reviewers. Did you published "
|
253 |
+
"any review?"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: ../lib/yasr-shortcode-functions.php:923
|
257 |
+
msgid ""
|
258 |
+
"Problem while retriving the top 10 active users chart. Are you sure you have "
|
259 |
+
"votes to show?"
|
260 |
+
msgstr ""
|
261 |
+
|
262 |
+
#: ../lib/yasr-settings-functions.php:31
|
263 |
+
msgid "General settings"
|
264 |
+
msgstr ""
|
265 |
+
|
266 |
+
#: ../lib/yasr-settings-functions.php:32
|
267 |
+
msgid "Auto insert options"
|
268 |
+
msgstr ""
|
269 |
+
|
270 |
+
#: ../lib/yasr-settings-functions.php:33
|
271 |
+
msgid "Show overall rating in Home Page?"
|
272 |
+
msgstr ""
|
273 |
+
|
274 |
+
#: ../lib/yasr-settings-functions.php:34
|
275 |
+
msgid "Insert custom text to show before / after stars"
|
276 |
+
msgstr ""
|
277 |
+
|
278 |
+
#: ../lib/yasr-settings-functions.php:35
|
279 |
+
msgid "Which color scheme do you want to use?"
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: ../lib/yasr-settings-functions.php:36
|
283 |
+
msgid "Allow only logged in user to vote?"
|
284 |
+
msgstr ""
|
285 |
+
|
286 |
+
#: ../lib/yasr-settings-functions.php:37
|
287 |
+
msgid "Which rich snippets do you want to use?"
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
+
#: ../lib/yasr-settings-functions.php:51
|
291 |
+
msgid "Use Auto Insert?"
|
292 |
+
msgstr ""
|
293 |
+
|
294 |
+
#: ../lib/yasr-settings-functions.php:54
|
295 |
+
#: ../lib/yasr-settings-functions.php:129
|
296 |
+
#: ../lib/yasr-settings-functions.php:149
|
297 |
+
#: ../lib/yasr-settings-functions.php:174
|
298 |
+
msgid "Yes"
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: ../lib/yasr-settings-functions.php:74
|
302 |
+
#: ../lib/yasr-settings-functions.php:134
|
303 |
+
#: ../lib/yasr-settings-functions.php:154
|
304 |
+
#: ../lib/yasr-settings-functions.php:191
|
305 |
+
msgid "No"
|
306 |
+
msgstr ""
|
307 |
+
|
308 |
+
#: ../lib/yasr-settings-functions.php:80
|
309 |
+
msgid "What?"
|
310 |
+
msgstr ""
|
311 |
+
|
312 |
+
#: ../lib/yasr-settings-functions.php:83
|
313 |
+
#, fuzzy
|
314 |
+
msgid "Overall Rating / Author Rating"
|
315 |
+
msgstr "Voto Complessivo"
|
316 |
+
|
317 |
+
#: ../lib/yasr-settings-functions.php:87 ../lib/yasr-ajax-functions.php:355
|
318 |
+
msgid "Visitor Votes"
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
+
#: ../lib/yasr-settings-functions.php:91
|
322 |
+
msgid "Both"
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: ../lib/yasr-settings-functions.php:95
|
326 |
+
msgid "Where?"
|
327 |
+
msgstr ""
|
328 |
+
|
329 |
+
#: ../lib/yasr-settings-functions.php:98
|
330 |
+
msgid "Before the post"
|
331 |
+
msgstr ""
|
332 |
+
|
333 |
+
#: ../lib/yasr-settings-functions.php:102
|
334 |
+
msgid "After the post"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#: ../lib/yasr-settings-functions.php:107
|
338 |
+
msgid "Size"
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
+
#: ../lib/yasr-settings-functions.php:111
|
342 |
+
msgid "Small"
|
343 |
+
msgstr ""
|
344 |
+
|
345 |
+
#: ../lib/yasr-settings-functions.php:116
|
346 |
+
msgid "Medium"
|
347 |
+
msgstr ""
|
348 |
+
|
349 |
+
#: ../lib/yasr-settings-functions.php:121
|
350 |
+
msgid "Large"
|
351 |
+
msgstr ""
|
352 |
+
|
353 |
+
#: ../lib/yasr-settings-functions.php:126
|
354 |
+
msgid "Exclude Pages?"
|
355 |
+
msgstr ""
|
356 |
+
|
357 |
+
#: ../lib/yasr-settings-functions.php:158
|
358 |
+
msgid ""
|
359 |
+
"If you enable this, \"Overall Rating\" will be showed not only in the single "
|
360 |
+
"article or page, but also in pages like Home Page, category pages or "
|
361 |
+
"archives."
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: ../lib/yasr-settings-functions.php:198
|
365 |
+
msgid "Custom text to display before overall rating"
|
366 |
+
msgstr ""
|
367 |
+
|
368 |
+
#: ../lib/yasr-settings-functions.php:203
|
369 |
+
msgid "Custom text to display before visitor rating"
|
370 |
+
msgstr ""
|
371 |
+
|
372 |
+
#: ../lib/yasr-settings-functions.php:208
|
373 |
+
msgid "Custom text to display when a non logged user has already rated"
|
374 |
+
msgstr ""
|
375 |
+
|
376 |
+
#: ../lib/yasr-settings-functions.php:224
|
377 |
+
msgid "Light"
|
378 |
+
msgstr ""
|
379 |
+
|
380 |
+
#: ../lib/yasr-settings-functions.php:229
|
381 |
+
msgid "Dark"
|
382 |
+
msgstr ""
|
383 |
+
|
384 |
+
#: ../lib/yasr-settings-functions.php:234
|
385 |
+
msgid "Preview"
|
386 |
+
msgstr ""
|
387 |
+
|
388 |
+
#: ../lib/yasr-settings-functions.php:239
|
389 |
+
msgid "Light theme"
|
390 |
+
msgstr ""
|
391 |
+
|
392 |
+
#: ../lib/yasr-settings-functions.php:244
|
393 |
+
msgid "Dark Theme"
|
394 |
+
msgstr ""
|
395 |
+
|
396 |
+
#: ../lib/yasr-settings-functions.php:262
|
397 |
+
msgid "Allow only logged-in users"
|
398 |
+
msgstr ""
|
399 |
+
|
400 |
+
#: ../lib/yasr-settings-functions.php:266
|
401 |
+
msgid "Allow everybody (logged in and anonymous)"
|
402 |
+
msgstr ""
|
403 |
+
|
404 |
+
#: ../lib/yasr-settings-functions.php:283
|
405 |
+
msgid "Review Rating"
|
406 |
+
msgstr ""
|
407 |
+
|
408 |
+
#: ../lib/yasr-settings-functions.php:287
|
409 |
+
msgid "Aggregate Rating"
|
410 |
+
msgstr ""
|
411 |
+
|
412 |
+
#: ../lib/yasr-settings-functions.php:292
|
413 |
+
msgid "What is this?"
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: ../lib/yasr-settings-functions.php:297
|
417 |
+
msgid ""
|
418 |
+
"If you select \"Review Rating\", your site will be indexed from search "
|
419 |
+
"engines like this: "
|
420 |
+
msgstr ""
|
421 |
+
|
422 |
+
#: ../lib/yasr-settings-functions.php:302
|
423 |
+
msgid ""
|
424 |
+
"If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
|
425 |
+
"this"
|
426 |
+
msgstr ""
|
427 |
+
|
428 |
+
#: ../lib/yasr-settings-functions.php:318
|
429 |
+
msgid ""
|
430 |
+
"Field Name, Element#1 and Element#2 MUST be filled and must be long at least "
|
431 |
+
"3 characters"
|
432 |
+
msgstr ""
|
433 |
|
434 |
+
#: ../lib/yasr-settings-functions.php:321
|
435 |
+
msgid "Name"
|
436 |
+
msgstr ""
|
437 |
+
|
438 |
+
#: ../lib/yasr-settings-functions.php:326
|
439 |
+
msgid "You can insert up to nine element"
|
440 |
+
msgstr ""
|
441 |
+
|
442 |
+
#: ../lib/yasr-settings-functions.php:331
|
443 |
+
msgid "Element "
|
444 |
+
msgstr ""
|
445 |
+
|
446 |
+
#: ../lib/yasr-settings-functions.php:341
|
447 |
+
msgid "Create New Set"
|
448 |
+
msgstr ""
|
449 |
+
|
450 |
+
#: ../lib/yasr-settings-functions.php:362
|
451 |
+
msgid "Manage Multiple Set"
|
452 |
+
msgstr ""
|
453 |
+
|
454 |
+
#: ../lib/yasr-settings-functions.php:364
|
455 |
+
msgid "Wich set do you want to edit or remove?"
|
456 |
+
msgstr ""
|
457 |
+
|
458 |
+
#: ../lib/yasr-settings-functions.php:404
|
459 |
+
#: ../lib/yasr-settings-functions.php:522
|
460 |
+
msgid "Field name"
|
461 |
+
msgstr ""
|
462 |
+
|
463 |
+
#: ../lib/yasr-settings-functions.php:408
|
464 |
+
#: ../lib/yasr-settings-functions.php:526
|
465 |
+
msgid "Remove"
|
466 |
+
msgstr ""
|
467 |
+
|
468 |
+
#: ../lib/yasr-settings-functions.php:450
|
469 |
+
msgid "Remove whole set?"
|
470 |
+
msgstr ""
|
471 |
+
|
472 |
+
#: ../lib/yasr-settings-functions.php:463
|
473 |
+
#: ../lib/yasr-settings-functions.php:581
|
474 |
+
msgid ""
|
475 |
+
"If you remove something you will remove all the votes for that set or field. "
|
476 |
+
"This operation CAN'T BE undone."
|
477 |
+
msgstr ""
|
478 |
+
|
479 |
+
#: ../lib/yasr-settings-functions.php:470
|
480 |
+
#: ../lib/yasr-settings-functions.php:588
|
481 |
+
msgid "You can use up to 9 elements"
|
482 |
+
msgstr ""
|
483 |
+
|
484 |
+
#: ../lib/yasr-settings-functions.php:472
|
485 |
+
#: ../lib/yasr-settings-functions.php:590
|
486 |
+
msgid "Add element"
|
487 |
+
msgstr ""
|
488 |
+
|
489 |
+
#: ../lib/yasr-settings-functions.php:474
|
490 |
+
#: ../lib/yasr-settings-functions.php:592
|
491 |
+
msgid "Save changes"
|
492 |
+
msgstr ""
|
493 |
+
|
494 |
+
#: ../lib/yasr-settings-functions.php:484
|
495 |
+
msgid "No multiple set were found"
|
496 |
+
msgstr ""
|
497 |
+
|
498 |
+
#: ../lib/yasr-settings-functions.php:734
|
499 |
+
#: ../lib/yasr-settings-functions.php:1002
|
500 |
+
#, fuzzy
|
501 |
+
msgid "Settings Saved"
|
502 |
msgstr "Impostazioni"
|
503 |
|
504 |
+
#: ../lib/yasr-settings-functions.php:739
|
505 |
+
msgid "Something goes wrong trying insert set field name. Please report it"
|
506 |
+
msgstr ""
|
507 |
+
|
508 |
+
#: ../lib/yasr-settings-functions.php:745
|
509 |
+
msgid "Something goes wrong trying insert multi set name. Please report it"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
+
#: ../lib/yasr-settings-functions.php:820
|
513 |
+
msgid "Something goes wrong trying to delete a multi-set . Please report it"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: ../lib/yasr-settings-functions.php:866
|
517 |
+
msgid ""
|
518 |
+
"Something goes wrong trying to delete a multi-set element. Please report it"
|
519 |
+
msgstr ""
|
520 |
+
|
521 |
+
#: ../lib/yasr-settings-functions.php:930
|
522 |
+
msgid ""
|
523 |
+
"Something goes wrong trying to update a multi set element. Please report it"
|
524 |
+
msgstr ""
|
525 |
+
|
526 |
+
#: ../lib/yasr-settings-functions.php:987
|
527 |
+
msgid ""
|
528 |
+
"Something goes wrong trying to insert set field name in edit form. Please "
|
529 |
+
"report it"
|
530 |
+
msgstr ""
|
531 |
+
|
532 |
+
#: ../lib/yasr-settings-functions.php:1030
|
533 |
+
msgid "Style Options"
|
534 |
+
msgstr ""
|
535 |
+
|
536 |
+
#: ../lib/yasr-settings-functions.php:1031
|
537 |
+
msgid "Custom CSS Styles"
|
538 |
+
msgstr ""
|
539 |
+
|
540 |
+
#: ../lib/yasr-settings-functions.php:1036
|
541 |
+
msgid ""
|
542 |
+
"Please use text area below to write your own CSS styles to override the "
|
543 |
+
"default ones."
|
544 |
+
msgstr ""
|
545 |
+
|
546 |
+
#: ../lib/yasr-settings-functions.php:1038
|
547 |
+
msgid "Leave it blank if you don't know what you're doing"
|
548 |
+
msgstr ""
|
549 |
+
|
550 |
+
#: ../lib/yasr-settings-functions.php:1071
|
551 |
+
msgid "No previous Gd Star Ratings installation was found"
|
552 |
+
msgstr ""
|
553 |
+
|
554 |
+
#: ../lib/yasr-db-functions.php:214 ../lib/yasr-ajax-functions.php:765
|
555 |
+
msgid "No Recenet votes yet"
|
556 |
+
msgstr ""
|
557 |
+
|
558 |
+
#: ../lib/yasr-db-functions.php:229 ../lib/yasr-ajax-functions.php:778
|
559 |
+
msgid "anonymous"
|
560 |
+
msgstr ""
|
561 |
+
|
562 |
+
#: ../lib/yasr-db-functions.php:252 ../lib/yasr-ajax-functions.php:801
|
563 |
+
msgid "Ip address"
|
564 |
+
msgstr ""
|
565 |
+
|
566 |
+
#: ../lib/yasr-db-functions.php:293 ../lib/yasr-ajax-functions.php:842
|
567 |
+
msgid "Pages"
|
568 |
+
msgstr ""
|
569 |
+
|
570 |
+
#: ../lib/yasr-functions.php:63 ../lib/yasr-functions.php:64
|
571 |
+
msgid "Yet Another Stars Rating: Settings"
|
572 |
+
msgstr ""
|
573 |
+
|
574 |
+
#: ../lib/yasr-functions.php:107 ../lib/yasr-functions.php:114
|
575 |
+
#, fuzzy
|
576 |
+
msgid "Overall Rating"
|
577 |
+
msgstr "Voto Complessivo"
|
578 |
+
|
579 |
+
#: ../lib/yasr-functions.php:108
|
580 |
+
msgid "Yet Another Stars Rating: Multiple set"
|
581 |
+
msgstr ""
|
582 |
+
|
583 |
+
#: ../lib/yasr-functions.php:124
|
584 |
+
msgid "You don't have enought privileges to insert overall rating"
|
585 |
+
msgstr ""
|
586 |
+
|
587 |
+
#: ../lib/yasr-functions.php:134
|
588 |
+
msgid "You don't have enought privileges to insert multi-set"
|
589 |
+
msgstr ""
|
590 |
+
|
591 |
+
#: ../lib/yasr-functions.php:842
|
592 |
+
msgid " reviewed by "
|
593 |
+
msgstr ""
|
594 |
+
|
595 |
+
#: ../lib/yasr-functions.php:843
|
596 |
+
msgid " on "
|
597 |
+
msgstr ""
|
598 |
+
|
599 |
+
#: ../lib/yasr-functions.php:844 ../lib/yasr-functions.php:888
|
600 |
+
msgid " rated "
|
601 |
+
msgstr ""
|
602 |
+
|
603 |
+
#: ../lib/yasr-functions.php:844
|
604 |
+
msgid " on 5.0"
|
605 |
+
msgstr ""
|
606 |
+
|
607 |
+
#: ../lib/yasr-functions.php:888
|
608 |
+
msgid " out of "
|
609 |
msgstr ""
|
610 |
+
|
611 |
+
#: ../lib/yasr-functions.php:889
|
612 |
+
msgid " based on "
|
613 |
+
msgstr ""
|
614 |
+
|
615 |
+
#: ../lib/yasr-functions.php:889
|
616 |
+
msgid " user ratings"
|
617 |
+
msgstr ""
|
618 |
+
|
619 |
+
#: ../lib/yasr-ajax-functions.php:100
|
620 |
+
msgid "Choose a vote for each element"
|
621 |
+
msgstr ""
|
622 |
+
|
623 |
+
#: ../lib/yasr-ajax-functions.php:156 ../lib/yasr-ajax-functions.php:199
|
624 |
+
msgid "Remember to insert this shortcode"
|
625 |
+
msgstr ""
|
626 |
+
|
627 |
+
#: ../lib/yasr-ajax-functions.php:158 ../lib/yasr-ajax-functions.php:201
|
628 |
+
msgid "where you want to display this multi set"
|
629 |
+
msgstr ""
|
630 |
+
|
631 |
+
#: ../lib/yasr-ajax-functions.php:166
|
632 |
+
msgid "Choose a vote for every element"
|
633 |
+
msgstr ""
|
634 |
+
|
635 |
+
#: ../lib/yasr-ajax-functions.php:337
|
636 |
+
#, fuzzy
|
637 |
+
msgid "Overall Rating / Review"
|
638 |
+
msgstr "Voto Complessivo"
|
639 |
+
|
640 |
+
#: ../lib/yasr-ajax-functions.php:340
|
641 |
+
msgid "Insert Overall Rating / Review for this post"
|
642 |
+
msgstr ""
|
643 |
+
|
644 |
+
#: ../lib/yasr-ajax-functions.php:343 ../lib/yasr-ajax-functions.php:361
|
645 |
+
msgid "Choose Size"
|
646 |
+
msgstr ""
|
647 |
+
|
648 |
+
#: ../lib/yasr-ajax-functions.php:358
|
649 |
+
msgid "Insert the ability for your visitor to vote"
|
650 |
+
msgstr ""
|
651 |
+
|
652 |
+
#: ../lib/yasr-ajax-functions.php:375
|
653 |
+
msgid "If you want to insert a multi-set, pick one:"
|
654 |
+
msgstr ""
|
655 |
+
|
656 |
+
#: ../lib/yasr-ajax-functions.php:381
|
657 |
+
msgid "Choose wich set you want to insert."
|
658 |
+
msgstr ""
|
659 |
+
|
660 |
+
#: ../lib/yasr-ajax-functions.php:389
|
661 |
+
msgid "Insert Multiset:"
|
662 |
+
msgstr ""
|
663 |
+
|
664 |
+
#: ../lib/yasr-ajax-functions.php:408
|
665 |
+
msgid "Top 10 overall ratings"
|
666 |
+
msgstr ""
|
667 |
+
|
668 |
+
#: ../lib/yasr-ajax-functions.php:410
|
669 |
+
msgid "Insert Top 10 highest rated by post author"
|
670 |
+
msgstr ""
|
671 |
+
|
672 |
+
#: ../lib/yasr-ajax-functions.php:414
|
673 |
+
msgid "Top 10 by visitors"
|
674 |
+
msgstr ""
|
675 |
+
|
676 |
+
#: ../lib/yasr-ajax-functions.php:416
|
677 |
+
msgid "Insert Top 10 most or higher rated posts from visitors"
|
678 |
+
msgstr ""
|
679 |
+
|
680 |
+
#: ../lib/yasr-ajax-functions.php:420
|
681 |
+
msgid "Most active reviewers"
|
682 |
+
msgstr ""
|
683 |
+
|
684 |
+
#: ../lib/yasr-ajax-functions.php:422
|
685 |
+
msgid "Insert Top 5 active reviewers"
|
686 |
+
msgstr ""
|
687 |
+
|
688 |
+
#: ../lib/yasr-ajax-functions.php:426
|
689 |
+
msgid "Most active users"
|
690 |
+
msgstr ""
|
691 |
+
|
692 |
+
#: ../lib/yasr-ajax-functions.php:428
|
693 |
+
msgid "Insert Top 10 active users in visitor ratings"
|
694 |
+
msgstr ""
|
695 |
+
|
696 |
+
#: ../lib/yasr-ajax-functions.php:622
|
697 |
+
msgid "Reviews and visitor votes have been successfull imported."
|
698 |
+
msgstr ""
|
699 |
+
|
700 |
+
#: ../lib/yasr-ajax-functions.php:628
|
701 |
+
msgid ""
|
702 |
+
"Step2: I will check if you used multiple set and if so I will import it. "
|
703 |
+
"THIS MAY TAKE A WHILE!"
|
704 |
+
msgstr ""
|
705 |
+
|
706 |
+
#: ../lib/yasr-ajax-functions.php:630
|
707 |
+
msgid "Proceed Step 2"
|
708 |
+
msgstr ""
|
709 |
+
|
710 |
+
#: ../lib/yasr-ajax-functions.php:637
|
711 |
+
msgid "Something goes wrong! Refresh the page and try again!"
|
712 |
+
msgstr ""
|
713 |
+
|
714 |
+
#: ../lib/yasr-ajax-functions.php:666
|
715 |
+
msgid "I've found multiple set! Importing..."
|
716 |
+
msgstr ""
|
717 |
+
|
718 |
+
#: ../lib/yasr-ajax-functions.php:675
|
719 |
+
msgid "Multi set's name has been successfull imported."
|
720 |
+
msgstr ""
|
721 |
+
|
722 |
+
#: ../lib/yasr-ajax-functions.php:677
|
723 |
+
msgid "Now I'm going to import multi set data"
|
724 |
+
msgstr ""
|
725 |
+
|
726 |
+
#: ../lib/yasr-ajax-functions.php:688
|
727 |
+
msgid "All votes has been successfull imported."
|
728 |
+
msgstr ""
|
729 |
+
|
730 |
+
#: ../lib/yasr-ajax-functions.php:691
|
731 |
+
msgid "Done"
|
732 |
+
msgstr ""
|
733 |
+
|
734 |
+
#: ../lib/yasr-ajax-functions.php:696
|
735 |
+
msgid "I've found multiple set votes but I couldn't insert into db"
|
736 |
+
msgstr ""
|
737 |
+
|
738 |
+
#: ../lib/yasr-ajax-functions.php:704
|
739 |
+
msgid "I've found multi set but with no data"
|
740 |
+
msgstr ""
|
741 |
+
|
742 |
+
#: ../lib/yasr-ajax-functions.php:713
|
743 |
+
msgid "I've found multi set name but I couldn't insert into db"
|
744 |
+
msgstr ""
|
745 |
+
|
746 |
+
#: ../lib/yasr-ajax-functions.php:721
|
747 |
+
msgid "Multiset was not found. Imported is done!"
|
748 |
+
msgstr ""
|
749 |
+
|
750 |
+
#: ../lib/yasr-ajax-functions.php:991 ../lib/yasr-ajax-functions.php:999
|
751 |
+
#: ../lib/yasr-ajax-functions.php:1007 ../lib/yasr-ajax-functions.php:1021
|
752 |
+
#: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1036
|
753 |
+
#, fuzzy
|
754 |
+
msgid "Average rating"
|
755 |
+
msgstr "Voto Complessivo"
|
756 |
+
|
757 |
+
#: ../lib/yasr-ajax-functions.php:992 ../lib/yasr-ajax-functions.php:1000
|
758 |
+
#: ../lib/yasr-ajax-functions.php:1008 ../lib/yasr-ajax-functions.php:1022
|
759 |
+
#: ../lib/yasr-ajax-functions.php:1030 ../lib/yasr-ajax-functions.php:1037
|
760 |
+
msgid "Vote Saved"
|
761 |
+
msgstr ""
|
762 |
+
|
763 |
+
#: ../lib/yasr-ajax-functions.php:1127 ../lib/yasr-ajax-functions.php:1135
|
764 |
+
#: ../lib/yasr-ajax-functions.php:1143
|
765 |
+
msgid "Vote Updated"
|
766 |
+
msgstr ""
|
767 |
+
|
768 |
+
#: ../lib/yasr-ajax-functions.php:1178 ../lib/yasr-ajax-functions.php:1184
|
769 |
+
#: ../lib/yasr-ajax-functions.php:1190 ../lib/yasr-ajax-functions.php:1199
|
770 |
+
#, fuzzy
|
771 |
+
msgid "Average "
|
772 |
+
msgstr "Voto Complessivo"
|
773 |
+
|
774 |
+
#: ../lib/yasr-ajax-functions.php:1257 ../lib/yasr-ajax-functions.php:1292
|
775 |
+
msgid "Total:"
|
776 |
+
msgstr ""
|
777 |
+
|
778 |
+
#: ../lib/yasr-ajax-functions.php:1257 ../lib/yasr-ajax-functions.php:1292
|
779 |
+
msgid "Average"
|
780 |
+
msgstr ""
|
781 |
+
|
782 |
+
#~ msgid "Front Page"
|
783 |
+
#~ msgstr "Pagina Principale"
|
languages/yasr.mo
CHANGED
Binary file
|
languages/yasr.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YASR lenguages\n"
|
4 |
-
"POT-Creation-Date: 2014-08-
|
5 |
-
"PO-Revision-Date: 2014-08-
|
6 |
"Last-Translator: Dario <thedudoworld@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: En\n"
|
@@ -15,76 +15,88 @@ msgstr ""
|
|
15 |
"X-Poedit-SearchPath-0: ..\n"
|
16 |
"X-Poedit-SearchPath-1: ../lib\n"
|
17 |
|
18 |
-
#: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:
|
19 |
#: ../lib/yasr-ajax-functions.php:29 ../lib/yasr-ajax-functions.php:89
|
20 |
#: ../lib/yasr-ajax-functions.php:228 ../lib/yasr-ajax-functions.php:753
|
21 |
msgid "You do not have sufficient permissions to access this page."
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: ../yasr-settings-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
msgid "Save"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#: ../yasr-settings-page.php:
|
29 |
-
#: ../yasr-settings-page.php:
|
30 |
msgid "Donations"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: ../yasr-settings-page.php:
|
34 |
-
#: ../yasr-settings-page.php:
|
35 |
msgid ""
|
36 |
"If you have found this plugin useful, please consider making a donation to "
|
37 |
"help support future development. Your support will be much appreciated. "
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: ../yasr-settings-page.php:
|
41 |
-
#: ../yasr-settings-page.php:
|
42 |
msgid "Thank you!"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: ../yasr-settings-page.php:
|
46 |
msgid "Import Gd Star Rating"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: ../yasr-settings-page.php:
|
50 |
msgid ""
|
51 |
"I've found a previous installation of Gd Star Rating . <br />Do you want "
|
52 |
"proceed to import data?"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: ../yasr-settings-page.php:
|
56 |
msgid "Yes, Begin Import"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: ../yasr-settings-page.php:
|
60 |
msgid "Click on Proceed to Import Gd Star Rating Data."
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: ../yasr-settings-page.php:
|
64 |
msgid "Proceed"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: ../yasr-settings-page.php:
|
68 |
msgid "Manage GD Star Data"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: ../yasr-settings-page.php:
|
72 |
msgid "Gd Star Rating has been already imported."
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: ../yasr-settings-page.php:
|
76 |
msgid "If you wish you can import it again, but"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: ../yasr-settings-page.php:
|
80 |
msgid "you will lose all data you've collect since the import!"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: ../yasr-settings-page.php:
|
84 |
msgid "Ok, Import Again"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: ../yasr-settings-page.php:
|
88 |
msgid ""
|
89 |
"Click on Proceed to Import again Gd Star Rating Data. This may take a while!"
|
90 |
msgstr ""
|
@@ -130,7 +142,7 @@ msgid "Choose wich set you want to use"
|
|
130 |
msgstr ""
|
131 |
|
132 |
#: ../yasr-metabox-multiple-rating.php:26
|
133 |
-
#: ../lib/yasr-settings-functions.php:
|
134 |
msgid "Select"
|
135 |
msgstr ""
|
136 |
|
@@ -139,73 +151,108 @@ msgid "Rate this article / item"
|
|
139 |
msgstr ""
|
140 |
|
141 |
#: ../yasr-metabox-overall-rating.php:25
|
142 |
-
#: ../lib/yasr-shortcode-functions.php:125 ../lib/yasr-functions.php:
|
143 |
msgid "Loading, please wait"
|
144 |
msgstr ""
|
145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
#: ../lib/yasr-shortcode-functions.php:156
|
147 |
#: ../lib/yasr-shortcode-functions.php:168
|
148 |
#: ../lib/yasr-shortcode-functions.php:173
|
149 |
#: ../lib/yasr-shortcode-functions.php:186
|
150 |
#: ../lib/yasr-shortcode-functions.php:191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
#: ../lib/yasr-shortcode-functions.php:212
|
152 |
-
#: ../lib/yasr-shortcode-functions.php:221
|
153 |
-
#: ../lib/yasr-shortcode-functions.php:227
|
154 |
-
#: ../lib/yasr-shortcode-functions.php:241
|
155 |
-
#: ../lib/yasr-shortcode-functions.php:247
|
156 |
#: ../lib/yasr-shortcode-functions.php:272
|
157 |
-
#: ../lib/yasr-shortcode-functions.php:284
|
158 |
-
#: ../lib/yasr-shortcode-functions.php:289
|
159 |
-
#: ../lib/yasr-shortcode-functions.php:302
|
160 |
-
#: ../lib/yasr-shortcode-functions.php:307
|
161 |
#: ../lib/yasr-shortcode-functions.php:328
|
162 |
-
#: ../lib/yasr-shortcode-functions.php:337
|
163 |
-
#: ../lib/yasr-shortcode-functions.php:343
|
164 |
-
#: ../lib/yasr-shortcode-functions.php:357
|
165 |
-
#: ../lib/yasr-shortcode-functions.php:363
|
166 |
#: ../lib/yasr-shortcode-functions.php:388
|
167 |
-
#: ../lib/yasr-shortcode-functions.php:
|
168 |
-
#: ../lib/yasr-
|
169 |
-
#: ../lib/yasr-
|
170 |
-
#: ../lib/yasr-
|
171 |
-
|
172 |
-
#: ../lib/yasr-shortcode-functions.php:453
|
173 |
-
#: ../lib/yasr-shortcode-functions.php:459
|
174 |
-
#: ../lib/yasr-shortcode-functions.php:473
|
175 |
-
#: ../lib/yasr-shortcode-functions.php:479 ../lib/yasr-ajax-functions.php:987
|
176 |
-
#: ../lib/yasr-ajax-functions.php:993 ../lib/yasr-ajax-functions.php:1024
|
177 |
-
#: ../lib/yasr-ajax-functions.php:1032
|
178 |
-
msgid "Total: "
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: ../lib/yasr-shortcode-functions.php:
|
182 |
-
#: ../lib/yasr-shortcode-functions.php:
|
183 |
-
#: ../lib/yasr-shortcode-functions.php:
|
184 |
-
#: ../lib/yasr-functions.php:
|
185 |
-
#: ../lib/yasr-functions.php:468 ../lib/yasr-functions.php:579
|
186 |
-
#: ../lib/yasr-functions.php:584
|
187 |
msgid "You must sign to vote"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: ../lib/yasr-shortcode-functions.php:
|
191 |
msgid "Rating"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: ../lib/yasr-shortcode-functions.php:
|
195 |
msgid "You don't have any votes stored"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: ../lib/yasr-shortcode-functions.php:
|
199 |
-
msgid "
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: ../lib/yasr-shortcode-functions.php:
|
203 |
msgid ""
|
204 |
"Problem while retriving the top 5 most active reviewers. Did you published "
|
205 |
"any review?"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: ../lib/yasr-shortcode-functions.php:
|
209 |
msgid ""
|
210 |
"Problem while retriving the top 10 active users chart. Are you sure you have "
|
211 |
"votes to show?"
|
@@ -244,239 +291,260 @@ msgid "Use Auto Insert?"
|
|
244 |
msgstr ""
|
245 |
|
246 |
#: ../lib/yasr-settings-functions.php:54
|
247 |
-
#: ../lib/yasr-settings-functions.php:
|
248 |
-
#: ../lib/yasr-settings-functions.php:
|
249 |
-
#: ../lib/yasr-settings-functions.php:
|
250 |
msgid "Yes"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: ../lib/yasr-settings-functions.php:
|
254 |
-
#: ../lib/yasr-settings-functions.php:
|
255 |
-
#: ../lib/yasr-settings-functions.php:
|
256 |
-
#: ../lib/yasr-settings-functions.php:
|
257 |
msgid "No"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: ../lib/yasr-settings-functions.php:
|
261 |
msgid "What?"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: ../lib/yasr-settings-functions.php:
|
265 |
msgid "Overall Rating / Author Rating"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: ../lib/yasr-settings-functions.php:
|
269 |
msgid "Visitor Votes"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: ../lib/yasr-settings-functions.php:
|
273 |
msgid "Both"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: ../lib/yasr-settings-functions.php:
|
277 |
msgid "Where?"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: ../lib/yasr-settings-functions.php:
|
281 |
msgid "Before the post"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: ../lib/yasr-settings-functions.php:
|
285 |
msgid "After the post"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: ../lib/yasr-settings-functions.php:
|
289 |
msgid "Size"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: ../lib/yasr-settings-functions.php:
|
293 |
msgid "Small"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: ../lib/yasr-settings-functions.php:
|
297 |
msgid "Medium"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: ../lib/yasr-settings-functions.php:
|
301 |
msgid "Large"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: ../lib/yasr-settings-functions.php:
|
305 |
msgid "Exclude Pages?"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: ../lib/yasr-settings-functions.php:
|
309 |
msgid ""
|
310 |
"If you enable this, \"Overall Rating\" will be showed not only in the single "
|
311 |
"article or page, but also in pages like Home Page, category pages or "
|
312 |
"archives."
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: ../lib/yasr-settings-functions.php:
|
316 |
msgid "Custom text to display before overall rating"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: ../lib/yasr-settings-functions.php:
|
320 |
msgid "Custom text to display before visitor rating"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: ../lib/yasr-settings-functions.php:
|
324 |
msgid "Custom text to display when a non logged user has already rated"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: ../lib/yasr-settings-functions.php:
|
328 |
msgid "Light"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: ../lib/yasr-settings-functions.php:
|
332 |
msgid "Dark"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: ../lib/yasr-settings-functions.php:
|
336 |
msgid "Preview"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: ../lib/yasr-settings-functions.php:
|
340 |
msgid "Light theme"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: ../lib/yasr-settings-functions.php:
|
344 |
msgid "Dark Theme"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: ../lib/yasr-settings-functions.php:
|
348 |
msgid "Allow only logged-in users"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: ../lib/yasr-settings-functions.php:
|
352 |
msgid "Allow everybody (logged in and anonymous)"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: ../lib/yasr-settings-functions.php:
|
356 |
msgid "Review Rating"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: ../lib/yasr-settings-functions.php:
|
360 |
msgid "Aggregate Rating"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: ../lib/yasr-settings-functions.php:
|
364 |
msgid "What is this?"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: ../lib/yasr-settings-functions.php:
|
368 |
msgid ""
|
369 |
"If you select \"Review Rating\", your site will be indexed from search "
|
370 |
"engines like this: "
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: ../lib/yasr-settings-functions.php:
|
374 |
msgid ""
|
375 |
"If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
|
376 |
"this"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: ../lib/yasr-settings-functions.php:
|
380 |
msgid ""
|
381 |
"Field Name, Element#1 and Element#2 MUST be filled and must be long at least "
|
382 |
"3 characters"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: ../lib/yasr-settings-functions.php:
|
386 |
msgid "Name"
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: ../lib/yasr-settings-functions.php:
|
390 |
msgid "You can insert up to nine element"
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: ../lib/yasr-settings-functions.php:
|
394 |
msgid "Element "
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: ../lib/yasr-settings-functions.php:
|
398 |
msgid "Create New Set"
|
399 |
msgstr ""
|
400 |
|
401 |
#: ../lib/yasr-settings-functions.php:362
|
|
|
|
|
|
|
|
|
402 |
msgid "Wich set do you want to edit or remove?"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: ../lib/yasr-settings-functions.php:
|
406 |
-
#: ../lib/yasr-settings-functions.php:
|
407 |
msgid "Field name"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: ../lib/yasr-settings-functions.php:
|
411 |
-
#: ../lib/yasr-settings-functions.php:
|
412 |
msgid "Remove"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: ../lib/yasr-settings-functions.php:
|
416 |
-
|
|
|
|
|
|
|
|
|
417 |
msgid ""
|
418 |
"If you remove something you will remove all the votes for that set or field. "
|
419 |
"This operation CAN'T BE undone."
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: ../lib/yasr-settings-functions.php:468
|
423 |
-
#: ../lib/yasr-settings-functions.php:586
|
424 |
-
msgid "You can use up to 9 elements"
|
425 |
-
msgstr ""
|
426 |
-
|
427 |
#: ../lib/yasr-settings-functions.php:470
|
428 |
#: ../lib/yasr-settings-functions.php:588
|
429 |
-
msgid "
|
430 |
msgstr ""
|
431 |
|
432 |
#: ../lib/yasr-settings-functions.php:472
|
433 |
#: ../lib/yasr-settings-functions.php:590
|
|
|
|
|
|
|
|
|
|
|
434 |
msgid "Save changes"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: ../lib/yasr-settings-functions.php:
|
438 |
msgid "No multiple set were found"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: ../lib/yasr-settings-functions.php:
|
442 |
-
#: ../lib/yasr-settings-functions.php:
|
443 |
msgid "Settings Saved"
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: ../lib/yasr-settings-functions.php:
|
447 |
msgid "Something goes wrong trying insert set field name. Please report it"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: ../lib/yasr-settings-functions.php:
|
451 |
msgid "Something goes wrong trying insert multi set name. Please report it"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: ../lib/yasr-settings-functions.php:
|
455 |
msgid "Something goes wrong trying to delete a multi-set . Please report it"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: ../lib/yasr-settings-functions.php:
|
459 |
-
msgid ""
|
460 |
-
"Something goes wrong trying to delete data fields for a set. Please report it"
|
461 |
-
msgstr ""
|
462 |
-
|
463 |
-
#: ../lib/yasr-settings-functions.php:850
|
464 |
msgid ""
|
465 |
"Something goes wrong trying to delete a multi-set element. Please report it"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: ../lib/yasr-settings-functions.php:
|
469 |
msgid ""
|
470 |
"Something goes wrong trying to update a multi set element. Please report it"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: ../lib/yasr-settings-functions.php:
|
474 |
msgid ""
|
475 |
"Something goes wrong trying to insert set field name in edit form. Please "
|
476 |
"report it"
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: ../lib/yasr-settings-functions.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
msgid "No previous Gd Star Ratings installation was found"
|
481 |
msgstr ""
|
482 |
|
@@ -496,78 +564,51 @@ msgstr ""
|
|
496 |
msgid "Pages"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: ../lib/yasr-functions.php:
|
500 |
msgid "Yet Another Stars Rating: Settings"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: ../lib/yasr-functions.php:
|
504 |
msgid "Overall Rating"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: ../lib/yasr-functions.php:
|
508 |
msgid "Yet Another Stars Rating: Multiple set"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: ../lib/yasr-functions.php:
|
512 |
msgid "You don't have enought privileges to insert overall rating"
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: ../lib/yasr-functions.php:
|
516 |
msgid "You don't have enought privileges to insert multi-set"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: ../lib/yasr-functions.php:
|
520 |
-
#: ../lib/yasr-functions.php:293 ../lib/yasr-functions.php:321
|
521 |
-
#: ../lib/yasr-functions.php:329 ../lib/yasr-functions.php:347
|
522 |
-
#: ../lib/yasr-functions.php:380 ../lib/yasr-functions.php:391
|
523 |
-
#: ../lib/yasr-functions.php:409 ../lib/yasr-functions.php:437
|
524 |
-
#: ../lib/yasr-functions.php:445 ../lib/yasr-functions.php:463
|
525 |
-
#: ../lib/yasr-functions.php:496 ../lib/yasr-functions.php:507
|
526 |
-
#: ../lib/yasr-functions.php:525 ../lib/yasr-functions.php:553
|
527 |
-
#: ../lib/yasr-functions.php:561 ../lib/yasr-functions.php:579
|
528 |
-
msgid "Average Rating"
|
529 |
-
msgstr ""
|
530 |
-
|
531 |
-
#: ../lib/yasr-functions.php:264 ../lib/yasr-functions.php:321
|
532 |
-
#: ../lib/yasr-functions.php:380 ../lib/yasr-functions.php:437
|
533 |
-
#: ../lib/yasr-functions.php:496 ../lib/yasr-functions.php:553
|
534 |
-
msgid "User "
|
535 |
-
msgstr ""
|
536 |
-
|
537 |
-
#: ../lib/yasr-functions.php:280 ../lib/yasr-functions.php:298
|
538 |
-
#: ../lib/yasr-functions.php:334 ../lib/yasr-functions.php:352
|
539 |
-
#: ../lib/yasr-functions.php:396 ../lib/yasr-functions.php:414
|
540 |
-
#: ../lib/yasr-functions.php:450 ../lib/yasr-functions.php:468
|
541 |
-
#: ../lib/yasr-functions.php:512 ../lib/yasr-functions.php:530
|
542 |
-
#: ../lib/yasr-functions.php:566 ../lib/yasr-functions.php:584
|
543 |
-
msgid "No rating yet"
|
544 |
-
msgstr ""
|
545 |
-
|
546 |
-
#: ../lib/yasr-functions.php:789
|
547 |
msgid " reviewed by "
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: ../lib/yasr-functions.php:
|
551 |
msgid " on "
|
552 |
msgstr ""
|
553 |
|
554 |
-
#: ../lib/yasr-functions.php:
|
555 |
msgid " rated "
|
556 |
msgstr ""
|
557 |
|
558 |
-
#: ../lib/yasr-functions.php:
|
559 |
msgid " on 5.0"
|
560 |
msgstr ""
|
561 |
|
562 |
-
#: ../lib/yasr-functions.php:
|
563 |
msgid " out of "
|
564 |
msgstr ""
|
565 |
|
566 |
-
#: ../lib/yasr-functions.php:
|
567 |
msgid " based on "
|
568 |
msgstr ""
|
569 |
|
570 |
-
#: ../lib/yasr-functions.php:
|
571 |
msgid " user ratings"
|
572 |
msgstr ""
|
573 |
|
@@ -701,14 +742,32 @@ msgstr ""
|
|
701 |
msgid "Multiset was not found. Imported is done!"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: ../lib/yasr-ajax-functions.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
705 |
msgid "Vote Saved"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: ../lib/yasr-ajax-functions.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
709 |
msgid "Total:"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: ../lib/yasr-ajax-functions.php:
|
713 |
msgid "Average"
|
714 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YASR lenguages\n"
|
4 |
+
"POT-Creation-Date: 2014-08-13 14:28+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-08-13 14:28+0100\n"
|
6 |
"Last-Translator: Dario <thedudoworld@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: En\n"
|
15 |
"X-Poedit-SearchPath-0: ..\n"
|
16 |
"X-Poedit-SearchPath-1: ../lib\n"
|
17 |
|
18 |
+
#: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:75
|
19 |
#: ../lib/yasr-ajax-functions.php:29 ../lib/yasr-ajax-functions.php:89
|
20 |
#: ../lib/yasr-ajax-functions.php:228 ../lib/yasr-ajax-functions.php:753
|
21 |
msgid "You do not have sufficient permissions to access this page."
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: ../yasr-settings-page.php:56
|
25 |
+
msgid "General Settings"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: ../yasr-settings-page.php:57
|
29 |
+
msgid "Multi Sets"
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: ../yasr-settings-page.php:58
|
33 |
+
msgid "Styles"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: ../yasr-settings-page.php:74 ../yasr-settings-page.php:272
|
37 |
msgid "Save"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: ../yasr-settings-page.php:80 ../yasr-settings-page.php:242
|
41 |
+
#: ../yasr-settings-page.php:279 ../yasr-settings-page.php:303
|
42 |
msgid "Donations"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: ../yasr-settings-page.php:82 ../yasr-settings-page.php:244
|
46 |
+
#: ../yasr-settings-page.php:281 ../yasr-settings-page.php:305
|
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. "
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: ../yasr-settings-page.php:84 ../yasr-settings-page.php:246
|
53 |
+
#: ../yasr-settings-page.php:283 ../yasr-settings-page.php:307
|
54 |
msgid "Thank you!"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: ../yasr-settings-page.php:104
|
58 |
msgid "Import Gd Star Rating"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: ../yasr-settings-page.php:105
|
62 |
msgid ""
|
63 |
"I've found a previous installation of Gd Star Rating . <br />Do you want "
|
64 |
"proceed to import data?"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: ../yasr-settings-page.php:107
|
68 |
msgid "Yes, Begin Import"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: ../yasr-settings-page.php:111
|
72 |
msgid "Click on Proceed to Import Gd Star Rating Data."
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: ../yasr-settings-page.php:114 ../yasr-settings-page.php:147
|
76 |
msgid "Proceed"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: ../yasr-settings-page.php:136
|
80 |
msgid "Manage GD Star Data"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: ../yasr-settings-page.php:137
|
84 |
msgid "Gd Star Rating has been already imported."
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: ../yasr-settings-page.php:138
|
88 |
msgid "If you wish you can import it again, but"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: ../yasr-settings-page.php:138
|
92 |
msgid "you will lose all data you've collect since the import!"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: ../yasr-settings-page.php:140
|
96 |
msgid "Ok, Import Again"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: ../yasr-settings-page.php:144
|
100 |
msgid ""
|
101 |
"Click on Proceed to Import again Gd Star Rating Data. This may take a while!"
|
102 |
msgstr ""
|
142 |
msgstr ""
|
143 |
|
144 |
#: ../yasr-metabox-multiple-rating.php:26
|
145 |
+
#: ../lib/yasr-settings-functions.php:372
|
146 |
msgid "Select"
|
147 |
msgstr ""
|
148 |
|
151 |
msgstr ""
|
152 |
|
153 |
#: ../yasr-metabox-overall-rating.php:25
|
154 |
+
#: ../lib/yasr-shortcode-functions.php:125 ../lib/yasr-functions.php:266
|
155 |
msgid "Loading, please wait"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: ../yasr-metabox-overall-rating.php:40
|
159 |
+
msgid ""
|
160 |
+
"Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
|
161 |
+
"where you want to display this rating"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
#: ../lib/yasr-shortcode-functions.php:156
|
165 |
#: ../lib/yasr-shortcode-functions.php:168
|
166 |
#: ../lib/yasr-shortcode-functions.php:173
|
167 |
#: ../lib/yasr-shortcode-functions.php:186
|
168 |
#: ../lib/yasr-shortcode-functions.php:191
|
169 |
+
#: ../lib/yasr-shortcode-functions.php:211
|
170 |
+
#: ../lib/yasr-shortcode-functions.php:220
|
171 |
+
#: ../lib/yasr-shortcode-functions.php:226
|
172 |
+
#: ../lib/yasr-shortcode-functions.php:240
|
173 |
+
#: ../lib/yasr-shortcode-functions.php:246
|
174 |
+
#: ../lib/yasr-shortcode-functions.php:271
|
175 |
+
#: ../lib/yasr-shortcode-functions.php:283
|
176 |
+
#: ../lib/yasr-shortcode-functions.php:288
|
177 |
+
#: ../lib/yasr-shortcode-functions.php:301
|
178 |
+
#: ../lib/yasr-shortcode-functions.php:306
|
179 |
+
#: ../lib/yasr-shortcode-functions.php:327
|
180 |
+
#: ../lib/yasr-shortcode-functions.php:336
|
181 |
+
#: ../lib/yasr-shortcode-functions.php:342
|
182 |
+
#: ../lib/yasr-shortcode-functions.php:356
|
183 |
+
#: ../lib/yasr-shortcode-functions.php:362
|
184 |
+
#: ../lib/yasr-shortcode-functions.php:387
|
185 |
+
#: ../lib/yasr-shortcode-functions.php:399
|
186 |
+
#: ../lib/yasr-shortcode-functions.php:404
|
187 |
+
#: ../lib/yasr-shortcode-functions.php:417
|
188 |
+
#: ../lib/yasr-shortcode-functions.php:422
|
189 |
+
#: ../lib/yasr-shortcode-functions.php:443
|
190 |
+
#: ../lib/yasr-shortcode-functions.php:452
|
191 |
+
#: ../lib/yasr-shortcode-functions.php:458
|
192 |
+
#: ../lib/yasr-shortcode-functions.php:472
|
193 |
+
#: ../lib/yasr-shortcode-functions.php:478 ../lib/yasr-functions.php:285
|
194 |
+
#: ../lib/yasr-functions.php:297 ../lib/yasr-functions.php:302
|
195 |
+
#: ../lib/yasr-functions.php:315 ../lib/yasr-functions.php:320
|
196 |
+
#: ../lib/yasr-functions.php:340 ../lib/yasr-functions.php:349
|
197 |
+
#: ../lib/yasr-functions.php:355 ../lib/yasr-functions.php:369
|
198 |
+
#: ../lib/yasr-functions.php:375 ../lib/yasr-functions.php:400
|
199 |
+
#: ../lib/yasr-functions.php:412 ../lib/yasr-functions.php:417
|
200 |
+
#: ../lib/yasr-functions.php:430 ../lib/yasr-functions.php:435
|
201 |
+
#: ../lib/yasr-functions.php:456 ../lib/yasr-functions.php:465
|
202 |
+
#: ../lib/yasr-functions.php:471 ../lib/yasr-functions.php:485
|
203 |
+
#: ../lib/yasr-functions.php:491 ../lib/yasr-functions.php:516
|
204 |
+
#: ../lib/yasr-functions.php:528 ../lib/yasr-functions.php:533
|
205 |
+
#: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
|
206 |
+
#: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
|
207 |
+
#: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
|
208 |
+
#: ../lib/yasr-functions.php:607 ../lib/yasr-ajax-functions.php:991
|
209 |
+
#: ../lib/yasr-ajax-functions.php:999 ../lib/yasr-ajax-functions.php:1007
|
210 |
+
#: ../lib/yasr-ajax-functions.php:1021 ../lib/yasr-ajax-functions.php:1029
|
211 |
+
#: ../lib/yasr-ajax-functions.php:1036 ../lib/yasr-ajax-functions.php:1126
|
212 |
+
#: ../lib/yasr-ajax-functions.php:1134 ../lib/yasr-ajax-functions.php:1142
|
213 |
+
#: ../lib/yasr-ajax-functions.php:1178 ../lib/yasr-ajax-functions.php:1184
|
214 |
+
#: ../lib/yasr-ajax-functions.php:1190 ../lib/yasr-ajax-functions.php:1199
|
215 |
+
msgid "Total: "
|
216 |
+
msgstr ""
|
217 |
+
|
218 |
+
#: ../lib/yasr-shortcode-functions.php:157
|
219 |
#: ../lib/yasr-shortcode-functions.php:212
|
|
|
|
|
|
|
|
|
220 |
#: ../lib/yasr-shortcode-functions.php:272
|
|
|
|
|
|
|
|
|
221 |
#: ../lib/yasr-shortcode-functions.php:328
|
|
|
|
|
|
|
|
|
222 |
#: ../lib/yasr-shortcode-functions.php:388
|
223 |
+
#: ../lib/yasr-shortcode-functions.php:444 ../lib/yasr-functions.php:286
|
224 |
+
#: ../lib/yasr-functions.php:341 ../lib/yasr-functions.php:401
|
225 |
+
#: ../lib/yasr-functions.php:457 ../lib/yasr-functions.php:517
|
226 |
+
#: ../lib/yasr-functions.php:573
|
227 |
+
msgid "You've already voted this article with"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: ../lib/yasr-shortcode-functions.php:241
|
231 |
+
#: ../lib/yasr-shortcode-functions.php:357
|
232 |
+
#: ../lib/yasr-shortcode-functions.php:473 ../lib/yasr-functions.php:370
|
233 |
+
#: ../lib/yasr-functions.php:486 ../lib/yasr-functions.php:602
|
|
|
|
|
234 |
msgid "You must sign to vote"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: ../lib/yasr-shortcode-functions.php:698
|
238 |
msgid "Rating"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: ../lib/yasr-shortcode-functions.php:712
|
242 |
msgid "You don't have any votes stored"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: ../lib/yasr-shortcode-functions.php:726
|
246 |
+
msgid "Chart is loading, please wait"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: ../lib/yasr-shortcode-functions.php:855
|
250 |
msgid ""
|
251 |
"Problem while retriving the top 5 most active reviewers. Did you published "
|
252 |
"any review?"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: ../lib/yasr-shortcode-functions.php:923
|
256 |
msgid ""
|
257 |
"Problem while retriving the top 10 active users chart. Are you sure you have "
|
258 |
"votes to show?"
|
291 |
msgstr ""
|
292 |
|
293 |
#: ../lib/yasr-settings-functions.php:54
|
294 |
+
#: ../lib/yasr-settings-functions.php:129
|
295 |
+
#: ../lib/yasr-settings-functions.php:149
|
296 |
+
#: ../lib/yasr-settings-functions.php:174
|
297 |
msgid "Yes"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: ../lib/yasr-settings-functions.php:74
|
301 |
+
#: ../lib/yasr-settings-functions.php:134
|
302 |
+
#: ../lib/yasr-settings-functions.php:154
|
303 |
+
#: ../lib/yasr-settings-functions.php:191
|
304 |
msgid "No"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: ../lib/yasr-settings-functions.php:80
|
308 |
msgid "What?"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: ../lib/yasr-settings-functions.php:83
|
312 |
msgid "Overall Rating / Author Rating"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: ../lib/yasr-settings-functions.php:87 ../lib/yasr-ajax-functions.php:355
|
316 |
msgid "Visitor Votes"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: ../lib/yasr-settings-functions.php:91
|
320 |
msgid "Both"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: ../lib/yasr-settings-functions.php:95
|
324 |
msgid "Where?"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: ../lib/yasr-settings-functions.php:98
|
328 |
msgid "Before the post"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: ../lib/yasr-settings-functions.php:102
|
332 |
msgid "After the post"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: ../lib/yasr-settings-functions.php:107
|
336 |
msgid "Size"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: ../lib/yasr-settings-functions.php:111
|
340 |
msgid "Small"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: ../lib/yasr-settings-functions.php:116
|
344 |
msgid "Medium"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: ../lib/yasr-settings-functions.php:121
|
348 |
msgid "Large"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: ../lib/yasr-settings-functions.php:126
|
352 |
msgid "Exclude Pages?"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: ../lib/yasr-settings-functions.php:158
|
356 |
msgid ""
|
357 |
"If you enable this, \"Overall Rating\" will be showed not only in the single "
|
358 |
"article or page, but also in pages like Home Page, category pages or "
|
359 |
"archives."
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: ../lib/yasr-settings-functions.php:198
|
363 |
msgid "Custom text to display before overall rating"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: ../lib/yasr-settings-functions.php:203
|
367 |
msgid "Custom text to display before visitor rating"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: ../lib/yasr-settings-functions.php:208
|
371 |
msgid "Custom text to display when a non logged user has already rated"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: ../lib/yasr-settings-functions.php:224
|
375 |
msgid "Light"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: ../lib/yasr-settings-functions.php:229
|
379 |
msgid "Dark"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: ../lib/yasr-settings-functions.php:234
|
383 |
msgid "Preview"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: ../lib/yasr-settings-functions.php:239
|
387 |
msgid "Light theme"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: ../lib/yasr-settings-functions.php:244
|
391 |
msgid "Dark Theme"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: ../lib/yasr-settings-functions.php:262
|
395 |
msgid "Allow only logged-in users"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: ../lib/yasr-settings-functions.php:266
|
399 |
msgid "Allow everybody (logged in and anonymous)"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: ../lib/yasr-settings-functions.php:283
|
403 |
msgid "Review Rating"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: ../lib/yasr-settings-functions.php:287
|
407 |
msgid "Aggregate Rating"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: ../lib/yasr-settings-functions.php:292
|
411 |
msgid "What is this?"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: ../lib/yasr-settings-functions.php:297
|
415 |
msgid ""
|
416 |
"If you select \"Review Rating\", your site will be indexed from search "
|
417 |
"engines like this: "
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: ../lib/yasr-settings-functions.php:302
|
421 |
msgid ""
|
422 |
"If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
|
423 |
"this"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: ../lib/yasr-settings-functions.php:318
|
427 |
msgid ""
|
428 |
"Field Name, Element#1 and Element#2 MUST be filled and must be long at least "
|
429 |
"3 characters"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: ../lib/yasr-settings-functions.php:321
|
433 |
msgid "Name"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: ../lib/yasr-settings-functions.php:326
|
437 |
msgid "You can insert up to nine element"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: ../lib/yasr-settings-functions.php:331
|
441 |
msgid "Element "
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: ../lib/yasr-settings-functions.php:341
|
445 |
msgid "Create New Set"
|
446 |
msgstr ""
|
447 |
|
448 |
#: ../lib/yasr-settings-functions.php:362
|
449 |
+
msgid "Manage Multiple Set"
|
450 |
+
msgstr ""
|
451 |
+
|
452 |
+
#: ../lib/yasr-settings-functions.php:364
|
453 |
msgid "Wich set do you want to edit or remove?"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: ../lib/yasr-settings-functions.php:404
|
457 |
+
#: ../lib/yasr-settings-functions.php:522
|
458 |
msgid "Field name"
|
459 |
msgstr ""
|
460 |
|
461 |
+
#: ../lib/yasr-settings-functions.php:408
|
462 |
+
#: ../lib/yasr-settings-functions.php:526
|
463 |
msgid "Remove"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: ../lib/yasr-settings-functions.php:450
|
467 |
+
msgid "Remove whole set?"
|
468 |
+
msgstr ""
|
469 |
+
|
470 |
+
#: ../lib/yasr-settings-functions.php:463
|
471 |
+
#: ../lib/yasr-settings-functions.php:581
|
472 |
msgid ""
|
473 |
"If you remove something you will remove all the votes for that set or field. "
|
474 |
"This operation CAN'T BE undone."
|
475 |
msgstr ""
|
476 |
|
|
|
|
|
|
|
|
|
|
|
477 |
#: ../lib/yasr-settings-functions.php:470
|
478 |
#: ../lib/yasr-settings-functions.php:588
|
479 |
+
msgid "You can use up to 9 elements"
|
480 |
msgstr ""
|
481 |
|
482 |
#: ../lib/yasr-settings-functions.php:472
|
483 |
#: ../lib/yasr-settings-functions.php:590
|
484 |
+
msgid "Add element"
|
485 |
+
msgstr ""
|
486 |
+
|
487 |
+
#: ../lib/yasr-settings-functions.php:474
|
488 |
+
#: ../lib/yasr-settings-functions.php:592
|
489 |
msgid "Save changes"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: ../lib/yasr-settings-functions.php:484
|
493 |
msgid "No multiple set were found"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: ../lib/yasr-settings-functions.php:734
|
497 |
+
#: ../lib/yasr-settings-functions.php:1002
|
498 |
msgid "Settings Saved"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: ../lib/yasr-settings-functions.php:739
|
502 |
msgid "Something goes wrong trying insert set field name. Please report it"
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: ../lib/yasr-settings-functions.php:745
|
506 |
msgid "Something goes wrong trying insert multi set name. Please report it"
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: ../lib/yasr-settings-functions.php:820
|
510 |
msgid "Something goes wrong trying to delete a multi-set . Please report it"
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: ../lib/yasr-settings-functions.php:866
|
|
|
|
|
|
|
|
|
|
|
514 |
msgid ""
|
515 |
"Something goes wrong trying to delete a multi-set element. Please report it"
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: ../lib/yasr-settings-functions.php:930
|
519 |
msgid ""
|
520 |
"Something goes wrong trying to update a multi set element. Please report it"
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: ../lib/yasr-settings-functions.php:987
|
524 |
msgid ""
|
525 |
"Something goes wrong trying to insert set field name in edit form. Please "
|
526 |
"report it"
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: ../lib/yasr-settings-functions.php:1030
|
530 |
+
msgid "Style Options"
|
531 |
+
msgstr ""
|
532 |
+
|
533 |
+
#: ../lib/yasr-settings-functions.php:1031
|
534 |
+
msgid "Custom CSS Styles"
|
535 |
+
msgstr ""
|
536 |
+
|
537 |
+
#: ../lib/yasr-settings-functions.php:1036
|
538 |
+
msgid ""
|
539 |
+
"Please use text area below to write your own CSS styles to override the "
|
540 |
+
"default ones."
|
541 |
+
msgstr ""
|
542 |
+
|
543 |
+
#: ../lib/yasr-settings-functions.php:1038
|
544 |
+
msgid "Leave it blank if you don't know what you're doing"
|
545 |
+
msgstr ""
|
546 |
+
|
547 |
+
#: ../lib/yasr-settings-functions.php:1071
|
548 |
msgid "No previous Gd Star Ratings installation was found"
|
549 |
msgstr ""
|
550 |
|
564 |
msgid "Pages"
|
565 |
msgstr ""
|
566 |
|
567 |
+
#: ../lib/yasr-functions.php:63 ../lib/yasr-functions.php:64
|
568 |
msgid "Yet Another Stars Rating: Settings"
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: ../lib/yasr-functions.php:107 ../lib/yasr-functions.php:114
|
572 |
msgid "Overall Rating"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: ../lib/yasr-functions.php:108
|
576 |
msgid "Yet Another Stars Rating: Multiple set"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: ../lib/yasr-functions.php:124
|
580 |
msgid "You don't have enought privileges to insert overall rating"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: ../lib/yasr-functions.php:134
|
584 |
msgid "You don't have enought privileges to insert multi-set"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: ../lib/yasr-functions.php:842
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
588 |
msgid " reviewed by "
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: ../lib/yasr-functions.php:843
|
592 |
msgid " on "
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: ../lib/yasr-functions.php:844 ../lib/yasr-functions.php:888
|
596 |
msgid " rated "
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: ../lib/yasr-functions.php:844
|
600 |
msgid " on 5.0"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: ../lib/yasr-functions.php:888
|
604 |
msgid " out of "
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: ../lib/yasr-functions.php:889
|
608 |
msgid " based on "
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: ../lib/yasr-functions.php:889
|
612 |
msgid " user ratings"
|
613 |
msgstr ""
|
614 |
|
742 |
msgid "Multiset was not found. Imported is done!"
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: ../lib/yasr-ajax-functions.php:991 ../lib/yasr-ajax-functions.php:999
|
746 |
+
#: ../lib/yasr-ajax-functions.php:1007 ../lib/yasr-ajax-functions.php:1021
|
747 |
+
#: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1036
|
748 |
+
msgid "Average rating"
|
749 |
+
msgstr ""
|
750 |
+
|
751 |
+
#: ../lib/yasr-ajax-functions.php:992 ../lib/yasr-ajax-functions.php:1000
|
752 |
+
#: ../lib/yasr-ajax-functions.php:1008 ../lib/yasr-ajax-functions.php:1022
|
753 |
+
#: ../lib/yasr-ajax-functions.php:1030 ../lib/yasr-ajax-functions.php:1037
|
754 |
msgid "Vote Saved"
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: ../lib/yasr-ajax-functions.php:1127 ../lib/yasr-ajax-functions.php:1135
|
758 |
+
#: ../lib/yasr-ajax-functions.php:1143
|
759 |
+
msgid "Vote Updated"
|
760 |
+
msgstr ""
|
761 |
+
|
762 |
+
#: ../lib/yasr-ajax-functions.php:1178 ../lib/yasr-ajax-functions.php:1184
|
763 |
+
#: ../lib/yasr-ajax-functions.php:1190 ../lib/yasr-ajax-functions.php:1199
|
764 |
+
msgid "Average "
|
765 |
+
msgstr ""
|
766 |
+
|
767 |
+
#: ../lib/yasr-ajax-functions.php:1257 ../lib/yasr-ajax-functions.php:1292
|
768 |
msgid "Total:"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: ../lib/yasr-ajax-functions.php:1257 ../lib/yasr-ajax-functions.php:1292
|
772 |
msgid "Average"
|
773 |
msgstr ""
|
lib/yasr-ajax-functions.php
CHANGED
@@ -988,7 +988,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
|
|
988 |
if ($size == 'small') {
|
989 |
|
990 |
echo "<div class=\"rateit\" id=\"yasr_rateit_user_votes_voted\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
991 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average
|
992 |
<strong>" . __("Vote Saved" , "yasr") . "</strong>";
|
993 |
|
994 |
}
|
@@ -996,7 +996,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
|
|
996 |
elseif ($size == 'medium') {
|
997 |
|
998 |
echo "<div class=\"rateit medium\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
999 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average
|
1000 |
<strong>" . __("Vote Saved" , "yasr") . "</strong>";
|
1001 |
|
1002 |
}
|
@@ -1004,7 +1004,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
|
|
1004 |
elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
|
1005 |
|
1006 |
echo "<div class=\"rateit bigstars\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1007 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average
|
1008 |
<strong>" . __("Vote Saved" , "yasr") . "</strong>";
|
1009 |
|
1010 |
}
|
@@ -1018,7 +1018,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
|
|
1018 |
if ($size == 'small') {
|
1019 |
|
1020 |
echo "<div class=\"rateit\" id=\"yasr_rateit_user_votes_voted\" data-rateit-value=\"$rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1021 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average rating
|
1022 |
<strong>". __("Vote Saved" , "yasr");
|
1023 |
|
1024 |
}
|
@@ -1026,14 +1026,14 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
|
|
1026 |
if ($size == 'medium') {
|
1027 |
|
1028 |
echo "<div class=\"rateit medium\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1029 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average rating
|
1030 |
<strong>". __("Vote Saved" , "yasr");
|
1031 |
|
1032 |
}
|
1033 |
|
1034 |
elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
|
1035 |
echo "<div class=\"rateit bigstars\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1036 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average rating
|
1037 |
<strong>". __("Vote Saved" , "yasr");
|
1038 |
}
|
1039 |
|
@@ -1043,6 +1043,113 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
|
|
1043 |
}
|
1044 |
|
1045 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1046 |
|
1047 |
/****** Echo a readonly star set if user has already voted for a post ******/
|
1048 |
|
@@ -1068,19 +1175,19 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
|
|
1068 |
|
1069 |
if ($size == 'small') {
|
1070 |
echo "<div class=\"rateit\" id=\"yasr_rateit_user_votes_voted_ro\" data-rateit-value=\"$average_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1071 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average
|
1072 |
<strong>" . YASR_CUSTOM_TEXT_USER_VOTED . " </strong>";
|
1073 |
}
|
1074 |
|
1075 |
if ($size == 'medium') {
|
1076 |
echo "<div class=\"rateit medium\" id=\"yasr_rateit_user_votes_voted_ro\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$average_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1077 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average
|
1078 |
<strong>" . YASR_CUSTOM_TEXT_USER_VOTED . " </strong>";
|
1079 |
}
|
1080 |
|
1081 |
elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
|
1082 |
echo "<div class=\"rateit bigstars\" id=\"yasr_rateit_user_votes_voted_ro\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$average_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1083 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average
|
1084 |
<strong>" . YASR_CUSTOM_TEXT_USER_VOTED . " </strong>";
|
1085 |
}
|
1086 |
|
@@ -1089,7 +1196,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
|
|
1089 |
else {
|
1090 |
|
1091 |
echo "<div class=\"rateit bigstars\" id=\"yasr_rateit_user_votes_voted_ro\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$average_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1092 |
-
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average
|
1093 |
<strong>" . __("You've already voted this article with $rating", "yasr") . "</strong>";
|
1094 |
|
1095 |
}
|
988 |
if ($size == 'small') {
|
989 |
|
990 |
echo "<div class=\"rateit\" id=\"yasr_rateit_user_votes_voted\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
991 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
|
992 |
<strong>" . __("Vote Saved" , "yasr") . "</strong>";
|
993 |
|
994 |
}
|
996 |
elseif ($size == 'medium') {
|
997 |
|
998 |
echo "<div class=\"rateit medium\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
999 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
|
1000 |
<strong>" . __("Vote Saved" , "yasr") . "</strong>";
|
1001 |
|
1002 |
}
|
1004 |
elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
|
1005 |
|
1006 |
echo "<div class=\"rateit bigstars\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1007 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
|
1008 |
<strong>" . __("Vote Saved" , "yasr") . "</strong>";
|
1009 |
|
1010 |
}
|
1018 |
if ($size == 'small') {
|
1019 |
|
1020 |
echo "<div class=\"rateit\" id=\"yasr_rateit_user_votes_voted\" data-rateit-value=\"$rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1021 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
|
1022 |
<strong>". __("Vote Saved" , "yasr");
|
1023 |
|
1024 |
}
|
1026 |
if ($size == 'medium') {
|
1027 |
|
1028 |
echo "<div class=\"rateit medium\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1029 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
|
1030 |
<strong>". __("Vote Saved" , "yasr");
|
1031 |
|
1032 |
}
|
1033 |
|
1034 |
elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
|
1035 |
echo "<div class=\"rateit bigstars\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1036 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
|
1037 |
<strong>". __("Vote Saved" , "yasr");
|
1038 |
}
|
1039 |
|
1043 |
}
|
1044 |
|
1045 |
|
1046 |
+
/****** Update vote for logged in user ******/
|
1047 |
+
|
1048 |
+
add_action( 'wp_ajax_yasr_update_visitor_rating', 'yasr_update_visitor_rating_callback' );
|
1049 |
+
add_action( 'wp_ajax_nopriv_yasr_update_visitor_rating', 'yasr_update_visitor_rating_callback' );
|
1050 |
+
|
1051 |
+
function yasr_update_visitor_rating_callback () {
|
1052 |
+
if(isset($_POST['rating']) && isset($_POST['post_id'])) {
|
1053 |
+
$new_rating = $_POST['rating'];
|
1054 |
+
$post_id = $_POST['post_id'];
|
1055 |
+
$size = $_POST['size'];
|
1056 |
+
$nonce_visitor = $_POST['nonce_visitor'];
|
1057 |
+
}
|
1058 |
+
else {
|
1059 |
+
exit();
|
1060 |
+
}
|
1061 |
+
|
1062 |
+
if ( ! wp_verify_nonce( $nonce_visitor, 'yasr_nonce_insert_visitor_rating' ) ) {
|
1063 |
+
die( 'Security check' );
|
1064 |
+
}
|
1065 |
+
|
1066 |
+
global $wpdb;
|
1067 |
+
|
1068 |
+
$all_post_votes = $wpdb->get_results ("SELECT sum_votes, number_of_votes FROM " . YASR_VOTES_TABLE . " WHERE post_id=$post_id");
|
1069 |
+
|
1070 |
+
global $current_user;
|
1071 |
+
get_currentuserinfo();
|
1072 |
+
|
1073 |
+
$previous_vote = $wpdb->get_results ("SELECT vote FROM " . YASR_LOG_TABLE . " WHERE user_id=$current_user->ID AND post_id=$post_id");
|
1074 |
+
|
1075 |
+
|
1076 |
+
foreach ($all_post_votes as $votes) {
|
1077 |
+
$old_votes_sum = $votes->sum_votes;
|
1078 |
+
$number_of_votes = $votes->number_of_votes;
|
1079 |
+
}
|
1080 |
+
|
1081 |
+
|
1082 |
+
foreach ($previous_vote as $vote) {
|
1083 |
+
$old_vote = $vote->vote;
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
//Calculate the new sum: get the old sum and subtract the old vote
|
1087 |
+
$new_sum = $old_votes_sum - $old_vote;
|
1088 |
+
|
1089 |
+
//Then add the new vote
|
1090 |
+
$new_sum = $new_sum + $new_rating;
|
1091 |
+
|
1092 |
+
//Write the new sum in the db
|
1093 |
+
$update_vote=$wpdb->update(
|
1094 |
+
YASR_VOTES_TABLE,
|
1095 |
+
array (
|
1096 |
+
'sum_votes' => $new_sum
|
1097 |
+
),
|
1098 |
+
array (
|
1099 |
+
'post_id' => $post_id
|
1100 |
+
),
|
1101 |
+
array('%s' ),
|
1102 |
+
array( '%d' )
|
1103 |
+
);
|
1104 |
+
|
1105 |
+
|
1106 |
+
//Update the log table
|
1107 |
+
|
1108 |
+
$update_log = $wpdb->update (
|
1109 |
+
YASR_LOG_TABLE,
|
1110 |
+
array (
|
1111 |
+
'vote' => $new_rating
|
1112 |
+
),
|
1113 |
+
array (
|
1114 |
+
'post_id' => $post_id,
|
1115 |
+
'user_id' => $current_user->ID
|
1116 |
+
)
|
1117 |
+
);
|
1118 |
+
|
1119 |
+
|
1120 |
+
$total_rating = ($new_sum / $number_of_votes);
|
1121 |
+
$medium_rating=round ($total_rating, 1);
|
1122 |
+
|
1123 |
+
if ($size == 'small') {
|
1124 |
+
|
1125 |
+
echo "<div class=\"rateit\" id=\"yasr-rateit-user-votes-updated\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1126 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
1127 |
+
<strong>" . __("Vote Updated" , "yasr") . "</strong>";
|
1128 |
+
|
1129 |
+
}
|
1130 |
+
|
1131 |
+
elseif ($size == 'medium') {
|
1132 |
+
|
1133 |
+
echo "<div class=\"rateit medium\" id=\"yasr-rateit-user-votes-updated\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1134 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
1135 |
+
<strong>" . __("Vote Updated" , "yasr") . "</strong>";
|
1136 |
+
|
1137 |
+
}
|
1138 |
+
|
1139 |
+
elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
|
1140 |
+
|
1141 |
+
echo "<div class=\"rateit bigstars\" id=\"yasr-rateit-user-votes-updated\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1142 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
1143 |
+
<strong>" . __("Vote Updated" , "yasr") . "</strong>";
|
1144 |
+
|
1145 |
+
}
|
1146 |
+
|
1147 |
+
|
1148 |
+
die(); // this is required to return a proper result
|
1149 |
+
|
1150 |
+
}
|
1151 |
+
|
1152 |
+
|
1153 |
|
1154 |
/****** Echo a readonly star set if user has already voted for a post ******/
|
1155 |
|
1175 |
|
1176 |
if ($size == 'small') {
|
1177 |
echo "<div class=\"rateit\" id=\"yasr_rateit_user_votes_voted_ro\" data-rateit-value=\"$average_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1178 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average " , "yasr") . "$average_rating/5 ]</span>
|
1179 |
<strong>" . YASR_CUSTOM_TEXT_USER_VOTED . " </strong>";
|
1180 |
}
|
1181 |
|
1182 |
if ($size == 'medium') {
|
1183 |
echo "<div class=\"rateit medium\" id=\"yasr_rateit_user_votes_voted_ro\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$average_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1184 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average " , "yasr") . "$average_rating/5 ]</span>
|
1185 |
<strong>" . YASR_CUSTOM_TEXT_USER_VOTED . " </strong>";
|
1186 |
}
|
1187 |
|
1188 |
elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
|
1189 |
echo "<div class=\"rateit bigstars\" id=\"yasr_rateit_user_votes_voted_ro\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$average_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1190 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average " , "yasr") . "$average_rating/5 ]</span>
|
1191 |
<strong>" . YASR_CUSTOM_TEXT_USER_VOTED . " </strong>";
|
1192 |
}
|
1193 |
|
1196 |
else {
|
1197 |
|
1198 |
echo "<div class=\"rateit bigstars\" id=\"yasr_rateit_user_votes_voted_ro\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$average_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
|
1199 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes " . __("Average " , "yasr") . "$average_rating/5 ]</span>
|
1200 |
<strong>" . __("You've already voted this article with $rating", "yasr") . "</strong>";
|
1201 |
|
1202 |
}
|
lib/yasr-db-functions.php
CHANGED
@@ -116,7 +116,7 @@ function yasr_get_overall_rating() {
|
|
116 |
|
117 |
|
118 |
/****** Get visitor rating ******/
|
119 |
-
function yasr_get_vistor_rating() {
|
120 |
global $wpdb;
|
121 |
|
122 |
$post_id=get_the_ID();
|
@@ -135,7 +135,7 @@ function yasr_get_vistor_rating() {
|
|
135 |
}
|
136 |
}
|
137 |
|
138 |
-
}
|
139 |
|
140 |
|
141 |
|
116 |
|
117 |
|
118 |
/****** Get visitor rating ******/
|
119 |
+
/*function yasr_get_vistor_rating() {
|
120 |
global $wpdb;
|
121 |
|
122 |
$post_id=get_the_ID();
|
135 |
}
|
136 |
}
|
137 |
|
138 |
+
}*/
|
139 |
|
140 |
|
141 |
|
lib/yasr-functions.php
CHANGED
@@ -10,9 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
|
|
10 |
|
11 |
function yasr_add_scripts () {
|
12 |
|
13 |
-
wp_enqueue_style( '
|
14 |
-
wp_enqueue_style( 'rateitbigstars', YASR_CSS_DIR . 'bigstars.css', array('rateitcss'), NULL, 'all' );
|
15 |
-
wp_enqueue_style( 'yasrcss', YASR_CSS_DIR . 'yasr.css', array('rateitcss'), NULL, 'all' );
|
16 |
|
17 |
|
18 |
//If choosen is light or not dark (force to be default)
|
@@ -34,9 +32,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
|
|
34 |
|
35 |
function yasr_add_admin_scripts () {
|
36 |
|
37 |
-
wp_enqueue_style( '
|
38 |
-
wp_enqueue_style( 'rateitbigstars', YASR_CSS_DIR . 'bigstars.css', array('rateitcss'), NULL, 'all' );
|
39 |
-
wp_enqueue_style( 'yasrcss', YASR_CSS_DIR . 'yasr.css', array('rateitcss'), NULL, 'all' );
|
40 |
wp_enqueue_style( 'wp-jquery-ui-dialog' );
|
41 |
|
42 |
wp_enqueue_script( 'rateit', YASR_JS_DIR . 'jquery.rateit.min.js' , array('jquery'), '1.0.20', TRUE );
|
@@ -64,7 +60,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
|
|
64 |
|
65 |
//Add Settings Page
|
66 |
add_options_page(
|
67 |
-
'Yet Another Stars Rating: Settings', //Page Title
|
68 |
__( 'Yet Another Stars Rating: Settings', 'yasr' ), //Menu Title
|
69 |
'manage_options', //capability
|
70 |
'yasr_settings_page', //menu slug
|
@@ -271,7 +267,7 @@ function visitor_votes_auto_insert_code () {
|
|
271 |
|
272 |
$medium_rating=round($medium_rating, 1);
|
273 |
|
274 |
-
if (YASR_AUTO_INSERT_SIZE
|
275 |
|
276 |
//if anonymous are allowed to vote
|
277 |
if (YASR_ALLOWED_USER === 'allow_anonymous') {
|
@@ -285,11 +281,9 @@ function visitor_votes_auto_insert_code () {
|
|
285 |
//If user has already rated show readonly stars
|
286 |
if ($vote_if_user_already_rated) {
|
287 |
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
$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=\"true\"></div>
|
292 |
-
<br /> " . __("Average Rating", "yasr") . " $medium_rating / 5 (" . __("$votes_number votes casts" , "yasr") . ") <br /><strong>" . __("User ") . "$current_user->user_login" . __(" has already voted this article with $vote_if_user_already_rated ", "yasr") . "</strong></div>";
|
293 |
|
294 |
}
|
295 |
|
@@ -299,13 +293,13 @@ function visitor_votes_auto_insert_code () {
|
|
299 |
$vote_if_user_already_rated = 0;
|
300 |
|
301 |
if ($votes_number>0) {
|
302 |
-
$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\">
|
303 |
-
|
304 |
}
|
305 |
|
306 |
else {
|
307 |
-
$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\">
|
308 |
-
|
309 |
}
|
310 |
|
311 |
} //End else
|
@@ -313,17 +307,17 @@ function visitor_votes_auto_insert_code () {
|
|
313 |
} //End if user is logged
|
314 |
|
315 |
|
316 |
-
//else is not logged can vote
|
317 |
else {
|
318 |
|
319 |
if ($votes_number>0) {
|
320 |
-
$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\">
|
321 |
-
|
322 |
}
|
323 |
|
324 |
else {
|
325 |
-
$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\">
|
326 |
-
|
327 |
}
|
328 |
|
329 |
} //end else
|
@@ -342,52 +336,53 @@ function visitor_votes_auto_insert_code () {
|
|
342 |
|
343 |
if ($vote_if_user_already_rated) {
|
344 |
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
$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=\"true\">
|
349 |
-
</div><br /> " . __("Average Rating", "yasr") . " $medium_rating / 5 (" . __("$votes_number votes casts" , "yasr") . ") <br /><strong>" . __("User ") . "$current_user->user_login" . __(" has already voted this article with $vote_if_user_already_rated ", "yasr") . "</strong></div>";
|
350 |
|
351 |
}
|
352 |
|
353 |
else {
|
354 |
|
355 |
if ($votes_number>0) {
|
356 |
-
$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\">
|
357 |
-
|
|
|
358 |
}
|
359 |
|
360 |
else {
|
361 |
-
$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\">
|
362 |
-
|
|
|
363 |
}
|
364 |
|
365 |
}
|
366 |
|
367 |
-
|
368 |
} //End if user is logged in
|
369 |
|
370 |
//Else mean user is not logged in
|
371 |
else {
|
372 |
|
|
|
373 |
if ($votes_number>0) {
|
374 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-value=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\">
|
375 |
-
|
|
|
376 |
}
|
377 |
|
378 |
else {
|
379 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\">
|
380 |
-
|
|
|
381 |
}
|
382 |
|
383 |
}
|
384 |
-
|
385 |
-
}
|
386 |
-
|
387 |
-
} // end if YASR_AUTO_INSERT_SIZE === 'small'
|
388 |
|
|
|
389 |
|
390 |
-
elseif (YASR_AUTO_INSERT_SIZE
|
391 |
|
392 |
//if anonymous are allowed to vote
|
393 |
if (YASR_ALLOWED_USER === 'allow_anonymous') {
|
@@ -401,11 +396,9 @@ function visitor_votes_auto_insert_code () {
|
|
401 |
//If user has already rated show readonly stars
|
402 |
if ($vote_if_user_already_rated) {
|
403 |
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
$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=\"true\">
|
408 |
-
</div><br /> " . __("Average Rating", "yasr") . " $medium_rating / 5 (" . __("$votes_number votes casts" , "yasr") . ") <br /><strong>" . __("User ") . "$current_user->user_login" . __(" has already voted this article with $vote_if_user_already_rated ", "yasr") . "</strong></div>";
|
409 |
|
410 |
}
|
411 |
|
@@ -415,13 +408,13 @@ function visitor_votes_auto_insert_code () {
|
|
415 |
$vote_if_user_already_rated = 0;
|
416 |
|
417 |
if ($votes_number>0) {
|
418 |
-
$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\">
|
419 |
-
|
420 |
}
|
421 |
|
422 |
else {
|
423 |
-
$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\">
|
424 |
-
|
425 |
}
|
426 |
|
427 |
} //End else
|
@@ -429,17 +422,17 @@ function visitor_votes_auto_insert_code () {
|
|
429 |
} //End if user is logged
|
430 |
|
431 |
|
432 |
-
//else is not logged can vote
|
433 |
else {
|
434 |
|
435 |
if ($votes_number>0) {
|
436 |
-
$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\">
|
437 |
-
|
438 |
}
|
439 |
|
440 |
else {
|
441 |
-
$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\">
|
442 |
-
|
443 |
}
|
444 |
|
445 |
} //end else
|
@@ -447,6 +440,7 @@ function visitor_votes_auto_insert_code () {
|
|
447 |
} //end if ($allow_logged_option['allowed_user']==='allow_anonymous') {
|
448 |
|
449 |
|
|
|
450 |
//If only logged in users can vote
|
451 |
elseif (YASR_ALLOWED_USER === 'logged_only') {
|
452 |
|
@@ -458,52 +452,53 @@ function visitor_votes_auto_insert_code () {
|
|
458 |
|
459 |
if ($vote_if_user_already_rated) {
|
460 |
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
$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=\"true\">
|
465 |
-
</div><br /> " . __("Average Rating", "yasr") . " $medium_rating / 5 (" . __("$votes_number votes casts" , "yasr") . ") <br /><strong>" . __("User ") . "$current_user->user_login" . __(" has already voted this article with $vote_if_user_already_rated ", "yasr") . "</strong></div>";
|
466 |
|
467 |
}
|
468 |
|
469 |
else {
|
470 |
|
471 |
if ($votes_number>0) {
|
472 |
-
$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\">
|
473 |
-
|
|
|
474 |
}
|
475 |
|
476 |
else {
|
477 |
-
$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\">
|
478 |
-
|
|
|
479 |
}
|
480 |
|
481 |
}
|
482 |
|
483 |
-
|
484 |
} //End if user is logged in
|
485 |
|
486 |
-
|
487 |
else {
|
488 |
|
|
|
489 |
if ($votes_number>0) {
|
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=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\">
|
491 |
-
|
|
|
492 |
}
|
493 |
|
494 |
else {
|
495 |
-
$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\">
|
496 |
-
|
|
|
497 |
}
|
498 |
|
499 |
}
|
500 |
-
|
501 |
-
}
|
502 |
-
|
503 |
-
} // end if YASR_AUTO_INSERT_SIZE === 'medium'
|
504 |
|
|
|
505 |
|
506 |
-
elseif (YASR_AUTO_INSERT_SIZE
|
507 |
|
508 |
//if anonymous are allowed to vote
|
509 |
if (YASR_ALLOWED_USER === 'allow_anonymous') {
|
@@ -517,11 +512,9 @@ function visitor_votes_auto_insert_code () {
|
|
517 |
//If user has already rated show readonly stars
|
518 |
if ($vote_if_user_already_rated) {
|
519 |
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
$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=\"true\">
|
524 |
-
</div><br /> " . __("Average Rating", "yasr") . " $medium_rating / 5 (" . __("$votes_number votes casts" , "yasr") . ") <br /><strong>" . __("User ") . "$current_user->user_login" . __(" has already voted this article with $vote_if_user_already_rated ", "yasr") . "</strong></div>";
|
525 |
|
526 |
}
|
527 |
|
@@ -531,13 +524,13 @@ function visitor_votes_auto_insert_code () {
|
|
531 |
$vote_if_user_already_rated = 0;
|
532 |
|
533 |
if ($votes_number>0) {
|
534 |
-
$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\">
|
535 |
-
|
536 |
}
|
537 |
|
538 |
else {
|
539 |
-
$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\">
|
540 |
-
|
541 |
}
|
542 |
|
543 |
} //End else
|
@@ -545,17 +538,17 @@ function visitor_votes_auto_insert_code () {
|
|
545 |
} //End if user is logged
|
546 |
|
547 |
|
548 |
-
//else is not logged can vote
|
549 |
else {
|
550 |
|
551 |
if ($votes_number>0) {
|
552 |
-
$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\">
|
553 |
-
|
554 |
}
|
555 |
|
556 |
else {
|
557 |
-
$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\">
|
558 |
-
|
559 |
}
|
560 |
|
561 |
} //end else
|
@@ -563,6 +556,7 @@ function visitor_votes_auto_insert_code () {
|
|
563 |
} //end if ($allow_logged_option['allowed_user']==='allow_anonymous') {
|
564 |
|
565 |
|
|
|
566 |
//If only logged in users can vote
|
567 |
elseif (YASR_ALLOWED_USER === 'logged_only') {
|
568 |
|
@@ -574,49 +568,51 @@ function visitor_votes_auto_insert_code () {
|
|
574 |
|
575 |
if ($vote_if_user_already_rated) {
|
576 |
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
$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=\"true\">
|
581 |
-
</div><br /> " . __("Average Rating", "yasr") . " $medium_rating / 5 (" . __("$votes_number votes casts" , "yasr") . ") <br /><strong>" . __("User ") . "$current_user->user_login" . __(" has already voted this article with $vote_if_user_already_rated ", "yasr") . "</strong></div>";
|
582 |
|
583 |
}
|
584 |
|
585 |
else {
|
586 |
|
587 |
if ($votes_number>0) {
|
588 |
-
$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\">
|
589 |
-
|
|
|
590 |
}
|
591 |
|
592 |
else {
|
593 |
-
$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\">
|
594 |
-
|
|
|
595 |
}
|
596 |
|
597 |
}
|
598 |
|
599 |
-
|
600 |
} //End if user is logged in
|
601 |
|
602 |
-
|
603 |
else {
|
604 |
|
|
|
605 |
if ($votes_number>0) {
|
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=\"$medium_rating\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\">
|
607 |
-
|
|
|
608 |
}
|
609 |
|
610 |
else {
|
611 |
-
$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\">
|
612 |
-
|
|
|
613 |
}
|
614 |
|
615 |
}
|
616 |
-
|
617 |
-
}
|
618 |
|
619 |
-
} //End if
|
620 |
|
621 |
|
622 |
if(YASR_TEXT_BEFORE_STARS == 1 && YASR_TEXT_BEFORE_VISITOR_RATING != '') {
|
@@ -634,64 +630,59 @@ function visitor_votes_auto_insert_code () {
|
|
634 |
<script>
|
635 |
jQuery(document).ready(function() {
|
636 |
|
637 |
-
var logged_message_showed = false;
|
638 |
-
|
639 |
-
logged_message_showed = jQuery("#yasr_rateit_visitor_votes_logged_rated").attr("data-rateit-value");
|
640 |
-
|
641 |
-
if (logged_message_showed) {
|
642 |
-
logged_message_showed = true;
|
643 |
-
}
|
644 |
-
|
645 |
var tooltipvalues = ['bad', 'poor', 'ok', 'good', 'super'];
|
646 |
jQuery("#yasr_rateit_visitor_votes").bind('over', function (event, value) { jQuery(this).attr('title', tooltipvalues[value-1]); });
|
647 |
|
648 |
-
var size = "<?php echo (YASR_AUTO_INSERT_SIZE) ; ?>";
|
649 |
-
|
650 |
var postid = <?php the_ID(); ?>;
|
651 |
var cookiename = "yasr_visitor_vote_" + postid;
|
|
|
652 |
|
653 |
-
|
654 |
-
if (!jQuery.cookie(cookiename)) {
|
655 |
|
656 |
-
|
657 |
-
|
658 |
-
var value = el.rateit('value');
|
659 |
-
var value = value.toFixed(1); //
|
660 |
-
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
661 |
|
662 |
-
|
|
|
|
|
|
|
|
|
663 |
|
664 |
-
|
665 |
-
action: 'yasr_send_visitor_rating',
|
666 |
-
rating: value,
|
667 |
-
post_id: postid,
|
668 |
-
size: size,
|
669 |
-
nonce_visitor: "<?php echo "$ajax_nonce_visitor"; ?>"
|
670 |
-
};
|
671 |
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
681 |
|
682 |
-
//Else user cannot vote
|
683 |
-
else {
|
684 |
|
685 |
-
|
686 |
-
|
|
|
|
|
|
|
687 |
|
688 |
var cookievote=jQuery.cookie(cookiename);
|
689 |
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
690 |
|
691 |
var data = {
|
692 |
action: 'yasr_readonly_visitor_shortcode',
|
693 |
-
rating: cookievote,
|
694 |
size: size,
|
|
|
695 |
votes: <?php echo $medium_rating ?>,
|
696 |
votes_number: <?php echo $votes_number ?>,
|
697 |
post_id: postid
|
@@ -702,13 +693,45 @@ function visitor_votes_auto_insert_code () {
|
|
702 |
jQuery('.rateit').rateit();
|
703 |
});
|
704 |
|
705 |
-
}
|
706 |
|
707 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
708 |
|
709 |
});
|
710 |
|
711 |
-
|
712 |
|
713 |
<?php
|
714 |
|
@@ -838,7 +861,20 @@ function visitor_votes_auto_insert_code () {
|
|
838 |
|
839 |
if (YASR_SNIPPET == 'visitor_rating') {
|
840 |
|
841 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
842 |
|
843 |
if ($visitor_rating['sum'] != 0) {
|
844 |
|
10 |
|
11 |
function yasr_add_scripts () {
|
12 |
|
13 |
+
wp_enqueue_style( 'yasrcss', YASR_CSS_DIR . 'yasr.css', FALSE, NULL, 'all' );
|
|
|
|
|
14 |
|
15 |
|
16 |
//If choosen is light or not dark (force to be default)
|
32 |
|
33 |
function yasr_add_admin_scripts () {
|
34 |
|
35 |
+
wp_enqueue_style( 'yasrcss', YASR_CSS_DIR . 'yasr.css', FALSE, NULL, 'all' );
|
|
|
|
|
36 |
wp_enqueue_style( 'wp-jquery-ui-dialog' );
|
37 |
|
38 |
wp_enqueue_script( 'rateit', YASR_JS_DIR . 'jquery.rateit.min.js' , array('jquery'), '1.0.20', TRUE );
|
60 |
|
61 |
//Add Settings Page
|
62 |
add_options_page(
|
63 |
+
__( 'Yet Another Stars Rating: Settings', 'yasr' ), //Page Title
|
64 |
__( 'Yet Another Stars Rating: Settings', 'yasr' ), //Menu Title
|
65 |
'manage_options', //capability
|
66 |
'yasr_settings_page', //menu slug
|
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') {
|
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 $medium_rating/5" , "yasr") . "]</span>
|
286 |
+
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
|
|
|
|
287 |
|
288 |
}
|
289 |
|
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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</span></div>";
|
303 |
}
|
304 |
|
305 |
} //End else
|
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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</span></div>";
|
321 |
}
|
322 |
|
323 |
} //end else
|
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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</span>
|
376 |
+
</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') {
|
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 $medium_rating/5" , "yasr") . "]</span>
|
401 |
+
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
|
|
|
|
402 |
|
403 |
}
|
404 |
|
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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</span></div>";
|
418 |
}
|
419 |
|
420 |
} //End else
|
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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</span></div>";
|
436 |
}
|
437 |
|
438 |
} //end else
|
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 |
|
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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</span>
|
492 |
+
</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') {
|
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 $medium_rating/5" , "yasr") . "]</span>
|
517 |
+
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
|
|
|
|
518 |
|
519 |
}
|
520 |
|
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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</span></div>";
|
534 |
}
|
535 |
|
536 |
} //End else
|
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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</span></div>";
|
552 |
}
|
553 |
|
554 |
} //end else
|
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 |
|
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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</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 $medium_rating/5" , "yasr") . "]</span>
|
608 |
+
</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 != '') {
|
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
|
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 |
|
861 |
|
862 |
if (YASR_SNIPPET == 'visitor_rating') {
|
863 |
|
864 |
+
$visitor_votes = yasr_get_visitor_votes ();
|
865 |
+
|
866 |
+
if ($visitor_votes) {
|
867 |
+
|
868 |
+
foreach ($visitor_votes as $rating) {
|
869 |
+
$visitor_rating['votes_number']=$rating->number_of_votes;
|
870 |
+
$visitor_rating['sum']=$rating->sum_votes;
|
871 |
+
}
|
872 |
+
|
873 |
+
}
|
874 |
+
|
875 |
+
else {
|
876 |
+
$visitor_rating = NULL;
|
877 |
+
}
|
878 |
|
879 |
if ($visitor_rating['sum'] != 0) {
|
880 |
|
lib/yasr-settings-functions.php
CHANGED
@@ -323,12 +323,12 @@ function yasr_display_multi_set_form() {
|
|
323 |
<input type="hidden" name="action" value="yasr_new_multi_set_form" />
|
324 |
|
325 |
<p></p>
|
326 |
-
<?php _e("You can insert up to nine element") ?>
|
327 |
<br />
|
328 |
|
329 |
<?php for($i=1; $i<=9; $i++) {
|
330 |
|
331 |
-
echo "<strong>" . __("Element ",
|
332 |
?>
|
333 |
<input type="text" name="multi-set-name-element-<?php echo $i ?>" id="multi-set-name-element-<?php echo $i ?>" class="input-text-multi-set">
|
334 |
<br />
|
@@ -359,7 +359,7 @@ function yasr_edit_multi_form() {
|
|
359 |
|
360 |
<div class="yasr-manage-multiset">
|
361 |
|
362 |
-
<h4 class="yasr-multi-set-form-headers"
|
363 |
|
364 |
<?php _e('Wich set do you want to edit or remove?', 'yasr')?>
|
365 |
|
@@ -447,7 +447,7 @@ function yasr_edit_multi_form() {
|
|
447 |
<table width=\"100%\" class=\"yasr-edit-form-remove-entire-set\">
|
448 |
<tr>
|
449 |
|
450 |
-
<td width=\"80%\">Remove whole set
|
451 |
|
452 |
<td width=\"20%\" style=\"text-align:center\">
|
453 |
<input type=\"checkbox\" name=\"yasr-remove-multi-set\" value=\"$set_type\">
|
@@ -736,13 +736,13 @@ function yasr_process_new_multi_set_form()
|
|
736 |
}
|
737 |
|
738 |
else {
|
739 |
-
_e("Something goes wrong trying insert set field name. Please report it",
|
740 |
}
|
741 |
|
742 |
} //End if $insert_multi_name_success
|
743 |
|
744 |
else {
|
745 |
-
_e("Something goes wrong trying insert multi set name. Please report it",
|
746 |
}
|
747 |
|
748 |
} //End if !$error
|
323 |
<input type="hidden" name="action" value="yasr_new_multi_set_form" />
|
324 |
|
325 |
<p></p>
|
326 |
+
<?php _e("You can insert up to nine element", "yasr") ?>
|
327 |
<br />
|
328 |
|
329 |
<?php for($i=1; $i<=9; $i++) {
|
330 |
|
331 |
+
echo "<strong>" . __("Element ", "yasr") . "#$i" . "</strong>";
|
332 |
?>
|
333 |
<input type="text" name="multi-set-name-element-<?php echo $i ?>" id="multi-set-name-element-<?php echo $i ?>" class="input-text-multi-set">
|
334 |
<br />
|
359 |
|
360 |
<div class="yasr-manage-multiset">
|
361 |
|
362 |
+
<h4 class="yasr-multi-set-form-headers"><?php _e("Manage Multiple Set" , "yasr"); ?></h4>
|
363 |
|
364 |
<?php _e('Wich set do you want to edit or remove?', 'yasr')?>
|
365 |
|
447 |
<table width=\"100%\" class=\"yasr-edit-form-remove-entire-set\">
|
448 |
<tr>
|
449 |
|
450 |
+
<td width=\"80%\">" . __("Remove whole set?", "yasr") . "</td>
|
451 |
|
452 |
<td width=\"20%\" style=\"text-align:center\">
|
453 |
<input type=\"checkbox\" name=\"yasr-remove-multi-set\" value=\"$set_type\">
|
736 |
}
|
737 |
|
738 |
else {
|
739 |
+
_e("Something goes wrong trying insert set field name. Please report it", "yasr");
|
740 |
}
|
741 |
|
742 |
} //End if $insert_multi_name_success
|
743 |
|
744 |
else {
|
745 |
+
_e("Something goes wrong trying insert multi set name. Please report it", "yasr");
|
746 |
}
|
747 |
|
748 |
} //End if !$error
|
lib/yasr-shortcode-functions.php
CHANGED
@@ -42,7 +42,7 @@ function shortcode_overall_rating_callback ($atts) {
|
|
42 |
|
43 |
switch ($size) {
|
44 |
case 'small':
|
45 |
-
$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>";
|
46 |
break;
|
47 |
|
48 |
case 'medium':
|
@@ -152,9 +152,9 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
152 |
//If user has already rated show readonly stars
|
153 |
if ($vote_if_user_already_rated) {
|
154 |
|
155 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"
|
156 |
-
<span class=\"yasr-total-average-text
|
157 |
-
<strong
|
158 |
|
159 |
}
|
160 |
|
@@ -207,9 +207,9 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
207 |
|
208 |
if ($vote_if_user_already_rated) {
|
209 |
|
210 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"
|
211 |
-
<span class=\"yasr-total-average-text
|
212 |
-
<strong
|
213 |
|
214 |
}
|
215 |
|
@@ -267,9 +267,9 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
267 |
//If user has already rated show readonly stars
|
268 |
if ($vote_if_user_already_rated) {
|
269 |
|
270 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"
|
271 |
-
<span class=\"yasr-total-average-text
|
272 |
-
<strong>" . __("You've already voted this article with
|
273 |
|
274 |
}
|
275 |
|
@@ -323,9 +323,9 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
323 |
|
324 |
if ($vote_if_user_already_rated) {
|
325 |
|
326 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"
|
327 |
-
<span class=\"yasr-total-average-text
|
328 |
-
<strong>" . __("You've already voted this article with
|
329 |
|
330 |
}
|
331 |
|
@@ -383,9 +383,9 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
383 |
//If user has already rated show readonly stars
|
384 |
if ($vote_if_user_already_rated) {
|
385 |
|
386 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"
|
387 |
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
388 |
-
<strong>" . __("You've already voted this article with
|
389 |
|
390 |
}
|
391 |
|
@@ -439,9 +439,9 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
439 |
|
440 |
if ($vote_if_user_already_rated) {
|
441 |
|
442 |
-
$shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"
|
443 |
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
444 |
-
<strong>" . __("You've already voted this article with
|
445 |
|
446 |
}
|
447 |
|
@@ -497,62 +497,54 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
497 |
|
498 |
?>
|
499 |
|
500 |
-
|
501 |
jQuery(document).ready(function() {
|
502 |
|
503 |
-
var logged_message_showed = false;
|
504 |
-
|
505 |
-
logged_message_showed = jQuery("#yasr_rateit_visitor_votes_logged_rated").attr("data-rateit-value");
|
506 |
-
|
507 |
-
if (logged_message_showed) {
|
508 |
-
logged_message_showed = true;
|
509 |
-
}
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
var tooltipvalues = ['bad', 'poor', 'ok', 'good', 'super'];
|
514 |
jQuery("#yasr_rateit_visitor_votes").bind('over', function (event, value) { jQuery(this).attr('title', tooltipvalues[value-1]); });
|
515 |
|
516 |
var postid = <?php the_ID(); ?>;
|
517 |
var cookiename = "yasr_visitor_vote_" + postid;
|
|
|
518 |
|
519 |
var size = "<?php echo $size ?>";
|
520 |
|
521 |
-
//
|
522 |
-
|
523 |
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
|
530 |
-
|
531 |
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
} //End if (!jQuery.cookie(cookiename))
|
550 |
|
551 |
-
//Else user cannot vote
|
552 |
-
else {
|
553 |
|
554 |
-
|
555 |
-
|
|
|
|
|
|
|
556 |
|
557 |
var cookievote=jQuery.cookie(cookiename);
|
558 |
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
@@ -571,13 +563,46 @@ function shortcode_visitor_votes_callback ($atts) {
|
|
571 |
jQuery('.rateit').rateit();
|
572 |
});
|
573 |
|
574 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
575 |
|
576 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
577 |
|
578 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
579 |
|
580 |
-
|
581 |
|
582 |
<?php
|
583 |
|
42 |
|
43 |
switch ($size) {
|
44 |
case 'small':
|
45 |
+
$shortcode_html .= "<div class=\"rateit\" id=\"yasr_rateit_overall\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"$overall_rating\" data-rateit-step=\"0.1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>";
|
46 |
break;
|
47 |
|
48 |
case 'medium':
|
152 |
//If user has already rated show readonly stars
|
153 |
if ($vote_if_user_already_rated) {
|
154 |
|
155 |
+
$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>
|
156 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
157 |
+
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
158 |
|
159 |
}
|
160 |
|
207 |
|
208 |
if ($vote_if_user_already_rated) {
|
209 |
|
210 |
+
$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>
|
211 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
212 |
+
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
213 |
|
214 |
}
|
215 |
|
267 |
//If user has already rated show readonly stars
|
268 |
if ($vote_if_user_already_rated) {
|
269 |
|
270 |
+
$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>
|
271 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
272 |
+
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
273 |
|
274 |
}
|
275 |
|
323 |
|
324 |
if ($vote_if_user_already_rated) {
|
325 |
|
326 |
+
$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>
|
327 |
+
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
328 |
+
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
329 |
|
330 |
}
|
331 |
|
383 |
//If user has already rated show readonly stars
|
384 |
if ($vote_if_user_already_rated) {
|
385 |
|
386 |
+
$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>
|
387 |
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
388 |
+
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
389 |
|
390 |
}
|
391 |
|
439 |
|
440 |
if ($vote_if_user_already_rated) {
|
441 |
|
442 |
+
$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>
|
443 |
<span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number " . __("Average $medium_rating/5" , "yasr") . "]</span>
|
444 |
+
<strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
|
445 |
|
446 |
}
|
447 |
|
497 |
|
498 |
?>
|
499 |
|
500 |
+
<script>
|
501 |
jQuery(document).ready(function() {
|
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'); ?>";
|
563 |
jQuery('.rateit').rateit();
|
564 |
});
|
565 |
|
566 |
+
} //End if jquery cookie
|
567 |
+
|
568 |
+
}
|
569 |
+
|
570 |
+
//If a logged in user has already voted, he/she can update the vote
|
571 |
+
|
572 |
+
else {
|
573 |
+
|
574 |
+
jQuery('#yasr-rateit-visitor-votes-logged-rated').on('rated', function() {
|
575 |
+
|
576 |
+
var el = jQuery(this);
|
577 |
+
var value = el.rateit('value');
|
578 |
+
var value = value.toFixed(1); //
|
579 |
+
|
580 |
+
jQuery('#yasr_visitor_votes').html( ' <?php echo "$loader_html" ?> ');
|
581 |
|
582 |
+
var data = {
|
583 |
+
action: 'yasr_update_visitor_rating',
|
584 |
+
rating: value,
|
585 |
+
post_id: postid,
|
586 |
+
size: size,
|
587 |
+
nonce_visitor: "<?php echo "$ajax_nonce_visitor"; ?>"
|
588 |
+
};
|
589 |
|
590 |
+
//Send value to the Server
|
591 |
+
jQuery.post(ajaxurl, data, function(response) {
|
592 |
+
//response
|
593 |
+
jQuery('#yasr_visitor_votes').html(response);
|
594 |
+
jQuery('.rateit').rateit();
|
595 |
+
//Create a cookie to disable double vote
|
596 |
+
jQuery.cookie(cookiename, value, { expires : 360 });
|
597 |
+
}) ;
|
598 |
+
|
599 |
+
});//End function update vote
|
600 |
+
|
601 |
+
}
|
602 |
+
|
603 |
+
});
|
604 |
|
605 |
+
</script>
|
606 |
|
607 |
<?php
|
608 |
|
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 |
|
@@ -36,6 +36,9 @@ their respective score. Once YASR is installed you just have to go to "Settings"
|
|
36 |
This operation can take some time, don't stop it! Once it's done you just need to replace the gd-star-rating's shortcode with the YASR tags.
|
37 |
If with gd-star-rating you're using a different number of stars from the default of 5, YASR will automatically convert all the scores in a range from 1 to 5.
|
38 |
|
|
|
|
|
|
|
39 |
|
40 |
== Installation ==
|
41 |
1. Install Yet Another Stars Rating either via the WordPress.org plugin directory, or by uploading the files to your server
|
@@ -79,6 +82,12 @@ Of course not: you can easily add it on the visual editor just by clicking on th
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
= 0.4.6 =
|
83 |
* New feature: you can add your own css rules!
|
84 |
* Popup shortcode creator use the built-in wordpress style, fresher and lighter
|
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
|
7 |
License: GPL2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
36 |
This operation can take some time, don't stop it! Once it's done you just need to replace the gd-star-rating's shortcode with the YASR tags.
|
37 |
If with gd-star-rating you're using a different number of stars from the default of 5, YASR will automatically convert all the scores in a range from 1 to 5.
|
38 |
|
39 |
+
= Supported Languages =
|
40 |
+
* English
|
41 |
+
* German (thanks to Josef Seidl, http://www.blog-it-solutions.de/ )
|
42 |
|
43 |
== Installation ==
|
44 |
1. Install Yet Another Stars Rating either via the WordPress.org plugin directory, or by uploading the files to your server
|
82 |
|
83 |
== Changelog ==
|
84 |
|
85 |
+
= 0.4.7 =
|
86 |
+
* Visitor votes has changed: if an user is logged in, now it's possibile to update the given vote
|
87 |
+
* Using css sprite instead of single images
|
88 |
+
* Using only 2 css instead 4
|
89 |
+
* Added German Translation (thanks to Josef Seidl)
|
90 |
+
|
91 |
= 0.4.6 =
|
92 |
* New feature: you can add your own css rules!
|
93 |
* Popup shortcode creator use the built-in wordpress style, fresher and lighter
|
yasr-metabox-overall-rating.php
CHANGED
@@ -36,7 +36,9 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
|
|
36 |
//Show this message if auto insert is off or if auto insert is not set to show overall rating (so if it is set to visitor rating)
|
37 |
if( YASR_AUTO_INSERT_ENABLED == 0 || (YASR_AUTO_INSERT_ENABLED == 1 && YASR_AUTO_INSERT_WHAT === 'visitor_rating') ) {
|
38 |
|
39 |
-
|
|
|
|
|
40 |
|
41 |
}
|
42 |
|
36 |
//Show this message if auto insert is off or if auto insert is not set to show overall rating (so if it is set to visitor rating)
|
37 |
if( YASR_AUTO_INSERT_ENABLED == 0 || (YASR_AUTO_INSERT_ENABLED == 1 && YASR_AUTO_INSERT_WHAT === 'visitor_rating') ) {
|
38 |
|
39 |
+
echo "<div>";
|
40 |
+
_e ("Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> where you want to display this rating", "yasr");
|
41 |
+
echo "</div>";
|
42 |
|
43 |
}
|
44 |
|
yasr-settings-page.php
CHANGED
@@ -53,9 +53,9 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
53 |
?>
|
54 |
|
55 |
<h2 class="nav-tab-wrapper yasr-no-underline">
|
56 |
-
<a href="?page=yasr_settings_page&tab=general_settings" class="nav-tab <?php if ($active_tab == 'general_settings' || ($active_tab != 'manage_multi' && $active_tab != 'style_options')) echo 'nav-tab-active'; ?>" > General Settings </a>
|
57 |
-
<a href="?page=yasr_settings_page&tab=manage_multi" class="nav-tab <?php if ($active_tab == 'manage_multi') echo 'nav-tab-active'; ?>" > Multi Sets </a>
|
58 |
-
<a href="?page=yasr_settings_page&tab=style_options" class="nav-tab <?php if ($active_tab == 'style_options') echo 'nav-tab-active'; ?>" > Styles </a>
|
59 |
</h2>
|
60 |
|
61 |
|
@@ -182,11 +182,11 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
182 |
|
183 |
<div class="yasr-settingsdiv">
|
184 |
|
185 |
-
<h3> <?php _e("Manage multi-set"); ?></h3>
|
186 |
|
187 |
<p>
|
188 |
|
189 |
-
<a href="#" id="yasr-multi-set-doc-link"><?php _e("What is a Multi-set?") ?></a>
|
190 |
|
191 |
</p>
|
192 |
|
@@ -210,7 +210,7 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
210 |
|
211 |
<br /> <br />
|
212 |
|
213 |
-
<a href="#" id="yasr-multi-set-doc-link-hide"><?php _e("Close this message") ?></a>
|
214 |
|
215 |
</div>
|
216 |
|
@@ -241,9 +241,9 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
241 |
<div class="yasr-donatedivdx" style="display:none">
|
242 |
<h3><?php _e('Donations'); ?></h3>
|
243 |
|
244 |
-
<?php _e('If you have found this plugin useful, please consider making a donation to help support future development. Your support will be much appreciated. '); ?>
|
245 |
<br />
|
246 |
-
<?php _e('Thank you!'); ?>
|
247 |
<br />
|
248 |
|
249 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AXE284FYMNWDC">
|
@@ -278,9 +278,9 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
278 |
<div class="yasr-donatedivdx" style="display:none">
|
279 |
<h3><?php _e('Donations'); ?></h3>
|
280 |
|
281 |
-
<?php _e('If you have found this plugin useful, please consider making a donation to help support future development. Your support will be much appreciated. '); ?>
|
282 |
<br />
|
283 |
-
<?php _e('Thank you!'); ?>
|
284 |
<br />
|
285 |
|
286 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AXE284FYMNWDC">
|
@@ -302,9 +302,9 @@ if ( !current_user_can( 'manage_options' ) ) {
|
|
302 |
<div class="yasr-donatedivbottom" style="display:none">
|
303 |
<h3><?php _e('Donations'); ?></h3>
|
304 |
|
305 |
-
<?php _e('If you have found this plugin useful, please consider making a donation to help support future development. Your support will be much appreciated. '); ?>
|
306 |
<br />
|
307 |
-
<?php _e('Thank you!'); ?>
|
308 |
<br />
|
309 |
|
310 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AXE284FYMNWDC">
|
53 |
?>
|
54 |
|
55 |
<h2 class="nav-tab-wrapper yasr-no-underline">
|
56 |
+
<a href="?page=yasr_settings_page&tab=general_settings" class="nav-tab <?php if ($active_tab == 'general_settings' || ($active_tab != 'manage_multi' && $active_tab != 'style_options')) echo 'nav-tab-active'; ?>" > <?php _e("General Settings", "yasr"); ?> </a>
|
57 |
+
<a href="?page=yasr_settings_page&tab=manage_multi" class="nav-tab <?php if ($active_tab == 'manage_multi') echo 'nav-tab-active'; ?>" > <?php _e("Multi Sets", "yasr"); ?> </a>
|
58 |
+
<a href="?page=yasr_settings_page&tab=style_options" class="nav-tab <?php if ($active_tab == 'style_options') echo 'nav-tab-active'; ?>" > <?php _e("Styles", "yasr"); ?> </a>
|
59 |
</h2>
|
60 |
|
61 |
|
182 |
|
183 |
<div class="yasr-settingsdiv">
|
184 |
|
185 |
+
<h3> <?php _e("Manage multi-set", "yasr"); ?></h3>
|
186 |
|
187 |
<p>
|
188 |
|
189 |
+
<a href="#" id="yasr-multi-set-doc-link"><?php _e("What is a Multi-set?", "yasr") ?></a>
|
190 |
|
191 |
</p>
|
192 |
|
210 |
|
211 |
<br /> <br />
|
212 |
|
213 |
+
<a href="#" id="yasr-multi-set-doc-link-hide"><?php _e("Close this message", "yasr") ?></a>
|
214 |
|
215 |
</div>
|
216 |
|
241 |
<div class="yasr-donatedivdx" style="display:none">
|
242 |
<h3><?php _e('Donations'); ?></h3>
|
243 |
|
244 |
+
<?php _e('If you have found this plugin useful, please consider making a donation to help support future development. Your support will be much appreciated. ', 'yasr'); ?>
|
245 |
<br />
|
246 |
+
<?php _e('Thank you!', 'yasr'); ?>
|
247 |
<br />
|
248 |
|
249 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AXE284FYMNWDC">
|
278 |
<div class="yasr-donatedivdx" style="display:none">
|
279 |
<h3><?php _e('Donations'); ?></h3>
|
280 |
|
281 |
+
<?php _e('If you have found this plugin useful, please consider making a donation to help support future development. Your support will be much appreciated. ', 'yasr'); ?>
|
282 |
<br />
|
283 |
+
<?php _e('Thank you!', 'yasr'); ?>
|
284 |
<br />
|
285 |
|
286 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AXE284FYMNWDC">
|
302 |
<div class="yasr-donatedivbottom" style="display:none">
|
303 |
<h3><?php _e('Donations'); ?></h3>
|
304 |
|
305 |
+
<?php _e('If you have found this plugin useful, please consider making a donation to help support future development. Your support will be much appreciated. ', 'yasr'); ?>
|
306 |
<br />
|
307 |
+
<?php _e('Thank you!', 'yasr'); ?>
|
308 |
<br />
|
309 |
|
310 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AXE284FYMNWDC">
|
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__) );
|
@@ -124,7 +124,11 @@ if ($version_installed && $version_installed < '0.4.1') {
|
|
124 |
|
125 |
}
|
126 |
|
127 |
-
|
|
|
|
|
|
|
|
|
128 |
|
129 |
$stored_options = get_option( 'yasr_general_options' );
|
130 |
|
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
|
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.7');
|
32 |
|
33 |
//Plugin absolute path
|
34 |
define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );
|
124 |
|
125 |
}
|
126 |
|
127 |
+
if ($version_installed != YASR_VERSION_NUM) {
|
128 |
+
|
129 |
+
update_option('yasr-version', YASR_VERSION_NUM);
|
130 |
+
|
131 |
+
}
|
132 |
|
133 |
$stored_options = get_option( 'yasr_general_options' );
|
134 |
|