Yasr – Yet Another Stars Rating - Version 0.4.8

Version Description

  • Many bug fix and code changes for i18n
  • Yasr.css have been sperated in 2 files: 1 for admin and 1 for frontend
  • Added Italian translation
  • Many many other little bug fixes
Download this release

Release Info

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

Code changes from version 0.4.7 to 0.4.8

css/yasr-admin.css ADDED
@@ -0,0 +1,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /********** ADMIN RULES **********/
168
+
169
+ #multi_rating_table
170
+ {
171
+ vertical-align: text-top;
172
+ }
173
+
174
+ .yasr-form-result {
175
+ display: block;
176
+ }
177
+
178
+ /*** Top menu navigation ***/
179
+ .yasr-no-underline {
180
+ border-bottom: none !important;
181
+ }
182
+
183
+ .nav-tab-active, .nav-tab-active:hover {
184
+ background-color: white ;
185
+ }
186
+
187
+ /*** End top navigation ***/
188
+
189
+
190
+ @media (min-width: 972px) {
191
+
192
+ .yasr-settingsdiv {
193
+ float:left;
194
+ display:block;
195
+ width:70%;
196
+ background-color:#FFF;
197
+ border: 1px solid #DDD;
198
+ padding-left: 25px;
199
+ padding-right: 25px;
200
+ padding-bottom: 10px;
201
+ }
202
+
203
+ .yasr-donatedivdx {
204
+ float:right;
205
+ display:block !important;
206
+ width:15%;
207
+ background-color:#FFF;
208
+ border: 1px solid #DDD;
209
+ padding: 25px;
210
+ font-size: 12px;
211
+ }
212
+ }
213
+
214
+ @media (max-width: 971px) {
215
+
216
+ .yasr-settingsdiv {
217
+ float:left;
218
+ display:block;
219
+ width:95%;
220
+ background-color:#FFF;
221
+ border: 1px solid #DDD;
222
+ padding-left: 10px;
223
+ padding-right: 10px;
224
+ padding-bottom: 5px;
225
+ }
226
+
227
+ .yasr-donatedivbottom {
228
+ display:block !important;
229
+ width:95%;
230
+ background-color:#FFF;
231
+ border: 1px solid #DDD;
232
+ padding: 10px;
233
+ font-size: 12px;
234
+ }
235
+ }
236
+
237
+ .yasr-option-size {
238
+ vertical-align: bottom;
239
+ display: block;
240
+ margin-bottom: 15px;
241
+ }
242
+
243
+ .yasr-img-option-size {
244
+ height: 30px;
245
+ vertical-align: middle;
246
+ }
247
+
248
+ .yasr-text-options-size {
249
+ height: 30px;
250
+ vertical-align: middle;
251
+ padding-left: 8px;
252
+ }
253
+
254
+ #yasr-color-scheme-preview {
255
+ border: 2px dashed #CCC;
256
+ padding: 15px;
257
+ margin: 10px;
258
+ }
259
+
260
+ #yasr-snippet-explained {
261
+ border: 2px dashed #CCC;
262
+ padding: 15px;
263
+ margin: 10px;
264
+ }
265
+
266
+ .yasr-list-set-table {
267
+ margin-left:5px;
268
+ }
269
+
270
+ .yasr-space-settings-div {
271
+ padding-bottom: 15px;
272
+ clear: both;
273
+ }
274
+
275
+
276
+ /*** Rules for import data from gd star rating ***/
277
+
278
+ .yasr-result-step-1{
279
+ padding-left: 25px;
280
+ padding-top: 10px;
281
+ }
282
+
283
+ .yasr-result-step-2{
284
+ padding-left: 45px;
285
+ }
286
+
287
+ /*** End rules import gd star data ***/
288
+
289
+
290
+ /*** Rules for Multi set page ***/
291
+
292
+ .yasr-multi-set-form-headers {
293
+ text-align: center;
294
+ }
295
+
296
+ .yasr-multi-set-left {
297
+ float:left;
298
+ width: 40%;
299
+ }
300
+
301
+ .yasr-multi-set-right {
302
+ float:right;
303
+ width: 55%;
304
+ }
305
+
306
+ .yasr-new-multi-set {
307
+ overflow: auto;
308
+ margin-top: 10px;
309
+ padding: 8px;
310
+ border: 1px solid #DDD;
311
+ background-color: #f7f7f7;
312
+ }
313
+
314
+ .yasr-manage-multiset {
315
+ overflow: auto;
316
+ margin-top: 10px;
317
+ padding: 8px;
318
+ border: 1px solid #DDD;
319
+ background-color: #f7f7f7;
320
+ }
321
+
322
+ .yasr-manage-multiset-single {
323
+ overflow: auto;
324
+ margin-top: 10px;
325
+ padding: 8px;
326
+ border: 1px solid #DDD;
327
+ background-color: #f7f7f7;
328
+ }
329
+
330
+
331
+ .yasr-input-text-multi-set{
332
+ margin-left: 30px;
333
+ margin-bottom: 10px;
334
+ }
335
+
336
+ #yasr-multi-set-response {
337
+ margin-top: 10px;
338
+ padding: 10px;
339
+ border: 1px solid #DDD;
340
+ background-color: #f7f7f7;
341
+ }
342
+
343
+ #yasr-multi-set-response2 {
344
+ margin-top: 10px;
345
+ padding: 10px;
346
+ border: 1px solid #DDD;
347
+ background-color: #f7f7f7;
348
+ }
349
+
350
+ #yasr-multi-set-doc-box {
351
+ border: 2px dashed #CCC;
352
+ padding: 15px;
353
+ margin: 30px;
354
+ }
355
+
356
+ #yasr-table-form-edit-multi-set {
357
+ width: 100%;
358
+ }
359
+
360
+ #yasr-table-form-edit-multi-set-header {
361
+ text-align: center;
362
+ padding: 5px;
363
+ }
364
+
365
+ #yasr-table-form-edit-multi-set-remove {
366
+ text-align: center;
367
+ padding: 5px;
368
+ }
369
+
370
+ .yasr-edit-form-remove-entire-set {
371
+ padding-top: 30px;
372
+ padding-bottom: 30px;
373
+ text-align: center;
374
+ color: red;
375
+ }
376
+
377
+ .yasr_table_multi_set_admin {
378
+ border: 1px solid rgba(0, 0, 0, 0.1);
379
+ padding: 10px;
380
+ font-size: 20px;
381
+ }
382
+
383
+ @media (min-width: 972px) {
384
+ .yasr_table_multi_set_admin {
385
+ width: 70%;
386
+ }
387
+ }
388
+
389
+
390
+ @media (max-width: 971px) {
391
+ .yasr_table_multi_set_admin {
392
+ width: 90%;
393
+ }
394
+ }
395
+
396
+ .yasr_table_multi_set_admin td {
397
+ width: 50%
398
+ }
399
+
400
+ .yasr_table_multi_set_admin tr:nth-child(odd) {
401
+ background: #feffd3;
402
+ }
403
+ /* Define the background color for all the EVEN background rows */
404
+ .yasr_table_multi_set_admin tr:nth-child(even) {
405
+ background: #FFFFFF;
406
+ }
407
+
408
+ /*** End rules for multi set admin page ***/
409
+
410
+
411
+
412
+ /*** Popup in tinymce ***/
413
+
414
+
415
+ .yasr-underline {
416
+ border-bottom: 1px solid #CCC !important;
417
+ }
418
+
419
+ #yasr-tinypopup-link-doc {
420
+ float: right;
421
+ font-size: 12px;
422
+ }
423
+
424
+ #yasr-overall-choose-size {
425
+ display: none;
426
+ margin-top: 20px;
427
+ border: 2px dashed #CCC;
428
+ padding-bottom: 10px;
429
+ margin-left: 8px;
430
+ padding-left: 8px;
431
+ }
432
+
433
+ .yasr-tinymce-button-size {
434
+ padding-top: 5px;
435
+ }
436
+
437
+ #yasr-visitor-choose-size {
438
+ display: none;
439
+ margin-top: 20px;
440
+ border: 2px dashed #CCC;
441
+ padding-bottom: 10px;
442
+ margin-left: 8px;
443
+ padding-left: 8px;
444
+ }
445
+
446
+
447
+ /*** End popup tinymce***/
448
+
449
+
450
+
451
+ #yasr-log-container {
452
+ width: 98%;
453
+ }
454
+
455
+ .yasr-log-div-child {
456
+ padding-top: 5px;
457
+ border-bottom: 1px solid #BBD8E7;
458
+ padding-bottom: 20px;
459
+ }
460
+
461
+ #yasr-log-image {
462
+ list-style-type: none;
463
+ display: inline-block;
464
+ float:left;
465
+ }
466
+
467
+ #yasr-log-child-head {
468
+ padding-left: 37px;
469
+ }
470
+
471
+ #yasr-log-vote {
472
+ color: red;
473
+ }
474
+
475
+ #yasr-log-post {
476
+ color: #2683AE;
477
+ }
478
+
479
+ #yasr-log-ip-date {
480
+ padding-top: 5px;
481
+ }
482
+
483
+ #yasr-log-ip {
484
+ float:left;
485
+ padding-left: 5px;
486
+ }
487
+
488
+ #yasr-log-date {
489
+ float: right;
490
+ }
491
+
492
+ #yasr-log-next-rows {
493
+ padding-top: 15px;
494
+ text-align: right;
495
+ }
496
+
497
+ #yasr-log-page-navigation {
498
+ padding-top: 7px;
499
+ text-align: center;
500
+ }
css/yasr.css CHANGED
@@ -165,343 +165,6 @@ div.bigstars .rateit-selected
165
  /****** End rateit rules ******/
166
 
167
 
168
- /****** ADMIN RULES ******/
169
-
170
- #multi_rating_table
171
- {
172
- vertical-align: text-top;
173
- }
174
-
175
- .yasr-form-result {
176
- display: block;
177
- }
178
-
179
- /*** Top menu navigation ***/
180
- .yasr-no-underline {
181
- border-bottom: none !important;
182
- }
183
-
184
- .nav-tab-active, .nav-tab-active:hover {
185
- background-color: white ;
186
- }
187
-
188
- /*** End top navigation ***/
189
-
190
- /*** Tinymce popup ***/
191
-
192
-
193
- .yasr-underline {
194
- border-bottom: 1px solid #CCC !important;
195
- }
196
-
197
- #yasr-tinypopup-link-doc {
198
- float: right;
199
- font-size: 12px;
200
- }
201
-
202
- /*** End tinymce popup ***/
203
-
204
- @media (min-width: 972px) {
205
-
206
- .yasr-settingsdiv {
207
- float:left;
208
- display:block;
209
- width:70%;
210
- background-color:#FFF;
211
- border: 1px solid #DDD;
212
- padding-left: 25px;
213
- padding-right: 25px;
214
- padding-bottom: 10px;
215
- }
216
-
217
- .yasr-donatedivdx {
218
- float:right;
219
- display:block !important;
220
- width:15%;
221
- background-color:#FFF;
222
- border: 1px solid #DDD;
223
- padding: 25px;
224
- font-size: 12px;
225
- }
226
- }
227
-
228
- @media (max-width: 971px) {
229
-
230
- .yasr-settingsdiv {
231
- float:left;
232
- display:block;
233
- width:95%;
234
- background-color:#FFF;
235
- border: 1px solid #DDD;
236
- padding-left: 10px;
237
- padding-right: 10px;
238
- padding-bottom: 5px;
239
- }
240
-
241
- .yasr-donatedivbottom {
242
- display:block !important;
243
- width:95%;
244
- background-color:#FFF;
245
- border: 1px solid #DDD;
246
- padding: 10px;
247
- font-size: 12px;
248
- }
249
- }
250
-
251
- .yasr-option-size {
252
- vertical-align: bottom;
253
- display: block;
254
- margin-bottom: 15px;
255
- }
256
-
257
- .yasr-img-option-size {
258
- height: 30px;
259
- vertical-align: middle;
260
- }
261
-
262
- .yasr-text-options-size {
263
- height: 30px;
264
- vertical-align: middle;
265
- padding-left: 8px;
266
- }
267
-
268
- #yasr-color-scheme-preview {
269
- border: 2px dashed #CCC;
270
- padding: 15px;
271
- margin: 10px;
272
- }
273
-
274
- #yasr-snippet-explained {
275
- border: 2px dashed #CCC;
276
- padding: 15px;
277
- margin: 10px;
278
- }
279
-
280
- .yasr-list-set-table {
281
- margin-left:5px;
282
- }
283
-
284
- .yasr-space-settings-div {
285
- padding-bottom: 15px;
286
- clear: both;
287
- }
288
-
289
-
290
- /*** Rules for import data from gd star rating ***/
291
-
292
- .yasr-result-step-1{
293
- padding-left: 25px;
294
- padding-top: 10px;
295
- }
296
-
297
- .yasr-result-step-2{
298
- padding-left: 45px;
299
- }
300
-
301
- /*** End rules import gd star data ***/
302
-
303
-
304
- /*** Rules for Multi set page ***/
305
-
306
- .yasr-multi-set-form-headers {
307
- text-align: center;
308
- }
309
-
310
- .yasr-multi-set-left {
311
- float:left;
312
- width: 40%;
313
- }
314
-
315
- .yasr-multi-set-right {
316
- float:right;
317
- width: 55%;
318
- }
319
-
320
- .yasr-new-multi-set {
321
- overflow: auto;
322
- margin-top: 10px;
323
- padding: 8px;
324
- border: 1px solid #DDD;
325
- background-color: #f7f7f7;
326
- }
327
-
328
- .yasr-manage-multiset {
329
- overflow: auto;
330
- margin-top: 10px;
331
- padding: 8px;
332
- border: 1px solid #DDD;
333
- background-color: #f7f7f7;
334
- }
335
-
336
- .yasr-manage-multiset-single {
337
- overflow: auto;
338
- margin-top: 10px;
339
- padding: 8px;
340
- border: 1px solid #DDD;
341
- background-color: #f7f7f7;
342
- }
343
-
344
-
345
- .yasr-input-text-multi-set{
346
- margin-left: 30px;
347
- margin-bottom: 10px;
348
- }
349
-
350
- #yasr-multi-set-response {
351
- margin-top: 10px;
352
- padding: 10px;
353
- border: 1px solid #DDD;
354
- background-color: #f7f7f7;
355
- }
356
-
357
- #yasr-multi-set-response2 {
358
- margin-top: 10px;
359
- padding: 10px;
360
- border: 1px solid #DDD;
361
- background-color: #f7f7f7;
362
- }
363
-
364
- #yasr-multi-set-doc-box {
365
- border: 2px dashed #CCC;
366
- padding: 15px;
367
- margin: 30px;
368
- }
369
-
370
- #yasr-table-form-edit-multi-set {
371
- width: 100%;
372
- }
373
-
374
- #yasr-table-form-edit-multi-set-header {
375
- text-align: center;
376
- padding: 5px;
377
- }
378
-
379
- #yasr-table-form-edit-multi-set-remove {
380
- text-align: center;
381
- padding: 5px;
382
- }
383
-
384
- .yasr-edit-form-remove-entire-set {
385
- padding-top: 30px;
386
- padding-bottom: 30px;
387
- text-align: center;
388
- color: red;
389
- }
390
-
391
- .yasr_table_multi_set_admin {
392
- border: 1px solid rgba(0, 0, 0, 0.1);
393
- padding: 10px;
394
- font-size: 20px;
395
- }
396
-
397
- @media (min-width: 972px) {
398
- .yasr_table_multi_set_admin {
399
- width: 70%;
400
- }
401
- }
402
-
403
-
404
- @media (max-width: 971px) {
405
- .yasr_table_multi_set_admin {
406
- width: 90%;
407
- }
408
- }
409
-
410
- .yasr_table_multi_set_admin td {
411
- width: 50%
412
- }
413
-
414
- .yasr_table_multi_set_admin tr:nth-child(odd) {
415
- background: #feffd3;
416
- }
417
- /* Define the background color for all the EVEN background rows */
418
- .yasr_table_multi_set_admin tr:nth-child(even) {
419
- background: #FFFFFF;
420
- }
421
-
422
- /*** End rules for multi set admin page ***/
423
-
424
-
425
-
426
- /*** Popup in tinymce ***/
427
-
428
- #yasr-overall-choose-size {
429
- display: none;
430
- margin-top: 20px;
431
- border: 2px dashed #CCC;
432
- padding-bottom: 10px;
433
- margin-left: 8px;
434
- padding-left: 8px;
435
- }
436
-
437
- .yasr-tinymce-button-size {
438
- padding-top: 5px;
439
- }
440
-
441
- #yasr-visitor-choose-size {
442
- display: none;
443
- margin-top: 20px;
444
- border: 2px dashed #CCC;
445
- padding-bottom: 10px;
446
- margin-left: 8px;
447
- padding-left: 8px;
448
- }
449
-
450
-
451
- /*** End popup tinymce***/
452
-
453
-
454
-
455
- #yasr-log-container {
456
- width: 98%;
457
- }
458
-
459
- .yasr-log-div-child {
460
- padding-top: 5px;
461
- border-bottom: 1px solid #BBD8E7;
462
- padding-bottom: 20px;
463
- }
464
-
465
- #yasr-log-image {
466
- list-style-type: none;
467
- display: inline-block;
468
- float:left;
469
- }
470
-
471
- #yasr-log-child-head {
472
- padding-left: 37px;
473
- }
474
-
475
- #yasr-log-vote {
476
- color: red;
477
- }
478
-
479
- #yasr-log-post {
480
- color: #2683AE;
481
- }
482
-
483
- #yasr-log-ip-date {
484
- padding-top: 5px;
485
- }
486
-
487
- #yasr-log-ip {
488
- float:left;
489
- padding-left: 5px;
490
- }
491
-
492
- #yasr-log-date {
493
- float: right;
494
- }
495
-
496
- #yasr-log-next-rows {
497
- padding-top: 15px;
498
- text-align: right;
499
- }
500
-
501
- #yasr-log-page-navigation {
502
- padding-top: 7px;
503
- text-align: center;
504
- }
505
 
506
 
507
  /****** NON ADMIN RULES ******/
165
  /****** End rateit rules ******/
166
 
167
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
 
169
 
170
  /****** NON ADMIN RULES ******/
img/dark-multi-set.png CHANGED
Binary file
img/delete.gif CHANGED
Binary file
img/dialog-ok-apply.png CHANGED
Binary file
img/loader.gif CHANGED
Binary file
img/paypal.png CHANGED
Binary file
img/star_tiny.png CHANGED
Binary file
img/yasr-multi-set-insert-rate-small.jpg CHANGED
Binary file
img/yasr-multi-set-insert-rate.jpg CHANGED
Binary file
img/yasr-multi-set.png CHANGED
Binary file
img/yasr-stars-large.png CHANGED
Binary file
img/yasr-stars-medium.png CHANGED
Binary file
img/yasr-stars-small.png CHANGED
Binary file
img/yasr_aggregate.jpg CHANGED
Binary file
img/yasr_review.png CHANGED
Binary file
languages/yasr-de_DE.mo CHANGED
Binary file
languages/yasr-de_DE.po CHANGED
@@ -1,8 +1,8 @@
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"
@@ -17,37 +17,36 @@ msgstr ""
17
  "X-Poedit-SearchPath-1: ../lib\n"
18
 
19
  #: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:75
20
- #: ../lib/yasr-ajax-functions.php:29 ../lib/yasr-ajax-functions.php: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. "
@@ -56,29 +55,33 @@ msgstr ""
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
@@ -106,57 +109,60 @@ 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
 
@@ -169,20 +175,22 @@ msgstr "Wähle ein Multi-Set aus"
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
@@ -228,16 +236,65 @@ msgstr ""
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
@@ -247,14 +304,18 @@ msgstr "Gesamt:"
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
 
@@ -267,7 +328,6 @@ 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
 
@@ -296,7 +356,8 @@ 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
@@ -342,7 +403,7 @@ msgstr "Was soll eingefügt werden?"
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
 
@@ -366,15 +427,18 @@ msgstr "Nach dem Artikel"
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
 
@@ -393,11 +457,13 @@ msgstr ""
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
@@ -460,12 +526,18 @@ msgid ""
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"
@@ -476,7 +548,7 @@ 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 "
@@ -487,9 +559,9 @@ 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?"
@@ -506,8 +578,9 @@ 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
@@ -516,7 +589,7 @@ msgid ""
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
@@ -534,7 +607,8 @@ 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
@@ -549,27 +623,31 @@ msgstr ""
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"
@@ -584,39 +662,42 @@ msgstr ""
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
 
@@ -630,16 +711,18 @@ 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
 
@@ -651,7 +734,7 @@ msgstr " bewertet von"
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
 
@@ -660,192 +743,276 @@ 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
 
@@ -858,6 +1025,3 @@ msgstr "Durchschnitt"
858
 
859
  #~ msgid "User "
860
  #~ msgstr "Nutzer"
861
-
862
- #~ msgid "No rating yet"
863
- #~ msgstr "Noch keine Bewertung"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YASR lenguages\n"
4
+ "POT-Creation-Date: 2014-08-19 14:27+0100\n"
5
+ "PO-Revision-Date: 2014-08-19 14:27+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: de_DE\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:97
21
+ #: ../lib/yasr-ajax-functions.php:236 ../lib/yasr-ajax-functions.php:760
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
  msgid "General Settings"
29
  msgstr "Allgemeine Einstellungen"
30
 
31
  #: ../yasr-settings-page.php:57
32
  msgid "Multi Sets"
33
+ msgstr "Multi-Sets"
34
 
35
  #: ../yasr-settings-page.php:58
36
  msgid "Styles"
37
+ msgstr "Styles"
38
 
39
+ #: ../yasr-settings-page.php:74 ../yasr-settings-page.php:267
40
  msgid "Save"
41
  msgstr "Speichern"
42
 
43
+ #: ../yasr-settings-page.php:80 ../yasr-settings-page.php:237
44
+ #: ../yasr-settings-page.php:274 ../yasr-settings-page.php:298
45
  msgid "Donations"
46
  msgstr "Spenden"
47
 
48
+ #: ../yasr-settings-page.php:82 ../yasr-settings-page.php:239
49
+ #: ../yasr-settings-page.php:276 ../yasr-settings-page.php:300
50
  msgid ""
51
  "If you have found this plugin useful, please consider making a donation to "
52
  "help support future development. Your support will be much appreciated. "
55
  "Weiterentwicklung mit einer kleinen Spende. Deine Unterstützung ist uns viel "
56
  "Wert."
57
 
58
+ #: ../yasr-settings-page.php:84 ../yasr-settings-page.php:241
59
+ #: ../yasr-settings-page.php:278 ../yasr-settings-page.php:302
60
  msgid "Thank you!"
61
+ msgstr "Herzlichen Danke!"
62
 
63
  #: ../yasr-settings-page.php:104
64
  msgid "Import Gd Star Rating"
65
  msgstr "Importiere Gd Star Rating Daten"
66
 
67
  #: ../yasr-settings-page.php:105
68
+ #, fuzzy
69
+ msgid "I've found a previous installation of Gd Star Rating."
 
70
  msgstr ""
71
  "Es wurde eine Installation von Gd Star Rating gefunden. <br />Willst du die "
72
  "Daten importieren?"
73
 
74
+ #: ../yasr-settings-page.php:105
75
+ msgid "Do you want proceed to import data?"
76
+ msgstr ""
77
+
78
  #: ../yasr-settings-page.php:107
79
  msgid "Yes, Begin Import"
80
  msgstr "Ja, Import starten"
81
 
82
  #: ../yasr-settings-page.php:111
83
+ #, fuzzy
84
+ msgid "Click on Proceed to import Gd Star Rating data."
85
  msgstr "Klicke auf Fortfahren um die Gd Star Rating Daten zu importieren."
86
 
87
  #: ../yasr-settings-page.php:114 ../yasr-settings-page.php:147
109
  msgstr "Ok, erneut importieren"
110
 
111
  #: ../yasr-settings-page.php:144
112
+ #, fuzzy
113
  msgid ""
114
+ "Click on Proceed to import again Gd Star Rating data. This may take a while!"
115
  msgstr ""
116
  "Klicke auf Fortfahren um die Gd Star Rating Daten erneut zu importieren. Das "
117
  "kann unter Umständen eine Weile dauern!"
118
 
119
  #: ../yasr-settings-page.php:185
120
+ #, fuzzy
121
+ msgid "Manage Multi Set"
122
+ msgstr "Verschiedene Multi-Sets verwalten"
123
 
124
  #: ../yasr-settings-page.php:189
125
+ #, fuzzy
126
+ msgid "What is a Multi Set?"
127
  msgstr "Was ist ein Multi-Set?"
128
 
129
  #: ../yasr-settings-page.php:194
130
+ #, fuzzy
131
  msgid ""
132
+ "Multi Set allows you to insert a rate for each aspect about the product / "
133
+ "local business / whetever you're reviewing, example in the image below."
 
134
  msgstr ""
135
  "Ein Multi-Set erlaubt dir eine Bewertung für verschiedene Aspekte eines "
136
+ "Produkts / lokalen Geschäfts etc.\n"
137
+ "\t\t\t\t abzugeben. Die nachfolgende Abbildung zeigt ein Beispiel."
138
 
139
+ #: ../yasr-settings-page.php:198
140
+ #, fuzzy
141
  msgid ""
142
+ "You can create up to 99 different Multi Set and each one can contain up to 9 "
143
+ "different fields. Once you've saved it, you can insert the rates while "
144
+ "typing your article in the box below the editor, as you can see in this "
145
+ "image (click to see it larger)"
 
146
  msgstr ""
147
  "Du kannst bis zu 99 verschiedene Multi-Sets mit jeweils bis zu 9 "
148
  "verschiedenen Feldern anlegen. \n"
149
  "\t\t\t\t\t Sobald du alles gespeichert hast, kannst du deine Bewertung "
150
+ "direkt unterhalb des Editors abgeben, \n"
151
+ "\t\t\t\t\t wie am Bild unten (klicken zum Vergrößern) zu sehen ist."
152
 
153
+ #: ../yasr-settings-page.php:202
154
+ #, fuzzy
155
  msgid ""
156
+ "In order to insert your Multi Sets into a post or page, you can either past "
157
+ "the short code that will appear at the bottom of the box or just click on "
158
+ "the star in the graphic editor and select \"Insert Multi Set\"."
 
159
  msgstr ""
160
+ "Um deine Multi-Set in einen Beitrag oder in eine Seite einzufügen, kannst du "
161
  "entweder\n"
162
  "\t\t\t\t\t den Shortcode am Ende der Box nutzen oder einfach \n"
163
  "\t\t\t\t\t auf den Stern im Editor klicken und \"Insert Multi-Set\" wählen."
164
 
165
+ #: ../yasr-settings-page.php:208
166
  msgid "Close this message"
167
  msgstr "Nachricht schließen"
168
 
175
  msgid "Select"
176
  msgstr "Auswählen"
177
 
178
+ #: ../yasr-metabox-overall-rating.php:14
179
  msgid "Rate this article / item"
180
  msgstr "Bewerte diesen Artikel / Gegenstand"
181
 
182
+ #: ../yasr-metabox-overall-rating.php:22
183
  #: ../lib/yasr-shortcode-functions.php:125 ../lib/yasr-functions.php:266
184
  msgid "Loading, please wait"
185
  msgstr "Wird geladen, bitte warten"
186
 
187
+ #: ../yasr-metabox-overall-rating.php:37
188
  msgid ""
189
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
190
  "where you want to display this rating"
191
  msgstr ""
192
+ "Füge den Shortcode <strong>[yasr_overall_rating]</strong> an der Position "
193
+ "ein, wo die Bewertung angezeigt werden soll."
194
 
195
  #: ../lib/yasr-shortcode-functions.php:156
196
  #: ../lib/yasr-shortcode-functions.php:168
236
  #: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
237
  #: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
238
  #: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
239
+ #: ../lib/yasr-functions.php:607 ../lib/yasr-ajax-functions.php:1001
240
+ #: ../lib/yasr-ajax-functions.php:1009 ../lib/yasr-ajax-functions.php:1017
241
+ #: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1037
242
+ #: ../lib/yasr-ajax-functions.php:1044 ../lib/yasr-ajax-functions.php:1134
243
+ #: ../lib/yasr-ajax-functions.php:1142 ../lib/yasr-ajax-functions.php:1150
244
+ #: ../lib/yasr-ajax-functions.php:1186 ../lib/yasr-ajax-functions.php:1192
245
+ #: ../lib/yasr-ajax-functions.php:1198 ../lib/yasr-ajax-functions.php:1207
246
  msgid "Total: "
247
  msgstr "Gesamt:"
248
 
249
+ #: ../lib/yasr-shortcode-functions.php:156
250
+ #: ../lib/yasr-shortcode-functions.php:168
251
+ #: ../lib/yasr-shortcode-functions.php:173
252
+ #: ../lib/yasr-shortcode-functions.php:186
253
+ #: ../lib/yasr-shortcode-functions.php:191
254
+ #: ../lib/yasr-shortcode-functions.php:211
255
+ #: ../lib/yasr-shortcode-functions.php:220
256
+ #: ../lib/yasr-shortcode-functions.php:226
257
+ #: ../lib/yasr-shortcode-functions.php:240
258
+ #: ../lib/yasr-shortcode-functions.php:246
259
+ #: ../lib/yasr-shortcode-functions.php:271
260
+ #: ../lib/yasr-shortcode-functions.php:283
261
+ #: ../lib/yasr-shortcode-functions.php:288
262
+ #: ../lib/yasr-shortcode-functions.php:301
263
+ #: ../lib/yasr-shortcode-functions.php:306
264
+ #: ../lib/yasr-shortcode-functions.php:327
265
+ #: ../lib/yasr-shortcode-functions.php:336
266
+ #: ../lib/yasr-shortcode-functions.php:342
267
+ #: ../lib/yasr-shortcode-functions.php:356
268
+ #: ../lib/yasr-shortcode-functions.php:362
269
+ #: ../lib/yasr-shortcode-functions.php:387
270
+ #: ../lib/yasr-shortcode-functions.php:399
271
+ #: ../lib/yasr-shortcode-functions.php:404
272
+ #: ../lib/yasr-shortcode-functions.php:417
273
+ #: ../lib/yasr-shortcode-functions.php:422
274
+ #: ../lib/yasr-shortcode-functions.php:443
275
+ #: ../lib/yasr-shortcode-functions.php:452
276
+ #: ../lib/yasr-shortcode-functions.php:458
277
+ #: ../lib/yasr-shortcode-functions.php:472
278
+ #: ../lib/yasr-shortcode-functions.php:478 ../lib/yasr-functions.php:285
279
+ #: ../lib/yasr-functions.php:297 ../lib/yasr-functions.php:302
280
+ #: ../lib/yasr-functions.php:315 ../lib/yasr-functions.php:320
281
+ #: ../lib/yasr-functions.php:340 ../lib/yasr-functions.php:349
282
+ #: ../lib/yasr-functions.php:355 ../lib/yasr-functions.php:369
283
+ #: ../lib/yasr-functions.php:375 ../lib/yasr-functions.php:400
284
+ #: ../lib/yasr-functions.php:412 ../lib/yasr-functions.php:417
285
+ #: ../lib/yasr-functions.php:430 ../lib/yasr-functions.php:435
286
+ #: ../lib/yasr-functions.php:456 ../lib/yasr-functions.php:465
287
+ #: ../lib/yasr-functions.php:471 ../lib/yasr-functions.php:485
288
+ #: ../lib/yasr-functions.php:491 ../lib/yasr-functions.php:516
289
+ #: ../lib/yasr-functions.php:528 ../lib/yasr-functions.php:533
290
+ #: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
291
+ #: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
292
+ #: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
293
+ #: ../lib/yasr-functions.php:607
294
+ #, fuzzy
295
+ msgid "Average: "
296
+ msgstr "Durchschnitt"
297
+
298
  #: ../lib/yasr-shortcode-functions.php:157
299
  #: ../lib/yasr-shortcode-functions.php:212
300
  #: ../lib/yasr-shortcode-functions.php:272
304
  #: ../lib/yasr-functions.php:341 ../lib/yasr-functions.php:401
305
  #: ../lib/yasr-functions.php:457 ../lib/yasr-functions.php:517
306
  #: ../lib/yasr-functions.php:573
 
307
  msgid "You've already voted this article with"
308
+ msgstr "Du hast für diesen Artikel folgende Bewertung abgegeben: "
309
 
310
  #: ../lib/yasr-shortcode-functions.php:241
311
+ #: ../lib/yasr-shortcode-functions.php:247
312
  #: ../lib/yasr-shortcode-functions.php:357
313
+ #: ../lib/yasr-shortcode-functions.php:363
314
+ #: ../lib/yasr-shortcode-functions.php:473
315
+ #: ../lib/yasr-shortcode-functions.php:479 ../lib/yasr-functions.php:370
316
+ #: ../lib/yasr-functions.php:376 ../lib/yasr-functions.php:486
317
+ #: ../lib/yasr-functions.php:492 ../lib/yasr-functions.php:602
318
+ #: ../lib/yasr-functions.php:608
319
  msgid "You must sign to vote"
320
  msgstr "Um eine Bewertung abzugeben musst du angemeldet sein"
321
 
328
  msgstr "Es sind keine Autoren-Bewertungen gespeichert"
329
 
330
  #: ../lib/yasr-shortcode-functions.php:726
 
331
  msgid "Chart is loading, please wait"
332
  msgstr "Wird geladen, bitte warten"
333
 
356
  msgstr "Anzeigeoptionen"
357
 
358
  #: ../lib/yasr-settings-functions.php:33
359
+ #, fuzzy
360
+ msgid "Show \"Overall Rating\" in Home Page?"
361
  msgstr "Gesamtbewertung auf der Startseite anzeigen?"
362
 
363
  #: ../lib/yasr-settings-functions.php:34
403
  msgid "Overall Rating / Author Rating"
404
  msgstr "Gesamtbewertung (Autorenbewertung)"
405
 
406
+ #: ../lib/yasr-settings-functions.php:87 ../lib/yasr-ajax-functions.php:363
407
  msgid "Visitor Votes"
408
  msgstr "Besucherbewertung"
409
 
427
  msgid "Size"
428
  msgstr "Größe"
429
 
430
+ #: ../lib/yasr-settings-functions.php:111 ../lib/yasr-ajax-functions.php:353
431
+ #: ../lib/yasr-ajax-functions.php:371
432
  msgid "Small"
433
  msgstr "Klein"
434
 
435
+ #: ../lib/yasr-settings-functions.php:116 ../lib/yasr-ajax-functions.php:354
436
+ #: ../lib/yasr-ajax-functions.php:372
437
  msgid "Medium"
438
  msgstr "Mittel"
439
 
440
+ #: ../lib/yasr-settings-functions.php:121 ../lib/yasr-ajax-functions.php:355
441
+ #: ../lib/yasr-ajax-functions.php:373
442
  msgid "Large"
443
  msgstr "Groß"
444
 
457
  "Kategorien und im Archiv."
458
 
459
  #: ../lib/yasr-settings-functions.php:198
460
+ #, fuzzy
461
+ msgid "Custom text to display before Overall Rating"
462
  msgstr "Benutzerdefinierter Text vor der Gesamtbewertung (Autorenbewertung)"
463
 
464
  #: ../lib/yasr-settings-functions.php:203
465
+ #, fuzzy
466
+ msgid "Custom text to display before Visitor Rating"
467
  msgstr "Benutzerdefinierter Text vor der Besucherbewertung"
468
 
469
  #: ../lib/yasr-settings-functions.php:208
526
  "this"
527
  msgstr ""
528
  "Wenn du im Vergleich \"Aggregate Rating\" wählst, dann sieht das Ergebnis "
529
+ "wie folgt aus:"
530
+
531
+ #: ../lib/yasr-settings-functions.php:317
532
+ #, fuzzy
533
+ msgid "Add New Multiple Set"
534
+ msgstr "Verschiedene Multi-Sets verwalten"
535
 
536
  #: ../lib/yasr-settings-functions.php:318
537
+ #, fuzzy
538
  msgid ""
539
+ "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
540
+ "characters"
541
  msgstr ""
542
  "Feldname, Element #1 und Element #2 MÜSSEN ausgefüllt und mindestens 3 "
543
  "Zeichen lang sein"
548
 
549
  #: ../lib/yasr-settings-functions.php:326
550
  msgid "You can insert up to nine element"
551
+ msgstr "Du kannst bis zu 9 Elemente einfügen"
552
 
553
  #: ../lib/yasr-settings-functions.php:331
554
  msgid "Element "
559
  msgstr "Neues Multi-Set anlegen"
560
 
561
  #: ../lib/yasr-settings-functions.php:362
562
+ #: ../lib/yasr-settings-functions.php:394
563
  msgid "Manage Multiple Set"
564
+ msgstr "Verschiedene Multi-Sets verwalten"
565
 
566
  #: ../lib/yasr-settings-functions.php:364
567
  msgid "Wich set do you want to edit or remove?"
578
  msgstr "Entfernen"
579
 
580
  #: ../lib/yasr-settings-functions.php:450
581
+ #: ../lib/yasr-settings-functions.php:568
582
  msgid "Remove whole set?"
583
+ msgstr "Komplettes Multi-Set entfernen?"
584
 
585
  #: ../lib/yasr-settings-functions.php:463
586
  #: ../lib/yasr-settings-functions.php:581
589
  "This operation CAN'T BE undone."
590
  msgstr ""
591
  "Wenn du etwas löscht, dann werden alle Bewertungen für dieses Multi-Set oder "
592
+ "Element gelöscht. Dies kann nicht rückgängig gemacht werden."
593
 
594
  #: ../lib/yasr-settings-functions.php:470
595
  #: ../lib/yasr-settings-functions.php:588
607
  msgstr "Änderungen speichern"
608
 
609
  #: ../lib/yasr-settings-functions.php:484
610
+ #, fuzzy
611
+ msgid "No Multiple Set were found"
612
  msgstr "Keine Multi-Sets gefunden"
613
 
614
  #: ../lib/yasr-settings-functions.php:734
623
  "melde das Problem"
624
 
625
  #: ../lib/yasr-settings-functions.php:745
626
+ #, fuzzy
627
+ msgid "Something goes wrong trying insert Multi Set name. Please report it"
628
  msgstr ""
629
  "Beim Einfügen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
630
  "Problem"
631
 
632
  #: ../lib/yasr-settings-functions.php:820
633
+ #, fuzzy
634
+ msgid "Something goes wrong trying to delete a Multi Set . Please report it"
635
  msgstr ""
636
  "Beim Löschen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
637
  "Problem"
638
 
639
  #: ../lib/yasr-settings-functions.php:866
640
+ #, fuzzy
641
  msgid ""
642
+ "Something goes wrong trying to delete a Multi Set's element. Please report it"
643
  msgstr ""
644
  "Beim Löschen des Multi-Set Elements ist etwas schief gelaufen. Bitte melde "
645
  "das Problem"
646
 
647
  #: ../lib/yasr-settings-functions.php:930
648
+ #, fuzzy
649
  msgid ""
650
+ "Something goes wrong trying to update a Multi Set's element. Please report it"
651
  msgstr ""
652
  "Bei der Aktualisierung des Multi-Set Elements ist etwas schief gelaufen. "
653
  "Bitte melde das Problem"
662
 
663
  #: ../lib/yasr-settings-functions.php:1030
664
  msgid "Style Options"
665
+ msgstr "Style Optionen"
666
 
667
  #: ../lib/yasr-settings-functions.php:1031
668
  msgid "Custom CSS Styles"
669
+ msgstr "Benutzerdefiniertes CSS"
670
 
671
  #: ../lib/yasr-settings-functions.php:1036
672
  msgid ""
673
  "Please use text area below to write your own CSS styles to override the "
674
  "default ones."
675
  msgstr ""
676
+ "Bitte nutze diesen Textbereich um die Standard CSS Styles mit deinem eigenen "
677
+ "CSS-Code zu überschreiben."
678
 
679
  #: ../lib/yasr-settings-functions.php:1038
680
  msgid "Leave it blank if you don't know what you're doing"
681
+ msgstr " Lasse diesen Bereich leer, wenn du nicht weißt was du tust."
682
 
683
  #: ../lib/yasr-settings-functions.php:1071
684
+ #, fuzzy
685
+ msgid "No previous Gd Star Rating installation was found"
686
  msgstr "Es wurde keine Gd Star Ratings Installation gefunden"
687
 
688
+ #: ../lib/yasr-db-functions.php:214 ../lib/yasr-ajax-functions.php:772
689
  msgid "No Recenet votes yet"
690
  msgstr "Keine kürzlichen Bewertungen"
691
 
692
+ #: ../lib/yasr-db-functions.php:229 ../lib/yasr-ajax-functions.php:785
693
  msgid "anonymous"
694
  msgstr "Anonym"
695
 
696
+ #: ../lib/yasr-db-functions.php:252 ../lib/yasr-ajax-functions.php:808
697
  msgid "Ip address"
698
  msgstr "IP-Adresse"
699
 
700
+ #: ../lib/yasr-db-functions.php:293 ../lib/yasr-ajax-functions.php:849
701
  msgid "Pages"
702
  msgstr "Seiten"
703
 
711
 
712
  #: ../lib/yasr-functions.php:108
713
  msgid "Yet Another Stars Rating: Multiple set"
714
+ msgstr "Yet Another Stars Rating: Multi-Sets"
715
 
716
  #: ../lib/yasr-functions.php:124
717
+ #, fuzzy
718
+ msgid "You don't have enought privileges to insert Overall Rating"
719
  msgstr ""
720
  "Du hast nicht die notwendigen Berechtigungen um eine Gesamtbewertung "
721
  "einzufügen"
722
 
723
  #: ../lib/yasr-functions.php:134
724
+ #, fuzzy
725
+ msgid "You don't have enought privileges to insert Multi Set"
726
  msgstr ""
727
  "Du hast nicht die notwendigen Berechtigungen um ein Multi-Set einzufügen"
728
 
734
  msgid " on "
735
  msgstr " mit"
736
 
737
+ #: ../lib/yasr-functions.php:844
738
  msgid " rated "
739
  msgstr " ist bewertet mit "
740
 
743
  msgstr " mit 5"
744
 
745
  #: ../lib/yasr-functions.php:888
746
+ #, fuzzy
747
+ msgid " average rating "
748
+ msgstr "Durchschnittsbewertung"
 
 
 
749
 
750
  #: ../lib/yasr-functions.php:889
751
  msgid " user ratings"
752
  msgstr " Besucherbewertungen"
753
 
754
+ #: ../lib/yasr-ajax-functions.php:67
755
+ #, fuzzy
756
+ msgid "You've rated it "
757
+ msgstr " ist bewertet mit "
758
+
759
+ #: ../lib/yasr-ajax-functions.php:71
760
+ #, fuzzy
761
+ msgid "You've reset the vote"
762
+ msgstr "Um eine Bewertung abzugeben musst du angemeldet sein"
763
+
764
+ #: ../lib/yasr-ajax-functions.php:108
765
  msgid "Choose a vote for each element"
766
  msgstr "Wähle eine Bewertung für jedes Element"
767
 
768
+ #: ../lib/yasr-ajax-functions.php:164 ../lib/yasr-ajax-functions.php:207
769
  msgid "Remember to insert this shortcode"
770
+ msgstr "Diesen Shortcode"
771
 
772
+ #: ../lib/yasr-ajax-functions.php:166 ../lib/yasr-ajax-functions.php:209
773
  msgid "where you want to display this multi set"
774
+ msgstr "an der Stelle einfügen, wo das Multi-Set angezeigt werden soll."
775
 
776
+ #: ../lib/yasr-ajax-functions.php:174
777
  msgid "Choose a vote for every element"
778
  msgstr "Wähle eine Bewertung für jedes Element"
779
 
780
+ #: ../lib/yasr-ajax-functions.php:333
781
+ msgid "Main"
782
+ msgstr ""
783
+
784
+ #: ../lib/yasr-ajax-functions.php:334
785
+ msgid "Charts"
786
+ msgstr ""
787
+
788
+ #: ../lib/yasr-ajax-functions.php:336
789
+ msgid "Read the doc"
790
+ msgstr ""
791
+
792
+ #: ../lib/yasr-ajax-functions.php:345
793
  msgid "Overall Rating / Review"
794
  msgstr "Gesamtbewertung (Autorenbewertung)"
795
 
796
+ #: ../lib/yasr-ajax-functions.php:347
797
+ #, fuzzy
798
+ msgid "Insert Overall Rating"
799
+ msgstr "Gesamtbewertung"
800
+
801
+ #: ../lib/yasr-ajax-functions.php:348
802
  msgid "Insert Overall Rating / Review for this post"
803
  msgstr "Gesamtbewertung einfügen / Bewertung der Review-Autoren"
804
 
805
+ #: ../lib/yasr-ajax-functions.php:351 ../lib/yasr-ajax-functions.php:369
806
  msgid "Choose Size"
807
  msgstr "Größe wählen"
808
 
809
+ #: ../lib/yasr-ajax-functions.php:365
810
+ #, fuzzy
811
+ msgid "Insert Visitor Votes"
812
+ msgstr "Besucherbewertung"
813
+
814
+ #: ../lib/yasr-ajax-functions.php:366
815
  msgid "Insert the ability for your visitor to vote"
816
  msgstr "Besucher dürfen Bewertungen abgeben"
817
 
818
+ #: ../lib/yasr-ajax-functions.php:383
819
+ #, fuzzy
820
+ msgid "If you want to insert a Multi Set, pick one:"
821
  msgstr "Wähle das einzufügende Multi-Set:"
822
 
823
+ #: ../lib/yasr-ajax-functions.php:389
824
  msgid "Choose wich set you want to insert."
825
  msgstr "Wählen das einzufügende Multi-Set."
826
 
827
+ #: ../lib/yasr-ajax-functions.php:397
828
  msgid "Insert Multiset:"
829
  msgstr "Multi-Set einfügen:"
830
 
831
+ #: ../lib/yasr-ajax-functions.php:400
832
+ #, fuzzy
833
+ msgid "Insert Multiple Set"
834
+ msgstr "Multi-Set einfügen:"
835
+
836
+ #: ../lib/yasr-ajax-functions.php:401
837
+ msgid "Insert multiple set in this post ?"
838
+ msgstr ""
839
+
840
+ #: ../lib/yasr-ajax-functions.php:416
841
+ #, fuzzy
842
+ msgid "Top 10 Overall Ratings"
843
  msgstr "Top 10 Artikel/Seiten von Review-Autoren"
844
 
845
+ #: ../lib/yasr-ajax-functions.php:417
846
+ #, fuzzy
847
+ msgid "Insert Top 10 highest rated"
848
+ msgstr ""
849
+ "Füge die Top 10 höchst bewerteten Artikel/Seiten von Review-Autoren ein"
850
+
851
+ #: ../lib/yasr-ajax-functions.php:418
852
  msgid "Insert Top 10 highest rated by post author"
853
  msgstr ""
854
  "Füge die Top 10 höchst bewerteten Artikel/Seiten von Review-Autoren ein"
855
 
856
+ #: ../lib/yasr-ajax-functions.php:422
857
+ #, fuzzy
858
+ msgid "Top 10 Visitor Ratings"
859
+ msgstr "Top 10 Artikel/Seiten von Review-Autoren"
860
+
861
+ #: ../lib/yasr-ajax-functions.php:423
862
+ #, fuzzy
863
+ msgid "Insert Top 10 posts by visitors"
864
  msgstr "Top 10 Artikel/Seiten von Besuchern"
865
 
866
+ #: ../lib/yasr-ajax-functions.php:424
867
  msgid "Insert Top 10 most or higher rated posts from visitors"
868
  msgstr ""
869
  "Füge die Top 10 meist oder höchst bewertetsten Artikel/Seiten von Besuchern "
870
  "ein"
871
 
872
+ #: ../lib/yasr-ajax-functions.php:428
873
  msgid "Most active reviewers"
874
  msgstr "Aktivste Review-Autoren"
875
 
876
+ #: ../lib/yasr-ajax-functions.php:429
877
+ #, fuzzy
878
+ msgid "Insert Top 5 most active reviewers"
879
+ msgstr "Füge die Top 5 aktivsten Review-Autoren ein"
880
+
881
+ #: ../lib/yasr-ajax-functions.php:430
882
  msgid "Insert Top 5 active reviewers"
883
  msgstr "Füge die Top 5 aktivsten Review-Autoren ein"
884
 
885
+ #: ../lib/yasr-ajax-functions.php:434
886
  msgid "Most active users"
887
  msgstr "Aktivste Besucher"
888
 
889
+ #: ../lib/yasr-ajax-functions.php:435
890
+ #, fuzzy
891
+ msgid "Insert Top 10 most active users"
892
+ msgstr "Füge die Top 5 aktivsten Review-Autoren ein"
893
+
894
+ #: ../lib/yasr-ajax-functions.php:436
895
+ #, fuzzy
896
+ msgid "Insert Top 10 active users in Visitor Ratings"
897
  msgstr "Füge die Top 10 aktivsten Besucher ein"
898
 
899
+ #: ../lib/yasr-ajax-functions.php:630
900
+ #, fuzzy
901
+ msgid "Reviews and Visitor Votes have been successfull imported."
902
  msgstr "Autoren-Reviews und Bewertungen wurden erfolgreich importiert."
903
 
904
+ #: ../lib/yasr-ajax-functions.php:636
905
+ #, fuzzy
906
  msgid ""
907
+ "Step2: I will check if you used Multiple Sets and if so I will import them. "
908
  "THIS MAY TAKE A WHILE!"
909
  msgstr ""
910
  "Schritt 2: Prüfe ob Multi-Sets verwendet wurden und importiere diese "
911
  "gegebenenfalls. DAS KANN ETWAS DAUERN!"
912
 
913
+ #: ../lib/yasr-ajax-functions.php:638
914
  msgid "Proceed Step 2"
915
  msgstr "Fortfahren mit Schritt 2"
916
 
917
+ #: ../lib/yasr-ajax-functions.php:645
918
  msgid "Something goes wrong! Refresh the page and try again!"
919
  msgstr ""
920
  "Hier ist etwas schief gelaufen. Bitte aktualisiere die Seite und versuche es "
921
  "noch einmal!"
922
 
923
+ #: ../lib/yasr-ajax-functions.php:674
924
+ #, fuzzy
925
+ msgid "I've found Multiple Set! Importing..."
926
  msgstr "Es wurden verschiedene Multi-Sets gefunden. Starte Import..."
927
 
928
+ #: ../lib/yasr-ajax-functions.php:683
929
+ #, fuzzy
930
+ msgid "Multi Set's name has been successfull imported."
931
  msgstr "Multi-Set Namen wurden erfolgreich importiert."
932
 
933
+ #: ../lib/yasr-ajax-functions.php:685
934
+ #, fuzzy
935
+ msgid "Now I'm going to import Multi Set data"
936
  msgstr "Der Import der Multi-Set Daten wird gestartet"
937
 
938
+ #: ../lib/yasr-ajax-functions.php:696
939
  msgid "All votes has been successfull imported."
940
  msgstr "Alle Bewertungen wurden erfolgreich importiert."
941
 
942
+ #: ../lib/yasr-ajax-functions.php:698
943
  msgid "Done"
944
  msgstr "Fertig"
945
 
946
+ #: ../lib/yasr-ajax-functions.php:703
947
+ #, fuzzy
948
+ msgid "I've found Multiple Set's votes but I couldn't insert into db"
949
  msgstr ""
950
  "Es wurden Multi-Set Bewertungen gefunden aber diese konnten nicht in der "
951
  "Datenbank gespeichert werden."
952
 
953
+ #: ../lib/yasr-ajax-functions.php:711
954
+ #, fuzzy
955
+ msgid "I've found Multi Set but with no data"
956
  msgstr "Das Multi-Set wurde gefunden aber es sind keine Daten vorhanden"
957
 
958
+ #: ../lib/yasr-ajax-functions.php:720
959
+ #, fuzzy
960
+ msgid "I've found Multi Sets names but I couldn't insert into db"
961
  msgstr ""
962
  "Der Multi-Set Name wurde gefunden aber konnte nicht in die Datenbank "
963
  "eingetragen werden"
964
 
965
+ #: ../lib/yasr-ajax-functions.php:728
966
  #, fuzzy
967
+ msgid "Multisets were not found. Imported is done!"
968
  msgstr "Multi-Set wurde nicht gefunden."
969
 
970
+ #: ../lib/yasr-ajax-functions.php:1001 ../lib/yasr-ajax-functions.php:1009
971
+ #: ../lib/yasr-ajax-functions.php:1017 ../lib/yasr-ajax-functions.php:1029
972
+ #: ../lib/yasr-ajax-functions.php:1037 ../lib/yasr-ajax-functions.php:1044
 
973
  msgid "Average rating"
974
  msgstr "Durchschnittsbewertung"
975
 
976
+ #: ../lib/yasr-ajax-functions.php:1002 ../lib/yasr-ajax-functions.php:1010
977
+ #: ../lib/yasr-ajax-functions.php:1018 ../lib/yasr-ajax-functions.php:1030
978
+ #: ../lib/yasr-ajax-functions.php:1038 ../lib/yasr-ajax-functions.php:1045
979
  msgid "Vote Saved"
980
  msgstr "Bewertung gespeichert"
981
 
982
+ #: ../lib/yasr-ajax-functions.php:1135 ../lib/yasr-ajax-functions.php:1143
983
+ #: ../lib/yasr-ajax-functions.php:1151
 
984
  msgid "Vote Updated"
985
+ msgstr "Bewertung aktualisiert"
986
 
987
+ #: ../lib/yasr-ajax-functions.php:1186 ../lib/yasr-ajax-functions.php:1192
988
+ #: ../lib/yasr-ajax-functions.php:1198 ../lib/yasr-ajax-functions.php:1207
 
989
  msgid "Average "
990
  msgstr "Durchschnitt"
991
 
992
+ #: ../lib/yasr-ajax-functions.php:1265 ../lib/yasr-ajax-functions.php:1300
993
  msgid "Total:"
994
  msgstr "Gesamt:"
995
 
996
+ #: ../lib/yasr-ajax-functions.php:1265 ../lib/yasr-ajax-functions.php:1300
997
  msgid "Average"
998
  msgstr "Durchschnitt"
999
 
1000
+ #, fuzzy
1001
+ #~ msgid " rating "
1002
+ #~ msgstr "Noch keine Bewertung"
1003
+
1004
+ #~ msgid " out of "
1005
+ #~ msgstr " von "
1006
+
1007
+ #~ msgid " based on "
1008
+ #~ msgstr " Sternen basierend auf "
1009
+
1010
+ #~ msgid "Top 10 by visitors"
1011
+ #~ msgstr "Top 10 Artikel/Seiten von Besuchern"
1012
+
1013
+ #~ msgid "Manage multi-set"
1014
+ #~ msgstr "Multi-Set verwalten"
1015
+
1016
  #~ msgid "You don't have any user votes stored"
1017
  #~ msgstr "Es sind keine Besucher-Bewertungen gespeichert"
1018
 
1025
 
1026
  #~ msgid "User "
1027
  #~ msgstr "Nutzer"
 
 
 
languages/yasr-it_IT.mo CHANGED
Binary file
languages/yasr-it_IT.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Yasr Translation\n"
4
- "POT-Creation-Date: 2014-08-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"
@@ -16,151 +16,167 @@ msgstr ""
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
@@ -206,15 +222,15 @@ msgstr ""
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
@@ -226,14 +242,19 @@ msgstr ""
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"
@@ -241,118 +262,124 @@ 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 ""
@@ -360,114 +387,129 @@ msgid ""
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
@@ -475,309 +517,412 @@ 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"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Yasr Translation\n"
4
+ "POT-Creation-Date: 2014-08-19 14:02+0100\n"
5
+ "PO-Revision-Date: 2014-08-19 14:24+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: it\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:97
20
+ #: ../lib/yasr-ajax-functions.php:236 ../lib/yasr-ajax-functions.php:760
21
  msgid "You do not have sufficient permissions to access this page."
22
+ msgstr "Non hai permeessi sufficienti per accedere a questa pagina"
23
 
24
  #: ../yasr-settings-page.php:56
 
25
  msgid "General Settings"
26
+ msgstr "Impostazioni generali"
27
 
28
  #: ../yasr-settings-page.php:57
29
  msgid "Multi Sets"
30
+ msgstr "Set Multipli"
31
 
32
  #: ../yasr-settings-page.php:58
33
  msgid "Styles"
34
+ msgstr "Stili"
35
 
36
+ #: ../yasr-settings-page.php:74 ../yasr-settings-page.php:267
37
  msgid "Save"
38
+ msgstr "Salva"
39
 
40
+ #: ../yasr-settings-page.php:80 ../yasr-settings-page.php:237
41
+ #: ../yasr-settings-page.php:274 ../yasr-settings-page.php:298
42
  msgid "Donations"
43
+ msgstr "Donazioni"
44
 
45
+ #: ../yasr-settings-page.php:82 ../yasr-settings-page.php:239
46
+ #: ../yasr-settings-page.php:276 ../yasr-settings-page.php:300
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
+ "Se trovi questo plugin utile, per favore considera di fare una donazione per "
52
+ "supportarne lo sviluppo. Il tuo aiuto sarà molto apprezzato! P.s. YASR è "
53
+ "made in Italy ;)"
54
 
55
+ #: ../yasr-settings-page.php:84 ../yasr-settings-page.php:241
56
+ #: ../yasr-settings-page.php:278 ../yasr-settings-page.php:302
57
  msgid "Thank you!"
58
+ msgstr "Grazie!"
59
 
60
  #: ../yasr-settings-page.php:104
61
  msgid "Import Gd Star Rating"
62
+ msgstr "Importa Gd Star Rating"
63
 
64
  #: ../yasr-settings-page.php:105
65
+ msgid "I've found a previous installation of Gd Star Rating."
66
+ msgstr "Ho trovato un'installazione precedentedente di Gd Star Rating"
67
+
68
+ #: ../yasr-settings-page.php:105
69
+ msgid "Do you want proceed to import data?"
70
+ msgstr "Vuoi procedere nell'importazione dei dati?"
71
 
72
  #: ../yasr-settings-page.php:107
73
  msgid "Yes, Begin Import"
74
+ msgstr "Si, Inizia"
75
 
76
  #: ../yasr-settings-page.php:111
77
+ msgid "Click on Proceed to import Gd Star Rating data."
78
+ msgstr "Clicca su Procedi per importare i dati di Gd Star Rating"
79
 
80
  #: ../yasr-settings-page.php:114 ../yasr-settings-page.php:147
81
  msgid "Proceed"
82
+ msgstr "Procedi"
83
 
84
  #: ../yasr-settings-page.php:136
85
  msgid "Manage GD Star Data"
86
+ msgstr "Gestisci dati di GD Star Rating"
87
 
88
  #: ../yasr-settings-page.php:137
89
  msgid "Gd Star Rating has been already imported."
90
+ msgstr "Gd Star Rating è stato già importato"
91
 
92
  #: ../yasr-settings-page.php:138
93
  msgid "If you wish you can import it again, but"
94
+ msgstr "Se vuoi lo puoi importare di nuovo, ma"
95
 
96
  #: ../yasr-settings-page.php:138
97
  msgid "you will lose all data you've collect since the import!"
98
+ msgstr "perderai tutti i dati che hai realizzato dall'import in poi!"
99
 
100
  #: ../yasr-settings-page.php:140
101
  msgid "Ok, Import Again"
102
+ msgstr "Ok, importa nuovamente"
103
 
104
  #: ../yasr-settings-page.php:144
105
  msgid ""
106
+ "Click on Proceed to import again Gd Star Rating data. This may take a while!"
107
  msgstr ""
108
+ "Clicca su Procedi per importare di nuovo i dati di Gd Star Rating. Potrebbe "
109
+ "richiedere un pò di tempo!"
110
 
111
  #: ../yasr-settings-page.php:185
112
+ msgid "Manage Multi Set"
113
+ msgstr "Set Multipli"
114
 
115
  #: ../yasr-settings-page.php:189
116
+ msgid "What is a Multi Set?"
117
+ msgstr "Che cos'è un Set Multiplo?"
118
 
119
  #: ../yasr-settings-page.php:194
120
  msgid ""
121
+ "Multi Set allows you to insert a rate for each aspect about the product / "
122
+ "local business / whetever you're reviewing, example in the image below."
 
123
  msgstr ""
124
+ "I Set Multipli ti permettono di inserire un voto per ogni aspetto del "
125
+ "prodotto / attività / qualsiasi cosa tua stia recensendo, esempio "
126
+ "nell'immagine sottostante."
127
 
128
+ #: ../yasr-settings-page.php:198
129
  msgid ""
130
+ "You can create up to 99 different Multi Set and each one can contain up to 9 "
131
+ "different fields. Once you've saved it, you can insert the rates while "
132
+ "typing your article in the box below the editor, as you can see in this "
133
+ "image (click to see it larger)"
 
134
  msgstr ""
135
+ "Puoi creare fino a 99 diversi Set Multipli ognuno dei quali può contenere "
136
+ "fino a 9 diversi campi. Una volta salvato, puoi inserire i voti mentre stai "
137
+ "scrivendo il tuo articolo nel box sotto l'editor, come puoi vedere in questa "
138
+ "immagine (clicca per allargare)"
139
 
140
+ #: ../yasr-settings-page.php:202
141
  msgid ""
142
+ "In order to insert your Multi Sets into a post or page, you can either past "
143
+ "the short code that will appear at the bottom of the box or just click on "
144
+ "the star in the graphic editor and select \"Insert Multi Set\"."
 
145
  msgstr ""
146
+ "Per inserire i tuoi Set Multipli all'interno di un post o una pagina, puoi "
147
+ "sia incollare il codice che appare nel box in basso, o semplicemente "
148
+ "cliccare sulla stella presente nell'editor visuale e selezionare \"Inserisci "
149
+ "Set Multiplo\""
150
 
151
+ #: ../yasr-settings-page.php:208
152
  msgid "Close this message"
153
+ msgstr "Chiudi questo messaggio"
154
 
155
  #: ../yasr-metabox-multiple-rating.php:15
156
  msgid "Choose wich set you want to use"
157
+ msgstr "Scegli che set vuoi usare"
158
 
159
  #: ../yasr-metabox-multiple-rating.php:26
160
  #: ../lib/yasr-settings-functions.php:372
161
  msgid "Select"
162
+ msgstr "Seleziona"
163
 
164
+ #: ../yasr-metabox-overall-rating.php:14
165
  msgid "Rate this article / item"
166
+ msgstr "Vota questo articolo / oggetto"
167
 
168
+ #: ../yasr-metabox-overall-rating.php:22
169
  #: ../lib/yasr-shortcode-functions.php:125 ../lib/yasr-functions.php:266
170
  msgid "Loading, please wait"
171
+ msgstr "Caricamento, attendere prego"
172
 
173
+ #: ../yasr-metabox-overall-rating.php:37
174
  msgid ""
175
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
176
  "where you want to display this rating"
177
  msgstr ""
178
+ "Ricorda di inserire questo shortcode <strong>[yasr_overall_rating]</strong> "
179
+ "dove vuoi far apparire questo voto"
180
 
181
  #: ../lib/yasr-shortcode-functions.php:156
182
  #: ../lib/yasr-shortcode-functions.php:168
222
  #: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
223
  #: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
224
  #: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
225
+ #: ../lib/yasr-functions.php:607 ../lib/yasr-ajax-functions.php:1001
226
+ #: ../lib/yasr-ajax-functions.php:1009 ../lib/yasr-ajax-functions.php:1017
227
+ #: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1037
228
+ #: ../lib/yasr-ajax-functions.php:1044 ../lib/yasr-ajax-functions.php:1134
229
+ #: ../lib/yasr-ajax-functions.php:1142 ../lib/yasr-ajax-functions.php:1150
230
+ #: ../lib/yasr-ajax-functions.php:1186 ../lib/yasr-ajax-functions.php:1192
231
+ #: ../lib/yasr-ajax-functions.php:1198 ../lib/yasr-ajax-functions.php:1207
232
  msgid "Total: "
233
+ msgstr "Voti: "
234
 
235
  #: ../lib/yasr-shortcode-functions.php:157
236
  #: ../lib/yasr-shortcode-functions.php:212
242
  #: ../lib/yasr-functions.php:457 ../lib/yasr-functions.php:517
243
  #: ../lib/yasr-functions.php:573
244
  msgid "You've already voted this article with"
245
+ msgstr "Hai già votato questo articolo con "
246
 
247
  #: ../lib/yasr-shortcode-functions.php:241
248
+ #: ../lib/yasr-shortcode-functions.php:247
249
  #: ../lib/yasr-shortcode-functions.php:357
250
+ #: ../lib/yasr-shortcode-functions.php:363
251
+ #: ../lib/yasr-shortcode-functions.php:473
252
+ #: ../lib/yasr-shortcode-functions.php:479 ../lib/yasr-functions.php:370
253
+ #: ../lib/yasr-functions.php:376 ../lib/yasr-functions.php:486
254
+ #: ../lib/yasr-functions.php:492 ../lib/yasr-functions.php:602
255
+ #: ../lib/yasr-functions.php:608
256
  msgid "You must sign to vote"
257
+ msgstr "Devi fare il login per votare"
258
 
259
  #: ../lib/yasr-shortcode-functions.php:698
260
  msgid "Rating"
262
 
263
  #: ../lib/yasr-shortcode-functions.php:712
264
  msgid "You don't have any votes stored"
265
+ msgstr "Non hai alcun voto salvato"
266
 
267
  #: ../lib/yasr-shortcode-functions.php:726
268
  msgid "Chart is loading, please wait"
269
+ msgstr "Caricamento classifica, attendere prego"
270
 
271
  #: ../lib/yasr-shortcode-functions.php:855
272
  msgid ""
273
  "Problem while retriving the top 5 most active reviewers. Did you published "
274
  "any review?"
275
  msgstr ""
276
+ "C'è stato un problema nell'ottenere la classifica dei 5 recensori più "
277
+ "attivi. Hai pubblicato qualche recensione?"
278
 
279
  #: ../lib/yasr-shortcode-functions.php:923
280
  msgid ""
281
  "Problem while retriving the top 10 active users chart. Are you sure you have "
282
  "votes to show?"
283
  msgstr ""
284
+ "C'è stato un problema nell'ottenere la classifica dei 10 utenti più attivi. "
285
+ "Sei sicuro di avere voti da mostrare?"
286
 
287
  #: ../lib/yasr-settings-functions.php:31
288
  msgid "General settings"
289
+ msgstr "Impostazioni Generali"
290
 
291
  #: ../lib/yasr-settings-functions.php:32
292
  msgid "Auto insert options"
293
+ msgstr "Opzioni inserimento automatico"
294
 
295
  #: ../lib/yasr-settings-functions.php:33
296
+ msgid "Show \"Overall Rating\" in Home Page?"
297
+ msgstr "Mostrare il Voto Complessivo nella Home Page?"
298
 
299
  #: ../lib/yasr-settings-functions.php:34
300
  msgid "Insert custom text to show before / after stars"
301
+ msgstr "Inserisci testo personalizzato da mostrare prima / dopo le stelle"
302
 
303
  #: ../lib/yasr-settings-functions.php:35
304
  msgid "Which color scheme do you want to use?"
305
+ msgstr "Che schema di colori vuoi usare?"
306
 
307
  #: ../lib/yasr-settings-functions.php:36
308
  msgid "Allow only logged in user to vote?"
309
+ msgstr "Permettere la votazione ai soli utenti loggati?"
310
 
311
  #: ../lib/yasr-settings-functions.php:37
312
  msgid "Which rich snippets do you want to use?"
313
+ msgstr "Quale rich snippets vuoi usare?"
314
 
315
  #: ../lib/yasr-settings-functions.php:51
316
  msgid "Use Auto Insert?"
317
+ msgstr "Usare l'inserimento automatico?"
318
 
319
  #: ../lib/yasr-settings-functions.php:54
320
  #: ../lib/yasr-settings-functions.php:129
321
  #: ../lib/yasr-settings-functions.php:149
322
  #: ../lib/yasr-settings-functions.php:174
323
  msgid "Yes"
324
+ msgstr "Si"
325
 
326
  #: ../lib/yasr-settings-functions.php:74
327
  #: ../lib/yasr-settings-functions.php:134
328
  #: ../lib/yasr-settings-functions.php:154
329
  #: ../lib/yasr-settings-functions.php:191
330
  msgid "No"
331
+ msgstr "No"
332
 
333
  #: ../lib/yasr-settings-functions.php:80
334
  msgid "What?"
335
+ msgstr "Cosa?"
336
 
337
  #: ../lib/yasr-settings-functions.php:83
 
338
  msgid "Overall Rating / Author Rating"
339
+ msgstr "Voto Complessivo / Voto Autore"
340
 
341
+ #: ../lib/yasr-settings-functions.php:87 ../lib/yasr-ajax-functions.php:363
342
  msgid "Visitor Votes"
343
+ msgstr "Voto Utenti"
344
 
345
  #: ../lib/yasr-settings-functions.php:91
346
  msgid "Both"
347
+ msgstr "Entrambi"
348
 
349
  #: ../lib/yasr-settings-functions.php:95
350
  msgid "Where?"
351
+ msgstr "Dove?"
352
 
353
  #: ../lib/yasr-settings-functions.php:98
354
  msgid "Before the post"
355
+ msgstr "Prima del contenuto"
356
 
357
  #: ../lib/yasr-settings-functions.php:102
358
  msgid "After the post"
359
+ msgstr "Dopo il contenuto"
360
 
361
  #: ../lib/yasr-settings-functions.php:107
362
  msgid "Size"
363
+ msgstr "Grandezza"
364
 
365
+ #: ../lib/yasr-settings-functions.php:111 ../lib/yasr-ajax-functions.php:353
366
+ #: ../lib/yasr-ajax-functions.php:371
367
  msgid "Small"
368
+ msgstr "Piccolo"
369
 
370
+ #: ../lib/yasr-settings-functions.php:116 ../lib/yasr-ajax-functions.php:354
371
+ #: ../lib/yasr-ajax-functions.php:372
372
  msgid "Medium"
373
+ msgstr "Medio"
374
 
375
+ #: ../lib/yasr-settings-functions.php:121 ../lib/yasr-ajax-functions.php:355
376
+ #: ../lib/yasr-ajax-functions.php:373
377
  msgid "Large"
378
+ msgstr "Grande"
379
 
380
  #: ../lib/yasr-settings-functions.php:126
381
  msgid "Exclude Pages?"
382
+ msgstr "Escludere pagine?"
383
 
384
  #: ../lib/yasr-settings-functions.php:158
385
  msgid ""
387
  "article or page, but also in pages like Home Page, category pages or "
388
  "archives."
389
  msgstr ""
390
+ "Se abilitato, il \"Voto Complessivo\" non sarà visualizzato solo nel singolo "
391
+ "articolo o nella singola pagina, ma anche in pagine come l' Home Page, "
392
+ "categorie o archivi"
393
 
394
  #: ../lib/yasr-settings-functions.php:198
395
+ msgid "Custom text to display before Overall Rating"
396
+ msgstr "Testo personalizzato da visualizzare prima del Voto Complessivo"
397
 
398
  #: ../lib/yasr-settings-functions.php:203
399
+ msgid "Custom text to display before Visitor Rating"
400
+ msgstr "Testo personalizzato da visualizzare prima del Voto Complessivo"
401
 
402
  #: ../lib/yasr-settings-functions.php:208
403
  msgid "Custom text to display when a non logged user has already rated"
404
  msgstr ""
405
+ "Testo personalizzato da mostrare quanto un utente non loggato ha già votato"
406
 
407
  #: ../lib/yasr-settings-functions.php:224
408
  msgid "Light"
409
+ msgstr "Chiaro"
410
 
411
  #: ../lib/yasr-settings-functions.php:229
412
  msgid "Dark"
413
+ msgstr "Scuro"
414
 
415
  #: ../lib/yasr-settings-functions.php:234
416
  msgid "Preview"
417
+ msgstr "Anteprima"
418
 
419
  #: ../lib/yasr-settings-functions.php:239
420
  msgid "Light theme"
421
+ msgstr "Tema chiaro"
422
 
423
  #: ../lib/yasr-settings-functions.php:244
424
  msgid "Dark Theme"
425
+ msgstr "Tema scuro"
426
 
427
  #: ../lib/yasr-settings-functions.php:262
428
  msgid "Allow only logged-in users"
429
+ msgstr "Permetti solo agli utenti loggati"
430
 
431
  #: ../lib/yasr-settings-functions.php:266
432
  msgid "Allow everybody (logged in and anonymous)"
433
+ msgstr "Permetti a tutti (loggati ed anonimi)"
434
 
435
  #: ../lib/yasr-settings-functions.php:283
436
  msgid "Review Rating"
437
+ msgstr "Voto Recensione"
438
 
439
  #: ../lib/yasr-settings-functions.php:287
440
  msgid "Aggregate Rating"
441
+ msgstr "Media Voto Utenti"
442
 
443
  #: ../lib/yasr-settings-functions.php:292
444
  msgid "What is this?"
445
+ msgstr "Cos'è questo?"
446
 
447
  #: ../lib/yasr-settings-functions.php:297
448
  msgid ""
449
  "If you select \"Review Rating\", your site will be indexed from search "
450
  "engines like this: "
451
  msgstr ""
452
+ "Se hai scelto \"Voto Recensione\", il sito verrà indicizzato dai motori di "
453
+ "ricerca così:"
454
 
455
  #: ../lib/yasr-settings-functions.php:302
456
  msgid ""
457
  "If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
458
  "this"
459
  msgstr ""
460
+ "Se, invece, hai scelto \"Media Voto Utenti\", il sito verrà indicizzato così"
461
+
462
+ #: ../lib/yasr-settings-functions.php:317
463
+ msgid "Add New Multiple Set"
464
+ msgstr "Set Multipli"
465
 
466
  #: ../lib/yasr-settings-functions.php:318
467
  msgid ""
468
+ "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
469
+ "characters"
470
  msgstr ""
471
+ "Nome, Elemento#1 e Elemento#2 DEVONO essere riempiti e devono essere lunghi "
472
+ "almeno 3 caratteri"
473
 
474
  #: ../lib/yasr-settings-functions.php:321
475
  msgid "Name"
476
+ msgstr "Nome"
477
 
478
  #: ../lib/yasr-settings-functions.php:326
479
  msgid "You can insert up to nine element"
480
+ msgstr "Puoi inserire fino a nove elementi"
481
 
482
  #: ../lib/yasr-settings-functions.php:331
483
  msgid "Element "
484
+ msgstr "Elemento"
485
 
486
  #: ../lib/yasr-settings-functions.php:341
487
  msgid "Create New Set"
488
+ msgstr "Crea Nuovo Set"
489
 
490
  #: ../lib/yasr-settings-functions.php:362
491
+ #: ../lib/yasr-settings-functions.php:394
492
  msgid "Manage Multiple Set"
493
+ msgstr "Gestisci Set Multiplo"
494
 
495
  #: ../lib/yasr-settings-functions.php:364
496
  msgid "Wich set do you want to edit or remove?"
497
+ msgstr "Quale set vuoi modificare o rimuovere"
498
 
499
  #: ../lib/yasr-settings-functions.php:404
500
  #: ../lib/yasr-settings-functions.php:522
501
  msgid "Field name"
502
+ msgstr "Nome campo"
503
 
504
  #: ../lib/yasr-settings-functions.php:408
505
  #: ../lib/yasr-settings-functions.php:526
506
  msgid "Remove"
507
+ msgstr "Rimuovi"
508
 
509
  #: ../lib/yasr-settings-functions.php:450
510
+ #: ../lib/yasr-settings-functions.php:568
511
  msgid "Remove whole set?"
512
+ msgstr "Rimuovere l'intero set?"
513
 
514
  #: ../lib/yasr-settings-functions.php:463
515
  #: ../lib/yasr-settings-functions.php:581
517
  "If you remove something you will remove all the votes for that set or field. "
518
  "This operation CAN'T BE undone."
519
  msgstr ""
520
+ "Se rimuovi qualcosa rimuoverai anche i voti per quel set o campo. Questa "
521
+ "operazione NON PUÒ ESSERE ANNULLATA"
522
 
523
  #: ../lib/yasr-settings-functions.php:470
524
  #: ../lib/yasr-settings-functions.php:588
525
  msgid "You can use up to 9 elements"
526
+ msgstr "Puoi usare fino a 9 elementi"
527
 
528
  #: ../lib/yasr-settings-functions.php:472
529
  #: ../lib/yasr-settings-functions.php:590
530
  msgid "Add element"
531
+ msgstr "Aggiungi elemento"
532
 
533
  #: ../lib/yasr-settings-functions.php:474
534
  #: ../lib/yasr-settings-functions.php:592
535
  msgid "Save changes"
536
+ msgstr "Salva modifiche"
537
 
538
  #: ../lib/yasr-settings-functions.php:484
539
+ msgid "No Multiple Set were found"
540
+ msgstr "Nessun Set Multiplo trovato"
541
 
542
  #: ../lib/yasr-settings-functions.php:734
543
  #: ../lib/yasr-settings-functions.php:1002
 
544
  msgid "Settings Saved"
545
+ msgstr "Impostazioni Salvate"
546
 
547
  #: ../lib/yasr-settings-functions.php:739
548
  msgid "Something goes wrong trying insert set field name. Please report it"
549
  msgstr ""
550
+ "Qualcosa è andato storto cercando di inserire un elemento. Per favore "
551
+ "segnalalo"
552
 
553
  #: ../lib/yasr-settings-functions.php:745
554
+ msgid "Something goes wrong trying insert Multi Set name. Please report it"
555
  msgstr ""
556
+ "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
557
+ "favore segnalalo"
558
 
559
  #: ../lib/yasr-settings-functions.php:820
560
+ msgid "Something goes wrong trying to delete a Multi Set . Please report it"
561
  msgstr ""
562
+ "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
563
+ "favore segnalalo"
564
 
565
  #: ../lib/yasr-settings-functions.php:866
566
  msgid ""
567
+ "Something goes wrong trying to delete a Multi Set's element. Please report it"
568
  msgstr ""
569
+ "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
570
+ "favore segnalalo"
571
 
572
  #: ../lib/yasr-settings-functions.php:930
573
  msgid ""
574
+ "Something goes wrong trying to update a Multi Set's element. Please report it"
575
  msgstr ""
576
+ "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
577
+ "favore segnalalo"
578
 
579
  #: ../lib/yasr-settings-functions.php:987
580
  msgid ""
581
  "Something goes wrong trying to insert set field name in edit form. Please "
582
  "report it"
583
  msgstr ""
584
+ "Qualcosa è andato storto cercando di inserire il campo nel form di modifica. "
585
+ "Per favore segnalalo"
586
 
587
  #: ../lib/yasr-settings-functions.php:1030
588
  msgid "Style Options"
589
+ msgstr "Opzioni Stili"
590
 
591
  #: ../lib/yasr-settings-functions.php:1031
592
  msgid "Custom CSS Styles"
593
+ msgstr "Stili CSS Personalizzati"
594
 
595
  #: ../lib/yasr-settings-functions.php:1036
596
  msgid ""
597
  "Please use text area below to write your own CSS styles to override the "
598
  "default ones."
599
  msgstr ""
600
+ "Usa l'area di testo sottostante per scrivere le tue regole CSS che "
601
+ "sovrascriveranno quelle di default"
602
 
603
  #: ../lib/yasr-settings-functions.php:1038
604
  msgid "Leave it blank if you don't know what you're doing"
605
+ msgstr "Lascialo vuoto se non stai cosa stai facendo"
606
 
607
  #: ../lib/yasr-settings-functions.php:1071
608
+ msgid "No previous Gd Star Rating installation was found"
609
+ msgstr "Installazione precedente di Gd Star Rating non stata trovata"
610
 
611
+ #: ../lib/yasr-db-functions.php:214 ../lib/yasr-ajax-functions.php:772
612
  msgid "No Recenet votes yet"
613
+ msgstr "Ancora nessun voto recente"
614
 
615
+ #: ../lib/yasr-db-functions.php:229 ../lib/yasr-ajax-functions.php:785
616
  msgid "anonymous"
617
+ msgstr "anonimo"
618
 
619
+ #: ../lib/yasr-db-functions.php:252 ../lib/yasr-ajax-functions.php:808
620
  msgid "Ip address"
621
+ msgstr "Indirizzo Ip"
622
 
623
+ #: ../lib/yasr-db-functions.php:293 ../lib/yasr-ajax-functions.php:849
624
  msgid "Pages"
625
+ msgstr "Pagine"
626
 
627
  #: ../lib/yasr-functions.php:63 ../lib/yasr-functions.php:64
628
  msgid "Yet Another Stars Rating: Settings"
629
+ msgstr "Yet Another Stars Rating: Impostazioni"
630
 
631
  #: ../lib/yasr-functions.php:107 ../lib/yasr-functions.php:114
 
632
  msgid "Overall Rating"
633
  msgstr "Voto Complessivo"
634
 
635
  #: ../lib/yasr-functions.php:108
636
  msgid "Yet Another Stars Rating: Multiple set"
637
+ msgstr "Yet Another Stars Rating: Set Multipli"
638
 
639
  #: ../lib/yasr-functions.php:124
640
+ msgid "You don't have enought privileges to insert Overall Rating"
641
+ msgstr "Non hai permessi sufficienti per inserire il Voto Complessivo"
642
 
643
  #: ../lib/yasr-functions.php:134
644
+ msgid "You don't have enought privileges to insert Multi Set"
645
+ msgstr "Non hai abbastanza permessi per inserire un Multi Set"
646
+
647
+ #: ../lib/yasr-functions.php:285 ../lib/yasr-functions.php:297
648
+ #: ../lib/yasr-functions.php:302 ../lib/yasr-functions.php:315
649
+ #: ../lib/yasr-functions.php:320 ../lib/yasr-functions.php:340
650
+ #: ../lib/yasr-functions.php:349 ../lib/yasr-functions.php:355
651
+ #: ../lib/yasr-functions.php:369 ../lib/yasr-functions.php:375
652
+ #: ../lib/yasr-functions.php:400 ../lib/yasr-functions.php:412
653
+ #: ../lib/yasr-functions.php:417 ../lib/yasr-functions.php:430
654
+ #: ../lib/yasr-functions.php:435 ../lib/yasr-functions.php:456
655
+ #: ../lib/yasr-functions.php:465 ../lib/yasr-functions.php:471
656
+ #: ../lib/yasr-functions.php:485 ../lib/yasr-functions.php:491
657
+ #: ../lib/yasr-functions.php:516 ../lib/yasr-functions.php:528
658
+ #: ../lib/yasr-functions.php:533 ../lib/yasr-functions.php:546
659
+ #: ../lib/yasr-functions.php:551 ../lib/yasr-functions.php:572
660
+ #: ../lib/yasr-functions.php:581 ../lib/yasr-functions.php:587
661
+ #: ../lib/yasr-functions.php:601 ../lib/yasr-functions.php:607
662
+ msgid "Average: "
663
+ msgstr "Media Voto: "
664
 
665
  #: ../lib/yasr-functions.php:842
666
  msgid " reviewed by "
667
+ msgstr " recensito da "
668
 
669
  #: ../lib/yasr-functions.php:843
670
  msgid " on "
671
+ msgstr " il "
672
 
673
+ #: ../lib/yasr-functions.php:844
674
  msgid " rated "
675
+ msgstr " votato "
676
 
677
  #: ../lib/yasr-functions.php:844
678
  msgid " on 5.0"
679
+ msgstr " su 5.0 "
680
 
681
  #: ../lib/yasr-functions.php:888
682
+ msgid " average rating "
683
+ msgstr " media voto "
 
 
 
 
684
 
685
  #: ../lib/yasr-functions.php:889
686
  msgid " user ratings"
687
+ msgstr " voti utenti "
688
+
689
+ #: ../lib/yasr-ajax-functions.php:67
690
+ msgid "You've rated it "
691
+ msgstr "Voto assegnato "
692
+
693
+ #: ../lib/yasr-ajax-functions.php:71
694
+ msgid "You've reset the vote"
695
+ msgstr "Hai resettato il voto"
696
 
697
+ #: ../lib/yasr-ajax-functions.php:108
698
  msgid "Choose a vote for each element"
699
+ msgstr "Scegli un voto per ogni elemento"
700
 
701
+ #: ../lib/yasr-ajax-functions.php:164 ../lib/yasr-ajax-functions.php:207
702
  msgid "Remember to insert this shortcode"
703
+ msgstr "Ricorda di inserire questo shortcode"
704
 
705
+ #: ../lib/yasr-ajax-functions.php:166 ../lib/yasr-ajax-functions.php:209
706
  msgid "where you want to display this multi set"
707
+ msgstr "dove vuoi mostrare questo Multi Set"
708
 
709
+ #: ../lib/yasr-ajax-functions.php:174
710
  msgid "Choose a vote for every element"
711
+ msgstr "Scegli un voto per ogni elemento"
712
+
713
+ #: ../lib/yasr-ajax-functions.php:333
714
+ msgid "Main"
715
  msgstr ""
716
 
717
+ #: ../lib/yasr-ajax-functions.php:334
718
+ msgid "Charts"
719
+ msgstr "Classifiche"
720
+
721
+ #: ../lib/yasr-ajax-functions.php:336
722
+ msgid "Read the doc"
723
+ msgstr "Leggi la documentazione"
724
+
725
+ #: ../lib/yasr-ajax-functions.php:345
726
  msgid "Overall Rating / Review"
727
  msgstr "Voto Complessivo"
728
 
729
+ #: ../lib/yasr-ajax-functions.php:347
730
+ msgid "Insert Overall Rating"
731
+ msgstr "Inserisci Voto Complessivo"
732
+
733
+ #: ../lib/yasr-ajax-functions.php:348
734
  msgid "Insert Overall Rating / Review for this post"
735
+ msgstr "Inserisci Voto Complessivo / Recensione per questo post"
736
 
737
+ #: ../lib/yasr-ajax-functions.php:351 ../lib/yasr-ajax-functions.php:369
738
  msgid "Choose Size"
739
+ msgstr "Scegli la grandezza"
740
 
741
+ #: ../lib/yasr-ajax-functions.php:365
742
+ msgid "Insert Visitor Votes"
743
+ msgstr "Inserisci Voti Utenti"
744
+
745
+ #: ../lib/yasr-ajax-functions.php:366
746
  msgid "Insert the ability for your visitor to vote"
747
+ msgstr "Permetti ai tuoi visitatori di votare"
748
 
749
+ #: ../lib/yasr-ajax-functions.php:383
750
+ msgid "If you want to insert a Multi Set, pick one:"
751
+ msgstr "Se vuoi inserire un Set Multiplo, scegline uno:"
752
 
753
+ #: ../lib/yasr-ajax-functions.php:389
754
  msgid "Choose wich set you want to insert."
755
+ msgstr "Scegli quale Set Multiplo inserire"
756
 
757
+ #: ../lib/yasr-ajax-functions.php:397
758
  msgid "Insert Multiset:"
759
+ msgstr "Inserisci Set Multiplo:"
760
 
761
+ #: ../lib/yasr-ajax-functions.php:400
762
+ msgid "Insert Multiple Set"
763
+ msgstr "Inserisci Set Multiplo"
764
+
765
+ #: ../lib/yasr-ajax-functions.php:401
766
+ msgid "Insert multiple set in this post ?"
767
+ msgstr "Vuoi inserire il Set Multiplo per questo post ?"
768
+
769
+ #: ../lib/yasr-ajax-functions.php:416
770
+ msgid "Top 10 Overall Ratings"
771
+ msgstr "Top 10 Voti Complessivi"
772
+
773
+ #: ../lib/yasr-ajax-functions.php:417
774
+ msgid "Insert Top 10 highest rated"
775
+ msgstr "Inserisci i 10 con voto più alto"
776
 
777
+ #: ../lib/yasr-ajax-functions.php:418
778
  msgid "Insert Top 10 highest rated by post author"
779
+ msgstr "Inserisci le prime 10 recensioni con voto più alto messo dall'autore"
780
 
781
+ #: ../lib/yasr-ajax-functions.php:422
782
+ msgid "Top 10 Visitor Ratings"
783
+ msgstr "Top 10 Voti Complessivi"
784
 
785
+ #: ../lib/yasr-ajax-functions.php:423
786
+ msgid "Insert Top 10 posts by visitors"
787
+ msgstr "Inserisci i Top 10 post "
788
+
789
+ #: ../lib/yasr-ajax-functions.php:424
790
  msgid "Insert Top 10 most or higher rated posts from visitors"
791
  msgstr ""
792
+ "Inserisci le prime 10 recensioni più votate / o con voto più alto dai "
793
+ "visitatori"
794
 
795
+ #: ../lib/yasr-ajax-functions.php:428
796
  msgid "Most active reviewers"
797
+ msgstr "Recensori più attivi"
798
 
799
+ #: ../lib/yasr-ajax-functions.php:429
800
+ msgid "Insert Top 5 most active reviewers"
801
+ msgstr "Inserisci i 5 recensori più attivi"
802
+
803
+ #: ../lib/yasr-ajax-functions.php:430
804
  msgid "Insert Top 5 active reviewers"
805
+ msgstr "Inserisci i 5 recensori più attivi"
806
 
807
+ #: ../lib/yasr-ajax-functions.php:434
808
  msgid "Most active users"
809
+ msgstr "Utenti più attivi"
810
 
811
+ #: ../lib/yasr-ajax-functions.php:435
812
+ msgid "Insert Top 10 most active users"
813
+ msgstr "Inserisci i 10 utenti più attivi"
814
 
815
+ #: ../lib/yasr-ajax-functions.php:436
816
+ msgid "Insert Top 10 active users in Visitor Ratings"
817
+ msgstr "Inserisci gli utenti che hanno inserito più voti in Voti Utenti"
818
+
819
+ #: ../lib/yasr-ajax-functions.php:630
820
+ msgid "Reviews and Visitor Votes have been successfull imported."
821
+ msgstr "Recensioni e Voti utenti sono stati importati con successo."
822
 
823
+ #: ../lib/yasr-ajax-functions.php:636
824
  msgid ""
825
+ "Step2: I will check if you used Multiple Sets and if so I will import them. "
826
  "THIS MAY TAKE A WHILE!"
827
  msgstr ""
828
+ "Step2: Contrellerò se hai usato Set Multipli e se li trovo l'importerò: PUÒ "
829
+ "RICHIEDERE UN PÒ DI TEMPO!"
830
 
831
+ #: ../lib/yasr-ajax-functions.php:638
832
  msgid "Proceed Step 2"
833
+ msgstr "Procedi Step 2"
834
 
835
+ #: ../lib/yasr-ajax-functions.php:645
836
  msgid "Something goes wrong! Refresh the page and try again!"
837
+ msgstr "Qualcosa è andato storto! Aggiorna la pagina e prova ancora!"
838
 
839
+ #: ../lib/yasr-ajax-functions.php:674
840
+ msgid "I've found Multiple Set! Importing..."
841
+ msgstr "Set Multipli trovati! Importazione..."
842
 
843
+ #: ../lib/yasr-ajax-functions.php:683
844
+ msgid "Multi Set's name has been successfull imported."
845
+ msgstr "I nomi dei Set Multipli sono stati importati con successo"
846
 
847
+ #: ../lib/yasr-ajax-functions.php:685
848
+ msgid "Now I'm going to import Multi Set data"
849
+ msgstr "Ora importerò i dati dei Set Multipli"
850
 
851
+ #: ../lib/yasr-ajax-functions.php:696
852
  msgid "All votes has been successfull imported."
853
+ msgstr "Tutti i voti sono stati importati con successo"
854
 
855
+ #: ../lib/yasr-ajax-functions.php:698
856
  msgid "Done"
857
+ msgstr "Fatto"
858
 
859
+ #: ../lib/yasr-ajax-functions.php:703
860
+ msgid "I've found Multiple Set's votes but I couldn't insert into db"
861
+ msgstr "Ho trovato i voti per i Set Multi ma non li ho potuti inserire nel db"
862
 
863
+ #: ../lib/yasr-ajax-functions.php:711
864
+ msgid "I've found Multi Set but with no data"
865
+ msgstr "ho trovato Set Multipli ma senza dati"
866
 
867
+ #: ../lib/yasr-ajax-functions.php:720
868
+ msgid "I've found Multi Sets names but I couldn't insert into db"
869
+ msgstr "Ho trovato Set Multipli ma non li ho potuti inserire nel db"
870
 
871
+ #: ../lib/yasr-ajax-functions.php:728
872
+ msgid "Multisets were not found. Imported is done!"
873
+ msgstr "Set Multipli non trovati. Importazione dati conclusa!"
874
 
875
+ #: ../lib/yasr-ajax-functions.php:1001 ../lib/yasr-ajax-functions.php:1009
876
+ #: ../lib/yasr-ajax-functions.php:1017 ../lib/yasr-ajax-functions.php:1029
877
+ #: ../lib/yasr-ajax-functions.php:1037 ../lib/yasr-ajax-functions.php:1044
 
878
  msgid "Average rating"
879
+ msgstr "Media Voto "
880
 
881
+ #: ../lib/yasr-ajax-functions.php:1002 ../lib/yasr-ajax-functions.php:1010
882
+ #: ../lib/yasr-ajax-functions.php:1018 ../lib/yasr-ajax-functions.php:1030
883
+ #: ../lib/yasr-ajax-functions.php:1038 ../lib/yasr-ajax-functions.php:1045
884
  msgid "Vote Saved"
885
+ msgstr "Voto Salvato"
886
 
887
+ #: ../lib/yasr-ajax-functions.php:1135 ../lib/yasr-ajax-functions.php:1143
888
+ #: ../lib/yasr-ajax-functions.php:1151
889
  msgid "Vote Updated"
890
+ msgstr "Voto Aggiornato"
891
 
892
+ #: ../lib/yasr-ajax-functions.php:1186 ../lib/yasr-ajax-functions.php:1192
893
+ #: ../lib/yasr-ajax-functions.php:1198 ../lib/yasr-ajax-functions.php:1207
 
894
  msgid "Average "
895
  msgstr "Voto Complessivo"
896
 
897
+ #: ../lib/yasr-ajax-functions.php:1265 ../lib/yasr-ajax-functions.php:1300
898
  msgid "Total:"
899
+ msgstr "Voti:"
900
 
901
+ #: ../lib/yasr-ajax-functions.php:1265 ../lib/yasr-ajax-functions.php:1300
902
  msgid "Average"
903
+ msgstr "Media"
904
+
905
+ #~ msgid "'bad', 'poor', 'ok', 'good', 'super'"
906
+ #~ msgstr "'pessimo', 'scarso', 'ok', 'buono', 'super'"
907
+
908
+ #~ msgid " rating "
909
+ #~ msgstr " media voto "
910
+
911
+ #~ msgid " out of "
912
+ #~ msgstr " su "
913
+
914
+ #~ msgid " based on "
915
+ #~ msgstr " basato su "
916
+
917
+ #~ msgid ""
918
+ #~ "Something goes wrong trying to update a multi set element. Please report "
919
+ #~ "it"
920
+ #~ msgstr ""
921
+ #~ "Qualcosa è andato storto cercando di aggiornare un elemento del Set "
922
+ #~ "Multiplo. Per favore segnalalo"
923
+
924
+ #~ msgid "Top 10 by visitors"
925
+ #~ msgstr "Top 10 per gli utenti"
926
 
927
  #~ msgid "Front Page"
928
  #~ 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-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"
@@ -146,16 +146,16 @@ msgstr ""
146
  msgid "Select"
147
  msgstr ""
148
 
149
- #: ../yasr-metabox-overall-rating.php:17
150
  msgid "Rate this article / item"
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"
@@ -336,15 +336,18 @@ msgstr ""
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
 
@@ -628,10 +631,26 @@ msgstr ""
628
  msgid "Choose a vote for every element"
629
  msgstr ""
630
 
 
 
 
 
 
 
 
 
 
 
 
 
631
  #: ../lib/yasr-ajax-functions.php:337
632
  msgid "Overall Rating / Review"
633
  msgstr ""
634
 
 
 
 
 
635
  #: ../lib/yasr-ajax-functions.php:340
636
  msgid "Insert Overall Rating / Review for this post"
637
  msgstr ""
@@ -640,6 +659,10 @@ msgstr ""
640
  msgid "Choose Size"
641
  msgstr ""
642
 
 
 
 
 
643
  #: ../lib/yasr-ajax-functions.php:358
644
  msgid "Insert the ability for your visitor to vote"
645
  msgstr ""
@@ -660,6 +683,10 @@ msgstr ""
660
  msgid "Top 10 overall ratings"
661
  msgstr ""
662
 
 
 
 
 
663
  #: ../lib/yasr-ajax-functions.php:410
664
  msgid "Insert Top 10 highest rated by post author"
665
  msgstr ""
@@ -668,6 +695,10 @@ msgstr ""
668
  msgid "Top 10 by visitors"
669
  msgstr ""
670
 
 
 
 
 
671
  #: ../lib/yasr-ajax-functions.php:416
672
  msgid "Insert Top 10 most or higher rated posts from visitors"
673
  msgstr ""
@@ -676,6 +707,10 @@ msgstr ""
676
  msgid "Most active reviewers"
677
  msgstr ""
678
 
 
 
 
 
679
  #: ../lib/yasr-ajax-functions.php:422
680
  msgid "Insert Top 5 active reviewers"
681
  msgstr ""
@@ -684,6 +719,10 @@ msgstr ""
684
  msgid "Most active users"
685
  msgstr ""
686
 
 
 
 
 
687
  #: ../lib/yasr-ajax-functions.php:428
688
  msgid "Insert Top 10 active users in visitor ratings"
689
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YASR lenguages\n"
4
+ "POT-Creation-Date: 2014-08-17 14:04+0100\n"
5
+ "PO-Revision-Date: 2014-08-17 14:04+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: En\n"
146
  msgid "Select"
147
  msgstr ""
148
 
149
+ #: ../yasr-metabox-overall-rating.php:14
150
  msgid "Rate this article / item"
151
  msgstr ""
152
 
153
+ #: ../yasr-metabox-overall-rating.php:22
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:37
159
  msgid ""
160
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
161
  "where you want to display this rating"
336
  msgid "Size"
337
  msgstr ""
338
 
339
+ #: ../lib/yasr-settings-functions.php:111 ../lib/yasr-ajax-functions.php:345
340
+ #: ../lib/yasr-ajax-functions.php:363
341
  msgid "Small"
342
  msgstr ""
343
 
344
+ #: ../lib/yasr-settings-functions.php:116 ../lib/yasr-ajax-functions.php:346
345
+ #: ../lib/yasr-ajax-functions.php:364
346
  msgid "Medium"
347
  msgstr ""
348
 
349
+ #: ../lib/yasr-settings-functions.php:121 ../lib/yasr-ajax-functions.php:347
350
+ #: ../lib/yasr-ajax-functions.php:365
351
  msgid "Large"
352
  msgstr ""
353
 
631
  msgid "Choose a vote for every element"
632
  msgstr ""
633
 
634
+ #: ../lib/yasr-ajax-functions.php:325
635
+ msgid "Main"
636
+ msgstr ""
637
+
638
+ #: ../lib/yasr-ajax-functions.php:326
639
+ msgid "Charts"
640
+ msgstr ""
641
+
642
+ #: ../lib/yasr-ajax-functions.php:328
643
+ msgid "Read the doc"
644
+ msgstr ""
645
+
646
  #: ../lib/yasr-ajax-functions.php:337
647
  msgid "Overall Rating / Review"
648
  msgstr ""
649
 
650
+ #: ../lib/yasr-ajax-functions.php:339
651
+ msgid "Insert Overall Rating"
652
+ msgstr ""
653
+
654
  #: ../lib/yasr-ajax-functions.php:340
655
  msgid "Insert Overall Rating / Review for this post"
656
  msgstr ""
659
  msgid "Choose Size"
660
  msgstr ""
661
 
662
+ #: ../lib/yasr-ajax-functions.php:357
663
+ msgid "Insert Visitor Votes"
664
+ msgstr ""
665
+
666
  #: ../lib/yasr-ajax-functions.php:358
667
  msgid "Insert the ability for your visitor to vote"
668
  msgstr ""
683
  msgid "Top 10 overall ratings"
684
  msgstr ""
685
 
686
+ #: ../lib/yasr-ajax-functions.php:409
687
+ msgid "Insert Top 10 highest rated"
688
+ msgstr ""
689
+
690
  #: ../lib/yasr-ajax-functions.php:410
691
  msgid "Insert Top 10 highest rated by post author"
692
  msgstr ""
695
  msgid "Top 10 by visitors"
696
  msgstr ""
697
 
698
+ #: ../lib/yasr-ajax-functions.php:415
699
+ msgid "Insert Top 10 posts by visitors"
700
+ msgstr ""
701
+
702
  #: ../lib/yasr-ajax-functions.php:416
703
  msgid "Insert Top 10 most or higher rated posts from visitors"
704
  msgstr ""
707
  msgid "Most active reviewers"
708
  msgstr ""
709
 
710
+ #: ../lib/yasr-ajax-functions.php:421
711
+ msgid "Insert Top 5 most active reviewers"
712
+ msgstr ""
713
+
714
  #: ../lib/yasr-ajax-functions.php:422
715
  msgid "Insert Top 5 active reviewers"
716
  msgstr ""
719
  msgid "Most active users"
720
  msgstr ""
721
 
722
+ #: ../lib/yasr-ajax-functions.php:427
723
+ msgid "Insert Top 10 most active users"
724
+ msgstr ""
725
+
726
  #: ../lib/yasr-ajax-functions.php:428
727
  msgid "Insert Top 10 active users in visitor ratings"
728
  msgstr ""
lib/yasr-ajax-functions.php CHANGED
@@ -46,12 +46,10 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
46
  array('%s', '%d')
47
  );
48
 
49
- if($update_result) {
50
- echo $rating;
51
- }
52
- //else this is a new post or post has no visitor ratings
53
- else {
54
- $replace_result=$wpdb->replace(
55
  YASR_VOTES_TABLE,
56
  array (
57
  'post_id' => $post_id,
@@ -60,9 +58,20 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
60
  ),
61
  array('%d', '%s', '%d')
62
  );
63
- if ($replace_result){
64
- echo $rating;
 
 
 
 
 
 
65
  }
 
 
 
 
 
66
  }
67
 
68
  die(); // this is required to return a proper result
@@ -75,7 +84,6 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
75
 
76
  add_action( 'wp_ajax_yasr_send_id_nameset', 'yasr_output_multiple_set_callback' );
77
 
78
-
79
  function yasr_output_multiple_set_callback() {
80
  if(isset($_POST['set_id']) && isset($_POST['post_id'])) {
81
  $set_type = $_POST['set_id'];
@@ -322,10 +330,10 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
322
  <div id="yasr-tinypopup-form">
323
 
324
  <h2 class="nav-tab-wrapper yasr-underline">
325
- <a href="#" id="yasr-link-tab-main" class="nav-tab nav-tab-active">Main</a>
326
- <a href="#" id="yasr-link-tab-charts" class="nav-tab">Charts</a>
327
 
328
- <a href="https://wordpress.org/plugins/yet-another-stars-rating/faq/" target="_blank" id="yasr-tinypopup-link-doc">Read the doc</a>
329
 
330
  </h2>
331
 
@@ -334,17 +342,17 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
334
  <table id="yasr-table-tiny-popup-main" class="form-table">
335
 
336
  <tr>
337
- <th><label for="yasr-overall"><?php _e("Overall Rating / Review"); ?></label></th>
338
  <td>
339
- <input type="button" class="button-primary" id="yasr-overall" name="yasr-overall" value="Insert Overall Rating" /><br />
340
- <small><?php _e("Insert Overall Rating / Review for this post"); ?></small>
341
 
342
  <div id="yasr-overall-choose-size">
343
- <small><?php _e("Choose Size"); ?><small>
344
  <div class="yasr-tinymce-button-size">
345
- <input type="button" class="button-secondary" id="yasr-overall-insert-small" name="yasr-overall-insert-small" value="Small" />
346
- <input type="button" class="button-secondary" id="yasr-overall-insert-medium" name="yasr-overall-insert-medium" value="Medium" />
347
- <input type="button" class="button-secondary" id="yasr-overall-insert-large" name="yasr-overall-insert-large" value="Large" />
348
  </div>
349
  </div>
350
 
@@ -352,17 +360,17 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
352
  </tr>
353
 
354
  <tr>
355
- <th><label for="yasr-id"><?php _e("Visitor Votes"); ?></label></th>
356
  <td>
357
- <input type="button" class="button-primary" name="yasr-visitor-votes" id="yasr-visitor-votes" value="Insert Visitor Votes"/><br />
358
- <small><?php _e("Insert the ability for your visitor to vote"); ?></small>
359
 
360
  <div id="yasr-visitor-choose-size">
361
- <small><?php _e("Choose Size"); ?><small>
362
  <div class="yasr-tinymce-button-size">
363
- <input type="button" class="button-secondary" id="yasr-visitor-insert-small" name="yasr-visitor-insert-small" value="Small" />
364
- <input type="button" class="button-secondary" id="yasr-visitor-insert-medium" name="yasr-visitor-insert-medium" value="Medium" />
365
- <input type="button" class="button-secondary" id="yasr-visitor-insert-large" name="yasr-visitor-insert-large" value="Large" />
366
  </div>
367
  </div>
368
 
@@ -372,13 +380,13 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
372
  <?php if ($n_multi_set>1) { //If multiple Set are found ?>
373
 
374
  <tr>
375
- <th><label for="yasr-size"><?php _e("If you want to insert a multi-set, pick one:"); ?></label></th>
376
  <td>
377
  <?php foreach ($multi_set as $name) { ?>
378
  <input type="radio" value="<?php echo $name->set_id ?>" name="yasr_tinymce_pick_set" class="yasr_tinymce_select_set"><?php echo $name->set_name ?>
379
  <br />
380
  <?php } //End foreach ?>
381
- <small><?php _e("Choose wich set you want to insert."); ?></small>
382
  </td>
383
  </tr>
384
 
@@ -386,11 +394,11 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
386
 
387
  elseif ($n_multi_set==1) { ?>
388
  <tr>
389
- <th><label for="yasr-size"><?php _e("Insert Multiset:"); ?></label></th>
390
  <td>
391
  <?php foreach ($multi_set as $name) { ?>
392
- <button type="button" class="button-primary" id="yasr-single-set" name="yasr-single-set" value="<?php echo $name->set_id ?>" >Insert Multiple Set</button><br />
393
- <small><?php _e("Insert multiple set <?php echo $name->set_name ?> in this post ?"); ?></small>
394
  <?php } //End foreach ?>
395
  </td>
396
  </tr>
@@ -405,27 +413,27 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
405
 
406
  <table id="yasr-table-tiny-popup-charts" class="form-table">
407
  <tr>
408
- <th><label for="yasr-10-overall"><?php _e("Top 10 overall ratings"); ?></label></th>
409
- <td><input type="button" class="button-primary" name="yasr-top-10-overall-rating" id="yasr-top-10-overall-rating" value="Insert Top 10 highest rated"/><br />
410
- <small><?php _e("Insert Top 10 highest rated by post author"); ?></small></td>
411
  </tr>
412
 
413
  <tr>
414
- <th><label for="yasr-10-highest-most-rated"><?php _e("Top 10 by visitors"); ?></label></th>
415
- <td><input type="button" class="button-primary" name="yasr-10-highest-most-rated" id="yasr-10-highest-most-rated" value="Insert Top 10 posts by visitors"/><br />
416
- <small><?php _e("Insert Top 10 most or higher rated posts from visitors"); ?></small></td>
417
  </tr>
418
 
419
  <tr>
420
- <th><label for="yasr-5-active-reviewers"><?php _e("Most active reviewers"); ?></label></th>
421
- <td><input type="button" class="button-primary" name="yasr-5-active-reviewers" id="yasr-5-active-reviewers" value="Insert Top 5 most active reviewers"/><br />
422
- <small><?php _e("Insert Top 5 active reviewers"); ?></small></td>
423
  </tr>
424
 
425
  <tr>
426
- <th><label for="yasr-10-active-users"><?php _e("Most active users"); ?></label></th>
427
- <td><input type="button" class="button-primary" name="yasr-top-10-active-users" id="yasr-top-10-active-users" value="Insert Top 10 most active users"/><br />
428
- <small><?php _e("Insert Top 10 active users in visitor ratings"); ?></small></td>
429
  </tr>
430
 
431
  </table>
@@ -619,13 +627,13 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
619
  <div class="yasr-result-step-1">
620
  <?php
621
  if ($check_query_success) {
622
- _e( "Reviews and visitor votes have been successfull imported.", 'yasr');
623
 
624
  update_option('yasr-gdstar-imported', '1');
625
 
626
  ?>
627
  <br />
628
- <?php _e ("Step2: I will check if you used multiple set and if so I will import it. THIS MAY TAKE A WHILE!", 'yasr'); ?>
629
  <br />
630
  <button href=\"#\" class=\"button-primary\" id=\"import-button-step2\"> <?php _e('Proceed Step 2', 'yasr');?> </button>
631
  <span id="loader2" style="display:none;" >&nbsp;<img src="<?php echo YASR_IMG_DIR . "/loader.gif" ?>">
@@ -663,7 +671,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
663
  //If multiple set are found
664
  if($multi_set_names) {
665
  echo "<br /><strong>";
666
- _e("I've found multiple set! Importing..." , 'yasr');
667
  echo "</strong><br />";
668
 
669
  //If multi set are found write in yasr_multi_set table
@@ -672,9 +680,9 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
672
  //If insert succes, go ahed
673
  if ($insert_multi_set) {
674
  echo "&nbsp;&nbsp;&nbsp;";
675
- _e("Multi set's name has been successfull imported.", 'yasr');
676
  echo "<br /><strong>";
677
- _e("Now I'm going to import multi set data", 'yasr');
678
  echo "</strong> <br />";
679
 
680
  //Import multiple set's values from GD star rating
@@ -687,13 +695,12 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
687
  echo "&nbsp;&nbsp;&nbsp;";
688
  _e( "All votes has been successfull imported.", 'yasr');
689
  echo "<br />";
690
- //update_option('yasr-gdstar-imported', '1');
691
  echo "<button href=\"#\" class=\"button-delete\" id=\"end-import\">" . __('Done', 'yasr') . "</button>";
692
 
693
  }
694
  else {
695
  echo "&nbsp;&nbsp;&nbsp;";
696
- _e("I've found multiple set votes but I couldn't insert into db", 'yasr');
697
  echo "<br />";
698
  }
699
  } //End if $multi_data
@@ -701,7 +708,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
701
  //Multiple set are found, but there is not data
702
  else {
703
  echo "&nbsp;&nbsp;&nbsp;";
704
- _e( "I've found multi set but with no data", 'yasr');
705
  echo "<br />";
706
  }
707
 
@@ -710,7 +717,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
710
  //Query failed insert set name
711
  else {
712
  echo "&nbsp;&nbsp;&nbsp;";
713
- _e("I've found multi set name but I couldn't insert into db", 'yasr');
714
  echo "<br />";
715
  }
716
 
@@ -718,7 +725,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
718
 
719
  else {
720
  echo "&nbsp;&nbsp;&nbsp;";
721
- _e ("Multiset was not found. Imported is done!", 'yasr');
722
  }
723
 
724
  echo "</div>";
@@ -951,11 +958,14 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
951
  } //End if row_exists
952
 
953
  else {
 
 
 
954
  $new_row_result=$wpdb->replace (
955
  YASR_VOTES_TABLE,
956
  array (
957
  'post_id' => $post_id,
958
- 'number_of_votes' => 1,
959
  'overall_rating' => '-1',
960
  'sum_votes' => $rating
961
  ),
@@ -1013,12 +1023,10 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
1013
 
1014
  elseif ($new_row_result) {
1015
 
1016
- $number_of_votes = 1;
1017
-
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 &nbsp; &nbsp;" . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
1022
  <strong>". __("Vote Saved" , "yasr");
1023
 
1024
  }
@@ -1026,14 +1034,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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
1037
  <strong>". __("Vote Saved" , "yasr");
1038
  }
1039
 
46
  array('%s', '%d')
47
  );
48
 
49
+ //If update result fails this is a new post or post has no visitor ratings
50
+ if(!$update_result) {
51
+
52
+ $replace_result=$wpdb->replace(
 
 
53
  YASR_VOTES_TABLE,
54
  array (
55
  'post_id' => $post_id,
58
  ),
59
  array('%d', '%s', '%d')
60
  );
61
+
62
+ }
63
+
64
+ if ($update_result || $replace_result) {
65
+
66
+ if ($rating != '-1') {
67
+ $text = __("You've rated it ", "yasr");
68
+ echo $text . $rating;
69
  }
70
+ else {
71
+ $text = __("You've reset the vote", "yasr");
72
+ echo $text;
73
+ }
74
+
75
  }
76
 
77
  die(); // this is required to return a proper result
84
 
85
  add_action( 'wp_ajax_yasr_send_id_nameset', 'yasr_output_multiple_set_callback' );
86
 
 
87
  function yasr_output_multiple_set_callback() {
88
  if(isset($_POST['set_id']) && isset($_POST['post_id'])) {
89
  $set_type = $_POST['set_id'];
330
  <div id="yasr-tinypopup-form">
331
 
332
  <h2 class="nav-tab-wrapper yasr-underline">
333
+ <a href="#" id="yasr-link-tab-main" class="nav-tab nav-tab-active"><?php _e("Main", "yasr"); ?></a>
334
+ <a href="#" id="yasr-link-tab-charts" class="nav-tab"><?php _e("Charts" , "yasr"); ?></a>
335
 
336
+ <a href="https://wordpress.org/plugins/yet-another-stars-rating/faq/" target="_blank" id="yasr-tinypopup-link-doc"><?php _e("Read the doc", "yasr"); ?></a>
337
 
338
  </h2>
339
 
342
  <table id="yasr-table-tiny-popup-main" class="form-table">
343
 
344
  <tr>
345
+ <th><label for="yasr-overall"><?php _e("Overall Rating / Review", "yasr"); ?></label></th>
346
  <td>
347
+ <input type="button" class="button-primary" id="yasr-overall" name="yasr-overall" value="<?php _e("Insert Overall Rating", "yasr"); ?>" /><br />
348
+ <small><?php _e("Insert Overall Rating / Review for this post", "yasr"); ?></small>
349
 
350
  <div id="yasr-overall-choose-size">
351
+ <small><?php _e("Choose Size", "yasr"); ?><small>
352
  <div class="yasr-tinymce-button-size">
353
+ <input type="button" class="button-secondary" id="yasr-overall-insert-small" name="yasr-overall-insert-small" value="<?php _e("Small", "yasr"); ?>" />
354
+ <input type="button" class="button-secondary" id="yasr-overall-insert-medium" name="yasr-overall-insert-medium" value="<?php _e("Medium", "yasr"); ?>" />
355
+ <input type="button" class="button-secondary" id="yasr-overall-insert-large" name="yasr-overall-insert-large" value="<?php _e("Large", "yasr"); ?>" />
356
  </div>
357
  </div>
358
 
360
  </tr>
361
 
362
  <tr>
363
+ <th><label for="yasr-id"><?php _e("Visitor Votes", "yasr"); ?></label></th>
364
  <td>
365
+ <input type="button" class="button-primary" name="yasr-visitor-votes" id="yasr-visitor-votes" value="<?php _e("Insert Visitor Votes", "yasr"); ?>" /><br />
366
+ <small><?php _e("Insert the ability for your visitor to vote", "yasr"); ?></small>
367
 
368
  <div id="yasr-visitor-choose-size">
369
+ <small><?php _e("Choose Size", "yasr"); ?><small>
370
  <div class="yasr-tinymce-button-size">
371
+ <input type="button" class="button-secondary" id="yasr-visitor-insert-small" name="yasr-visitor-insert-small" value="<?php _e("Small", "yasr"); ?>" />
372
+ <input type="button" class="button-secondary" id="yasr-visitor-insert-medium" name="yasr-visitor-insert-medium" value="<?php _e("Medium", "yasr"); ?>" />
373
+ <input type="button" class="button-secondary" id="yasr-visitor-insert-large" name="yasr-visitor-insert-large" value="<?php _e("Large", "yasr"); ?>" />
374
  </div>
375
  </div>
376
 
380
  <?php if ($n_multi_set>1) { //If multiple Set are found ?>
381
 
382
  <tr>
383
+ <th><label for="yasr-size"><?php _e("If you want to insert a Multi Set, pick one:", "yasr"); ?></label></th>
384
  <td>
385
  <?php foreach ($multi_set as $name) { ?>
386
  <input type="radio" value="<?php echo $name->set_id ?>" name="yasr_tinymce_pick_set" class="yasr_tinymce_select_set"><?php echo $name->set_name ?>
387
  <br />
388
  <?php } //End foreach ?>
389
+ <small><?php _e("Choose wich set you want to insert.", "yasr"); ?></small>
390
  </td>
391
  </tr>
392
 
394
 
395
  elseif ($n_multi_set==1) { ?>
396
  <tr>
397
+ <th><label for="yasr-size"><?php _e("Insert Multiset:", "yasr"); ?></label></th>
398
  <td>
399
  <?php foreach ($multi_set as $name) { ?>
400
+ <button type="button" class="button-primary" id="yasr-single-set" name="yasr-single-set" value="<?php echo $name->set_id ?>" ><?php _e("Insert Multiple Set", "yasr"); ?></button><br />
401
+ <small><?php _e("Insert multiple set in this post ?", "yasr"); ?></small>
402
  <?php } //End foreach ?>
403
  </td>
404
  </tr>
413
 
414
  <table id="yasr-table-tiny-popup-charts" class="form-table">
415
  <tr>
416
+ <th><label for="yasr-10-overall"><?php _e("Top 10 Overall Ratings", "yasr"); ?></label></th>
417
+ <td><input type="button" class="button-primary" name="yasr-top-10-overall-rating" id="yasr-top-10-overall-rating" value="<?php _e("Insert Top 10 highest rated", "yasr") ?>" /><br />
418
+ <small><?php _e("Insert Top 10 highest rated by post author", "yasr"); ?></small></td>
419
  </tr>
420
 
421
  <tr>
422
+ <th><label for="yasr-10-highest-most-rated"><?php _e("Top 10 Visitor Ratings", "yasr"); ?></label></th>
423
+ <td><input type="button" class="button-primary" name="yasr-10-highest-most-rated" id="yasr-10-highest-most-rated" value="<?php _e("Insert Top 10 posts by visitors", "yasr") ?>" /><br />
424
+ <small><?php _e("Insert Top 10 most or higher rated posts from visitors", "yasr"); ?></small></td>
425
  </tr>
426
 
427
  <tr>
428
+ <th><label for="yasr-5-active-reviewers"><?php _e("Most active reviewers", "yasr"); ?></label></th>
429
+ <td><input type="button" class="button-primary" name="yasr-5-active-reviewers" id="yasr-5-active-reviewers" value="<?php _e("Insert Top 5 most active reviewers", "yasr")?> " /><br />
430
+ <small><?php _e("Insert Top 5 active reviewers", "yasr"); ?></small></td>
431
  </tr>
432
 
433
  <tr>
434
+ <th><label for="yasr-10-active-users"><?php _e("Most active users", "yasr"); ?></label></th>
435
+ <td><input type="button" class="button-primary" name="yasr-top-10-active-users" id="yasr-top-10-active-users" value="<?php _e("Insert Top 10 most active users", "yasr") ?>" /><br />
436
+ <small><?php _e("Insert Top 10 active users in Visitor Ratings", "yasr"); ?></small></td>
437
  </tr>
438
 
439
  </table>
627
  <div class="yasr-result-step-1">
628
  <?php
629
  if ($check_query_success) {
630
+ _e( "Reviews and Visitor Votes have been successfull imported.", 'yasr');
631
 
632
  update_option('yasr-gdstar-imported', '1');
633
 
634
  ?>
635
  <br />
636
+ <?php _e ("Step2: I will check if you used Multiple Sets and if so I will import them. THIS MAY TAKE A WHILE!", 'yasr'); ?>
637
  <br />
638
  <button href=\"#\" class=\"button-primary\" id=\"import-button-step2\"> <?php _e('Proceed Step 2', 'yasr');?> </button>
639
  <span id="loader2" style="display:none;" >&nbsp;<img src="<?php echo YASR_IMG_DIR . "/loader.gif" ?>">
671
  //If multiple set are found
672
  if($multi_set_names) {
673
  echo "<br /><strong>";
674
+ _e("I've found Multiple Set! Importing..." , 'yasr');
675
  echo "</strong><br />";
676
 
677
  //If multi set are found write in yasr_multi_set table
680
  //If insert succes, go ahed
681
  if ($insert_multi_set) {
682
  echo "&nbsp;&nbsp;&nbsp;";
683
+ _e("Multi Set's name has been successfull imported.", 'yasr');
684
  echo "<br /><strong>";
685
+ _e("Now I'm going to import Multi Set data", 'yasr');
686
  echo "</strong> <br />";
687
 
688
  //Import multiple set's values from GD star rating
695
  echo "&nbsp;&nbsp;&nbsp;";
696
  _e( "All votes has been successfull imported.", 'yasr');
697
  echo "<br />";
 
698
  echo "<button href=\"#\" class=\"button-delete\" id=\"end-import\">" . __('Done', 'yasr') . "</button>";
699
 
700
  }
701
  else {
702
  echo "&nbsp;&nbsp;&nbsp;";
703
+ _e("I've found Multiple Set's votes but I couldn't insert into db", 'yasr');
704
  echo "<br />";
705
  }
706
  } //End if $multi_data
708
  //Multiple set are found, but there is not data
709
  else {
710
  echo "&nbsp;&nbsp;&nbsp;";
711
+ _e( "I've found Multi Set but with no data", 'yasr');
712
  echo "<br />";
713
  }
714
 
717
  //Query failed insert set name
718
  else {
719
  echo "&nbsp;&nbsp;&nbsp;";
720
+ _e("I've found Multi Sets names but I couldn't insert into db", 'yasr');
721
  echo "<br />";
722
  }
723
 
725
 
726
  else {
727
  echo "&nbsp;&nbsp;&nbsp;";
728
+ _e ("Multisets were not found. Imported is done!", 'yasr');
729
  }
730
 
731
  echo "</div>";
958
  } //End if row_exists
959
 
960
  else {
961
+
962
+ $number_of_votes = 1;
963
+
964
  $new_row_result=$wpdb->replace (
965
  YASR_VOTES_TABLE,
966
  array (
967
  'post_id' => $post_id,
968
+ 'number_of_votes' => $number_of_votes,
969
  'overall_rating' => '-1',
970
  'sum_votes' => $rating
971
  ),
1023
 
1024
  elseif ($new_row_result) {
1025
 
 
 
1026
  if ($size == 'small') {
1027
 
1028
  echo "<div class=\"rateit\" id=\"yasr_rateit_user_votes_voted\" 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 &nbsp; &nbsp;" . __("Average rating", "yasr") . "$rating/5 ]</span>
1030
  <strong>". __("Vote Saved" , "yasr");
1031
 
1032
  }
1034
  if ($size == 'medium') {
1035
 
1036
  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>
1037
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . "$rating/5 ]</span>
1038
  <strong>". __("Vote Saved" , "yasr");
1039
 
1040
  }
1041
 
1042
  elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
1043
  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>
1044
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . "$rating/5 ]</span>
1045
  <strong>". __("Vote Saved" , "yasr");
1046
  }
1047
 
lib/yasr-db-functions.php CHANGED
@@ -407,6 +407,16 @@ add_action ('admin_init', 'admin_init_delete_data_on_post_callback');
407
  '%d'
408
  )
409
  );
 
 
 
 
 
 
 
 
 
 
410
 
411
 
412
  }
407
  '%d'
408
  )
409
  );
410
+
411
+ $wpdb->delete(
412
+ YASR_LOG_TABLE,
413
+ array (
414
+ 'post_id' => $pid
415
+ ),
416
+ array (
417
+ '%d'
418
+ )
419
+ );
420
 
421
 
422
  }
lib/yasr-functions.php CHANGED
@@ -32,7 +32,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
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 );
@@ -44,7 +44,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
44
 
45
  /****** Translating YASR ******/
46
 
47
- add_action('plugins_loaded', 'yasr_translate_option');
48
 
49
  function yasr_translate_option() {
50
  load_plugin_textdomain('yasr', FALSE, YASR_LANG_DIR);
@@ -121,7 +121,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
121
  include (YASR_ABSOLUTE_PATH . '/yasr-metabox-overall-rating.php');
122
  }
123
  else {
124
- _e("You don't have enought privileges to insert overall rating");
125
  }
126
 
127
  }
@@ -131,7 +131,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
131
  include (YASR_ABSOLUTE_PATH . '/yasr-metabox-multiple-rating.php');
132
  }
133
  else {
134
- _e("You don't have enought privileges to insert multi-set");
135
  }
136
 
137
  }
@@ -282,7 +282,7 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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
  }
@@ -294,12 +294,12 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
303
  }
304
 
305
  } //End else
@@ -312,12 +312,12 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
321
  }
322
 
323
  } //end else
@@ -337,7 +337,7 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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
  }
@@ -346,13 +346,13 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
356
  </div>";
357
  }
358
 
@@ -366,14 +366,14 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
376
- </div>";
377
  }
378
 
379
  }
@@ -397,7 +397,7 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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
  }
@@ -409,12 +409,12 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
418
  }
419
 
420
  } //End else
@@ -427,12 +427,12 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
436
  }
437
 
438
  } //end else
@@ -453,7 +453,7 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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
  }
@@ -462,13 +462,13 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
472
  </div>";
473
  }
474
 
@@ -482,14 +482,14 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
492
- </div>";
493
  }
494
 
495
  }
@@ -513,7 +513,7 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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
  }
@@ -525,12 +525,12 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
534
  }
535
 
536
  } //End else
@@ -543,12 +543,12 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
552
  }
553
 
554
  } //end else
@@ -569,7 +569,7 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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
  }
@@ -578,13 +578,13 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
588
  </div>";
589
  }
590
 
@@ -598,14 +598,14 @@ function visitor_votes_auto_insert_code () {
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 &nbsp; &nbsp;" . __("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 &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
608
- </div>";
609
  }
610
 
611
  }
@@ -885,8 +885,8 @@ function visitor_votes_auto_insert_code () {
885
  $div_1 = "<div class=\"yasr_schema\" itemscope itemtype=\"http://schema.org/Product\">";
886
  $title = "<span itemprop=\"name\">". get_the_title() ."</span>";
887
  $span_1 = "<span itemprop=\"aggregateRating\" itemscope itemtype=\"http://schema.org/AggregateRating\">";
888
- $rating = __( ' rated ' , 'yasr' ) . "<span itemprop=\"ratingValue\">" . $average_rating . "</span>" . __(' out of ' ,'yasr') . "<span itemprop=\"bestRating\">5</span>";
889
- $n_ratings = __(' based on ', 'yasr') . "<span itemprop=\"ratingCount\">" . $visitor_rating['votes_number'] . "</span>" . __(' user ratings', 'yasr');
890
  $end_span_1 = "</span>";
891
  $end_div_1 = "</div>";
892
 
@@ -965,3 +965,5 @@ add_action( 'admin_init', 'yasr_get_custom_post_type');
965
  }
966
 
967
  }
 
 
32
 
33
  function yasr_add_admin_scripts () {
34
 
35
+ wp_enqueue_style( 'yasrcss', YASR_CSS_DIR . 'yasr-admin.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 );
44
 
45
  /****** Translating YASR ******/
46
 
47
+ add_action('init', 'yasr_translate_option', 110);
48
 
49
  function yasr_translate_option() {
50
  load_plugin_textdomain('yasr', FALSE, YASR_LANG_DIR);
121
  include (YASR_ABSOLUTE_PATH . '/yasr-metabox-overall-rating.php');
122
  }
123
  else {
124
+ _e("You don't have enought privileges to insert Overall Rating");
125
  }
126
 
127
  }
131
  include (YASR_ABSOLUTE_PATH . '/yasr-metabox-multiple-rating.php');
132
  }
133
  else {
134
+ _e("You don't have enought privileges to insert Multi Set");
135
  }
136
 
137
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
286
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
287
 
288
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
298
  }
299
 
300
  else {
301
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
302
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
303
  }
304
 
305
  } //End 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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
316
  }
317
 
318
  else {
319
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
320
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
321
  }
322
 
323
  } //end else
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
341
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
342
 
343
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
350
  </div>";
351
  }
352
 
353
  else {
354
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
355
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
356
  </div>";
357
  }
358
 
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
370
  " . __("You must sign to vote", "yasr") . "</div>";
371
  }
372
 
373
  else {
374
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"16\" data-rateit-starheight=\"16\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
375
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
376
+ " . __("You must sign to vote", "yasr") . "</div>";
377
  }
378
 
379
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
401
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
402
 
403
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
413
  }
414
 
415
  else {
416
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
417
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
418
  }
419
 
420
  } //End 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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
431
  }
432
 
433
  else {
434
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
435
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
436
  }
437
 
438
  } //end else
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
457
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
458
 
459
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
466
  </div>";
467
  }
468
 
469
  else {
470
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
471
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
472
  </div>";
473
  }
474
 
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
486
  " . __("You must sign to vote", "yasr") . "</div>";
487
  }
488
 
489
  else {
490
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit medium\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
491
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
492
+ " . __("You must sign to vote", "yasr") . "</div>";
493
  }
494
 
495
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
517
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
518
 
519
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
529
  }
530
 
531
  else {
532
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
533
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
534
  }
535
 
536
  } //End 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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
547
  }
548
 
549
  else {
550
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
551
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
552
  }
553
 
554
  } //end else
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
573
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
574
 
575
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
582
  </div>";
583
  }
584
 
585
  else {
586
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"false\"></div>
587
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
588
  </div>";
589
  }
590
 
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
602
  " . __("You must sign to vote", "yasr") . "</div>";
603
  }
604
 
605
  else {
606
  $shortcode_html="<div id=\"yasr_visitor_votes\"><div class=\"rateit bigstars\" id=\"yasr_rateit_visitor_votes\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"0\" data-rateit-step=\"1\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
607
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
608
+ " . __("You must sign to vote", "yasr") . "</div>";
609
  }
610
 
611
  }
885
  $div_1 = "<div class=\"yasr_schema\" itemscope itemtype=\"http://schema.org/Product\">";
886
  $title = "<span itemprop=\"name\">". get_the_title() ."</span>";
887
  $span_1 = "<span itemprop=\"aggregateRating\" itemscope itemtype=\"http://schema.org/AggregateRating\">";
888
+ $rating = __( ' average rating ' , 'yasr' ) . "<span itemprop=\"ratingValue\">" . $average_rating . "</span><span itemprop=\"bestRating\">/5</span>";
889
+ $n_ratings = "<span itemprop=\"ratingCount\"> - " . $visitor_rating['votes_number'] . "</span>" . __(' user ratings', 'yasr');
890
  $end_span_1 = "</span>";
891
  $end_div_1 = "</div>";
892
 
965
  }
966
 
967
  }
968
+
969
+ ?>
lib/yasr-settings-functions.php CHANGED
@@ -30,7 +30,7 @@
30
 
31
  add_settings_section( 'yasr_general_options_section_id', __('General settings', 'yasr'), 'yasr_section_callback', 'yasr_general_settings_tab' );
32
  add_settings_field( 'yasr_use_auto_insert_id', __('Auto insert options', 'yasr'), 'yasr_auto_insert_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
33
- add_settings_field( 'yasr_show_overall_in_loop', __('Show overall rating in Home Page?', 'yasr'), 'yasr_show_overall_in_loop_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
34
  add_settings_field( 'yasr_custom_text', __('Insert custom text to show before / after stars', 'yasr'), 'yasr_custom_text_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
35
  add_settings_field( 'yasr_color_scheme', __('Which color scheme do you want to use?', 'yasr') , 'yasr_color_scheme_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
36
  add_settings_field( 'yasr_allow_only_logged_in_id', __('Allow only logged in user to vote?', 'yasr'), 'yasr_allow_only_logged_in_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
@@ -195,12 +195,12 @@
195
  <br /> <br />
196
 
197
  <input type='text' name='yasr_general_options[text_before_overall]' class='yasr-general-options-text-before' value='<?php echo ("$option[text_before_overall]"); ?>' maxlength="40"/>
198
- <?php _e('Custom text to display before overall rating', 'yasr')?>
199
 
200
  <br /> <br />
201
 
202
  <input type='text' name='yasr_general_options[text_before_visitor_rating]' class='yasr-general-options-text-before' value='<?php echo ("$option[text_before_visitor_rating]"); ?>' maxlength="40"/>
203
- <?php _e('Custom text to display before visitor rating', 'yasr')?>
204
 
205
  <br /> <br />
206
 
@@ -314,8 +314,8 @@
314
  function yasr_display_multi_set_form() {
315
  ?>
316
 
317
- <h4 class="yasr-multi-set-form-headers">Add New Multiple Set</h4>
318
- <em><?php _e('Field Name, Element#1 and Element#2 MUST be filled and must be long at least 3 characters', 'yasr') ?></em>
319
  <p>
320
  <form action="<?php echo admin_url('options-general.php?page=yasr_settings_page&tab=manage_multi') ?>" id="form_add_multi_set" method="post">
321
  <strong><?php _e("Name", 'yasr')?></strong>
@@ -391,7 +391,7 @@ function yasr_edit_multi_form() {
391
 
392
  <div class="yasr-manage-multiset-single">
393
 
394
- <h4 class="yasr-multi-set-form-headers">Manage Multiple Set</h4>
395
 
396
  <form action=" <?php echo admin_url('options-general.php?page=yasr_settings_page&tab=manage_multi') ?>" id="form_edit_multi_set" method="post">
397
 
@@ -481,7 +481,7 @@ function yasr_edit_multi_form() {
481
  }
482
 
483
  else {
484
- _e("No multiple set were found");
485
  }
486
 
487
  }//End function
@@ -565,7 +565,7 @@ function yasr_edit_multi_form() {
565
  <table width=\"100%\" class=\"yasr-edit-form-remove-entire-set\">
566
  <tr>
567
 
568
- <td width=\"80%\">Remove whole set?</td>
569
 
570
  <td width=\"20%\" style=\"text-align:center\">
571
  <input type=\"checkbox\" name=\"yasr-remove-multi-set\" value=\"$set_type\">
@@ -742,7 +742,7 @@ function yasr_process_new_multi_set_form()
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
@@ -751,7 +751,7 @@ function yasr_process_new_multi_set_form()
751
 
752
  //Else multi set's name and first 2 elements are empty
753
  else {
754
- $array_errors[] = "Multi set's name and first 2 elements can't be empty";
755
  $error=TRUE;
756
  }
757
 
@@ -817,7 +817,7 @@ function yasr_process_edit_multi_set_form() {
817
 
818
  if ($remove_set==FALSE) {
819
  $error = TRUE;
820
- $array_errors[] .= __("Something goes wrong trying to delete a multi-set . Please report it", 'yasr');
821
  }
822
 
823
 
@@ -863,7 +863,7 @@ function yasr_process_edit_multi_set_form() {
863
 
864
  if ($remove_field == FALSE) {
865
  $error = TRUE;
866
- $array_errors[] = __("Something goes wrong trying to delete a multi-set element. Please report it", 'yasr');
867
  }
868
 
869
 
@@ -927,7 +927,7 @@ function yasr_process_edit_multi_set_form() {
927
 
928
  if ($insert_field_name == FALSE) {
929
  $error = TRUE;
930
- $array_errors[] = __("Something goes wrong trying to update a multi set element. Please report it", 'yasr');
931
  }
932
 
933
  } //End if ($field_name_in_database != $field_name) {
@@ -1068,7 +1068,7 @@ function yasr_search_gd_star_rating () {
1068
  }
1069
 
1070
  else {
1071
- __( 'No previous Gd Star Ratings installation was found', 'yasr' );
1072
  }
1073
  }
1074
 
30
 
31
  add_settings_section( 'yasr_general_options_section_id', __('General settings', 'yasr'), 'yasr_section_callback', 'yasr_general_settings_tab' );
32
  add_settings_field( 'yasr_use_auto_insert_id', __('Auto insert options', 'yasr'), 'yasr_auto_insert_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
33
+ add_settings_field( 'yasr_show_overall_in_loop', __('Show "Overall Rating" in Home Page?', 'yasr'), 'yasr_show_overall_in_loop_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
34
  add_settings_field( 'yasr_custom_text', __('Insert custom text to show before / after stars', 'yasr'), 'yasr_custom_text_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
35
  add_settings_field( 'yasr_color_scheme', __('Which color scheme do you want to use?', 'yasr') , 'yasr_color_scheme_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option);
36
  add_settings_field( 'yasr_allow_only_logged_in_id', __('Allow only logged in user to vote?', 'yasr'), 'yasr_allow_only_logged_in_callback', 'yasr_general_settings_tab', 'yasr_general_options_section_id', $option );
195
  <br /> <br />
196
 
197
  <input type='text' name='yasr_general_options[text_before_overall]' class='yasr-general-options-text-before' value='<?php echo ("$option[text_before_overall]"); ?>' maxlength="40"/>
198
+ <?php _e('Custom text to display before Overall Rating', 'yasr')?>
199
 
200
  <br /> <br />
201
 
202
  <input type='text' name='yasr_general_options[text_before_visitor_rating]' class='yasr-general-options-text-before' value='<?php echo ("$option[text_before_visitor_rating]"); ?>' maxlength="40"/>
203
+ <?php _e('Custom text to display before Visitor Rating', 'yasr')?>
204
 
205
  <br /> <br />
206
 
314
  function yasr_display_multi_set_form() {
315
  ?>
316
 
317
+ <h4 class="yasr-multi-set-form-headers"><?php _e("Add New Multiple Set", "yasr"); ?></h4>
318
+ <em><?php _e('Name, Element#1 and Element#2 MUST be filled and must be long at least 3 characters', 'yasr') ?></em>
319
  <p>
320
  <form action="<?php echo admin_url('options-general.php?page=yasr_settings_page&tab=manage_multi') ?>" id="form_add_multi_set" method="post">
321
  <strong><?php _e("Name", 'yasr')?></strong>
391
 
392
  <div class="yasr-manage-multiset-single">
393
 
394
+ <h4 class="yasr-multi-set-form-headers"><?php _e("Manage Multiple Set", "yasr"); ?></h4>
395
 
396
  <form action=" <?php echo admin_url('options-general.php?page=yasr_settings_page&tab=manage_multi') ?>" id="form_edit_multi_set" method="post">
397
 
481
  }
482
 
483
  else {
484
+ _e("No Multiple Set were found");
485
  }
486
 
487
  }//End function
565
  <table width=\"100%\" class=\"yasr-edit-form-remove-entire-set\">
566
  <tr>
567
 
568
+ <td width=\"80%\">" . __("Remove whole set?", "yasr") . "</td>
569
 
570
  <td width=\"20%\" style=\"text-align:center\">
571
  <input type=\"checkbox\" name=\"yasr-remove-multi-set\" value=\"$set_type\">
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
751
 
752
  //Else multi set's name and first 2 elements are empty
753
  else {
754
+ $array_errors[] = "Multi Set's name and first 2 elements can't be empty";
755
  $error=TRUE;
756
  }
757
 
817
 
818
  if ($remove_set==FALSE) {
819
  $error = TRUE;
820
+ $array_errors[] .= __("Something goes wrong trying to delete a Multi Set . Please report it", 'yasr');
821
  }
822
 
823
 
863
 
864
  if ($remove_field == FALSE) {
865
  $error = TRUE;
866
+ $array_errors[] = __("Something goes wrong trying to delete a Multi Set's element. Please report it", 'yasr');
867
  }
868
 
869
 
927
 
928
  if ($insert_field_name == FALSE) {
929
  $error = TRUE;
930
+ $array_errors[] = __("Something goes wrong trying to update a Multi Set's element. Please report it", 'yasr');
931
  }
932
 
933
  } //End if ($field_name_in_database != $field_name) {
1068
  }
1069
 
1070
  else {
1071
+ __( 'No previous Gd Star Rating installation was found', 'yasr' );
1072
  }
1073
  }
1074
 
lib/yasr-shortcode-functions.php CHANGED
@@ -153,7 +153,7 @@ function shortcode_visitor_votes_callback ($atts) {
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 &nbsp; &nbsp;" . __("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
  }
@@ -165,12 +165,12 @@ function shortcode_visitor_votes_callback ($atts) {
165
 
166
  if ($votes_number>0) {
167
  $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>
168
- <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
169
  }
170
 
171
  else {
172
  $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>
173
- <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
174
  }
175
 
176
  } //End else
@@ -183,12 +183,12 @@ function shortcode_visitor_votes_callback ($atts) {
183
 
184
  if ($votes_number>0) {
185
  $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>
186
- <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
187
  }
188
 
189
  else {
190
  $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>
191
- <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
192
  }
193
 
194
  } //end else
@@ -208,7 +208,7 @@ function shortcode_visitor_votes_callback ($atts) {
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 &nbsp; &nbsp;" . __("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
  }
@@ -217,13 +217,13 @@ function shortcode_visitor_votes_callback ($atts) {
217
 
218
  if ($votes_number>0) {
219
  $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>
220
- <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
221
  </div>";
222
  }
223
 
224
  else {
225
  $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>
226
- <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
227
  </div>";
228
  }
229
 
@@ -237,14 +237,14 @@ function shortcode_visitor_votes_callback ($atts) {
237
 
238
  if ($votes_number>0) {
239
  $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>
240
- <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
241
  " . __("You must sign to vote", "yasr") . "</div>";
242
  }
243
 
244
  else {
245
  $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>
246
- <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
247
- </div>";
248
  }
249
 
250
  }
@@ -268,7 +268,7 @@ function shortcode_visitor_votes_callback ($atts) {
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 &nbsp; &nbsp;" . __("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
  }
@@ -280,12 +280,12 @@ function shortcode_visitor_votes_callback ($atts) {
280
 
281
  if ($votes_number>0) {
282
  $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>
283
- <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
284
  }
285
 
286
  else {
287
  $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>
288
- <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
289
  }
290
 
291
  } //End else
@@ -298,12 +298,12 @@ function shortcode_visitor_votes_callback ($atts) {
298
 
299
  if ($votes_number>0) {
300
  $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>
301
- <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
302
  }
303
 
304
  else {
305
  $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>
306
- <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
307
  }
308
 
309
  } //end else
@@ -324,7 +324,7 @@ function shortcode_visitor_votes_callback ($atts) {
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 &nbsp; &nbsp;" . __("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
  }
@@ -333,13 +333,13 @@ function shortcode_visitor_votes_callback ($atts) {
333
 
334
  if ($votes_number>0) {
335
  $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>
336
- <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
337
  </div>";
338
  }
339
 
340
  else {
341
  $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>
342
- <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
343
  </div>";
344
  }
345
 
@@ -353,14 +353,14 @@ function shortcode_visitor_votes_callback ($atts) {
353
 
354
  if ($votes_number>0) {
355
  $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>
356
- <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
357
  " . __("You must sign to vote", "yasr") . "</div>";
358
  }
359
 
360
  else {
361
  $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>
362
- <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
363
- </div>";
364
  }
365
 
366
  }
@@ -384,7 +384,7 @@ function shortcode_visitor_votes_callback ($atts) {
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 &nbsp; &nbsp;" . __("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
  }
@@ -396,12 +396,12 @@ function shortcode_visitor_votes_callback ($atts) {
396
 
397
  if ($votes_number>0) {
398
  $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>
399
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
400
  }
401
 
402
  else {
403
  $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>
404
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
405
  }
406
 
407
  } //End else
@@ -414,12 +414,12 @@ function shortcode_visitor_votes_callback ($atts) {
414
 
415
  if ($votes_number>0) {
416
  $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>
417
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
418
  }
419
 
420
  else {
421
  $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>
422
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span></div>";
423
  }
424
 
425
  } //end else
@@ -440,7 +440,7 @@ function shortcode_visitor_votes_callback ($atts) {
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 &nbsp; &nbsp;" . __("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
  }
@@ -449,13 +449,13 @@ function shortcode_visitor_votes_callback ($atts) {
449
 
450
  if ($votes_number>0) {
451
  $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>
452
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
453
  </div>";
454
  }
455
 
456
  else {
457
  $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>
458
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
459
  </div>";
460
  }
461
 
@@ -463,20 +463,20 @@ function shortcode_visitor_votes_callback ($atts) {
463
 
464
  } //End if user is logged in
465
 
466
- //Else mean user is not logged in
467
  else {
468
 
469
 
470
  if ($votes_number>0) {
471
  $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>
472
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
473
  " . __("You must sign to vote", "yasr") . "</div>";
474
  }
475
 
476
  else {
477
  $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>
478
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average $medium_rating/5" , "yasr") . "]</span>
479
- </div>";
480
  }
481
 
482
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
157
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
158
 
159
  }
165
 
166
  if ($votes_number>0) {
167
  $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>
168
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
169
  }
170
 
171
  else {
172
  $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>
173
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
174
  }
175
 
176
  } //End else
183
 
184
  if ($votes_number>0) {
185
  $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>
186
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
187
  }
188
 
189
  else {
190
  $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>
191
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
192
  }
193
 
194
  } //end else
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
212
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
213
 
214
  }
217
 
218
  if ($votes_number>0) {
219
  $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>
220
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
221
  </div>";
222
  }
223
 
224
  else {
225
  $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>
226
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
227
  </div>";
228
  }
229
 
237
 
238
  if ($votes_number>0) {
239
  $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>
240
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
241
  " . __("You must sign to vote", "yasr") . "</div>";
242
  }
243
 
244
  else {
245
  $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>
246
+ <span class=\"yasr-total-average-text-small\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>"
247
+ . __("You must sign to vote", "yasr") . "</div>";
248
  }
249
 
250
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
272
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
273
 
274
  }
280
 
281
  if ($votes_number>0) {
282
  $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>
283
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
284
  }
285
 
286
  else {
287
  $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>
288
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
289
  }
290
 
291
  } //End else
298
 
299
  if ($votes_number>0) {
300
  $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>
301
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
302
  }
303
 
304
  else {
305
  $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>
306
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
307
  }
308
 
309
  } //end else
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
328
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
329
 
330
  }
333
 
334
  if ($votes_number>0) {
335
  $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>
336
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
337
  </div>";
338
  }
339
 
340
  else {
341
  $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>
342
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
343
  </div>";
344
  }
345
 
353
 
354
  if ($votes_number>0) {
355
  $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>
356
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
357
  " . __("You must sign to vote", "yasr") . "</div>";
358
  }
359
 
360
  else {
361
  $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>
362
+ <span class=\"yasr-total-average-text-medium\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
363
+ " . __("You must sign to vote", "yasr") . "</div>";
364
  }
365
 
366
  }
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
388
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
389
 
390
  }
396
 
397
  if ($votes_number>0) {
398
  $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>
399
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
400
  }
401
 
402
  else {
403
  $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>
404
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
405
  }
406
 
407
  } //End else
414
 
415
  if ($votes_number>0) {
416
  $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>
417
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
418
  }
419
 
420
  else {
421
  $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>
422
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span></div>";
423
  }
424
 
425
  } //end else
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 &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
444
  <strong>" . __("You've already voted this article with", "yasr") . " $vote_if_user_already_rated </strong></div>";
445
 
446
  }
449
 
450
  if ($votes_number>0) {
451
  $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>
452
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
453
  </div>";
454
  }
455
 
456
  else {
457
  $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>
458
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
459
  </div>";
460
  }
461
 
463
 
464
  } //End if user is logged in
465
 
466
+ //Else mean user is not logged in
467
  else {
468
 
469
 
470
  if ($votes_number>0) {
471
  $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>
472
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
473
  " . __("You must sign to vote", "yasr") . "</div>";
474
  }
475
 
476
  else {
477
  $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>
478
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$votes_number &nbsp; &nbsp;" . __("Average: ","yasr") . "$medium_rating/5]</span>
479
+ " . __("You must sign to vote", "yasr") . "</div>";
480
  }
481
 
482
  }
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
7
  License: GPL2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -38,6 +38,7 @@ If with gd-star-rating you're using a different number of stars from the default
38
 
39
  = Supported Languages =
40
  * English
 
41
  * German (thanks to Josef Seidl, http://www.blog-it-solutions.de/ )
42
 
43
  == Installation ==
@@ -67,7 +68,7 @@ Paste this shortcode to make it appear where you want **[yasr_most_or_highest_ra
67
  = What is "Most active reviewers" ? =
68
  If in your site there are more than 1 person writing reviews, this chart will show the 5 most active reviewers. Shortcode is **[yasr_top_5_reviewers]**
69
 
70
- = What is Most "active users" ? =
71
  When a visitor (logged in or not) rates a post/page, his rating is stored in the database. This chart will show the 10 most active users, displaying the login name if logged in or "Anonymous" otherwise. The shortcode : **[yasr_top_ten_active_users]**
72
 
73
  = Wait, wait! Do I need to keep in mind all this shortcode? =
@@ -82,6 +83,12 @@ Of course not: you can easily add it on the visual editor just by clicking on th
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
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.8
7
  License: GPL2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
38
 
39
  = Supported Languages =
40
  * English
41
+ * Italian
42
  * German (thanks to Josef Seidl, http://www.blog-it-solutions.de/ )
43
 
44
  == Installation ==
68
  = What is "Most active reviewers" ? =
69
  If in your site there are more than 1 person writing reviews, this chart will show the 5 most active reviewers. Shortcode is **[yasr_top_5_reviewers]**
70
 
71
+ = What is "Most active users" ? =
72
  When a visitor (logged in or not) rates a post/page, his rating is stored in the database. This chart will show the 10 most active users, displaying the login name if logged in or "Anonymous" otherwise. The shortcode : **[yasr_top_ten_active_users]**
73
 
74
  = Wait, wait! Do I need to keep in mind all this shortcode? =
83
 
84
  == Changelog ==
85
 
86
+ = 0.4.8 =
87
+ * Many bug fix and code changes for i18n
88
+ * Yasr.css have been sperated in 2 files: 1 for admin and 1 for frontend
89
+ * Added Italian translation
90
+ * Many many other little bug fixes
91
+
92
  = 0.4.7 =
93
  * Visitor votes has changed: if an user is logged in, now it's possibile to update the given vote
94
  * Using css sprite instead of single images
yasr-metabox-overall-rating.php CHANGED
@@ -8,9 +8,6 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
8
  $overall_rating = "-1";
9
  }
10
 
11
- add_action( 'admin_footer', 'yasr_overall_rating_javascript' );
12
-
13
-
14
  ?>
15
 
16
  <span id="yasr_rateit_actual_overall_rating">
@@ -47,9 +44,8 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
47
  </div>
48
 
49
  <?php
50
- function yasr_overall_rating_javascript() {
51
 
52
- $ajax_nonce_overall = wp_create_nonce( "yasr_nonce_insert_overall_rating" );
53
 
54
  ?>
55
  <script>
@@ -72,7 +68,7 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
72
  //Send value to the Server
73
  jQuery.post(ajaxurl, data, function(response) {
74
  jQuery('#loader-overall-rating').hide();
75
- jQuery('#yasr_rateit_overall_value').text('You\'ve rated it: ' + value);
76
  }) ;
77
 
78
  });
@@ -93,20 +89,9 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
93
  //Send value to the Server
94
  jQuery.post(ajaxurl, data, function(response) {
95
  jQuery('#loader-overall-rating').hide();
96
- jQuery('#yasr_rateit_overall_value').text('You\'ve reset the vote');
97
  }) ;
98
  });
99
 
100
  });
101
- </script>
102
-
103
-
104
- <?php
105
-
106
- } //End yasr overall_rating_javascript
107
-
108
- //The callback function is called from plugin first page
109
-
110
-
111
-
112
- ?>
8
  $overall_rating = "-1";
9
  }
10
 
 
 
 
11
  ?>
12
 
13
  <span id="yasr_rateit_actual_overall_rating">
44
  </div>
45
 
46
  <?php
 
47
 
48
+ $ajax_nonce_overall = wp_create_nonce( "yasr_nonce_insert_overall_rating" );
49
 
50
  ?>
51
  <script>
68
  //Send value to the Server
69
  jQuery.post(ajaxurl, data, function(response) {
70
  jQuery('#loader-overall-rating').hide();
71
+ jQuery('#yasr_rateit_overall_value').text(response);
72
  }) ;
73
 
74
  });
89
  //Send value to the Server
90
  jQuery.post(ajaxurl, data, function(response) {
91
  jQuery('#loader-overall-rating').hide();
92
+ jQuery('#yasr_rateit_overall_value').text(response);
93
  }) ;
94
  });
95
 
96
  });
97
+ </script>
 
 
 
 
 
 
 
 
 
 
 
yasr-settings-page.php CHANGED
@@ -77,11 +77,11 @@ if ( !current_user_can( 'manage_options' ) ) {
77
  </div>
78
 
79
  <div class="yasr-donatedivdx" style="display:none">
80
- <h3><?php _e('Donations'); ?></h3>
81
 
82
- <?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. '); ?>
83
  <br />
84
- <?php _e('Thank you!'); ?>
85
  <br />
86
  <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AXE284FYMNWDC">
87
  <?php echo("<img src=" . YASR_IMG_DIR . "/paypal.png>"); ?>
@@ -102,13 +102,13 @@ if ( !current_user_can( 'manage_options' ) ) {
102
  ?>
103
  <div class="yasr-settingsdiv">
104
  <h3><?php _e("Import Gd Star Rating", "yasr"); ?></h3>
105
- <?php _e("I've found a previous installation of Gd Star Rating . <br />Do you want proceed to import data?", 'yasr'); ?>
106
  <br />
107
  <button href="#" class="button-delete" id="import-gdstar"><?php _e('Yes, Begin Import', 'yasr'); ?></button>
108
 
109
  <div id="yasr-import-gdstar-div" style="display:none;">
110
  <strong>
111
- <?php _e("Click on Proceed to Import Gd Star Rating Data."); ?>
112
  </strong>
113
  <br />
114
  <button href="#" class="button-primary" id="import-button"> <?php _e('Proceed', 'yasr'); ?></button>
@@ -141,7 +141,7 @@ if ( !current_user_can( 'manage_options' ) ) {
141
 
142
  <div id="yasr-import-gdstar-div" style="display:none;">
143
  <strong>
144
- <?php _e("Click on Proceed to Import again Gd Star Rating Data. This may take a while!"); ?>
145
  </strong>
146
  <br />
147
  <button href="#" class="button-primary" id="import-button"> <?php _e('Proceed', 'yasr'); ?></button>
@@ -182,29 +182,24 @@ if ( !current_user_can( 'manage_options' ) ) {
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
 
193
  <div id="yasr-multi-set-doc-box" style="display:none">
194
- <?php _e("Multi-set allows you to insert a rate for each aspect about the product / local business / whetever
195
- you're reviewing, example in the image below.", "yasr");
196
 
197
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "/yasr-multi-set.png> <br /> <br />";
198
 
199
- _e("You can create up to 99 different multi-sets and each one can contain up to 9 different fields.
200
- Once you've saved it, you can insert the rates while typing your article in the box below the editor,
201
- as you can see in this image (click to see it larger)", "yasr");
202
 
203
  echo "<br /><br /><a href=\"" . YASR_IMG_DIR ."yasr-multi-set-insert-rate.jpg\"><img src=" . YASR_IMG_DIR . "/yasr-multi-set-insert-rate-small.jpg></a> <br /> <br />";
204
 
205
- _e("In order to insert your text into a post or page, you can either past
206
- the short code that will appear at the bottom of the box or just click
207
- on the star in the graphic editor and select \"Insert Multi-Set\".", "yasr");
208
 
209
  ?>
210
 
@@ -239,7 +234,7 @@ if ( !current_user_can( 'manage_options' ) ) {
239
  </div>
240
 
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 />
@@ -276,7 +271,7 @@ if ( !current_user_can( 'manage_options' ) ) {
276
 
277
 
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 />
@@ -295,12 +290,12 @@ if ( !current_user_can( 'manage_options' ) ) {
295
 
296
  <?php
297
 
298
- }
299
 
300
  ?>
301
 
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 />
77
  </div>
78
 
79
  <div class="yasr-donatedivdx" style="display:none">
80
+ <h3><?php _e('Donations', 'yasr'); ?></h3>
81
 
82
+ <?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'); ?>
83
  <br />
84
+ <?php _e('Thank you!', 'yasr'); ?>
85
  <br />
86
  <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AXE284FYMNWDC">
87
  <?php echo("<img src=" . YASR_IMG_DIR . "/paypal.png>"); ?>
102
  ?>
103
  <div class="yasr-settingsdiv">
104
  <h3><?php _e("Import Gd Star Rating", "yasr"); ?></h3>
105
+ <?php _e("I've found a previous installation of Gd Star Rating.", "yasr"); ?> <br /><?php _e("Do you want proceed to import data?", "yasr"); ?>
106
  <br />
107
  <button href="#" class="button-delete" id="import-gdstar"><?php _e('Yes, Begin Import', 'yasr'); ?></button>
108
 
109
  <div id="yasr-import-gdstar-div" style="display:none;">
110
  <strong>
111
+ <?php _e("Click on Proceed to import Gd Star Rating data."); ?>
112
  </strong>
113
  <br />
114
  <button href="#" class="button-primary" id="import-button"> <?php _e('Proceed', 'yasr'); ?></button>
141
 
142
  <div id="yasr-import-gdstar-div" style="display:none;">
143
  <strong>
144
+ <?php _e("Click on Proceed to import again Gd Star Rating data. This may take a while!"); ?>
145
  </strong>
146
  <br />
147
  <button href="#" class="button-primary" id="import-button"> <?php _e('Proceed', 'yasr'); ?></button>
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
 
193
  <div id="yasr-multi-set-doc-box" style="display:none">
194
+ <?php _e("Multi Set allows you to insert a rate for each aspect about the product / local business / whetever you're reviewing, example in the image below.", "yasr");
 
195
 
196
  echo "<br /><br /><img src=" . YASR_IMG_DIR . "/yasr-multi-set.png> <br /> <br />";
197
 
198
+ _e("You can create up to 99 different Multi Set and each one can contain up to 9 different fields. Once you've saved it, you can insert the rates while typing your article in the box below the editor, as you can see in this image (click to see it larger)", "yasr");
 
 
199
 
200
  echo "<br /><br /><a href=\"" . YASR_IMG_DIR ."yasr-multi-set-insert-rate.jpg\"><img src=" . YASR_IMG_DIR . "/yasr-multi-set-insert-rate-small.jpg></a> <br /> <br />";
201
 
202
+ _e("In order to insert your Multi Sets into a post or page, you can either past the short code that will appear at the bottom of the box or just click on the star in the graphic editor and select \"Insert Multi Set\".", "yasr");
 
 
203
 
204
  ?>
205
 
234
  </div>
235
 
236
  <div class="yasr-donatedivdx" style="display:none">
237
+ <h3><?php _e('Donations', 'yasr'); ?></h3>
238
 
239
  <?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'); ?>
240
  <br />
271
 
272
 
273
  <div class="yasr-donatedivdx" style="display:none">
274
+ <h3><?php _e('Donations', 'yasr'); ?></h3>
275
 
276
  <?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'); ?>
277
  <br />
290
 
291
  <?php
292
 
293
+ } //End tab style
294
 
295
  ?>
296
 
297
  <div class="yasr-donatedivbottom" style="display:none">
298
+ <h3><?php _e('Donations', 'yasr'); ?></h3>
299
 
300
  <?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'); ?>
301
  <br />
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
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.7');
32
 
33
  //Plugin absolute path
34
  define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );
3
  * Plugin Name: Yet Another Stars Rating
4
  * Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
  * Description: Rating system with rich snippets
6
+ * Version: 0.4.8
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.8');
32
 
33
  //Plugin absolute path
34
  define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );