Yasr – Yet Another Stars Rating - Version 0.5.5

Version Description

  • All the javascript have been moved from inline to external. It can be minimized so it's faster. DELETE ALL YOUR CACHES
  • Fixed a possible bug if user manually delete data in a table
Download this release

Release Info

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

Code changes from version 0.5.4 to 0.5.5

js/yasr-admin.js ADDED
@@ -0,0 +1,706 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /****** Yasr Metabox overall rating ******/
2
+
3
+ function yasrDisplayOverallMetabox(defaultbox, postid, nonce) {
4
+
5
+ if (defaultbox == 'stars' ) {
6
+
7
+ yasrPrintEventSendOverallWithStars(postid, nonce);
8
+
9
+ } //end if if (defaultbox == 'stars' )
10
+
11
+ else if (defaultbox == 'numbers') {
12
+
13
+ yasrPrintEventSendOverallWithNumbers(postid, nonce);
14
+
15
+ } //End else if (defaultbox == 'numbers')
16
+
17
+ } //End function yasr_display_metabox*/
18
+
19
+
20
+ //This is for the stars
21
+ function yasrPrintEventSendOverallWithStars(postid, nonce) {
22
+
23
+ jQuery('#yasr_rateit_overall').on('rated', function() {
24
+ jQuery('#loader-overall-rating').show();
25
+ var el = jQuery(this);
26
+ var value = el.rateit('value');
27
+ var value = value.toFixed(1); //
28
+
29
+ var data = {
30
+ action: 'yasr_send_overall_rating',
31
+ nonce: nonce,
32
+ rating: value,
33
+ post_id: postid
34
+ };
35
+
36
+ //Send value to the Server
37
+ jQuery.post(ajaxurl, data, function(response) {
38
+ jQuery('#loader-overall-rating').hide();
39
+ jQuery('#yasr_rateit_overall_value').text(response);
40
+ }) ;
41
+
42
+ });
43
+
44
+ jQuery('#yasr_rateit_overall').on('reset', function() {
45
+ jQuery('#loader-overall-rating').show();
46
+ var el = jQuery(this);
47
+ var value = '-1';
48
+
49
+ var data = {
50
+ action: 'yasr_send_overall_rating',
51
+ nonce: nonce,
52
+ rating: value,
53
+ post_id: postid
54
+ };
55
+
56
+ //Send value to the Server
57
+ jQuery.post(ajaxurl, data, function(response) {
58
+ jQuery('#loader-overall-rating').hide();
59
+ jQuery('#yasr_rateit_overall_value').text(response);
60
+ }) ;
61
+
62
+ });
63
+
64
+ }
65
+
66
+ //This is for the numbers
67
+ function yasrPrintEventSendOverallWithNumbers(postid, nonce) {
68
+
69
+ jQuery('#yasr-send-overall-numbers').on('click', function() {
70
+
71
+ var integer = jQuery('#yasr-vote-overall-numbers-int').val();
72
+
73
+ var decimal = jQuery('#yasr-vote-overall-numbers-dec').val();
74
+
75
+ var value = integer + "." + decimal;
76
+
77
+ var data = {
78
+ action: 'yasr_send_overall_rating',
79
+ nonce: nonce,
80
+ rating: value,
81
+ post_id: postid
82
+ };
83
+
84
+ //Send value to the Server
85
+ jQuery.post(ajaxurl, data, function(response) {
86
+ jQuery('#yasr-overall-numbers-saved-confirm').text(response);
87
+ }) ;
88
+
89
+ return false;
90
+ preventDefault(); // same thing as above
91
+
92
+ });
93
+
94
+ }
95
+
96
+
97
+ /****** End Yasr Metabox overall rating ******/
98
+
99
+
100
+ /****** Yasr Metabox Multiple Rating ******/
101
+
102
+ function yasrDisplayMultiMetabox (nMultiSet, postid, nonceMulti, setId) {
103
+
104
+ // --------------IF multiple set are found -------------------
105
+
106
+ if (nMultiSet > 1) {
107
+
108
+ jQuery('#yasr-button-select-set').on("click", function() {
109
+
110
+ var data_id = {
111
+ action: 'yasr_send_id_nameset',
112
+ set_id: jQuery('#select_set').val(),
113
+ post_id: postid
114
+ }
115
+
116
+ jQuery("#yasr-loader-select-multi-set").show();
117
+
118
+ //Send value to the Server
119
+ jQuery.post(ajaxurl, data_id, function(response) {
120
+ jQuery("#yasr-loader-select-multi-set").hide();
121
+ jQuery('#yasr_rateit_multi_rating').html(response);
122
+ jQuery('.rateit').rateit();
123
+
124
+ jQuery('.multi').on('rated', function() {
125
+ var el = jQuery(this);
126
+ var value = el.rateit('value');
127
+ var value = value.toFixed(1);
128
+ var idField = el.attr('id');
129
+ var setType = jQuery('#select_set').val();
130
+
131
+ jQuery("#yasr-loader-multi-set-field-"+idField).show();
132
+
133
+ var data = {
134
+ action: 'yasr_send_id_field_with_vote',
135
+ nonce: nonceMulti,
136
+ rating: value,
137
+ post_id: postid,
138
+ id_field: idField,
139
+ set_type: setType
140
+ };
141
+
142
+ //Send value to the Server
143
+ jQuery.post(ajaxurl, data, function() {
144
+ jQuery("#yasr-loader-multi-set-field-"+idField).hide();
145
+ });
146
+ });
147
+
148
+
149
+ jQuery('.multi').on('reset', function() {
150
+ var el = jQuery(this);
151
+ var value = '0';
152
+ var idField = el.attr('id');
153
+ var setType = jQuery('#select_set').val();
154
+
155
+ jQuery("#yasr-loader-multi-set-field-"+idField).show();
156
+
157
+ var data = {
158
+ action: 'yasr_send_id_field_with_vote',
159
+ nonce: nonceMulti,
160
+ rating: value,
161
+ post_id: postid,
162
+ id_field: idField,
163
+ set_type: setType
164
+ };
165
+
166
+ //Send value to the Server
167
+ jQuery.post(ajaxurl, data, function() {
168
+ jQuery("#yasr-loader-multi-set-field-"+idField).hide();
169
+ });
170
+ });
171
+
172
+ });
173
+
174
+ return false; // prevent default click action from happening!
175
+ e.preventDefault(); // same thing as above
176
+
177
+ });
178
+
179
+ }
180
+
181
+ else if (nMultiSet == 1) {
182
+
183
+ // --------------IF we're using just 1 set -------------------
184
+
185
+ var data_id = {
186
+ action: 'yasr_send_id_nameset',
187
+ set_id: setId,
188
+ post_id: postid
189
+ }
190
+
191
+ //Send value to the Server
192
+ jQuery.post(ajaxurl, data_id, function(response) {
193
+ jQuery('#yasr_rateit_multi_rating').html(response);
194
+ jQuery('.rateit').rateit();
195
+
196
+ jQuery('.multi').on('rated', function() {
197
+ var el = jQuery(this);
198
+ var value = el.rateit('value');
199
+ var value = value.toFixed(1);
200
+ var idField = el.attr('id');
201
+
202
+ jQuery("#yasr-loader-multi-set-field-"+idField).show();
203
+
204
+ var data = {
205
+ action: 'yasr_send_id_field_with_vote',
206
+ nonce: nonceMulti,
207
+ rating: value,
208
+ post_id: postid,
209
+ id_field: idField,
210
+ set_type: setId
211
+ };
212
+
213
+ //Send value to the Server
214
+ jQuery.post(ajaxurl, data, function() {
215
+ jQuery("#yasr-loader-multi-set-field-"+idField).hide();
216
+ });
217
+
218
+ });
219
+
220
+ jQuery('.multi').on('reset', function() {
221
+ var el = jQuery(this);
222
+ var value = '0';
223
+ var idField = el.attr('id');
224
+ var setType = setId
225
+
226
+ jQuery("#yasr-loader-multi-set-field-"+idField).show();
227
+
228
+ var data = {
229
+ action: 'yasr_send_id_field_with_vote',
230
+ nonce: nonceMulti,
231
+ rating: value,
232
+ post_id: postid,
233
+ id_field: idField,
234
+ set_type: setType
235
+ };
236
+
237
+ //Send value to the Server
238
+ jQuery.post(ajaxurl, data, function() {
239
+ jQuery("#yasr-loader-multi-set-field-"+idField).hide();
240
+ });
241
+
242
+ });
243
+
244
+ });
245
+
246
+ } //End if set == 1
247
+
248
+
249
+ } //end function yasrDisplayMultiMetabox
250
+
251
+ /****** End Yasr Metabox Multple Rating ******/
252
+
253
+
254
+ /****** Yasr Settings Page ******/
255
+
256
+ function YasrSettingsPage (activeTab, nMultiSet, autoInsertEnabled, nonceShortcodeOverall, customText) {
257
+
258
+ //-------------------General Settings Code---------------------
259
+
260
+ if (activeTab == 'general_settings') {
261
+
262
+ if (autoInsertEnabled == 0) {
263
+ jQuery('.yasr-auto-insert-options-class').prop('disabled', true);
264
+ }
265
+
266
+ //First Div
267
+ jQuery('#yasr_auto_insert_radio_on').on('click', function(){
268
+ jQuery('.yasr-auto-insert-options-class').prop('disabled', false);
269
+ });
270
+
271
+ jQuery('#yasr_auto_insert_radio_off').on('click', function(){
272
+ jQuery('.yasr-auto-insert-options-class').prop('disabled', true);
273
+ });
274
+
275
+ if (customText == 0) {
276
+ jQuery('.yasr-general-options-text-before').prop('disabled', true);
277
+ }
278
+
279
+ jQuery('#yasr_text_before_star_on').on('click', function(){
280
+
281
+ jQuery('.yasr-general-options-text-before').prop('disabled', false);
282
+ jQuery('#yasr-general-options-custom-text-before-overall').val('Our Score');
283
+ jQuery('#yasr-general-options-custom-text-before-visitor').val('Our Reader Score');
284
+ jQuery('#yasr-general-options-custom-text-already-rated').val('You have already voted this article with');
285
+
286
+ });
287
+
288
+ jQuery('#yasr_text_before_star_off').on('click', function(){
289
+ jQuery('.yasr-general-options-text-before').prop('disabled', true);
290
+ });
291
+
292
+ jQuery('#yasr-color-scheme-preview-link').on('click', function () {
293
+ jQuery('#yasr-color-scheme-preview').toggle('slow');
294
+ return false; // prevent default click action from happening!
295
+ });
296
+
297
+ jQuery('#yasr-snippet-explained-link').on('click', function () {
298
+ jQuery('#yasr-snippet-explained').toggle('slow');
299
+ return false; // prevent default click action from happening!
300
+ });
301
+
302
+
303
+ //Second div code
304
+
305
+ //On click show proceed button
306
+ jQuery('#import-gdstar').on('click', function() {
307
+ jQuery('#yasr-import-gdstar-div').toggle();
308
+ });
309
+
310
+ //On click begin step1
311
+ jQuery('#import-button').on('click', function() {
312
+
313
+ var data = {
314
+ action : 'yasr_import_step1'
315
+ };
316
+
317
+ jQuery.post(ajaxurl, data, function(response) {
318
+ jQuery('#result-import').html(response);
319
+ });
320
+
321
+ }); //End step1
322
+
323
+ jQuery('#result-import').on('click', '.yasr-result-step-1', function() {
324
+ //Now we are going to prepare another ajax call to check if multiple set exists
325
+
326
+ var data = {
327
+ action: 'yasr_import_multi_set'
328
+ };
329
+
330
+ jQuery.post(ajaxurl, data, function(response) {
331
+ jQuery('#result-import').append(response);
332
+ });
333
+
334
+ }); //End second ajax call */
335
+
336
+ //Reload page after importing is done
337
+ jQuery('#result-import').on('click', '.yasr-result-step-2', function() {
338
+ location.reload(true);
339
+ });
340
+
341
+ } //End if general settings
342
+
343
+ //--------------Multi Sets Page ------------------
344
+
345
+ if (activeTab == 'manage_multi') {
346
+
347
+ jQuery('#yasr-multi-set-doc-link').on('click', function() {
348
+ jQuery('#yasr-multi-set-doc-box').toggle("slow");
349
+ });
350
+
351
+ jQuery('#yasr-multi-set-doc-link-hide').on('click', function() {
352
+ jQuery('#yasr-multi-set-doc-box').toggle("slow");
353
+ });
354
+
355
+ if (nMultiSet == 1) {
356
+
357
+ var counter = jQuery("#yasr-edit-form-number-elements").attr('value');
358
+
359
+ counter++;
360
+
361
+ jQuery("#yasr-add-field-edit-multiset").on('click', function() {
362
+
363
+ if(counter>9){
364
+ jQuery('#yasr-element-limit').show();
365
+ jQuery('#yasr-add-field-edit-multiset').hide();
366
+ return false;
367
+ }
368
+
369
+ var newTextBoxDiv = jQuery(document.createElement('tr'))
370
+
371
+ newTextBoxDiv.html('<td colspan="2">Element #' + counter + ' <input type="text" name="edit-multi-set-element-' + counter + '" value="" ></td>');
372
+
373
+ newTextBoxDiv.appendTo("#yasr-table-form-edit-multi-set");
374
+
375
+ counter++;
376
+
377
+ });
378
+
379
+
380
+ } //End if ($n_multi_set == 1)
381
+
382
+ if (nMultiSet > 1) {
383
+
384
+ //If more then 1 set is used...
385
+ jQuery('#yasr-button-select-set-edit-form').on("click", function() {
386
+
387
+ var data = {
388
+ action : 'yasr_get_multi_set',
389
+ set_id : jQuery('#yasr_select_edit_set').val()
390
+ }
391
+
392
+ jQuery.post(ajaxurl, data, function(response) {
393
+ jQuery('#yasr-multi-set-response').show();
394
+ jQuery('#yasr-multi-set-response').html(response);
395
+ });
396
+
397
+ return false; // prevent default click action from happening!
398
+ preventDefault(); // same thing as above
399
+
400
+ });
401
+
402
+ jQuery(document).ajaxComplete(function(){
403
+
404
+ var counter = jQuery("#yasr-edit-form-number-elements").attr('value');
405
+
406
+ counter++;
407
+
408
+ jQuery("#yasr-add-field-edit-multiset").on('click', function() {
409
+
410
+ if(counter>9){
411
+ jQuery('#yasr-element-limit').show();
412
+ jQuery('#yasr-add-field-edit-multiset').hide();
413
+ return false;
414
+ }
415
+
416
+ var newTextBoxDiv = jQuery(document.createElement('tr'))
417
+
418
+ newTextBoxDiv.html('<td colspan="2">Element #' + counter + ' <input type="text" name="edit-multi-set-element-' + counter + '" value="" ></td>');
419
+
420
+ newTextBoxDiv.appendTo("#yasr-table-form-edit-multi-set");
421
+
422
+ counter++;
423
+
424
+ });
425
+
426
+ });
427
+
428
+ } //End if ($n_multi_set > 1)
429
+
430
+ } //end if active_tab=='manage_multi'
431
+
432
+
433
+ //******* Charts page **************
434
+ if (activeTab == 'charts_options') {
435
+
436
+ //Begin custom top10 highest rated
437
+ jQuery('#yasr-pro-customize-overall-off').prop('checked', true);
438
+ jQuery('.yasr-pro-customize-overall').prop('disabled', true);
439
+ jQuery('#yasr-pro-customize-overall-div').hide();
440
+
441
+ jQuery('#yasr-pro-customize-overall-on').on('click', function(){
442
+ jQuery('#yasr-pro-customize-overall-div').toggle('slow');
443
+ jQuery('.yasr-pro-customize-overall').prop('disabled', false);
444
+ });
445
+
446
+ jQuery('#yasr-pro-customize-overall-off').on('click', function(){
447
+ jQuery('.yasr-pro-customize-overall').prop('disabled', true);
448
+ jQuery('#yasr-pro-customize-overall-div').hide();
449
+ });
450
+
451
+ jQuery('#yasr-pro-customize-charts-text-before-after-overall-no').on('click', function() {
452
+ jQuery('#yasr-pro-charts-options-text-before-after-overall-string').prop('disabled', true);
453
+ });
454
+
455
+ //when button is clicked do this actions
456
+ jQuery('#yasr-pro-customize-overall-button').on('click', function() {
457
+
458
+ var rows = jQuery('#yasr-pro-customize-charts-rows-number-overall').val();
459
+
460
+ var size = jQuery("input[type='radio'][name='yasr-pro-charts-options-size']:checked").val();
461
+
462
+ var text_position = jQuery("input[type='radio'][name='yasr-pro-charts-options-text-before-after-overall']:checked").val();
463
+
464
+ var text = jQuery('#yasr-pro-charts-options-text-before-after-overall-string').val();
465
+
466
+ if (text_position == 'no') {
467
+ var shortcode = '[yasr_pro_top_10_overall_rating_custom rows=' + rows + ' size=' + size + ']';
468
+ }
469
+
470
+ else {
471
+ var shortcode = '[yasr_pro_top_10_overall_rating_custom rows=' + rows + ' size=' + size + ' text_position=' + text_position + ' text=' + text + ']';
472
+ }
473
+
474
+ jQuery('#yasr-pro-shortcode-custom-overall').text(shortcode);
475
+ jQuery('#yasr-pro-shortcode-custom-overall-div').show();
476
+
477
+ jQuery('#yasr-pro-save-shortcode-overall-button').on('click', function() {
478
+
479
+ var data = {
480
+ action: 'yasr_pro_send_shortcode_overall',
481
+ shortcode: shortcode,
482
+ nonce: nonceShortcodeOverall
483
+ };
484
+
485
+ //Send value to the Server
486
+ jQuery.post(ajaxurl, data, function(response) {
487
+ jQuery('#yasr-pro-ajax-response-shortcode-overall').text(response);
488
+ }) ;
489
+
490
+ });
491
+
492
+ });
493
+
494
+
495
+
496
+ //End custom top10 highest rated
497
+
498
+ }
499
+
500
+ }
501
+
502
+ /****** End Yasr Settings Page ******/
503
+
504
+
505
+ /****** Yasr Ajax Page ******/
506
+
507
+
508
+ // When click on chart chart hide tab-main and show tab-charts
509
+
510
+ function yasrShortcodeCreator(nMultiSet) {
511
+
512
+ jQuery('#yasr-link-tab-charts').on("click", function(){
513
+
514
+ jQuery('#yasr-link-tab-main').removeClass('nav-tab-active');
515
+ jQuery('#yasr-link-tab-charts').addClass('nav-tab-active');
516
+
517
+ jQuery('#yasr-content-tab-main').hide();
518
+ jQuery('#yasr-content-tab-charts').show();
519
+
520
+ });
521
+
522
+ // When click on main tab hide tab-main and show tab-charts
523
+ jQuery('#yasr-link-tab-main').on("click", function(){
524
+
525
+ jQuery('#yasr-link-tab-charts').removeClass('nav-tab-active');
526
+ jQuery('#yasr-link-tab-main').addClass('nav-tab-active');
527
+
528
+ jQuery('#yasr-content-tab-charts').hide();
529
+ jQuery('#yasr-content-tab-main').show();
530
+
531
+ });
532
+
533
+ // Add shortcode for overall rating
534
+ jQuery('#yasr-overall').on("click", function(){
535
+ jQuery('#yasr-overall-choose-size').toggle('slow');
536
+ });
537
+
538
+ jQuery('#yasr-overall-insert-small').on("click", function(){
539
+ var shortcode = '[yasr_overall_rating size="small"]';
540
+ // inserts the shortcode into the active editor
541
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
542
+ // closes jqueryui
543
+ jQuery('#yasr-tinypopup-form').dialog('close');
544
+ });
545
+
546
+ jQuery('#yasr-overall-insert-medium').on("click", function(){
547
+ var shortcode = '[yasr_overall_rating size="medium"]';
548
+ // inserts the shortcode into the active editor
549
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
550
+ // closes jqueryui
551
+ jQuery('#yasr-tinypopup-form').dialog('close');
552
+ });
553
+
554
+ jQuery('#yasr-overall-insert-large').on("click", function(){
555
+ var shortcode = '[yasr_overall_rating size="large"]';
556
+ // inserts the shortcode into the active editor
557
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
558
+ // closes jqueryui
559
+ jQuery('#yasr-tinypopup-form').dialog('close');
560
+ });
561
+
562
+ //Add shortcode for visitors rating
563
+ jQuery('#yasr-visitor-votes').on("click", function(){
564
+ jQuery('#yasr-visitor-choose-size').toggle('slow');
565
+ });
566
+
567
+ jQuery('#yasr-visitor-insert-small').on("click", function(){
568
+ var shortcode = '[yasr_visitor_votes size="small"]';
569
+ // inserts the shortcode into the active editor
570
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
571
+ // closes Thickbox
572
+ jQuery('#yasr-tinypopup-form').dialog('close');
573
+ });
574
+
575
+ jQuery('#yasr-visitor-insert-medium').on("click", function(){
576
+ var shortcode = '[yasr_visitor_votes size="medium"]';
577
+ // inserts the shortcode into the active editor
578
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
579
+ // closes Thickbox
580
+ jQuery('#yasr-tinypopup-form').dialog('close');
581
+ });
582
+
583
+ jQuery('#yasr-visitor-insert-large').on("click", function(){
584
+ var shortcode = '[yasr_visitor_votes size="large"]';
585
+ // inserts the shortcode into the active editor
586
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
587
+ // closes Thickbox
588
+ jQuery('#yasr-tinypopup-form').dialog('close');
589
+ });
590
+
591
+ if (nMultiSet > 1) {
592
+
593
+ //Add shortcode for multiple set
594
+ jQuery('.yasr_tinymce_select_set').on("click", function(){
595
+ var setType = jQuery("input:radio[name=yasr_tinymce_pick_set]:checked" ).val();
596
+ var shortcode = '[yasr_multiset setid=';
597
+ shortcode += setType;
598
+ shortcode += ']';
599
+ // inserts the shortcode into the active editor
600
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
601
+ // closes jqueryui
602
+ jQuery('#yasr-tinypopup-form').dialog('close');
603
+ });
604
+
605
+ } //End if
606
+
607
+ else if (nMultiSet==1) {
608
+
609
+ //Add shortcode for single set (if only 1 are found)
610
+ jQuery('#yasr-single-set').on("click", function(){
611
+ var setType = jQuery('#yasr-single-set').val();
612
+ var shortcode = '[yasr_multiset setid=';
613
+ shortcode += setType;
614
+ shortcode += ']';
615
+ // inserts the shortcode into the active editor
616
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
617
+ // closes jqueryui
618
+ jQuery('#yasr-tinypopup-form').dialog('close');
619
+ });
620
+
621
+ } //End elseif
622
+
623
+ // Add shortcode for top 10 by overall ratings
624
+ jQuery('#yasr-top-10-overall-rating').on("click", function(){
625
+ var shortcode = '[yasr_top_ten_highest_rated]';
626
+ // inserts the shortcode into the active editor
627
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
628
+ // closes jqueryui
629
+ jQuery('#yasr-tinypopup-form').dialog('close');
630
+ });
631
+
632
+ // Add shortcode for 10 highest most rated
633
+ jQuery('#yasr-10-highest-most-rated').on("click", function(){
634
+ var shortcode = '[yasr_most_or_highest_rated_posts]';
635
+ // inserts the shortcode into the active editor
636
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
637
+ // closes jqueryui
638
+ jQuery('#yasr-tinypopup-form').dialog('close');
639
+ });
640
+
641
+ // Add shortcode for top 5 active reviewer
642
+ jQuery('#yasr-5-active-reviewers').on("click", function(){
643
+ var shortcode = '[yasr_top_5_reviewers]';
644
+ // inserts the shortcode into the active editor
645
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
646
+ // closes jqueryui
647
+ jQuery('#yasr-tinypopup-form').dialog('close');
648
+ });
649
+
650
+ // Add shortcode for top 10 active users
651
+ jQuery('#yasr-top-10-active-users').on("click", function(){
652
+ var shortcode = '[yasr_top_ten_active_users]';
653
+ // inserts the shortcode into the active editor
654
+ tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
655
+ // closes jqueryui
656
+ jQuery('#yasr-tinypopup-form').dialog('close');
657
+ });
658
+
659
+ } //End function
660
+
661
+ /****** End YAsr Ajax page ******/
662
+
663
+ /****** Yasr db functions ******/
664
+
665
+ jQuery(document).ready(function() {
666
+
667
+ //Log
668
+ jQuery('.yasr-log-pagenum').on('click', function() {
669
+
670
+ jQuery('#yasr-loader-log-metabox').show();
671
+
672
+ var data = {
673
+ action : 'yasr_change_log_page',
674
+ pagenum: jQuery(this).val(),
675
+
676
+ };
677
+
678
+ jQuery.post(ajaxurl, data, function(response) {
679
+ jQuery('#yasr-loader-log-metabox').hide();
680
+ jQuery('#yasr-log-container').html(response);
681
+ });
682
+
683
+ });
684
+
685
+ jQuery(document).ajaxComplete(function() {
686
+
687
+ jQuery('.yasr-log-page-num').on('click', function() {
688
+
689
+ jQuery('#yasr-loader-log-metabox').show();
690
+
691
+ var data = {
692
+ action : 'yasr_change_log_page',
693
+ pagenum: jQuery(this).val(),
694
+ };
695
+
696
+ jQuery.post(ajaxurl, data, function(response) {
697
+ jQuery('#yasr-log-container').html(response); //This will hide the loader gif too
698
+ });
699
+
700
+ });
701
+
702
+ });
703
+
704
+ });
705
+
706
+ /****** End yasr db functions ******/
js/yasr-admin.min.js ADDED
@@ -0,0 +1 @@
 
1
+ function yasrDisplayOverallMetabox(e,t,n){if(e=="stars"){yasrPrintEventSendOverallWithStars(t,n)}else if(e=="numbers"){yasrPrintEventSendOverallWithNumbers(t,n)}}function yasrPrintEventSendOverallWithStars(e,t){jQuery("#yasr_rateit_overall").on("rated",function(){jQuery("#loader-overall-rating").show();var n=jQuery(this);var r=n.rateit("value");var r=r.toFixed(1);var i={action:"yasr_send_overall_rating",nonce:t,rating:r,post_id:e};jQuery.post(ajaxurl,i,function(e){jQuery("#loader-overall-rating").hide();jQuery("#yasr_rateit_overall_value").text(e)})});jQuery("#yasr_rateit_overall").on("reset",function(){jQuery("#loader-overall-rating").show();var n=jQuery(this);var r="-1";var i={action:"yasr_send_overall_rating",nonce:t,rating:r,post_id:e};jQuery.post(ajaxurl,i,function(e){jQuery("#loader-overall-rating").hide();jQuery("#yasr_rateit_overall_value").text(e)})})}function yasrPrintEventSendOverallWithNumbers(e,t){jQuery("#yasr-send-overall-numbers").on("click",function(){var n=jQuery("#yasr-vote-overall-numbers-int").val();var r=jQuery("#yasr-vote-overall-numbers-dec").val();var i=n+"."+r;var s={action:"yasr_send_overall_rating",nonce:t,rating:i,post_id:e};jQuery.post(ajaxurl,s,function(e){jQuery("#yasr-overall-numbers-saved-confirm").text(e)});return false;preventDefault()})}function yasrDisplayMultiMetabox(t,n,r,i){if(t>1){jQuery("#yasr-button-select-set").on("click",function(){var t={action:"yasr_send_id_nameset",set_id:jQuery("#select_set").val(),post_id:n};jQuery("#yasr-loader-select-multi-set").show();jQuery.post(ajaxurl,t,function(e){jQuery("#yasr-loader-select-multi-set").hide();jQuery("#yasr_rateit_multi_rating").html(e);jQuery(".rateit").rateit();jQuery(".multi").on("rated",function(){var e=jQuery(this);var t=e.rateit("value");var t=t.toFixed(1);var i=e.attr("id");var s=jQuery("#select_set").val();jQuery("#yasr-loader-multi-set-field-"+i).show();var o={action:"yasr_send_id_field_with_vote",nonce:r,rating:t,post_id:n,id_field:i,set_type:s};jQuery.post(ajaxurl,o,function(){jQuery("#yasr-loader-multi-set-field-"+i).hide()})});jQuery(".multi").on("reset",function(){var e=jQuery(this);var t="0";var i=e.attr("id");var s=jQuery("#select_set").val();jQuery("#yasr-loader-multi-set-field-"+i).show();var o={action:"yasr_send_id_field_with_vote",nonce:r,rating:t,post_id:n,id_field:i,set_type:s};jQuery.post(ajaxurl,o,function(){jQuery("#yasr-loader-multi-set-field-"+i).hide()})})});return false;e.preventDefault()})}else if(t==1){var s={action:"yasr_send_id_nameset",set_id:i,post_id:n};jQuery.post(ajaxurl,s,function(e){jQuery("#yasr_rateit_multi_rating").html(e);jQuery(".rateit").rateit();jQuery(".multi").on("rated",function(){var e=jQuery(this);var t=e.rateit("value");var t=t.toFixed(1);var s=e.attr("id");jQuery("#yasr-loader-multi-set-field-"+s).show();var o={action:"yasr_send_id_field_with_vote",nonce:r,rating:t,post_id:n,id_field:s,set_type:i};jQuery.post(ajaxurl,o,function(){jQuery("#yasr-loader-multi-set-field-"+s).hide()})});jQuery(".multi").on("reset",function(){var e=jQuery(this);var t="0";var s=e.attr("id");var o=i;jQuery("#yasr-loader-multi-set-field-"+s).show();var u={action:"yasr_send_id_field_with_vote",nonce:r,rating:t,post_id:n,id_field:s,set_type:o};jQuery.post(ajaxurl,u,function(){jQuery("#yasr-loader-multi-set-field-"+s).hide()})})})}}function YasrSettingsPage(e,t,n,r,i){if(e=="general_settings"){if(n==0){jQuery(".yasr-auto-insert-options-class").prop("disabled",true)}jQuery("#yasr_auto_insert_radio_on").on("click",function(){jQuery(".yasr-auto-insert-options-class").prop("disabled",false)});jQuery("#yasr_auto_insert_radio_off").on("click",function(){jQuery(".yasr-auto-insert-options-class").prop("disabled",true)});if(i==0){jQuery(".yasr-general-options-text-before").prop("disabled",true)}jQuery("#yasr_text_before_star_on").on("click",function(){jQuery(".yasr-general-options-text-before").prop("disabled",false);jQuery("#yasr-general-options-custom-text-before-overall").val("Our Score");jQuery("#yasr-general-options-custom-text-before-visitor").val("Our Reader Score");jQuery("#yasr-general-options-custom-text-already-rated").val("You have already voted this article with")});jQuery("#yasr_text_before_star_off").on("click",function(){jQuery(".yasr-general-options-text-before").prop("disabled",true)});jQuery("#yasr-color-scheme-preview-link").on("click",function(){jQuery("#yasr-color-scheme-preview").toggle("slow");return false});jQuery("#yasr-snippet-explained-link").on("click",function(){jQuery("#yasr-snippet-explained").toggle("slow");return false});jQuery("#import-gdstar").on("click",function(){jQuery("#yasr-import-gdstar-div").toggle()});jQuery("#import-button").on("click",function(){var e={action:"yasr_import_step1"};jQuery.post(ajaxurl,e,function(e){jQuery("#result-import").html(e)})});jQuery("#result-import").on("click",".yasr-result-step-1",function(){var e={action:"yasr_import_multi_set"};jQuery.post(ajaxurl,e,function(e){jQuery("#result-import").append(e)})});jQuery("#result-import").on("click",".yasr-result-step-2",function(){location.reload(true)})}if(e=="manage_multi"){jQuery("#yasr-multi-set-doc-link").on("click",function(){jQuery("#yasr-multi-set-doc-box").toggle("slow")});jQuery("#yasr-multi-set-doc-link-hide").on("click",function(){jQuery("#yasr-multi-set-doc-box").toggle("slow")});if(t==1){var s=jQuery("#yasr-edit-form-number-elements").attr("value");s++;jQuery("#yasr-add-field-edit-multiset").on("click",function(){if(s>9){jQuery("#yasr-element-limit").show();jQuery("#yasr-add-field-edit-multiset").hide();return false}var e=jQuery(document.createElement("tr"));e.html('<td colspan="2">Element #'+s+' <input type="text" name="edit-multi-set-element-'+s+'" value="" ></td>');e.appendTo("#yasr-table-form-edit-multi-set");s++})}if(t>1){jQuery("#yasr-button-select-set-edit-form").on("click",function(){var e={action:"yasr_get_multi_set",set_id:jQuery("#yasr_select_edit_set").val()};jQuery.post(ajaxurl,e,function(e){jQuery("#yasr-multi-set-response").show();jQuery("#yasr-multi-set-response").html(e)});return false;preventDefault()});jQuery(document).ajaxComplete(function(){var e=jQuery("#yasr-edit-form-number-elements").attr("value");e++;jQuery("#yasr-add-field-edit-multiset").on("click",function(){if(e>9){jQuery("#yasr-element-limit").show();jQuery("#yasr-add-field-edit-multiset").hide();return false}var t=jQuery(document.createElement("tr"));t.html('<td colspan="2">Element #'+e+' <input type="text" name="edit-multi-set-element-'+e+'" value="" ></td>');t.appendTo("#yasr-table-form-edit-multi-set");e++})})}}if(e=="charts_options"){jQuery("#yasr-pro-customize-overall-off").prop("checked",true);jQuery(".yasr-pro-customize-overall").prop("disabled",true);jQuery("#yasr-pro-customize-overall-div").hide();jQuery("#yasr-pro-customize-overall-on").on("click",function(){jQuery("#yasr-pro-customize-overall-div").toggle("slow");jQuery(".yasr-pro-customize-overall").prop("disabled",false)});jQuery("#yasr-pro-customize-overall-off").on("click",function(){jQuery(".yasr-pro-customize-overall").prop("disabled",true);jQuery("#yasr-pro-customize-overall-div").hide()});jQuery("#yasr-pro-customize-charts-text-before-after-overall-no").on("click",function(){jQuery("#yasr-pro-charts-options-text-before-after-overall-string").prop("disabled",true)});jQuery("#yasr-pro-customize-overall-button").on("click",function(){var e=jQuery("#yasr-pro-customize-charts-rows-number-overall").val();var t=jQuery("input[type='radio'][name='yasr-pro-charts-options-size']:checked").val();var n=jQuery("input[type='radio'][name='yasr-pro-charts-options-text-before-after-overall']:checked").val();var i=jQuery("#yasr-pro-charts-options-text-before-after-overall-string").val();if(n=="no"){var s="[yasr_pro_top_10_overall_rating_custom rows="+e+" size="+t+"]"}else{var s="[yasr_pro_top_10_overall_rating_custom rows="+e+" size="+t+" text_position="+n+" text="+i+"]"}jQuery("#yasr-pro-shortcode-custom-overall").text(s);jQuery("#yasr-pro-shortcode-custom-overall-div").show();jQuery("#yasr-pro-save-shortcode-overall-button").on("click",function(){var e={action:"yasr_pro_send_shortcode_overall",shortcode:s,nonce:r};jQuery.post(ajaxurl,e,function(e){jQuery("#yasr-pro-ajax-response-shortcode-overall").text(e)})})})}}function yasrShortcodeCreator(e){jQuery("#yasr-link-tab-charts").on("click",function(){jQuery("#yasr-link-tab-main").removeClass("nav-tab-active");jQuery("#yasr-link-tab-charts").addClass("nav-tab-active");jQuery("#yasr-content-tab-main").hide();jQuery("#yasr-content-tab-charts").show()});jQuery("#yasr-link-tab-main").on("click",function(){jQuery("#yasr-link-tab-charts").removeClass("nav-tab-active");jQuery("#yasr-link-tab-main").addClass("nav-tab-active");jQuery("#yasr-content-tab-charts").hide();jQuery("#yasr-content-tab-main").show()});jQuery("#yasr-overall").on("click",function(){jQuery("#yasr-overall-choose-size").toggle("slow")});jQuery("#yasr-overall-insert-small").on("click",function(){var e='[yasr_overall_rating size="small"]';tinyMCE.activeEditor.execCommand("mceInsertContent",0,e);jQuery("#yasr-tinypopup-form").dialog("close")});jQuery("#yasr-overall-insert-medium").on("click",function(){var e='[yasr_overall_rating size="medium"]';tinyMCE.activeEditor.execCommand("mceInsertContent",0,e);jQuery("#yasr-tinypopup-form").dialog("close")});jQuery("#yasr-overall-insert-large").on("click",function(){var e='[yasr_overall_rating size="large"]';tinyMCE.activeEditor.execCommand("mceInsertContent",0,e);jQuery("#yasr-tinypopup-form").dialog("close")});jQuery("#yasr-visitor-votes").on("click",function(){jQuery("#yasr-visitor-choose-size").toggle("slow")});jQuery("#yasr-visitor-insert-small").on("click",function(){var e='[yasr_visitor_votes size="small"]';tinyMCE.activeEditor.execCommand("mceInsertContent",0,e);jQuery("#yasr-tinypopup-form").dialog("close")});jQuery("#yasr-visitor-insert-medium").on("click",function(){var e='[yasr_visitor_votes size="medium"]';tinyMCE.activeEditor.execCommand("mceInsertContent",0,e);jQuery("#yasr-tinypopup-form").dialog("close")});jQuery("#yasr-visitor-insert-large").on("click",function(){var e='[yasr_visitor_votes size="large"]';tinyMCE.activeEditor.execCommand("mceInsertContent",0,e);jQuery("#yasr-tinypopup-form").dialog("close")});if(e>1){jQuery(".yasr_tinymce_select_set").on("click",function(){var e=jQuery("input:radio[name=yasr_tinymce_pick_set]:checked").val();var t="[yasr_multiset setid=";t+=e;t+="]";tinyMCE.activeEditor.execCommand("mceInsertContent",0,t);jQuery("#yasr-tinypopup-form").dialog("close")})}else if(e==1){jQuery("#yasr-single-set").on("click",function(){var e=jQuery("#yasr-single-set").val();var t="[yasr_multiset setid=";t+=e;t+="]";tinyMCE.activeEditor.execCommand("mceInsertContent",0,t);jQuery("#yasr-tinypopup-form").dialog("close")})}jQuery("#yasr-top-10-overall-rating").on("click",function(){var e="[yasr_top_ten_highest_rated]";tinyMCE.activeEditor.execCommand("mceInsertContent",0,e);jQuery("#yasr-tinypopup-form").dialog("close")});jQuery("#yasr-10-highest-most-rated").on("click",function(){var e="[yasr_most_or_highest_rated_posts]";tinyMCE.activeEditor.execCommand("mceInsertContent",0,e);jQuery("#yasr-tinypopup-form").dialog("close")});jQuery("#yasr-5-active-reviewers").on("click",function(){var e="[yasr_top_5_reviewers]";tinyMCE.activeEditor.execCommand("mceInsertContent",0,e);jQuery("#yasr-tinypopup-form").dialog("close")});jQuery("#yasr-top-10-active-users").on("click",function(){var e="[yasr_top_ten_active_users]";tinyMCE.activeEditor.execCommand("mceInsertContent",0,e);jQuery("#yasr-tinypopup-form").dialog("close")})}jQuery(document).ready(function(){jQuery(".yasr-log-pagenum").on("click",function(){jQuery("#yasr-loader-log-metabox").show();var e={action:"yasr_change_log_page",pagenum:jQuery(this).val()};jQuery.post(ajaxurl,e,function(e){jQuery("#yasr-loader-log-metabox").hide();jQuery("#yasr-log-container").html(e)})});jQuery(document).ajaxComplete(function(){jQuery(".yasr-log-page-num").on("click",function(){jQuery("#yasr-loader-log-metabox").show();var e={action:"yasr_change_log_page",pagenum:jQuery(this).val()};jQuery.post(ajaxurl,e,function(e){jQuery("#yasr-log-container").html(e)})})})})
js/yasr-front.js ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /****** Yasr shortcode page ******/
2
+
3
+ function yasrVisitorsVotes(tooltipValues, postid, ajaxurl, size, loggedUser, voteIfUserAlredyRated, votes, votesNumber, loaderHtml, nonceVisitor) {
4
+
5
+ jQuery("#yasr_rateit_visitor_votes").bind('over', function (event, value) { jQuery(this).attr('title', tooltipValues[value-1]); });
6
+
7
+ var cookiename = "yasr_visitor_vote_" + postid;
8
+
9
+ if (voteIfUserAlredyRated == "0" ) {
10
+ voteIfUserAlredyRated = false;
11
+ }
12
+
13
+ //If user is not logged in
14
+ if (! loggedUser) {
15
+
16
+ //Check if has cookie and if so print readonly visitor shortcode
17
+ if (jQuery.cookie(cookiename)) {
18
+
19
+ var cookievote=jQuery.cookie(cookiename);
20
+
21
+ var data = {
22
+ action: 'yasr_readonly_visitor_shortcode',
23
+ size: size,
24
+ rating: cookievote,
25
+ votes: votes,
26
+ votes_number: votesNumber,
27
+ post_id: postid
28
+ }
29
+
30
+ jQuery.post(ajaxurl, data, function(response) {
31
+ jQuery('#yasr_visitor_votes').html(response);
32
+ jQuery('.rateit').rateit();
33
+ });
34
+
35
+ } //End if jquery cookie
36
+
37
+ //If not logged and not cookie allowed to voted
38
+ else {
39
+ yasrDefaultRatingShortcode ();
40
+ }
41
+
42
+ } //End if (!loggeduser)
43
+
44
+ //else, if is a logged in user
45
+ else {
46
+
47
+ //Do this code only if he has rated yet
48
+ //Check if has cookie or vote in db
49
+ if (jQuery.cookie(cookiename) || voteIfUserAlredyRated != '') {
50
+
51
+ jQuery('#yasr-rateit-visitor-votes-logged-rated').on('rated', function() {
52
+
53
+ var el = jQuery(this);
54
+ var value = el.rateit('value');
55
+ var value = value.toFixed(1); //
56
+
57
+ jQuery('#yasr_visitor_votes').html(loaderHtml);
58
+
59
+ var data = {
60
+ action: 'yasr_update_visitor_rating',
61
+ rating: value,
62
+ post_id: postid,
63
+ size: size,
64
+ nonce_visitor: nonceVisitor
65
+ };
66
+
67
+ //Send value to the Server
68
+ jQuery.post(ajaxurl, data, function(response) {
69
+ //response
70
+ jQuery('#yasr_visitor_votes').html(response);
71
+ jQuery('.rateit').rateit();
72
+ //Create a cookie to disable double vote
73
+ jQuery.cookie(cookiename, value, { expires : 360 });
74
+ }) ;
75
+
76
+ });//End function update vote
77
+
78
+ } //End if jquery cookie
79
+
80
+ else if (!jQuery.cookie(cookiename) && voteIfUserAlredyRated == '') {
81
+
82
+ yasrDefaultRatingShortcode ();
83
+
84
+ }
85
+
86
+ } //End else logged
87
+
88
+ function yasrDefaultRatingShortcode () {
89
+
90
+ //On click Insert visitor votes
91
+ jQuery('#yasr_rateit_visitor_votes').on('rated', function() {
92
+
93
+ var el = jQuery(this);
94
+ var value = el.rateit('value');
95
+ var value = value.toFixed(1); //
96
+
97
+ jQuery('#yasr_visitor_votes').html(loaderHtml);
98
+
99
+ var data = {
100
+ action: 'yasr_send_visitor_rating',
101
+ rating: value,
102
+ post_id: postid,
103
+ size: size,
104
+ nonce_visitor: nonceVisitor
105
+ };
106
+
107
+ //Send value to the Server
108
+ jQuery.post(ajaxurl, data, function(response) {
109
+ //response
110
+ jQuery('#yasr_visitor_votes').html(response);
111
+ jQuery('.rateit').rateit();
112
+ //Create a cookie to disable double vote
113
+ jQuery.cookie(cookiename, value, { expires : 360 });
114
+ }) ;
115
+ });
116
+
117
+ } //End function default_rating_shortcode
118
+
119
+ } //End function yasr visitor votes
120
+
121
+
122
+ function yasrMostOrHighestRatedChart (ajaxurl) {
123
+
124
+ //Link do nothing
125
+ jQuery('#yasr_multi_chart_link_to_nothing').on("click", function () {
126
+
127
+ return false; // prevent default click action from happening!
128
+
129
+ });
130
+
131
+ var data = {
132
+ action : 'yasr_multi_chart_most_highest' //declared in yasr-ajax-functions
133
+ };
134
+
135
+
136
+ jQuery.post(ajaxurl, data, function(response) {
137
+
138
+ jQuery('.yasr-most-or-highest-rated-posts').html(response);
139
+ jQuery('.rateit').rateit();
140
+
141
+ //By default, hide the highest rated chart
142
+ jQuery('.yasr-highest-rated-posts').hide();
143
+
144
+ //On click on highest, hide most and show highest
145
+ jQuery('#yasr_multi_chart_highest').on("click", function () {
146
+
147
+ jQuery('.yasr-most-rated-posts').hide();
148
+
149
+ jQuery('.yasr-highest-rated-posts').show();
150
+
151
+ return false; // prevent default click action from happening!
152
+
153
+ });
154
+
155
+ //Vice versa
156
+ jQuery('#yasr_multi_chart_most').on("click", function () {
157
+
158
+ jQuery('.yasr-highest-rated-posts').hide();
159
+
160
+ jQuery('.yasr-most-rated-posts').show();
161
+
162
+ return false; // prevent default click action from happening!
163
+
164
+ });
165
+
166
+ });
167
+
168
+ }
169
+
170
+ /****** End Yasr shortcode page ******/
js/yasr-front.min.js ADDED
@@ -0,0 +1 @@
 
1
+ function yasrVisitorsVotes(e,t,n,r,i,s,o,u,a,f){function p(){jQuery("#yasr_rateit_visitor_votes").on("rated",function(){var e=jQuery(this);var i=e.rateit("value");var i=i.toFixed(1);jQuery("#yasr_visitor_votes").html(a);var s={action:"yasr_send_visitor_rating",rating:i,post_id:t,size:r,nonce_visitor:f};jQuery.post(n,s,function(e){jQuery("#yasr_visitor_votes").html(e);jQuery(".rateit").rateit();jQuery.cookie(l,i,{expires:360})})})}jQuery("#yasr_rateit_visitor_votes").bind("over",function(t,n){jQuery(this).attr("title",e[n-1])});var l="yasr_visitor_vote_"+t;if(s=="0"){s=false}if(!i){if(jQuery.cookie(l)){var c=jQuery.cookie(l);var h={action:"yasr_readonly_visitor_shortcode",size:r,rating:c,votes:o,votes_number:u,post_id:t};jQuery.post(n,h,function(e){jQuery("#yasr_visitor_votes").html(e);jQuery(".rateit").rateit()})}else{p()}}else{if(jQuery.cookie(l)||s!=""){jQuery("#yasr-rateit-visitor-votes-logged-rated").on("rated",function(){var e=jQuery(this);var i=e.rateit("value");var i=i.toFixed(1);jQuery("#yasr_visitor_votes").html(a);var s={action:"yasr_update_visitor_rating",rating:i,post_id:t,size:r,nonce_visitor:f};jQuery.post(n,s,function(e){jQuery("#yasr_visitor_votes").html(e);jQuery(".rateit").rateit();jQuery.cookie(l,i,{expires:360})})})}else if(!jQuery.cookie(l)&&s==""){p()}}}function yasrMostOrHighestRatedChart(e){jQuery("#yasr_multi_chart_link_to_nothing").on("click",function(){return false});var t={action:"yasr_multi_chart_most_highest"};jQuery.post(e,t,function(e){jQuery(".yasr-most-or-highest-rated-posts").html(e);jQuery(".rateit").rateit();jQuery(".yasr-highest-rated-posts").hide();jQuery("#yasr_multi_chart_highest").on("click",function(){jQuery(".yasr-most-rated-posts").hide();jQuery(".yasr-highest-rated-posts").show();return false});jQuery("#yasr_multi_chart_most").on("click",function(){jQuery(".yasr-highest-rated-posts").hide();jQuery(".yasr-most-rated-posts").show();return false})})}
languages/yasr-de_DE.mo CHANGED
Binary file
languages/yasr-de_DE.po CHANGED
@@ -1,24 +1,24 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YASR lenguages\n"
4
- "POT-Creation-Date: 2014-09-09 11:36+0100\n"
5
- "PO-Revision-Date: 2014-09-13 12:09+0100\n"
6
- "Last-Translator: Josef Seidl <info@blog-it-solutions.de>\n"
7
  "Language-Team: \n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.9\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
  "X-Poedit-SearchPath-1: ../lib\n"
18
 
19
- #: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:75
20
  #: ../lib/yasr-ajax-functions.php:29 ../lib/yasr-ajax-functions.php: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 "
@@ -158,26 +158,26 @@ msgstr ""
158
  msgid "Close this message"
159
  msgstr "Nachricht schließen"
160
 
161
- #: ../yasr-metabox-multiple-rating.php:15
162
  msgid "Choose wich set you want to use"
163
  msgstr "Wähle ein Multi-Set aus"
164
 
165
- #: ../yasr-metabox-multiple-rating.php:26
166
- #: ../lib/yasr-settings-functions.php:402
167
  msgid "Select"
168
  msgstr "Auswählen"
169
 
170
- #: ../yasr-metabox-overall-rating.php:47 ../yasr-metabox-overall-rating.php:94
171
  msgid "Rate this article / item"
172
  msgstr "Bewerte diesen Artikel / Gegenstand"
173
 
174
- #: ../yasr-metabox-overall-rating.php:53
175
  #: ../lib/yasr-shortcode-functions.php:144
176
  msgid "Loading, please wait"
177
  msgstr "Wird geladen, bitte warten"
178
 
179
- #: ../yasr-metabox-overall-rating.php:68
180
- #: ../yasr-metabox-overall-rating.php:147
181
  msgid ""
182
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
183
  "where you want to display this rating"
@@ -185,7 +185,7 @@ msgstr ""
185
  "Füge den Shortcode <strong>[yasr_overall_rating]</strong> an der Position "
186
  "ein, wo die Bewertung angezeigt werden soll."
187
 
188
- #: ../yasr-metabox-overall-rating.php:156
189
  msgid "Save Vote"
190
  msgstr "Bewertung speichern"
191
 
@@ -198,13 +198,13 @@ msgstr "Bewertung speichern"
198
  #: ../lib/yasr-shortcode-functions.php:258
199
  #: ../lib/yasr-shortcode-functions.php:264
200
  #: ../lib/yasr-shortcode-functions.php:279
201
- #: ../lib/yasr-shortcode-functions.php:285 ../lib/yasr-ajax-functions.php:1001
202
- #: ../lib/yasr-ajax-functions.php:1009 ../lib/yasr-ajax-functions.php:1017
203
- #: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1037
204
- #: ../lib/yasr-ajax-functions.php:1044 ../lib/yasr-ajax-functions.php:1139
205
- #: ../lib/yasr-ajax-functions.php:1147 ../lib/yasr-ajax-functions.php:1155
206
- #: ../lib/yasr-ajax-functions.php:1203 ../lib/yasr-ajax-functions.php:1209
207
- #: ../lib/yasr-ajax-functions.php:1215 ../lib/yasr-ajax-functions.php:1224
208
  msgid "Total: "
209
  msgstr "Gesamt:"
210
 
@@ -231,19 +231,23 @@ msgstr "Du hast für diesen Artikel folgende Bewertung abgegeben: "
231
  msgid "You must sign to vote"
232
  msgstr "Um eine Bewertung abzugeben musst du angemeldet sein"
233
 
234
- #: ../lib/yasr-shortcode-functions.php:524
 
 
 
 
235
  msgid "Rating"
236
  msgstr "Bewertung"
237
 
238
- #: ../lib/yasr-shortcode-functions.php:538
239
  msgid "You don't have any votes stored"
240
  msgstr "Es sind keine Autoren-Bewertungen gespeichert"
241
 
242
- #: ../lib/yasr-shortcode-functions.php:552
243
  msgid "Chart is loading, please wait"
244
  msgstr "Wird geladen, bitte warten"
245
 
246
- #: ../lib/yasr-shortcode-functions.php:681
247
  msgid ""
248
  "Problem while retriving the top 5 most active reviewers. Did you published "
249
  "any review?"
@@ -251,7 +255,7 @@ msgstr ""
251
  "Es ist ein Problem beim Laden der 5 aktivsten Review-Autoren aufgetreten. "
252
  "Hast du bereits ein Review veröffentlicht?"
253
 
254
- #: ../lib/yasr-shortcode-functions.php:749
255
  msgid ""
256
  "Problem while retriving the top 10 active users chart. Are you sure you have "
257
  "votes to show?"
@@ -457,19 +461,19 @@ msgstr ""
457
  "Wenn du im Vergleich \"Aggregate Rating\" wählst, dann sieht das Ergebnis "
458
  "wie folgt aus:"
459
 
460
- #: ../lib/yasr-settings-functions.php:330
461
  msgid "Stars"
462
  msgstr "Sterne"
463
 
464
- #: ../lib/yasr-settings-functions.php:334
465
  msgid "Numbers"
466
  msgstr "Zahlen"
467
 
468
- #: ../lib/yasr-settings-functions.php:347
469
  msgid "Add New Multiple Set"
470
  msgstr "Neues Multi-Set hinzufügen"
471
 
472
- #: ../lib/yasr-settings-functions.php:348
473
  msgid ""
474
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
475
  "characters"
@@ -477,48 +481,48 @@ msgstr ""
477
  "Feldname, Element #1 und Element #2 MÜSSEN ausgefüllt und mindestens 3 "
478
  "Zeichen lang sein"
479
 
480
- #: ../lib/yasr-settings-functions.php:351
481
  msgid "Name"
482
  msgstr "Name"
483
 
484
- #: ../lib/yasr-settings-functions.php:356
485
  msgid "You can insert up to nine element"
486
  msgstr "Du kannst bis zu 9 Elemente einfügen"
487
 
488
- #: ../lib/yasr-settings-functions.php:361
489
  msgid "Element "
490
  msgstr "Element"
491
 
492
- #: ../lib/yasr-settings-functions.php:371
493
  msgid "Create New Set"
494
  msgstr "Neues Multi-Set anlegen"
495
 
496
- #: ../lib/yasr-settings-functions.php:392
497
- #: ../lib/yasr-settings-functions.php:424
498
  msgid "Manage Multiple Set"
499
  msgstr "Verschiedene Multi-Sets verwalten"
500
 
501
- #: ../lib/yasr-settings-functions.php:394
502
  msgid "Wich set do you want to edit or remove?"
503
  msgstr "Welches Multi-Set möchtest du bearbeiten oder löschen?"
504
 
505
- #: ../lib/yasr-settings-functions.php:434
506
- #: ../lib/yasr-settings-functions.php:552
507
  msgid "Field name"
508
  msgstr "Feldname"
509
 
510
- #: ../lib/yasr-settings-functions.php:438
511
- #: ../lib/yasr-settings-functions.php:556
512
  msgid "Remove"
513
  msgstr "Entfernen"
514
 
515
- #: ../lib/yasr-settings-functions.php:480
516
- #: ../lib/yasr-settings-functions.php:598
517
  msgid "Remove whole set?"
518
  msgstr "Komplettes Multi-Set entfernen?"
519
 
520
- #: ../lib/yasr-settings-functions.php:493
521
- #: ../lib/yasr-settings-functions.php:611
522
  msgid ""
523
  "If you remove something you will remove all the votes for that set or field. "
524
  "This operation CAN'T BE undone."
@@ -526,63 +530,63 @@ msgstr ""
526
  "Wenn du etwas löscht, dann werden alle Bewertungen für dieses Multi-Set oder "
527
  "Element gelöscht. Dies kann nicht rückgängig gemacht werden."
528
 
529
- #: ../lib/yasr-settings-functions.php:500
530
- #: ../lib/yasr-settings-functions.php:618
531
  msgid "You can use up to 9 elements"
532
  msgstr "Du kannst bist zu 9 Elementen nutzen"
533
 
534
- #: ../lib/yasr-settings-functions.php:502
535
- #: ../lib/yasr-settings-functions.php:620
536
  msgid "Add element"
537
  msgstr "Element hinzufügen"
538
 
539
- #: ../lib/yasr-settings-functions.php:504
540
- #: ../lib/yasr-settings-functions.php:622
541
  msgid "Save changes"
542
  msgstr "Änderungen speichern"
543
 
544
- #: ../lib/yasr-settings-functions.php:514
545
  msgid "No Multiple Set were found"
546
  msgstr "Keine Multi-Sets gefunden"
547
 
548
- #: ../lib/yasr-settings-functions.php:764
549
- #: ../lib/yasr-settings-functions.php:1032
550
  msgid "Settings Saved"
551
  msgstr "Einstellungen gespeichert"
552
 
553
- #: ../lib/yasr-settings-functions.php:769
554
  msgid "Something goes wrong trying insert set field name. Please report it"
555
  msgstr ""
556
  "Beim einfügen des Multi-Set Feldnamens ist etwas schief gelaufen. Bitte "
557
  "melde das Problem"
558
 
559
- #: ../lib/yasr-settings-functions.php:775
560
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
561
  msgstr ""
562
  "Beim Einfügen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
563
  "Problem"
564
 
565
- #: ../lib/yasr-settings-functions.php:850
566
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
567
  msgstr ""
568
  "Beim Löschen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
569
  "Problem"
570
 
571
- #: ../lib/yasr-settings-functions.php:896
572
  msgid ""
573
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
574
  msgstr ""
575
  "Beim Löschen des Multi-Set Elements ist etwas schief gelaufen. Bitte melde "
576
  "das Problem"
577
 
578
- #: ../lib/yasr-settings-functions.php:960
579
  msgid ""
580
  "Something goes wrong trying to update a Multi Set's element. Please report it"
581
  msgstr ""
582
  "Bei der Aktualisierung des Multi-Set Elements ist etwas schief gelaufen. "
583
  "Bitte melde das Problem"
584
 
585
- #: ../lib/yasr-settings-functions.php:1017
586
  msgid ""
587
  "Something goes wrong trying to insert set field name in edit form. Please "
588
  "report it"
@@ -590,15 +594,15 @@ msgstr ""
590
  "Beim Einfügen des Multi-Set Feldnamens ist etwas schief gelaufen. Bitte "
591
  "melde das Problem"
592
 
593
- #: ../lib/yasr-settings-functions.php:1060
594
  msgid "Style Options"
595
  msgstr "Style Optionen"
596
 
597
- #: ../lib/yasr-settings-functions.php:1061
598
  msgid "Custom CSS Styles"
599
  msgstr "Benutzerdefiniertes CSS"
600
 
601
- #: ../lib/yasr-settings-functions.php:1066
602
  msgid ""
603
  "Please use text area below to write your own CSS styles to override the "
604
  "default ones."
@@ -606,74 +610,74 @@ msgstr ""
606
  "Bitte nutze diesen Textbereich um die Standard CSS Styles mit deinem eigenen "
607
  "CSS-Code zu überschreiben."
608
 
609
- #: ../lib/yasr-settings-functions.php:1068
610
  msgid "Leave it blank if you don't know what you're doing"
611
  msgstr " Lasse diesen Bereich leer, wenn du nicht weißt was du tust."
612
 
613
- #: ../lib/yasr-settings-functions.php:1101
614
  msgid "No previous Gd Star Rating installation was found"
615
  msgstr "Es wurde keine Gd Star Ratings Installation gefunden"
616
 
617
- #: ../lib/yasr-db-functions.php:204 ../lib/yasr-ajax-functions.php:772
618
  msgid "No Recenet votes yet"
619
  msgstr "Keine kürzlichen Bewertungen"
620
 
621
- #: ../lib/yasr-db-functions.php:219 ../lib/yasr-ajax-functions.php:785
622
  msgid "anonymous"
623
  msgstr "Anonym"
624
 
625
- #: ../lib/yasr-db-functions.php:242 ../lib/yasr-ajax-functions.php:808
626
  msgid "Ip address"
627
  msgstr "IP-Adresse"
628
 
629
- #: ../lib/yasr-db-functions.php:283 ../lib/yasr-ajax-functions.php:849
630
  msgid "Pages"
631
  msgstr "Seiten"
632
 
633
- #: ../lib/yasr-functions.php:63 ../lib/yasr-functions.php:64
634
  msgid "Yet Another Stars Rating: Settings"
635
  msgstr "Yet Another Stars Rating"
636
 
637
- #: ../lib/yasr-functions.php:107 ../lib/yasr-functions.php:114
638
  msgid "Overall Rating"
639
  msgstr "Gesamtbewertung"
640
 
641
- #: ../lib/yasr-functions.php:108
642
  msgid "Yet Another Stars Rating: Multiple set"
643
  msgstr "Yet Another Stars Rating: Multi-Sets"
644
 
645
- #: ../lib/yasr-functions.php:124
646
  msgid "You don't have enought privileges to insert Overall Rating"
647
  msgstr ""
648
  "Du hast nicht die notwendigen Berechtigungen um eine Gesamtbewertung "
649
  "einzufügen"
650
 
651
- #: ../lib/yasr-functions.php:134
652
  msgid "You don't have enought privileges to insert Multi Set"
653
  msgstr ""
654
  "Du hast nicht die notwendigen Berechtigungen um ein Multi-Set einzufügen"
655
 
656
- #: ../lib/yasr-functions.php:256
657
  msgid " reviewed by "
658
  msgstr " bewertet von"
659
 
660
- #: ../lib/yasr-functions.php:257
661
  msgid " on "
662
  msgstr " mit"
663
 
664
- #: ../lib/yasr-functions.php:258
665
  msgid " rated "
666
  msgstr " ist bewertet mit "
667
 
668
- #: ../lib/yasr-functions.php:258
669
  msgid " on 5.0"
670
  msgstr " mit 5"
671
 
672
- #: ../lib/yasr-functions.php:302
673
  msgid " average rating "
674
  msgstr " Durchschnittsbewertung"
675
 
676
- #: ../lib/yasr-functions.php:303
677
  msgid " user ratings"
678
  msgstr " Besucherbewertungen"
679
 
@@ -805,11 +809,11 @@ msgstr "Füge die Top 10 aktivsten Besucher ein"
805
  msgid "Insert Top 10 active users in Visitor Ratings"
806
  msgstr "Top 10 aktivsten Besucher"
807
 
808
- #: ../lib/yasr-ajax-functions.php:630
809
  msgid "Reviews and Visitor Votes have been successfull imported."
810
  msgstr "Autoren-Reviews und Bewertungen wurden erfolgreich importiert."
811
 
812
- #: ../lib/yasr-ajax-functions.php:636
813
  msgid ""
814
  "Step2: I will check if you used Multiple Sets and if so I will import them. "
815
  "THIS MAY TAKE A WHILE!"
@@ -817,87 +821,87 @@ msgstr ""
817
  "Schritt 2: Prüfe ob Multi-Sets verwendet wurden und importiere diese. DAS "
818
  "KANN ETWAS DAUERN!"
819
 
820
- #: ../lib/yasr-ajax-functions.php:638
821
  msgid "Proceed Step 2"
822
  msgstr "Fortfahren mit Schritt 2"
823
 
824
- #: ../lib/yasr-ajax-functions.php:645
825
  msgid "Something goes wrong! Refresh the page and try again!"
826
  msgstr ""
827
  "Hier ist etwas schief gelaufen. Bitte aktualisiere die Seite und versuche es "
828
  "noch einmal!"
829
 
830
- #: ../lib/yasr-ajax-functions.php:674
831
  msgid "I've found Multiple Set! Importing..."
832
  msgstr "Es wurden verschiedene Multi-Sets gefunden. Starte Import..."
833
 
834
- #: ../lib/yasr-ajax-functions.php:683
835
  msgid "Multi Set's name has been successfull imported."
836
  msgstr "Multi-Set Namen wurden erfolgreich importiert."
837
 
838
- #: ../lib/yasr-ajax-functions.php:685
839
  msgid "Now I'm going to import Multi Set data"
840
  msgstr "Der Import der Multi-Set Daten wird gestartet"
841
 
842
- #: ../lib/yasr-ajax-functions.php:696
843
  msgid "All votes has been successfull imported."
844
  msgstr "Alle Bewertungen wurden erfolgreich importiert."
845
 
846
- #: ../lib/yasr-ajax-functions.php:698
847
  msgid "Done"
848
  msgstr "Fertig"
849
 
850
- #: ../lib/yasr-ajax-functions.php:703
851
  msgid "I've found Multiple Set's votes but I couldn't insert into db"
852
  msgstr ""
853
  "Es wurden Multi-Set Bewertungen gefunden aber diese konnten nicht in der "
854
  "Datenbank gespeichert werden."
855
 
856
- #: ../lib/yasr-ajax-functions.php:711
857
  msgid "I've found Multi Set but with no data"
858
  msgstr "Das Multi-Set wurde gefunden aber es sind keine Daten vorhanden"
859
 
860
- #: ../lib/yasr-ajax-functions.php:720
861
  msgid "I've found Multi Sets names but I couldn't insert into db"
862
  msgstr ""
863
  "Multi-Set Namen wurde gefunden aber konnten nicht in die Datenbank "
864
  "importiert werden"
865
 
866
- #: ../lib/yasr-ajax-functions.php:728
867
  msgid "Multisets were not found. Imported is done!"
868
  msgstr "Kein Multi-Set gefunden aber Import war erfolgreich!"
869
 
870
- #: ../lib/yasr-ajax-functions.php:1001 ../lib/yasr-ajax-functions.php:1009
871
- #: ../lib/yasr-ajax-functions.php:1017 ../lib/yasr-ajax-functions.php:1029
872
- #: ../lib/yasr-ajax-functions.php:1037 ../lib/yasr-ajax-functions.php:1044
873
  msgid "Average rating"
874
  msgstr "Durchschnittsbewertung"
875
 
876
- #: ../lib/yasr-ajax-functions.php:1002 ../lib/yasr-ajax-functions.php:1010
877
- #: ../lib/yasr-ajax-functions.php:1018 ../lib/yasr-ajax-functions.php:1030
878
- #: ../lib/yasr-ajax-functions.php:1038 ../lib/yasr-ajax-functions.php:1045
879
  msgid "Vote Saved"
880
  msgstr "Bewertung gespeichert"
881
 
882
- #: ../lib/yasr-ajax-functions.php:1140 ../lib/yasr-ajax-functions.php:1148
883
- #: ../lib/yasr-ajax-functions.php:1156
884
  msgid "Vote Updated"
885
  msgstr "Bewertung aktualisiert"
886
 
887
- #: ../lib/yasr-ajax-functions.php:1203 ../lib/yasr-ajax-functions.php:1209
888
- #: ../lib/yasr-ajax-functions.php:1215 ../lib/yasr-ajax-functions.php:1224
889
  msgid "Average "
890
  msgstr "Durchschnitt"
891
 
892
- #: ../lib/yasr-ajax-functions.php:1283 ../lib/yasr-ajax-functions.php:1323
893
  msgid "Total:"
894
  msgstr "Gesamt:"
895
 
896
- #: ../lib/yasr-ajax-functions.php:1283 ../lib/yasr-ajax-functions.php:1323
897
  msgid "Average"
898
  msgstr "Durchschnitt"
899
 
900
- #: ../lib/yasr-ajax-functions.php:1297 ../lib/yasr-ajax-functions.php:1335
901
  msgid "You've not enought data"
902
  msgstr "Es sind nicht genug Daten vorhanden"
903
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YASR lenguages\n"
4
+ "POT-Creation-Date: 2014-09-15 18:43+0100\n"
5
+ "PO-Revision-Date: 2014-09-15 18:43+0100\n"
6
+ "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: de_DE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.4\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
  "X-Poedit-SearchPath-1: ../lib\n"
18
 
19
+ #: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:80
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:618
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 "
158
  msgid "Close this message"
159
  msgstr "Nachricht schließen"
160
 
161
+ #: ../yasr-metabox-multiple-rating.php:17
162
  msgid "Choose wich set you want to use"
163
  msgstr "Wähle ein Multi-Set aus"
164
 
165
+ #: ../yasr-metabox-multiple-rating.php:28
166
+ #: ../lib/yasr-settings-functions.php:406
167
  msgid "Select"
168
  msgstr "Auswählen"
169
 
170
+ #: ../yasr-metabox-overall-rating.php:46 ../yasr-metabox-overall-rating.php:93
171
  msgid "Rate this article / item"
172
  msgstr "Bewerte diesen Artikel / Gegenstand"
173
 
174
+ #: ../yasr-metabox-overall-rating.php:52
175
  #: ../lib/yasr-shortcode-functions.php:144
176
  msgid "Loading, please wait"
177
  msgstr "Wird geladen, bitte warten"
178
 
179
+ #: ../yasr-metabox-overall-rating.php:67
180
+ #: ../yasr-metabox-overall-rating.php:149
181
  msgid ""
182
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
183
  "where you want to display this rating"
185
  "Füge den Shortcode <strong>[yasr_overall_rating]</strong> an der Position "
186
  "ein, wo die Bewertung angezeigt werden soll."
187
 
188
+ #: ../yasr-metabox-overall-rating.php:158
189
  msgid "Save Vote"
190
  msgstr "Bewertung speichern"
191
 
198
  #: ../lib/yasr-shortcode-functions.php:258
199
  #: ../lib/yasr-shortcode-functions.php:264
200
  #: ../lib/yasr-shortcode-functions.php:279
201
+ #: ../lib/yasr-shortcode-functions.php:285 ../lib/yasr-ajax-functions.php:859
202
+ #: ../lib/yasr-ajax-functions.php:867 ../lib/yasr-ajax-functions.php:875
203
+ #: ../lib/yasr-ajax-functions.php:887 ../lib/yasr-ajax-functions.php:895
204
+ #: ../lib/yasr-ajax-functions.php:902 ../lib/yasr-ajax-functions.php:997
205
+ #: ../lib/yasr-ajax-functions.php:1005 ../lib/yasr-ajax-functions.php:1013
206
+ #: ../lib/yasr-ajax-functions.php:1066 ../lib/yasr-ajax-functions.php:1072
207
+ #: ../lib/yasr-ajax-functions.php:1078 ../lib/yasr-ajax-functions.php:1087
208
  msgid "Total: "
209
  msgstr "Gesamt:"
210
 
231
  msgid "You must sign to vote"
232
  msgstr "Um eine Bewertung abzugeben musst du angemeldet sein"
233
 
234
+ #: ../lib/yasr-shortcode-functions.php:309
235
+ msgid "'bad', 'poor', 'ok', 'good', 'super'"
236
+ msgstr ""
237
+
238
+ #: ../lib/yasr-shortcode-functions.php:415
239
  msgid "Rating"
240
  msgstr "Bewertung"
241
 
242
+ #: ../lib/yasr-shortcode-functions.php:429
243
  msgid "You don't have any votes stored"
244
  msgstr "Es sind keine Autoren-Bewertungen gespeichert"
245
 
246
+ #: ../lib/yasr-shortcode-functions.php:443
247
  msgid "Chart is loading, please wait"
248
  msgstr "Wird geladen, bitte warten"
249
 
250
+ #: ../lib/yasr-shortcode-functions.php:532
251
  msgid ""
252
  "Problem while retriving the top 5 most active reviewers. Did you published "
253
  "any review?"
255
  "Es ist ein Problem beim Laden der 5 aktivsten Review-Autoren aufgetreten. "
256
  "Hast du bereits ein Review veröffentlicht?"
257
 
258
+ #: ../lib/yasr-shortcode-functions.php:600
259
  msgid ""
260
  "Problem while retriving the top 10 active users chart. Are you sure you have "
261
  "votes to show?"
461
  "Wenn du im Vergleich \"Aggregate Rating\" wählst, dann sieht das Ergebnis "
462
  "wie folgt aus:"
463
 
464
+ #: ../lib/yasr-settings-functions.php:334
465
  msgid "Stars"
466
  msgstr "Sterne"
467
 
468
+ #: ../lib/yasr-settings-functions.php:338
469
  msgid "Numbers"
470
  msgstr "Zahlen"
471
 
472
+ #: ../lib/yasr-settings-functions.php:351
473
  msgid "Add New Multiple Set"
474
  msgstr "Neues Multi-Set hinzufügen"
475
 
476
+ #: ../lib/yasr-settings-functions.php:352
477
  msgid ""
478
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
479
  "characters"
481
  "Feldname, Element #1 und Element #2 MÜSSEN ausgefüllt und mindestens 3 "
482
  "Zeichen lang sein"
483
 
484
+ #: ../lib/yasr-settings-functions.php:355
485
  msgid "Name"
486
  msgstr "Name"
487
 
488
+ #: ../lib/yasr-settings-functions.php:360
489
  msgid "You can insert up to nine element"
490
  msgstr "Du kannst bis zu 9 Elemente einfügen"
491
 
492
+ #: ../lib/yasr-settings-functions.php:365
493
  msgid "Element "
494
  msgstr "Element"
495
 
496
+ #: ../lib/yasr-settings-functions.php:375
497
  msgid "Create New Set"
498
  msgstr "Neues Multi-Set anlegen"
499
 
500
+ #: ../lib/yasr-settings-functions.php:396
501
+ #: ../lib/yasr-settings-functions.php:428
502
  msgid "Manage Multiple Set"
503
  msgstr "Verschiedene Multi-Sets verwalten"
504
 
505
+ #: ../lib/yasr-settings-functions.php:398
506
  msgid "Wich set do you want to edit or remove?"
507
  msgstr "Welches Multi-Set möchtest du bearbeiten oder löschen?"
508
 
509
+ #: ../lib/yasr-settings-functions.php:438
510
+ #: ../lib/yasr-settings-functions.php:556
511
  msgid "Field name"
512
  msgstr "Feldname"
513
 
514
+ #: ../lib/yasr-settings-functions.php:442
515
+ #: ../lib/yasr-settings-functions.php:560
516
  msgid "Remove"
517
  msgstr "Entfernen"
518
 
519
+ #: ../lib/yasr-settings-functions.php:484
520
+ #: ../lib/yasr-settings-functions.php:602
521
  msgid "Remove whole set?"
522
  msgstr "Komplettes Multi-Set entfernen?"
523
 
524
+ #: ../lib/yasr-settings-functions.php:497
525
+ #: ../lib/yasr-settings-functions.php:615
526
  msgid ""
527
  "If you remove something you will remove all the votes for that set or field. "
528
  "This operation CAN'T BE undone."
530
  "Wenn du etwas löscht, dann werden alle Bewertungen für dieses Multi-Set oder "
531
  "Element gelöscht. Dies kann nicht rückgängig gemacht werden."
532
 
533
+ #: ../lib/yasr-settings-functions.php:504
534
+ #: ../lib/yasr-settings-functions.php:622
535
  msgid "You can use up to 9 elements"
536
  msgstr "Du kannst bist zu 9 Elementen nutzen"
537
 
538
+ #: ../lib/yasr-settings-functions.php:506
539
+ #: ../lib/yasr-settings-functions.php:624
540
  msgid "Add element"
541
  msgstr "Element hinzufügen"
542
 
543
+ #: ../lib/yasr-settings-functions.php:508
544
+ #: ../lib/yasr-settings-functions.php:626
545
  msgid "Save changes"
546
  msgstr "Änderungen speichern"
547
 
548
+ #: ../lib/yasr-settings-functions.php:518
549
  msgid "No Multiple Set were found"
550
  msgstr "Keine Multi-Sets gefunden"
551
 
552
+ #: ../lib/yasr-settings-functions.php:768
553
+ #: ../lib/yasr-settings-functions.php:1036
554
  msgid "Settings Saved"
555
  msgstr "Einstellungen gespeichert"
556
 
557
+ #: ../lib/yasr-settings-functions.php:773
558
  msgid "Something goes wrong trying insert set field name. Please report it"
559
  msgstr ""
560
  "Beim einfügen des Multi-Set Feldnamens ist etwas schief gelaufen. Bitte "
561
  "melde das Problem"
562
 
563
+ #: ../lib/yasr-settings-functions.php:779
564
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
565
  msgstr ""
566
  "Beim Einfügen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
567
  "Problem"
568
 
569
+ #: ../lib/yasr-settings-functions.php:854
570
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
571
  msgstr ""
572
  "Beim Löschen des Multi-Sets ist etwas schief gelaufen. Bitte melde das "
573
  "Problem"
574
 
575
+ #: ../lib/yasr-settings-functions.php:900
576
  msgid ""
577
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
578
  msgstr ""
579
  "Beim Löschen des Multi-Set Elements ist etwas schief gelaufen. Bitte melde "
580
  "das Problem"
581
 
582
+ #: ../lib/yasr-settings-functions.php:964
583
  msgid ""
584
  "Something goes wrong trying to update a Multi Set's element. Please report it"
585
  msgstr ""
586
  "Bei der Aktualisierung des Multi-Set Elements ist etwas schief gelaufen. "
587
  "Bitte melde das Problem"
588
 
589
+ #: ../lib/yasr-settings-functions.php:1021
590
  msgid ""
591
  "Something goes wrong trying to insert set field name in edit form. Please "
592
  "report it"
594
  "Beim Einfügen des Multi-Set Feldnamens ist etwas schief gelaufen. Bitte "
595
  "melde das Problem"
596
 
597
+ #: ../lib/yasr-settings-functions.php:1064
598
  msgid "Style Options"
599
  msgstr "Style Optionen"
600
 
601
+ #: ../lib/yasr-settings-functions.php:1065
602
  msgid "Custom CSS Styles"
603
  msgstr "Benutzerdefiniertes CSS"
604
 
605
+ #: ../lib/yasr-settings-functions.php:1070
606
  msgid ""
607
  "Please use text area below to write your own CSS styles to override the "
608
  "default ones."
610
  "Bitte nutze diesen Textbereich um die Standard CSS Styles mit deinem eigenen "
611
  "CSS-Code zu überschreiben."
612
 
613
+ #: ../lib/yasr-settings-functions.php:1072
614
  msgid "Leave it blank if you don't know what you're doing"
615
  msgstr " Lasse diesen Bereich leer, wenn du nicht weißt was du tust."
616
 
617
+ #: ../lib/yasr-settings-functions.php:1105
618
  msgid "No previous Gd Star Rating installation was found"
619
  msgstr "Es wurde keine Gd Star Ratings Installation gefunden"
620
 
621
+ #: ../lib/yasr-db-functions.php:216 ../lib/yasr-ajax-functions.php:630
622
  msgid "No Recenet votes yet"
623
  msgstr "Keine kürzlichen Bewertungen"
624
 
625
+ #: ../lib/yasr-db-functions.php:231 ../lib/yasr-ajax-functions.php:643
626
  msgid "anonymous"
627
  msgstr "Anonym"
628
 
629
+ #: ../lib/yasr-db-functions.php:254 ../lib/yasr-ajax-functions.php:666
630
  msgid "Ip address"
631
  msgstr "IP-Adresse"
632
 
633
+ #: ../lib/yasr-db-functions.php:295 ../lib/yasr-ajax-functions.php:707
634
  msgid "Pages"
635
  msgstr "Seiten"
636
 
637
+ #: ../lib/yasr-functions.php:68 ../lib/yasr-functions.php:69
638
  msgid "Yet Another Stars Rating: Settings"
639
  msgstr "Yet Another Stars Rating"
640
 
641
+ #: ../lib/yasr-functions.php:112 ../lib/yasr-functions.php:119
642
  msgid "Overall Rating"
643
  msgstr "Gesamtbewertung"
644
 
645
+ #: ../lib/yasr-functions.php:113
646
  msgid "Yet Another Stars Rating: Multiple set"
647
  msgstr "Yet Another Stars Rating: Multi-Sets"
648
 
649
+ #: ../lib/yasr-functions.php:129
650
  msgid "You don't have enought privileges to insert Overall Rating"
651
  msgstr ""
652
  "Du hast nicht die notwendigen Berechtigungen um eine Gesamtbewertung "
653
  "einzufügen"
654
 
655
+ #: ../lib/yasr-functions.php:139
656
  msgid "You don't have enought privileges to insert Multi Set"
657
  msgstr ""
658
  "Du hast nicht die notwendigen Berechtigungen um ein Multi-Set einzufügen"
659
 
660
+ #: ../lib/yasr-functions.php:261
661
  msgid " reviewed by "
662
  msgstr " bewertet von"
663
 
664
+ #: ../lib/yasr-functions.php:262
665
  msgid " on "
666
  msgstr " mit"
667
 
668
+ #: ../lib/yasr-functions.php:263
669
  msgid " rated "
670
  msgstr " ist bewertet mit "
671
 
672
+ #: ../lib/yasr-functions.php:263
673
  msgid " on 5.0"
674
  msgstr " mit 5"
675
 
676
+ #: ../lib/yasr-functions.php:307
677
  msgid " average rating "
678
  msgstr " Durchschnittsbewertung"
679
 
680
+ #: ../lib/yasr-functions.php:308
681
  msgid " user ratings"
682
  msgstr " Besucherbewertungen"
683
 
809
  msgid "Insert Top 10 active users in Visitor Ratings"
810
  msgstr "Top 10 aktivsten Besucher"
811
 
812
+ #: ../lib/yasr-ajax-functions.php:488
813
  msgid "Reviews and Visitor Votes have been successfull imported."
814
  msgstr "Autoren-Reviews und Bewertungen wurden erfolgreich importiert."
815
 
816
+ #: ../lib/yasr-ajax-functions.php:494
817
  msgid ""
818
  "Step2: I will check if you used Multiple Sets and if so I will import them. "
819
  "THIS MAY TAKE A WHILE!"
821
  "Schritt 2: Prüfe ob Multi-Sets verwendet wurden und importiere diese. DAS "
822
  "KANN ETWAS DAUERN!"
823
 
824
+ #: ../lib/yasr-ajax-functions.php:496
825
  msgid "Proceed Step 2"
826
  msgstr "Fortfahren mit Schritt 2"
827
 
828
+ #: ../lib/yasr-ajax-functions.php:503
829
  msgid "Something goes wrong! Refresh the page and try again!"
830
  msgstr ""
831
  "Hier ist etwas schief gelaufen. Bitte aktualisiere die Seite und versuche es "
832
  "noch einmal!"
833
 
834
+ #: ../lib/yasr-ajax-functions.php:532
835
  msgid "I've found Multiple Set! Importing..."
836
  msgstr "Es wurden verschiedene Multi-Sets gefunden. Starte Import..."
837
 
838
+ #: ../lib/yasr-ajax-functions.php:541
839
  msgid "Multi Set's name has been successfull imported."
840
  msgstr "Multi-Set Namen wurden erfolgreich importiert."
841
 
842
+ #: ../lib/yasr-ajax-functions.php:543
843
  msgid "Now I'm going to import Multi Set data"
844
  msgstr "Der Import der Multi-Set Daten wird gestartet"
845
 
846
+ #: ../lib/yasr-ajax-functions.php:554
847
  msgid "All votes has been successfull imported."
848
  msgstr "Alle Bewertungen wurden erfolgreich importiert."
849
 
850
+ #: ../lib/yasr-ajax-functions.php:556
851
  msgid "Done"
852
  msgstr "Fertig"
853
 
854
+ #: ../lib/yasr-ajax-functions.php:561
855
  msgid "I've found Multiple Set's votes but I couldn't insert into db"
856
  msgstr ""
857
  "Es wurden Multi-Set Bewertungen gefunden aber diese konnten nicht in der "
858
  "Datenbank gespeichert werden."
859
 
860
+ #: ../lib/yasr-ajax-functions.php:569
861
  msgid "I've found Multi Set but with no data"
862
  msgstr "Das Multi-Set wurde gefunden aber es sind keine Daten vorhanden"
863
 
864
+ #: ../lib/yasr-ajax-functions.php:578
865
  msgid "I've found Multi Sets names but I couldn't insert into db"
866
  msgstr ""
867
  "Multi-Set Namen wurde gefunden aber konnten nicht in die Datenbank "
868
  "importiert werden"
869
 
870
+ #: ../lib/yasr-ajax-functions.php:586
871
  msgid "Multisets were not found. Imported is done!"
872
  msgstr "Kein Multi-Set gefunden aber Import war erfolgreich!"
873
 
874
+ #: ../lib/yasr-ajax-functions.php:859 ../lib/yasr-ajax-functions.php:867
875
+ #: ../lib/yasr-ajax-functions.php:875 ../lib/yasr-ajax-functions.php:887
876
+ #: ../lib/yasr-ajax-functions.php:895 ../lib/yasr-ajax-functions.php:902
877
  msgid "Average rating"
878
  msgstr "Durchschnittsbewertung"
879
 
880
+ #: ../lib/yasr-ajax-functions.php:860 ../lib/yasr-ajax-functions.php:868
881
+ #: ../lib/yasr-ajax-functions.php:876 ../lib/yasr-ajax-functions.php:888
882
+ #: ../lib/yasr-ajax-functions.php:896 ../lib/yasr-ajax-functions.php:903
883
  msgid "Vote Saved"
884
  msgstr "Bewertung gespeichert"
885
 
886
+ #: ../lib/yasr-ajax-functions.php:998 ../lib/yasr-ajax-functions.php:1006
887
+ #: ../lib/yasr-ajax-functions.php:1014
888
  msgid "Vote Updated"
889
  msgstr "Bewertung aktualisiert"
890
 
891
+ #: ../lib/yasr-ajax-functions.php:1066 ../lib/yasr-ajax-functions.php:1072
892
+ #: ../lib/yasr-ajax-functions.php:1078 ../lib/yasr-ajax-functions.php:1087
893
  msgid "Average "
894
  msgstr "Durchschnitt"
895
 
896
+ #: ../lib/yasr-ajax-functions.php:1146 ../lib/yasr-ajax-functions.php:1186
897
  msgid "Total:"
898
  msgstr "Gesamt:"
899
 
900
+ #: ../lib/yasr-ajax-functions.php:1146 ../lib/yasr-ajax-functions.php:1186
901
  msgid "Average"
902
  msgstr "Durchschnitt"
903
 
904
+ #: ../lib/yasr-ajax-functions.php:1160 ../lib/yasr-ajax-functions.php:1198
905
  msgid "You've not enought data"
906
  msgstr "Es sind nicht genug Daten vorhanden"
907
 
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-09-09 11:37+0100\n"
5
- "PO-Revision-Date: 2014-09-09 11:38+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: it\n"
@@ -15,9 +15,9 @@ msgstr ""
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:75
19
  #: ../lib/yasr-ajax-functions.php:29 ../lib/yasr-ajax-functions.php: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
 
@@ -156,26 +156,26 @@ msgstr ""
156
  msgid "Close this message"
157
  msgstr "Chiudi questo messaggio"
158
 
159
- #: ../yasr-metabox-multiple-rating.php:15
160
  msgid "Choose wich set you want to use"
161
  msgstr "Scegli che set vuoi usare"
162
 
163
- #: ../yasr-metabox-multiple-rating.php:26
164
- #: ../lib/yasr-settings-functions.php:402
165
  msgid "Select"
166
  msgstr "Seleziona"
167
 
168
- #: ../yasr-metabox-overall-rating.php:47 ../yasr-metabox-overall-rating.php:94
169
  msgid "Rate this article / item"
170
  msgstr "Vota questo articolo / oggetto"
171
 
172
- #: ../yasr-metabox-overall-rating.php:53
173
  #: ../lib/yasr-shortcode-functions.php:144
174
  msgid "Loading, please wait"
175
  msgstr "Caricamento, attendere prego"
176
 
177
- #: ../yasr-metabox-overall-rating.php:68
178
- #: ../yasr-metabox-overall-rating.php:147
179
  msgid ""
180
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
181
  "where you want to display this rating"
@@ -183,7 +183,7 @@ msgstr ""
183
  "Ricorda di inserire questo shortcode <strong>[yasr_overall_rating]</strong> "
184
  "dove vuoi far apparire questo voto"
185
 
186
- #: ../yasr-metabox-overall-rating.php:156
187
  #, fuzzy
188
  msgid "Save Vote"
189
  msgstr "Salva"
@@ -197,13 +197,13 @@ msgstr "Salva"
197
  #: ../lib/yasr-shortcode-functions.php:258
198
  #: ../lib/yasr-shortcode-functions.php:264
199
  #: ../lib/yasr-shortcode-functions.php:279
200
- #: ../lib/yasr-shortcode-functions.php:285 ../lib/yasr-ajax-functions.php:1001
201
- #: ../lib/yasr-ajax-functions.php:1009 ../lib/yasr-ajax-functions.php:1017
202
- #: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1037
203
- #: ../lib/yasr-ajax-functions.php:1044 ../lib/yasr-ajax-functions.php:1139
204
- #: ../lib/yasr-ajax-functions.php:1147 ../lib/yasr-ajax-functions.php:1155
205
- #: ../lib/yasr-ajax-functions.php:1203 ../lib/yasr-ajax-functions.php:1209
206
- #: ../lib/yasr-ajax-functions.php:1215 ../lib/yasr-ajax-functions.php:1224
207
  msgid "Total: "
208
  msgstr "Voti: "
209
 
@@ -230,19 +230,23 @@ msgstr "Hai già votato questo articolo con "
230
  msgid "You must sign to vote"
231
  msgstr "Devi fare il login per votare"
232
 
233
- #: ../lib/yasr-shortcode-functions.php:524
 
 
 
 
234
  msgid "Rating"
235
  msgstr "Voto"
236
 
237
- #: ../lib/yasr-shortcode-functions.php:538
238
  msgid "You don't have any votes stored"
239
  msgstr "Non hai alcun voto salvato"
240
 
241
- #: ../lib/yasr-shortcode-functions.php:552
242
  msgid "Chart is loading, please wait"
243
  msgstr "Caricamento classifica, attendere prego"
244
 
245
- #: ../lib/yasr-shortcode-functions.php:681
246
  msgid ""
247
  "Problem while retriving the top 5 most active reviewers. Did you published "
248
  "any review?"
@@ -250,7 +254,7 @@ msgstr ""
250
  "C'è stato un problema nell'ottenere la classifica dei 5 recensori più "
251
  "attivi. Hai pubblicato qualche recensione?"
252
 
253
- #: ../lib/yasr-shortcode-functions.php:749
254
  msgid ""
255
  "Problem while retriving the top 10 active users chart. Are you sure you have "
256
  "votes to show?"
@@ -452,19 +456,19 @@ msgid ""
452
  msgstr ""
453
  "Se, invece, hai scelto \"Media Voto Utenti\", il sito verrà indicizzato così"
454
 
455
- #: ../lib/yasr-settings-functions.php:330
456
  msgid "Stars"
457
  msgstr "Stelle"
458
 
459
- #: ../lib/yasr-settings-functions.php:334
460
  msgid "Numbers"
461
  msgstr "Numeri"
462
 
463
- #: ../lib/yasr-settings-functions.php:347
464
  msgid "Add New Multiple Set"
465
  msgstr "Set Multipli"
466
 
467
- #: ../lib/yasr-settings-functions.php:348
468
  msgid ""
469
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
470
  "characters"
@@ -472,48 +476,48 @@ msgstr ""
472
  "Nome, Elemento#1 e Elemento#2 DEVONO essere riempiti e devono essere lunghi "
473
  "almeno 3 caratteri"
474
 
475
- #: ../lib/yasr-settings-functions.php:351
476
  msgid "Name"
477
  msgstr "Nome"
478
 
479
- #: ../lib/yasr-settings-functions.php:356
480
  msgid "You can insert up to nine element"
481
  msgstr "Puoi inserire fino a nove elementi"
482
 
483
- #: ../lib/yasr-settings-functions.php:361
484
  msgid "Element "
485
  msgstr "Elemento"
486
 
487
- #: ../lib/yasr-settings-functions.php:371
488
  msgid "Create New Set"
489
  msgstr "Crea Nuovo Set"
490
 
491
- #: ../lib/yasr-settings-functions.php:392
492
- #: ../lib/yasr-settings-functions.php:424
493
  msgid "Manage Multiple Set"
494
  msgstr "Gestisci Set Multiplo"
495
 
496
- #: ../lib/yasr-settings-functions.php:394
497
  msgid "Wich set do you want to edit or remove?"
498
  msgstr "Quale set vuoi modificare o rimuovere"
499
 
500
- #: ../lib/yasr-settings-functions.php:434
501
- #: ../lib/yasr-settings-functions.php:552
502
  msgid "Field name"
503
  msgstr "Nome campo"
504
 
505
- #: ../lib/yasr-settings-functions.php:438
506
- #: ../lib/yasr-settings-functions.php:556
507
  msgid "Remove"
508
  msgstr "Rimuovi"
509
 
510
- #: ../lib/yasr-settings-functions.php:480
511
- #: ../lib/yasr-settings-functions.php:598
512
  msgid "Remove whole set?"
513
  msgstr "Rimuovere l'intero set?"
514
 
515
- #: ../lib/yasr-settings-functions.php:493
516
- #: ../lib/yasr-settings-functions.php:611
517
  msgid ""
518
  "If you remove something you will remove all the votes for that set or field. "
519
  "This operation CAN'T BE undone."
@@ -521,63 +525,63 @@ msgstr ""
521
  "Se rimuovi qualcosa rimuoverai anche i voti per quel set o campo. Questa "
522
  "operazione NON PUÒ ESSERE ANNULLATA"
523
 
524
- #: ../lib/yasr-settings-functions.php:500
525
- #: ../lib/yasr-settings-functions.php:618
526
  msgid "You can use up to 9 elements"
527
  msgstr "Puoi usare fino a 9 elementi"
528
 
529
- #: ../lib/yasr-settings-functions.php:502
530
- #: ../lib/yasr-settings-functions.php:620
531
  msgid "Add element"
532
  msgstr "Aggiungi elemento"
533
 
534
- #: ../lib/yasr-settings-functions.php:504
535
- #: ../lib/yasr-settings-functions.php:622
536
  msgid "Save changes"
537
  msgstr "Salva modifiche"
538
 
539
- #: ../lib/yasr-settings-functions.php:514
540
  msgid "No Multiple Set were found"
541
  msgstr "Nessun Set Multiplo trovato"
542
 
543
- #: ../lib/yasr-settings-functions.php:764
544
- #: ../lib/yasr-settings-functions.php:1032
545
  msgid "Settings Saved"
546
  msgstr "Impostazioni Salvate"
547
 
548
- #: ../lib/yasr-settings-functions.php:769
549
  msgid "Something goes wrong trying insert set field name. Please report it"
550
  msgstr ""
551
  "Qualcosa è andato storto cercando di inserire un elemento. Per favore "
552
  "segnalalo"
553
 
554
- #: ../lib/yasr-settings-functions.php:775
555
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
556
  msgstr ""
557
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
558
  "favore segnalalo"
559
 
560
- #: ../lib/yasr-settings-functions.php:850
561
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
562
  msgstr ""
563
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
564
  "favore segnalalo"
565
 
566
- #: ../lib/yasr-settings-functions.php:896
567
  msgid ""
568
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
569
  msgstr ""
570
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
571
  "favore segnalalo"
572
 
573
- #: ../lib/yasr-settings-functions.php:960
574
  msgid ""
575
  "Something goes wrong trying to update a Multi Set's element. Please report it"
576
  msgstr ""
577
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
578
  "favore segnalalo"
579
 
580
- #: ../lib/yasr-settings-functions.php:1017
581
  msgid ""
582
  "Something goes wrong trying to insert set field name in edit form. Please "
583
  "report it"
@@ -585,15 +589,15 @@ msgstr ""
585
  "Qualcosa è andato storto cercando di inserire il campo nel form di modifica. "
586
  "Per favore segnalalo"
587
 
588
- #: ../lib/yasr-settings-functions.php:1060
589
  msgid "Style Options"
590
  msgstr "Opzioni Stili"
591
 
592
- #: ../lib/yasr-settings-functions.php:1061
593
  msgid "Custom CSS Styles"
594
  msgstr "Stili CSS Personalizzati"
595
 
596
- #: ../lib/yasr-settings-functions.php:1066
597
  msgid ""
598
  "Please use text area below to write your own CSS styles to override the "
599
  "default ones."
@@ -601,71 +605,71 @@ msgstr ""
601
  "Usa l'area di testo sottostante per scrivere le tue regole CSS che "
602
  "sovrascriveranno quelle di default"
603
 
604
- #: ../lib/yasr-settings-functions.php:1068
605
  msgid "Leave it blank if you don't know what you're doing"
606
  msgstr "Lascialo vuoto se non stai cosa stai facendo"
607
 
608
- #: ../lib/yasr-settings-functions.php:1101
609
  msgid "No previous Gd Star Rating installation was found"
610
  msgstr "Installazione precedente di Gd Star Rating non stata trovata"
611
 
612
- #: ../lib/yasr-db-functions.php:204 ../lib/yasr-ajax-functions.php:772
613
  msgid "No Recenet votes yet"
614
  msgstr "Ancora nessun voto recente"
615
 
616
- #: ../lib/yasr-db-functions.php:219 ../lib/yasr-ajax-functions.php:785
617
  msgid "anonymous"
618
  msgstr "anonimo"
619
 
620
- #: ../lib/yasr-db-functions.php:242 ../lib/yasr-ajax-functions.php:808
621
  msgid "Ip address"
622
  msgstr "Indirizzo Ip"
623
 
624
- #: ../lib/yasr-db-functions.php:283 ../lib/yasr-ajax-functions.php:849
625
  msgid "Pages"
626
  msgstr "Pagine"
627
 
628
- #: ../lib/yasr-functions.php:63 ../lib/yasr-functions.php:64
629
  msgid "Yet Another Stars Rating: Settings"
630
  msgstr "Yet Another Stars Rating: Impostazioni"
631
 
632
- #: ../lib/yasr-functions.php:107 ../lib/yasr-functions.php:114
633
  msgid "Overall Rating"
634
- msgstr "Voto Complessivo"
635
 
636
- #: ../lib/yasr-functions.php:108
637
  msgid "Yet Another Stars Rating: Multiple set"
638
  msgstr "Yet Another Stars Rating: Set Multipli"
639
 
640
- #: ../lib/yasr-functions.php:124
641
  msgid "You don't have enought privileges to insert Overall Rating"
642
  msgstr "Non hai permessi sufficienti per inserire il Voto Complessivo"
643
 
644
- #: ../lib/yasr-functions.php:134
645
  msgid "You don't have enought privileges to insert Multi Set"
646
  msgstr "Non hai abbastanza permessi per inserire un Multi Set"
647
 
648
- #: ../lib/yasr-functions.php:256
649
  msgid " reviewed by "
650
  msgstr " recensito da "
651
 
652
- #: ../lib/yasr-functions.php:257
653
  msgid " on "
654
  msgstr " il "
655
 
656
- #: ../lib/yasr-functions.php:258
657
  msgid " rated "
658
  msgstr " votato "
659
 
660
- #: ../lib/yasr-functions.php:258
661
  msgid " on 5.0"
662
  msgstr " su 5.0 "
663
 
664
- #: ../lib/yasr-functions.php:302
665
  msgid " average rating "
666
  msgstr " media voto "
667
 
668
- #: ../lib/yasr-functions.php:303
669
  msgid " user ratings"
670
  msgstr " voti utenti "
671
 
@@ -799,11 +803,11 @@ msgstr "Inserisci i 10 utenti più attivi"
799
  msgid "Insert Top 10 active users in Visitor Ratings"
800
  msgstr "Inserisci gli utenti che hanno inserito più voti in Voti Utenti"
801
 
802
- #: ../lib/yasr-ajax-functions.php:630
803
  msgid "Reviews and Visitor Votes have been successfull imported."
804
  msgstr "Recensioni e Voti utenti sono stati importati con successo."
805
 
806
- #: ../lib/yasr-ajax-functions.php:636
807
  msgid ""
808
  "Step2: I will check if you used Multiple Sets and if so I will import them. "
809
  "THIS MAY TAKE A WHILE!"
@@ -811,87 +815,84 @@ msgstr ""
811
  "Step2: Contrellerò se hai usato Set Multipli e se li trovo l'importerò: PUÒ "
812
  "RICHIEDERE UN PÒ DI TEMPO!"
813
 
814
- #: ../lib/yasr-ajax-functions.php:638
815
  msgid "Proceed Step 2"
816
  msgstr "Procedi Step 2"
817
 
818
- #: ../lib/yasr-ajax-functions.php:645
819
  msgid "Something goes wrong! Refresh the page and try again!"
820
  msgstr "Qualcosa è andato storto! Aggiorna la pagina e prova ancora!"
821
 
822
- #: ../lib/yasr-ajax-functions.php:674
823
  msgid "I've found Multiple Set! Importing..."
824
  msgstr "Set Multipli trovati! Importazione..."
825
 
826
- #: ../lib/yasr-ajax-functions.php:683
827
  msgid "Multi Set's name has been successfull imported."
828
  msgstr "I nomi dei Set Multipli sono stati importati con successo"
829
 
830
- #: ../lib/yasr-ajax-functions.php:685
831
  msgid "Now I'm going to import Multi Set data"
832
  msgstr "Ora importerò i dati dei Set Multipli"
833
 
834
- #: ../lib/yasr-ajax-functions.php:696
835
  msgid "All votes has been successfull imported."
836
  msgstr "Tutti i voti sono stati importati con successo"
837
 
838
- #: ../lib/yasr-ajax-functions.php:698
839
  msgid "Done"
840
  msgstr "Fatto"
841
 
842
- #: ../lib/yasr-ajax-functions.php:703
843
  msgid "I've found Multiple Set's votes but I couldn't insert into db"
844
  msgstr "Ho trovato i voti per i Set Multi ma non li ho potuti inserire nel db"
845
 
846
- #: ../lib/yasr-ajax-functions.php:711
847
  msgid "I've found Multi Set but with no data"
848
  msgstr "ho trovato Set Multipli ma senza dati"
849
 
850
- #: ../lib/yasr-ajax-functions.php:720
851
  msgid "I've found Multi Sets names but I couldn't insert into db"
852
  msgstr "Ho trovato Set Multipli ma non li ho potuti inserire nel db"
853
 
854
- #: ../lib/yasr-ajax-functions.php:728
855
  msgid "Multisets were not found. Imported is done!"
856
  msgstr "Set Multipli non trovati. Importazione dati conclusa!"
857
 
858
- #: ../lib/yasr-ajax-functions.php:1001 ../lib/yasr-ajax-functions.php:1009
859
- #: ../lib/yasr-ajax-functions.php:1017 ../lib/yasr-ajax-functions.php:1029
860
- #: ../lib/yasr-ajax-functions.php:1037 ../lib/yasr-ajax-functions.php:1044
861
  msgid "Average rating"
862
  msgstr "Media Voto "
863
 
864
- #: ../lib/yasr-ajax-functions.php:1002 ../lib/yasr-ajax-functions.php:1010
865
- #: ../lib/yasr-ajax-functions.php:1018 ../lib/yasr-ajax-functions.php:1030
866
- #: ../lib/yasr-ajax-functions.php:1038 ../lib/yasr-ajax-functions.php:1045
867
  msgid "Vote Saved"
868
  msgstr "Voto Salvato"
869
 
870
- #: ../lib/yasr-ajax-functions.php:1140 ../lib/yasr-ajax-functions.php:1148
871
- #: ../lib/yasr-ajax-functions.php:1156
872
  msgid "Vote Updated"
873
  msgstr "Voto Aggiornato"
874
 
875
- #: ../lib/yasr-ajax-functions.php:1203 ../lib/yasr-ajax-functions.php:1209
876
- #: ../lib/yasr-ajax-functions.php:1215 ../lib/yasr-ajax-functions.php:1224
877
  msgid "Average "
878
- msgstr "Voto Complessivo"
879
 
880
- #: ../lib/yasr-ajax-functions.php:1283 ../lib/yasr-ajax-functions.php:1323
881
  msgid "Total:"
882
  msgstr "Voti:"
883
 
884
- #: ../lib/yasr-ajax-functions.php:1283 ../lib/yasr-ajax-functions.php:1323
885
  msgid "Average"
886
  msgstr "Media"
887
 
888
- #: ../lib/yasr-ajax-functions.php:1297 ../lib/yasr-ajax-functions.php:1335
889
  msgid "You've not enought data"
890
  msgstr "Non hai abbastanza dati"
891
 
892
- #~ msgid "'bad', 'poor', 'ok', 'good', 'super'"
893
- #~ msgstr "'pessimo', 'scarso', 'ok', 'buono', 'super'"
894
-
895
  #~ msgid " rating "
896
  #~ msgstr " media voto "
897
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Yasr Translation\n"
4
+ "POT-Creation-Date: 2014-09-15 17:56+0100\n"
5
+ "PO-Revision-Date: 2014-09-15 18:14+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: it\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:80
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:618
21
  msgid "You do not have sufficient permissions to access this page."
22
  msgstr "Non hai permeessi sufficienti per accedere a questa pagina"
23
 
156
  msgid "Close this message"
157
  msgstr "Chiudi questo messaggio"
158
 
159
+ #: ../yasr-metabox-multiple-rating.php:17
160
  msgid "Choose wich set you want to use"
161
  msgstr "Scegli che set vuoi usare"
162
 
163
+ #: ../yasr-metabox-multiple-rating.php:28
164
+ #: ../lib/yasr-settings-functions.php:406
165
  msgid "Select"
166
  msgstr "Seleziona"
167
 
168
+ #: ../yasr-metabox-overall-rating.php:46 ../yasr-metabox-overall-rating.php:93
169
  msgid "Rate this article / item"
170
  msgstr "Vota questo articolo / oggetto"
171
 
172
+ #: ../yasr-metabox-overall-rating.php:52
173
  #: ../lib/yasr-shortcode-functions.php:144
174
  msgid "Loading, please wait"
175
  msgstr "Caricamento, attendere prego"
176
 
177
+ #: ../yasr-metabox-overall-rating.php:67
178
+ #: ../yasr-metabox-overall-rating.php:149
179
  msgid ""
180
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
181
  "where you want to display this rating"
183
  "Ricorda di inserire questo shortcode <strong>[yasr_overall_rating]</strong> "
184
  "dove vuoi far apparire questo voto"
185
 
186
+ #: ../yasr-metabox-overall-rating.php:158
187
  #, fuzzy
188
  msgid "Save Vote"
189
  msgstr "Salva"
197
  #: ../lib/yasr-shortcode-functions.php:258
198
  #: ../lib/yasr-shortcode-functions.php:264
199
  #: ../lib/yasr-shortcode-functions.php:279
200
+ #: ../lib/yasr-shortcode-functions.php:285 ../lib/yasr-ajax-functions.php:859
201
+ #: ../lib/yasr-ajax-functions.php:867 ../lib/yasr-ajax-functions.php:875
202
+ #: ../lib/yasr-ajax-functions.php:887 ../lib/yasr-ajax-functions.php:895
203
+ #: ../lib/yasr-ajax-functions.php:902 ../lib/yasr-ajax-functions.php:997
204
+ #: ../lib/yasr-ajax-functions.php:1005 ../lib/yasr-ajax-functions.php:1013
205
+ #: ../lib/yasr-ajax-functions.php:1066 ../lib/yasr-ajax-functions.php:1072
206
+ #: ../lib/yasr-ajax-functions.php:1078 ../lib/yasr-ajax-functions.php:1087
207
  msgid "Total: "
208
  msgstr "Voti: "
209
 
230
  msgid "You must sign to vote"
231
  msgstr "Devi fare il login per votare"
232
 
233
+ #: ../lib/yasr-shortcode-functions.php:309
234
+ msgid "'bad', 'poor', 'ok', 'good', 'super'"
235
+ msgstr "'pessimo', 'scarso', 'ok', 'buono', 'super'"
236
+
237
+ #: ../lib/yasr-shortcode-functions.php:415
238
  msgid "Rating"
239
  msgstr "Voto"
240
 
241
+ #: ../lib/yasr-shortcode-functions.php:429
242
  msgid "You don't have any votes stored"
243
  msgstr "Non hai alcun voto salvato"
244
 
245
+ #: ../lib/yasr-shortcode-functions.php:443
246
  msgid "Chart is loading, please wait"
247
  msgstr "Caricamento classifica, attendere prego"
248
 
249
+ #: ../lib/yasr-shortcode-functions.php:532
250
  msgid ""
251
  "Problem while retriving the top 5 most active reviewers. Did you published "
252
  "any review?"
254
  "C'è stato un problema nell'ottenere la classifica dei 5 recensori più "
255
  "attivi. Hai pubblicato qualche recensione?"
256
 
257
+ #: ../lib/yasr-shortcode-functions.php:600
258
  msgid ""
259
  "Problem while retriving the top 10 active users chart. Are you sure you have "
260
  "votes to show?"
456
  msgstr ""
457
  "Se, invece, hai scelto \"Media Voto Utenti\", il sito verrà indicizzato così"
458
 
459
+ #: ../lib/yasr-settings-functions.php:334
460
  msgid "Stars"
461
  msgstr "Stelle"
462
 
463
+ #: ../lib/yasr-settings-functions.php:338
464
  msgid "Numbers"
465
  msgstr "Numeri"
466
 
467
+ #: ../lib/yasr-settings-functions.php:351
468
  msgid "Add New Multiple Set"
469
  msgstr "Set Multipli"
470
 
471
+ #: ../lib/yasr-settings-functions.php:352
472
  msgid ""
473
  "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
474
  "characters"
476
  "Nome, Elemento#1 e Elemento#2 DEVONO essere riempiti e devono essere lunghi "
477
  "almeno 3 caratteri"
478
 
479
+ #: ../lib/yasr-settings-functions.php:355
480
  msgid "Name"
481
  msgstr "Nome"
482
 
483
+ #: ../lib/yasr-settings-functions.php:360
484
  msgid "You can insert up to nine element"
485
  msgstr "Puoi inserire fino a nove elementi"
486
 
487
+ #: ../lib/yasr-settings-functions.php:365
488
  msgid "Element "
489
  msgstr "Elemento"
490
 
491
+ #: ../lib/yasr-settings-functions.php:375
492
  msgid "Create New Set"
493
  msgstr "Crea Nuovo Set"
494
 
495
+ #: ../lib/yasr-settings-functions.php:396
496
+ #: ../lib/yasr-settings-functions.php:428
497
  msgid "Manage Multiple Set"
498
  msgstr "Gestisci Set Multiplo"
499
 
500
+ #: ../lib/yasr-settings-functions.php:398
501
  msgid "Wich set do you want to edit or remove?"
502
  msgstr "Quale set vuoi modificare o rimuovere"
503
 
504
+ #: ../lib/yasr-settings-functions.php:438
505
+ #: ../lib/yasr-settings-functions.php:556
506
  msgid "Field name"
507
  msgstr "Nome campo"
508
 
509
+ #: ../lib/yasr-settings-functions.php:442
510
+ #: ../lib/yasr-settings-functions.php:560
511
  msgid "Remove"
512
  msgstr "Rimuovi"
513
 
514
+ #: ../lib/yasr-settings-functions.php:484
515
+ #: ../lib/yasr-settings-functions.php:602
516
  msgid "Remove whole set?"
517
  msgstr "Rimuovere l'intero set?"
518
 
519
+ #: ../lib/yasr-settings-functions.php:497
520
+ #: ../lib/yasr-settings-functions.php:615
521
  msgid ""
522
  "If you remove something you will remove all the votes for that set or field. "
523
  "This operation CAN'T BE undone."
525
  "Se rimuovi qualcosa rimuoverai anche i voti per quel set o campo. Questa "
526
  "operazione NON PUÒ ESSERE ANNULLATA"
527
 
528
+ #: ../lib/yasr-settings-functions.php:504
529
+ #: ../lib/yasr-settings-functions.php:622
530
  msgid "You can use up to 9 elements"
531
  msgstr "Puoi usare fino a 9 elementi"
532
 
533
+ #: ../lib/yasr-settings-functions.php:506
534
+ #: ../lib/yasr-settings-functions.php:624
535
  msgid "Add element"
536
  msgstr "Aggiungi elemento"
537
 
538
+ #: ../lib/yasr-settings-functions.php:508
539
+ #: ../lib/yasr-settings-functions.php:626
540
  msgid "Save changes"
541
  msgstr "Salva modifiche"
542
 
543
+ #: ../lib/yasr-settings-functions.php:518
544
  msgid "No Multiple Set were found"
545
  msgstr "Nessun Set Multiplo trovato"
546
 
547
+ #: ../lib/yasr-settings-functions.php:768
548
+ #: ../lib/yasr-settings-functions.php:1036
549
  msgid "Settings Saved"
550
  msgstr "Impostazioni Salvate"
551
 
552
+ #: ../lib/yasr-settings-functions.php:773
553
  msgid "Something goes wrong trying insert set field name. Please report it"
554
  msgstr ""
555
  "Qualcosa è andato storto cercando di inserire un elemento. Per favore "
556
  "segnalalo"
557
 
558
+ #: ../lib/yasr-settings-functions.php:779
559
  msgid "Something goes wrong trying insert Multi Set name. Please report it"
560
  msgstr ""
561
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
562
  "favore segnalalo"
563
 
564
+ #: ../lib/yasr-settings-functions.php:854
565
  msgid "Something goes wrong trying to delete a Multi Set . Please report it"
566
  msgstr ""
567
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
568
  "favore segnalalo"
569
 
570
+ #: ../lib/yasr-settings-functions.php:900
571
  msgid ""
572
  "Something goes wrong trying to delete a Multi Set's element. Please report it"
573
  msgstr ""
574
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
575
  "favore segnalalo"
576
 
577
+ #: ../lib/yasr-settings-functions.php:964
578
  msgid ""
579
  "Something goes wrong trying to update a Multi Set's element. Please report it"
580
  msgstr ""
581
  "Qualcosa è andato storto cercando di inserire il nome del Set Multiplo. Per "
582
  "favore segnalalo"
583
 
584
+ #: ../lib/yasr-settings-functions.php:1021
585
  msgid ""
586
  "Something goes wrong trying to insert set field name in edit form. Please "
587
  "report it"
589
  "Qualcosa è andato storto cercando di inserire il campo nel form di modifica. "
590
  "Per favore segnalalo"
591
 
592
+ #: ../lib/yasr-settings-functions.php:1064
593
  msgid "Style Options"
594
  msgstr "Opzioni Stili"
595
 
596
+ #: ../lib/yasr-settings-functions.php:1065
597
  msgid "Custom CSS Styles"
598
  msgstr "Stili CSS Personalizzati"
599
 
600
+ #: ../lib/yasr-settings-functions.php:1070
601
  msgid ""
602
  "Please use text area below to write your own CSS styles to override the "
603
  "default ones."
605
  "Usa l'area di testo sottostante per scrivere le tue regole CSS che "
606
  "sovrascriveranno quelle di default"
607
 
608
+ #: ../lib/yasr-settings-functions.php:1072
609
  msgid "Leave it blank if you don't know what you're doing"
610
  msgstr "Lascialo vuoto se non stai cosa stai facendo"
611
 
612
+ #: ../lib/yasr-settings-functions.php:1105
613
  msgid "No previous Gd Star Rating installation was found"
614
  msgstr "Installazione precedente di Gd Star Rating non stata trovata"
615
 
616
+ #: ../lib/yasr-db-functions.php:216 ../lib/yasr-ajax-functions.php:630
617
  msgid "No Recenet votes yet"
618
  msgstr "Ancora nessun voto recente"
619
 
620
+ #: ../lib/yasr-db-functions.php:231 ../lib/yasr-ajax-functions.php:643
621
  msgid "anonymous"
622
  msgstr "anonimo"
623
 
624
+ #: ../lib/yasr-db-functions.php:254 ../lib/yasr-ajax-functions.php:666
625
  msgid "Ip address"
626
  msgstr "Indirizzo Ip"
627
 
628
+ #: ../lib/yasr-db-functions.php:295 ../lib/yasr-ajax-functions.php:707
629
  msgid "Pages"
630
  msgstr "Pagine"
631
 
632
+ #: ../lib/yasr-functions.php:68 ../lib/yasr-functions.php:69
633
  msgid "Yet Another Stars Rating: Settings"
634
  msgstr "Yet Another Stars Rating: Impostazioni"
635
 
636
+ #: ../lib/yasr-functions.php:112 ../lib/yasr-functions.php:119
637
  msgid "Overall Rating"
638
+ msgstr "Voto Complessivo "
639
 
640
+ #: ../lib/yasr-functions.php:113
641
  msgid "Yet Another Stars Rating: Multiple set"
642
  msgstr "Yet Another Stars Rating: Set Multipli"
643
 
644
+ #: ../lib/yasr-functions.php:129
645
  msgid "You don't have enought privileges to insert Overall Rating"
646
  msgstr "Non hai permessi sufficienti per inserire il Voto Complessivo"
647
 
648
+ #: ../lib/yasr-functions.php:139
649
  msgid "You don't have enought privileges to insert Multi Set"
650
  msgstr "Non hai abbastanza permessi per inserire un Multi Set"
651
 
652
+ #: ../lib/yasr-functions.php:261
653
  msgid " reviewed by "
654
  msgstr " recensito da "
655
 
656
+ #: ../lib/yasr-functions.php:262
657
  msgid " on "
658
  msgstr " il "
659
 
660
+ #: ../lib/yasr-functions.php:263
661
  msgid " rated "
662
  msgstr " votato "
663
 
664
+ #: ../lib/yasr-functions.php:263
665
  msgid " on 5.0"
666
  msgstr " su 5.0 "
667
 
668
+ #: ../lib/yasr-functions.php:307
669
  msgid " average rating "
670
  msgstr " media voto "
671
 
672
+ #: ../lib/yasr-functions.php:308
673
  msgid " user ratings"
674
  msgstr " voti utenti "
675
 
803
  msgid "Insert Top 10 active users in Visitor Ratings"
804
  msgstr "Inserisci gli utenti che hanno inserito più voti in Voti Utenti"
805
 
806
+ #: ../lib/yasr-ajax-functions.php:488
807
  msgid "Reviews and Visitor Votes have been successfull imported."
808
  msgstr "Recensioni e Voti utenti sono stati importati con successo."
809
 
810
+ #: ../lib/yasr-ajax-functions.php:494
811
  msgid ""
812
  "Step2: I will check if you used Multiple Sets and if so I will import them. "
813
  "THIS MAY TAKE A WHILE!"
815
  "Step2: Contrellerò se hai usato Set Multipli e se li trovo l'importerò: PUÒ "
816
  "RICHIEDERE UN PÒ DI TEMPO!"
817
 
818
+ #: ../lib/yasr-ajax-functions.php:496
819
  msgid "Proceed Step 2"
820
  msgstr "Procedi Step 2"
821
 
822
+ #: ../lib/yasr-ajax-functions.php:503
823
  msgid "Something goes wrong! Refresh the page and try again!"
824
  msgstr "Qualcosa è andato storto! Aggiorna la pagina e prova ancora!"
825
 
826
+ #: ../lib/yasr-ajax-functions.php:532
827
  msgid "I've found Multiple Set! Importing..."
828
  msgstr "Set Multipli trovati! Importazione..."
829
 
830
+ #: ../lib/yasr-ajax-functions.php:541
831
  msgid "Multi Set's name has been successfull imported."
832
  msgstr "I nomi dei Set Multipli sono stati importati con successo"
833
 
834
+ #: ../lib/yasr-ajax-functions.php:543
835
  msgid "Now I'm going to import Multi Set data"
836
  msgstr "Ora importerò i dati dei Set Multipli"
837
 
838
+ #: ../lib/yasr-ajax-functions.php:554
839
  msgid "All votes has been successfull imported."
840
  msgstr "Tutti i voti sono stati importati con successo"
841
 
842
+ #: ../lib/yasr-ajax-functions.php:556
843
  msgid "Done"
844
  msgstr "Fatto"
845
 
846
+ #: ../lib/yasr-ajax-functions.php:561
847
  msgid "I've found Multiple Set's votes but I couldn't insert into db"
848
  msgstr "Ho trovato i voti per i Set Multi ma non li ho potuti inserire nel db"
849
 
850
+ #: ../lib/yasr-ajax-functions.php:569
851
  msgid "I've found Multi Set but with no data"
852
  msgstr "ho trovato Set Multipli ma senza dati"
853
 
854
+ #: ../lib/yasr-ajax-functions.php:578
855
  msgid "I've found Multi Sets names but I couldn't insert into db"
856
  msgstr "Ho trovato Set Multipli ma non li ho potuti inserire nel db"
857
 
858
+ #: ../lib/yasr-ajax-functions.php:586
859
  msgid "Multisets were not found. Imported is done!"
860
  msgstr "Set Multipli non trovati. Importazione dati conclusa!"
861
 
862
+ #: ../lib/yasr-ajax-functions.php:859 ../lib/yasr-ajax-functions.php:867
863
+ #: ../lib/yasr-ajax-functions.php:875 ../lib/yasr-ajax-functions.php:887
864
+ #: ../lib/yasr-ajax-functions.php:895 ../lib/yasr-ajax-functions.php:902
865
  msgid "Average rating"
866
  msgstr "Media Voto "
867
 
868
+ #: ../lib/yasr-ajax-functions.php:860 ../lib/yasr-ajax-functions.php:868
869
+ #: ../lib/yasr-ajax-functions.php:876 ../lib/yasr-ajax-functions.php:888
870
+ #: ../lib/yasr-ajax-functions.php:896 ../lib/yasr-ajax-functions.php:903
871
  msgid "Vote Saved"
872
  msgstr "Voto Salvato"
873
 
874
+ #: ../lib/yasr-ajax-functions.php:998 ../lib/yasr-ajax-functions.php:1006
875
+ #: ../lib/yasr-ajax-functions.php:1014
876
  msgid "Vote Updated"
877
  msgstr "Voto Aggiornato"
878
 
879
+ #: ../lib/yasr-ajax-functions.php:1066 ../lib/yasr-ajax-functions.php:1072
880
+ #: ../lib/yasr-ajax-functions.php:1078 ../lib/yasr-ajax-functions.php:1087
881
  msgid "Average "
882
+ msgstr "Media Voto "
883
 
884
+ #: ../lib/yasr-ajax-functions.php:1146 ../lib/yasr-ajax-functions.php:1186
885
  msgid "Total:"
886
  msgstr "Voti:"
887
 
888
+ #: ../lib/yasr-ajax-functions.php:1146 ../lib/yasr-ajax-functions.php:1186
889
  msgid "Average"
890
  msgstr "Media"
891
 
892
+ #: ../lib/yasr-ajax-functions.php:1160 ../lib/yasr-ajax-functions.php:1198
893
  msgid "You've not enought data"
894
  msgstr "Non hai abbastanza dati"
895
 
 
 
 
896
  #~ msgid " rating "
897
  #~ msgstr " media voto "
898
 
languages/yasr-pl_PL.mo ADDED
Binary file
languages/yasr-pl_PL.po ADDED
@@ -0,0 +1,884 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YASR lenguages\n"
4
+ "POT-Creation-Date: 2014-09-15 18:43+0100\n"
5
+ "PO-Revision-Date: 2014-09-15 19:25+0100\n"
6
+ "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
+ "Language-Team: Hoek i Tutu Team <hoek@hoek.pl>\n"
8
+ "Language: pl_PL\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.4\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:80
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:618
21
+ msgid "You do not have sufficient permissions to access this page."
22
+ msgstr "Nie posiadasz wystarczających uprawnień, by wejść na tę stronę."
23
+
24
+ #: ../yasr-settings-page.php:15
25
+ msgid "Settings"
26
+ msgstr "Ustawienia"
27
+
28
+ #: ../yasr-settings-page.php:58
29
+ msgid "General Settings"
30
+ msgstr "Ustawienia ogólne"
31
+
32
+ #: ../yasr-settings-page.php:59
33
+ msgid "Multi Sets"
34
+ msgstr "Zestaw Ocen"
35
+
36
+ #: ../yasr-settings-page.php:60
37
+ msgid "Styles"
38
+ msgstr "Style"
39
+
40
+ #: ../yasr-settings-page.php:76 ../yasr-settings-page.php:269
41
+ msgid "Save"
42
+ msgstr "Zapisz"
43
+
44
+ #: ../yasr-settings-page.php:82 ../yasr-settings-page.php:239
45
+ #: ../yasr-settings-page.php:276 ../yasr-settings-page.php:300
46
+ msgid "Donations"
47
+ msgstr "Dotacje"
48
+
49
+ #: ../yasr-settings-page.php:84 ../yasr-settings-page.php:241
50
+ #: ../yasr-settings-page.php:278 ../yasr-settings-page.php:302
51
+ msgid ""
52
+ "If you have found this plugin useful, please consider making a donation to "
53
+ "help support future development. Your support will be much appreciated. "
54
+ msgstr ""
55
+ "Jeśli ten plugin jest dla Ciebie przydatny, proszę rozważyć przekazanie "
56
+ "darowizny w celu wsparcia dalszego rozwoju. Twoja pomoc będzie bardzo mile "
57
+ "widziana."
58
+
59
+ #: ../yasr-settings-page.php:86 ../yasr-settings-page.php:243
60
+ #: ../yasr-settings-page.php:280 ../yasr-settings-page.php:304
61
+ msgid "Thank you!"
62
+ msgstr "Dziękuje!"
63
+
64
+ #: ../yasr-settings-page.php:106
65
+ msgid "Import Gd Star Rating"
66
+ msgstr "Importuj Gd Star Rating"
67
+
68
+ #: ../yasr-settings-page.php:107
69
+ msgid "I've found a previous installation of Gd Star Rating."
70
+ msgstr "Znalazłem poprzednią instalacje Gd Star Rating."
71
+
72
+ #: ../yasr-settings-page.php:107
73
+ msgid "Do you want proceed to import data?"
74
+ msgstr "Chcesz rozpocząć import danych?"
75
+
76
+ #: ../yasr-settings-page.php:109
77
+ msgid "Yes, Begin Import"
78
+ msgstr "Tak, rozpocznij import"
79
+
80
+ #: ../yasr-settings-page.php:113
81
+ msgid "Click on Proceed to import Gd Star Rating data."
82
+ msgstr "Kliknij na Dalej, aby zaimportować dane z Gd Star Rating."
83
+
84
+ #: ../yasr-settings-page.php:116 ../yasr-settings-page.php:149
85
+ msgid "Proceed"
86
+ msgstr "Dalej"
87
+
88
+ #: ../yasr-settings-page.php:138
89
+ msgid "Manage GD Star Data"
90
+ msgstr "Zarządzaj danymi GD Star"
91
+
92
+ #: ../yasr-settings-page.php:139
93
+ msgid "Gd Star Rating has been already imported."
94
+ msgstr "GD Star Rating został już zaimportowany."
95
+
96
+ #: ../yasr-settings-page.php:140
97
+ msgid "If you wish you can import it again, but"
98
+ msgstr "Jeśli chcesz możesz zaimportować ponownie, ale"
99
+
100
+ #: ../yasr-settings-page.php:140
101
+ msgid "you will lose all data you've collect since the import!"
102
+ msgstr "utracisz wszystkie dane zebrane od ostatniego importu!"
103
+
104
+ #: ../yasr-settings-page.php:142
105
+ msgid "Ok, Import Again"
106
+ msgstr "Ok, importuj ponownie"
107
+
108
+ #: ../yasr-settings-page.php:146
109
+ msgid ""
110
+ "Click on Proceed to import again Gd Star Rating data. This may take a while!"
111
+ msgstr ""
112
+ "Kliknij na Dalej, aby ponownie zaimportować dane Gd Star Rating. To może "
113
+ "chwilę potrwać!"
114
+
115
+ #: ../yasr-settings-page.php:187
116
+ msgid "Manage Multi Set"
117
+ msgstr "Zarządzaj Zestawem Ocen"
118
+
119
+ #: ../yasr-settings-page.php:191
120
+ msgid "What is a Multi Set?"
121
+ msgstr "Co to jest Zestaw Ocen?"
122
+
123
+ #: ../yasr-settings-page.php:196
124
+ msgid ""
125
+ "Multi Set allows you to insert a rate for each aspect about the product / "
126
+ "local business / whetever you're reviewing, example in the image below."
127
+ msgstr ""
128
+ "Zestaw Ocen pozwala na wstawienie oceny dla każdego elementu produktu / "
129
+ "firmy / czegokolwiek recenzowanego, przykład na obrazku poniżej."
130
+
131
+ #: ../yasr-settings-page.php:200
132
+ msgid ""
133
+ "You can create up to 99 different Multi Set and each one can contain up to 9 "
134
+ "different fields. Once you've saved it, you can insert the rates while "
135
+ "typing your article in the box below the editor, as you can see in this "
136
+ "image (click to see it larger)"
137
+ msgstr ""
138
+ "Możesz użyć do 99 różnych Zestawów Ocen a każdy z nich może posiadać do 9 "
139
+ "różnych pól. Jak tylko zapiszesz zestaw możesz go wstawić podczas pisania "
140
+ "artykułu z kontenera poniżej edytora, tak jak na obrazku (kliknij aby "
141
+ "powiększyć)"
142
+
143
+ #: ../yasr-settings-page.php:204
144
+ msgid ""
145
+ "In order to insert your Multi Sets into a post or page, you can either past "
146
+ "the short code that will appear at the bottom of the box or just click on "
147
+ "the star in the graphic editor and select \"Insert Multi Set\"."
148
+ msgstr ""
149
+ "Awby wstawić Zestaw Ocen na stronę lub wpis możesz wstawić kod który "
150
+ "wyświetla się na górze kontenera lub po prostu kliknąć na ikonkę gwiazdki w "
151
+ "edytorze wybierając \"Wstaw Zestaw Ocen\"."
152
+
153
+ #: ../yasr-settings-page.php:210
154
+ msgid "Close this message"
155
+ msgstr "Zamknij tą wiadomość"
156
+
157
+ #: ../yasr-metabox-multiple-rating.php:17
158
+ msgid "Choose wich set you want to use"
159
+ msgstr "Wybierz który zestaw chcesz używać"
160
+
161
+ #: ../yasr-metabox-multiple-rating.php:28
162
+ #: ../lib/yasr-settings-functions.php:406
163
+ msgid "Select"
164
+ msgstr "Wybierz"
165
+
166
+ #: ../yasr-metabox-overall-rating.php:46 ../yasr-metabox-overall-rating.php:93
167
+ msgid "Rate this article / item"
168
+ msgstr "Oceń ten wpis"
169
+
170
+ #: ../yasr-metabox-overall-rating.php:52
171
+ #: ../lib/yasr-shortcode-functions.php:144
172
+ msgid "Loading, please wait"
173
+ msgstr "Wczytywanie, proszę czekać"
174
+
175
+ #: ../yasr-metabox-overall-rating.php:67
176
+ #: ../yasr-metabox-overall-rating.php:149
177
+ msgid ""
178
+ "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
179
+ "where you want to display this rating"
180
+ msgstr ""
181
+ "Pamiętaj aby wstawić ten kod <strong>[yasr_overall_rating]</strong> w "
182
+ "miejscu gdzie ma wyświetlać się ocena"
183
+
184
+ #: ../yasr-metabox-overall-rating.php:158
185
+ msgid "Save Vote"
186
+ msgstr "Zapisz Głos"
187
+
188
+ #: ../lib/yasr-shortcode-functions.php:190
189
+ #: ../lib/yasr-shortcode-functions.php:202
190
+ #: ../lib/yasr-shortcode-functions.php:207
191
+ #: ../lib/yasr-shortcode-functions.php:222
192
+ #: ../lib/yasr-shortcode-functions.php:227
193
+ #: ../lib/yasr-shortcode-functions.php:247
194
+ #: ../lib/yasr-shortcode-functions.php:258
195
+ #: ../lib/yasr-shortcode-functions.php:264
196
+ #: ../lib/yasr-shortcode-functions.php:279
197
+ #: ../lib/yasr-shortcode-functions.php:285 ../lib/yasr-ajax-functions.php:859
198
+ #: ../lib/yasr-ajax-functions.php:867 ../lib/yasr-ajax-functions.php:875
199
+ #: ../lib/yasr-ajax-functions.php:887 ../lib/yasr-ajax-functions.php:895
200
+ #: ../lib/yasr-ajax-functions.php:902 ../lib/yasr-ajax-functions.php:997
201
+ #: ../lib/yasr-ajax-functions.php:1005 ../lib/yasr-ajax-functions.php:1013
202
+ #: ../lib/yasr-ajax-functions.php:1066 ../lib/yasr-ajax-functions.php:1072
203
+ #: ../lib/yasr-ajax-functions.php:1078 ../lib/yasr-ajax-functions.php:1087
204
+ msgid "Total: "
205
+ msgstr "Głosów:"
206
+
207
+ #: ../lib/yasr-shortcode-functions.php:190
208
+ #: ../lib/yasr-shortcode-functions.php:202
209
+ #: ../lib/yasr-shortcode-functions.php:207
210
+ #: ../lib/yasr-shortcode-functions.php:222
211
+ #: ../lib/yasr-shortcode-functions.php:227
212
+ #: ../lib/yasr-shortcode-functions.php:247
213
+ #: ../lib/yasr-shortcode-functions.php:258
214
+ #: ../lib/yasr-shortcode-functions.php:264
215
+ #: ../lib/yasr-shortcode-functions.php:279
216
+ #: ../lib/yasr-shortcode-functions.php:285
217
+ msgid "Average: "
218
+ msgstr "Średnia:"
219
+
220
+ #: ../lib/yasr-shortcode-functions.php:191
221
+ #: ../lib/yasr-shortcode-functions.php:248
222
+ msgid "You've already voted this article with"
223
+ msgstr "Już oceniałeś. Twoja ocena to"
224
+
225
+ #: ../lib/yasr-shortcode-functions.php:280
226
+ #: ../lib/yasr-shortcode-functions.php:286
227
+ msgid "You must sign to vote"
228
+ msgstr "Musisz się zarejestrować, aby głosować"
229
+
230
+ #: ../lib/yasr-shortcode-functions.php:309
231
+ msgid "'bad', 'poor', 'ok', 'good', 'super'"
232
+ msgstr "'zły', 'słaby', 'ok', 'dobry', 'super'"
233
+
234
+ #: ../lib/yasr-shortcode-functions.php:415
235
+ msgid "Rating"
236
+ msgstr "Ocena"
237
+
238
+ #: ../lib/yasr-shortcode-functions.php:429
239
+ msgid "You don't have any votes stored"
240
+ msgstr "Nie masz żadnych przechowywanych głosów"
241
+
242
+ #: ../lib/yasr-shortcode-functions.php:443
243
+ msgid "Chart is loading, please wait"
244
+ msgstr "Wczytywanie wykresu, proszę czekać"
245
+
246
+ #: ../lib/yasr-shortcode-functions.php:532
247
+ msgid ""
248
+ "Problem while retriving the top 5 most active reviewers. Did you published "
249
+ "any review?"
250
+ msgstr ""
251
+ "Problem podczas pobierania Top 5 najaktywniejszych recenzentów. Czy "
252
+ "opublikowałeś jakieś recenzje?"
253
+
254
+ #: ../lib/yasr-shortcode-functions.php:600
255
+ msgid ""
256
+ "Problem while retriving the top 10 active users chart. Are you sure you have "
257
+ "votes to show?"
258
+ msgstr ""
259
+ "Problem podczas pobierania wykresu Top 10 aktywnych użytkowników. Czy na "
260
+ "pewno masz już jakieś głosy do pokazania?"
261
+
262
+ #: ../lib/yasr-settings-functions.php:32
263
+ msgid "General settings"
264
+ msgstr "Ustawienia ogólne"
265
+
266
+ #: ../lib/yasr-settings-functions.php:33
267
+ msgid "Auto insert options"
268
+ msgstr "Opcje auto wstawiania"
269
+
270
+ #: ../lib/yasr-settings-functions.php:34
271
+ msgid "Show \"Overall Rating\" in Home Page?"
272
+ msgstr "Pokazać \"Ogólną Ocenę\" na stronie głównej?"
273
+
274
+ #: ../lib/yasr-settings-functions.php:35
275
+ msgid "Insert custom text to show before / after stars"
276
+ msgstr "Wstaw własny tekst, aby pokazać przed / po gwiazdkach"
277
+
278
+ #: ../lib/yasr-settings-functions.php:36
279
+ msgid "Which color scheme do you want to use?"
280
+ msgstr "Jakich kolorów chcesz użyć?"
281
+
282
+ #: ../lib/yasr-settings-functions.php:37
283
+ msgid "Allow only logged in user to vote?"
284
+ msgstr "Zezwalać na głosowanie tylko zalogowanym?"
285
+
286
+ #: ../lib/yasr-settings-functions.php:38
287
+ msgid "Which rich snippets do you want to use?"
288
+ msgstr "Jaki rodzaj \"rich snippets\" chcesz używać?"
289
+
290
+ #: ../lib/yasr-settings-functions.php:39
291
+ msgid "How do you want ro rate \"Overall Rating\"?"
292
+ msgstr "Jak chcesz oceniać w \"Ogólna ocena\"?"
293
+
294
+ #: ../lib/yasr-settings-functions.php:53
295
+ msgid "Use Auto Insert?"
296
+ msgstr "Użyć auto wstawianie?"
297
+
298
+ #: ../lib/yasr-settings-functions.php:56
299
+ #: ../lib/yasr-settings-functions.php:125
300
+ #: ../lib/yasr-settings-functions.php:144
301
+ #: ../lib/yasr-settings-functions.php:177
302
+ #: ../lib/yasr-settings-functions.php:202
303
+ msgid "Yes"
304
+ msgstr "Tak"
305
+
306
+ #: ../lib/yasr-settings-functions.php:70
307
+ #: ../lib/yasr-settings-functions.php:130
308
+ #: ../lib/yasr-settings-functions.php:149
309
+ #: ../lib/yasr-settings-functions.php:182
310
+ #: ../lib/yasr-settings-functions.php:207
311
+ msgid "No"
312
+ msgstr "Nie"
313
+
314
+ #: ../lib/yasr-settings-functions.php:76
315
+ msgid "What?"
316
+ msgstr "Co?"
317
+
318
+ #: ../lib/yasr-settings-functions.php:79
319
+ msgid "Overall Rating / Author Rating"
320
+ msgstr "Ogólna ocena / Ocena autora"
321
+
322
+ #: ../lib/yasr-settings-functions.php:83 ../lib/yasr-ajax-functions.php:363
323
+ msgid "Visitor Votes"
324
+ msgstr "Głosy gości"
325
+
326
+ #: ../lib/yasr-settings-functions.php:87
327
+ msgid "Both"
328
+ msgstr "Oba"
329
+
330
+ #: ../lib/yasr-settings-functions.php:91
331
+ msgid "Where?"
332
+ msgstr "Gdzie?"
333
+
334
+ #: ../lib/yasr-settings-functions.php:94
335
+ msgid "Before the post"
336
+ msgstr "Przed wpisem"
337
+
338
+ #: ../lib/yasr-settings-functions.php:98
339
+ msgid "After the post"
340
+ msgstr "Po wpisie"
341
+
342
+ #: ../lib/yasr-settings-functions.php:103
343
+ msgid "Size"
344
+ msgstr "Rozmiar"
345
+
346
+ #: ../lib/yasr-settings-functions.php:107 ../lib/yasr-ajax-functions.php:353
347
+ #: ../lib/yasr-ajax-functions.php:371
348
+ msgid "Small"
349
+ msgstr "Małe"
350
+
351
+ #: ../lib/yasr-settings-functions.php:112 ../lib/yasr-ajax-functions.php:354
352
+ #: ../lib/yasr-ajax-functions.php:372
353
+ msgid "Medium"
354
+ msgstr "Średnie"
355
+
356
+ #: ../lib/yasr-settings-functions.php:117 ../lib/yasr-ajax-functions.php:355
357
+ #: ../lib/yasr-ajax-functions.php:373
358
+ msgid "Large"
359
+ msgstr "Duże"
360
+
361
+ #: ../lib/yasr-settings-functions.php:122
362
+ msgid "Exclude Pages?"
363
+ msgstr "Wykluczyć strony?"
364
+
365
+ #: ../lib/yasr-settings-functions.php:141
366
+ msgid "Use only in custom post types?"
367
+ msgstr "Używać tylko w niestandardowych postach?"
368
+
369
+ #: ../lib/yasr-settings-functions.php:153
370
+ msgid "You see this because you use custom post types."
371
+ msgstr "Widzisz to, ponieważ używasz wpisów niestandardowych."
372
+
373
+ #: ../lib/yasr-settings-functions.php:155
374
+ msgid "If you want to use auto insert only in custom post types, choose Yes"
375
+ msgstr ""
376
+ "Jeśli chcesz użyć auto wstawiania tylko na niestandardowych wpisach, wybierz "
377
+ "Tak"
378
+
379
+ #: ../lib/yasr-settings-functions.php:186
380
+ msgid ""
381
+ "If you enable this, \"Overall Rating\" will be showed not only in the single "
382
+ "article or page, but also in pages like Home Page, category pages or "
383
+ "archives."
384
+ msgstr ""
385
+ "Jeśli to aktywujesz, \"Ogólna Ocena\" będzie wyświetlana nie tylko w "
386
+ "pojedyńczym artykule czy stronie ale też na stronie domowej, w kategoriach "
387
+ "stron i archiwum."
388
+
389
+ #: ../lib/yasr-settings-functions.php:212
390
+ msgid "Custom text to display before Overall Rating"
391
+ msgstr "Niestandardowy tekst do wyświetlenia przed Ogólną Oceną"
392
+
393
+ #: ../lib/yasr-settings-functions.php:217
394
+ msgid "Custom text to display before Visitor Rating"
395
+ msgstr "Niestandardowy tekst do wyświetlenia przed Oceną Gości"
396
+
397
+ #: ../lib/yasr-settings-functions.php:222
398
+ msgid "Custom text to display when a non logged user has already rated"
399
+ msgstr ""
400
+ "Niestandardowy tekst do wyświetlenia gdy niezalogowany użytkownik już ocenił"
401
+
402
+ #: ../lib/yasr-settings-functions.php:238
403
+ msgid "Light"
404
+ msgstr "Jasne"
405
+
406
+ #: ../lib/yasr-settings-functions.php:243
407
+ msgid "Dark"
408
+ msgstr "Ciemne"
409
+
410
+ #: ../lib/yasr-settings-functions.php:248
411
+ msgid "Preview"
412
+ msgstr "Podgląd"
413
+
414
+ #: ../lib/yasr-settings-functions.php:253
415
+ msgid "Light theme"
416
+ msgstr "Jasny Temat"
417
+
418
+ #: ../lib/yasr-settings-functions.php:258
419
+ msgid "Dark Theme"
420
+ msgstr "Ciemny Temat"
421
+
422
+ #: ../lib/yasr-settings-functions.php:276
423
+ msgid "Allow only logged-in users"
424
+ msgstr "Pozwól tylko zalogowanym"
425
+
426
+ #: ../lib/yasr-settings-functions.php:280
427
+ msgid "Allow everybody (logged in and anonymous)"
428
+ msgstr "Zezwalaj wszystkim (zalogowanym i anonimowym)"
429
+
430
+ #: ../lib/yasr-settings-functions.php:297
431
+ msgid "Review Rating"
432
+ msgstr "Ocena recenzenta"
433
+
434
+ #: ../lib/yasr-settings-functions.php:301
435
+ msgid "Aggregate Rating"
436
+ msgstr "Łączna ocena"
437
+
438
+ #: ../lib/yasr-settings-functions.php:306
439
+ msgid "What is this?"
440
+ msgstr "Co to jest?"
441
+
442
+ #: ../lib/yasr-settings-functions.php:311
443
+ msgid ""
444
+ "If you select \"Review Rating\", your site will be indexed from search "
445
+ "engines like this: "
446
+ msgstr ""
447
+ "Jeśli wybierzesz \"Ogólną Ocenę\", twoja strona będzie indeksowana w "
448
+ "wyszukiwarkach właśnie tak:"
449
+
450
+ #: ../lib/yasr-settings-functions.php:316
451
+ msgid ""
452
+ "If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
453
+ "this"
454
+ msgstr ""
455
+ "Jeśli zamiast tego wybierzesz \"Łączną Ocenę\", twoja strona będzie "
456
+ "indeksowana tak"
457
+
458
+ #: ../lib/yasr-settings-functions.php:334
459
+ msgid "Stars"
460
+ msgstr "Gwiazdki"
461
+
462
+ #: ../lib/yasr-settings-functions.php:338
463
+ msgid "Numbers"
464
+ msgstr "Cyfry"
465
+
466
+ #: ../lib/yasr-settings-functions.php:351
467
+ msgid "Add New Multiple Set"
468
+ msgstr "Dodaj nowy zestaw ocen"
469
+
470
+ #: ../lib/yasr-settings-functions.php:352
471
+ msgid ""
472
+ "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
473
+ "characters"
474
+ msgstr ""
475
+ "Nazwa, Element#1 i Element#2 MUSZĄ być wypełnione i muszą mieć minimum 3 "
476
+ "znaki"
477
+
478
+ #: ../lib/yasr-settings-functions.php:355
479
+ msgid "Name"
480
+ msgstr "Nazwa"
481
+
482
+ #: ../lib/yasr-settings-functions.php:360
483
+ msgid "You can insert up to nine element"
484
+ msgstr "Można wstawić do dziewięciu elementów"
485
+
486
+ #: ../lib/yasr-settings-functions.php:365
487
+ msgid "Element "
488
+ msgstr "Element"
489
+
490
+ #: ../lib/yasr-settings-functions.php:375
491
+ msgid "Create New Set"
492
+ msgstr "Utwórz nowy zestaw"
493
+
494
+ #: ../lib/yasr-settings-functions.php:396
495
+ #: ../lib/yasr-settings-functions.php:428
496
+ msgid "Manage Multiple Set"
497
+ msgstr "Zarządzaj Zestawem Ocen"
498
+
499
+ #: ../lib/yasr-settings-functions.php:398
500
+ msgid "Wich set do you want to edit or remove?"
501
+ msgstr "Który zestaw chcesz edytować lub usunąć?"
502
+
503
+ #: ../lib/yasr-settings-functions.php:438
504
+ #: ../lib/yasr-settings-functions.php:556
505
+ msgid "Field name"
506
+ msgstr "Nazwa pola"
507
+
508
+ #: ../lib/yasr-settings-functions.php:442
509
+ #: ../lib/yasr-settings-functions.php:560
510
+ msgid "Remove"
511
+ msgstr "Usuń"
512
+
513
+ #: ../lib/yasr-settings-functions.php:484
514
+ #: ../lib/yasr-settings-functions.php:602
515
+ msgid "Remove whole set?"
516
+ msgstr "Usunąć cały zestaw?"
517
+
518
+ #: ../lib/yasr-settings-functions.php:497
519
+ #: ../lib/yasr-settings-functions.php:615
520
+ msgid ""
521
+ "If you remove something you will remove all the votes for that set or field. "
522
+ "This operation CAN'T BE undone."
523
+ msgstr ""
524
+ "Jeśli coś usuniesz to usuniesz wszystkie głosy na tym zestawie lub polu. Ta "
525
+ "operacja nie może być cofnięta."
526
+
527
+ #: ../lib/yasr-settings-functions.php:504
528
+ #: ../lib/yasr-settings-functions.php:622
529
+ msgid "You can use up to 9 elements"
530
+ msgstr "Możesz użyć do 9 elementów"
531
+
532
+ #: ../lib/yasr-settings-functions.php:506
533
+ #: ../lib/yasr-settings-functions.php:624
534
+ msgid "Add element"
535
+ msgstr "Dodaj element"
536
+
537
+ #: ../lib/yasr-settings-functions.php:508
538
+ #: ../lib/yasr-settings-functions.php:626
539
+ msgid "Save changes"
540
+ msgstr "Zapisz zmiany"
541
+
542
+ #: ../lib/yasr-settings-functions.php:518
543
+ msgid "No Multiple Set were found"
544
+ msgstr "Nie znalezionu Zestawów Ocen"
545
+
546
+ #: ../lib/yasr-settings-functions.php:768
547
+ #: ../lib/yasr-settings-functions.php:1036
548
+ msgid "Settings Saved"
549
+ msgstr "Ustawienia zapisane"
550
+
551
+ #: ../lib/yasr-settings-functions.php:773
552
+ msgid "Something goes wrong trying insert set field name. Please report it"
553
+ msgstr "Coś poszło nie tak podczas próby wstawiania pola nazwy. Zgłoś to"
554
+
555
+ #: ../lib/yasr-settings-functions.php:779
556
+ msgid "Something goes wrong trying insert Multi Set name. Please report it"
557
+ msgstr "Coś poszło nie tak podczas próby wstawiania Zestawu Ocen. Zgłoś to"
558
+
559
+ #: ../lib/yasr-settings-functions.php:854
560
+ msgid "Something goes wrong trying to delete a Multi Set . Please report it"
561
+ msgstr "Coś poszło nie tak podczas próby kasowania Zestawu Ocen. Zgłoś to"
562
+
563
+ #: ../lib/yasr-settings-functions.php:900
564
+ msgid ""
565
+ "Something goes wrong trying to delete a Multi Set's element. Please report it"
566
+ msgstr ""
567
+ "Coś poszło nie tak podczas próby kasowania elementu Mulit Oceny. Zgłoś to"
568
+
569
+ #: ../lib/yasr-settings-functions.php:964
570
+ msgid ""
571
+ "Something goes wrong trying to update a Multi Set's element. Please report it"
572
+ msgstr ""
573
+ "Coś poszło nie tak podczas próby aktualizowania elementu Mulit Oceny. Zgłoś "
574
+ "to"
575
+
576
+ #: ../lib/yasr-settings-functions.php:1021
577
+ msgid ""
578
+ "Something goes wrong trying to insert set field name in edit form. Please "
579
+ "report it"
580
+ msgstr ""
581
+ "Coś poszło nie tak podczas próby wstawiania pola nazwa w formularzu edycji. "
582
+ "Zgłoś to"
583
+
584
+ #: ../lib/yasr-settings-functions.php:1064
585
+ msgid "Style Options"
586
+ msgstr "Opcje stylu"
587
+
588
+ #: ../lib/yasr-settings-functions.php:1065
589
+ msgid "Custom CSS Styles"
590
+ msgstr "Niestandardowy styl CSS"
591
+
592
+ #: ../lib/yasr-settings-functions.php:1070
593
+ msgid ""
594
+ "Please use text area below to write your own CSS styles to override the "
595
+ "default ones."
596
+ msgstr ""
597
+ "Użyj pola tekstowego poniżej aby napisać swój własny styl CSS i zastąpić "
598
+ "domyślny. "
599
+
600
+ #: ../lib/yasr-settings-functions.php:1072
601
+ msgid "Leave it blank if you don't know what you're doing"
602
+ msgstr "Pozostaw puste, jeśli nie wiesz, co tu wstawić"
603
+
604
+ #: ../lib/yasr-settings-functions.php:1105
605
+ msgid "No previous Gd Star Rating installation was found"
606
+ msgstr "Nie znaleziono wcześniejszych instalacji Gd Star Rating"
607
+
608
+ #: ../lib/yasr-db-functions.php:216 ../lib/yasr-ajax-functions.php:630
609
+ msgid "No Recenet votes yet"
610
+ msgstr "Brak najnowszych głosów"
611
+
612
+ #: ../lib/yasr-db-functions.php:231 ../lib/yasr-ajax-functions.php:643
613
+ msgid "anonymous"
614
+ msgstr "Anonim"
615
+
616
+ #: ../lib/yasr-db-functions.php:254 ../lib/yasr-ajax-functions.php:666
617
+ msgid "Ip address"
618
+ msgstr "Adres IP"
619
+
620
+ #: ../lib/yasr-db-functions.php:295 ../lib/yasr-ajax-functions.php:707
621
+ msgid "Pages"
622
+ msgstr "Strony"
623
+
624
+ #: ../lib/yasr-functions.php:68 ../lib/yasr-functions.php:69
625
+ msgid "Yet Another Stars Rating: Settings"
626
+ msgstr "Yet Another Stars Rating: Ustawienia"
627
+
628
+ #: ../lib/yasr-functions.php:112 ../lib/yasr-functions.php:119
629
+ msgid "Overall Rating"
630
+ msgstr "Ocena ogólna"
631
+
632
+ #: ../lib/yasr-functions.php:113
633
+ msgid "Yet Another Stars Rating: Multiple set"
634
+ msgstr "Yet Another Stars Rating: Zestaw Ocen"
635
+
636
+ #: ../lib/yasr-functions.php:129
637
+ msgid "You don't have enought privileges to insert Overall Rating"
638
+ msgstr "Nie masz wystarczającyh uprawnień aby wstawić Ogólną Ocenę"
639
+
640
+ #: ../lib/yasr-functions.php:139
641
+ msgid "You don't have enought privileges to insert Multi Set"
642
+ msgstr "Nie masz wystarczającyh uprawnień aby wstawić Zestaw Ocen"
643
+
644
+ #: ../lib/yasr-functions.php:261
645
+ msgid " reviewed by "
646
+ msgstr " zrecenzowane przez "
647
+
648
+ #: ../lib/yasr-functions.php:262
649
+ msgid " on "
650
+ msgstr " dnia "
651
+
652
+ #: ../lib/yasr-functions.php:263
653
+ msgid " rated "
654
+ msgstr " ocena "
655
+
656
+ #: ../lib/yasr-functions.php:263
657
+ msgid " on 5.0"
658
+ msgstr " na 5.0"
659
+
660
+ #: ../lib/yasr-functions.php:307
661
+ msgid " average rating "
662
+ msgstr "średnia ocen"
663
+
664
+ #: ../lib/yasr-functions.php:308
665
+ msgid " user ratings"
666
+ msgstr "oceny użytkowników"
667
+
668
+ #: ../lib/yasr-ajax-functions.php:67
669
+ msgid "You've rated it "
670
+ msgstr "Już oceniłeś"
671
+
672
+ #: ../lib/yasr-ajax-functions.php:71
673
+ msgid "You've reset the vote"
674
+ msgstr "Zresetowałeś głosy"
675
+
676
+ #: ../lib/yasr-ajax-functions.php:108
677
+ msgid "Choose a vote for each element"
678
+ msgstr "Wybierz głos dla każdego elementu"
679
+
680
+ #: ../lib/yasr-ajax-functions.php:164 ../lib/yasr-ajax-functions.php:207
681
+ msgid "Remember to insert this shortcode"
682
+ msgstr "Pamiętaj aby wstawić ten kod"
683
+
684
+ #: ../lib/yasr-ajax-functions.php:166 ../lib/yasr-ajax-functions.php:209
685
+ msgid "where you want to display this multi set"
686
+ msgstr "tam gdzie chcesz wyświetlić ten zestaw ocen"
687
+
688
+ #: ../lib/yasr-ajax-functions.php:174
689
+ msgid "Choose a vote for every element"
690
+ msgstr "Wybierz głos dla każdego elementu"
691
+
692
+ #: ../lib/yasr-ajax-functions.php:333
693
+ msgid "Main"
694
+ msgstr "Głowne"
695
+
696
+ #: ../lib/yasr-ajax-functions.php:334
697
+ msgid "Charts"
698
+ msgstr "Wykresy"
699
+
700
+ #: ../lib/yasr-ajax-functions.php:336
701
+ msgid "Read the doc"
702
+ msgstr "Przeczytaj dokumentacje"
703
+
704
+ #: ../lib/yasr-ajax-functions.php:345
705
+ msgid "Overall Rating / Review"
706
+ msgstr "Ogólna ocena / przegląd"
707
+
708
+ #: ../lib/yasr-ajax-functions.php:347
709
+ msgid "Insert Overall Rating"
710
+ msgstr "Wstaw ogolny ranking"
711
+
712
+ #: ../lib/yasr-ajax-functions.php:348
713
+ msgid "Insert Overall Rating / Review for this post"
714
+ msgstr "Wstaw Ogólny Ranking / Oceny dla wpisu"
715
+
716
+ #: ../lib/yasr-ajax-functions.php:351 ../lib/yasr-ajax-functions.php:369
717
+ msgid "Choose Size"
718
+ msgstr "Wybierz rozmiar"
719
+
720
+ #: ../lib/yasr-ajax-functions.php:365
721
+ msgid "Insert Visitor Votes"
722
+ msgstr "Wstaw głosowanie gości"
723
+
724
+ #: ../lib/yasr-ajax-functions.php:366
725
+ msgid "Insert the ability for your visitor to vote"
726
+ msgstr "Wstaw głosowanie dla gości"
727
+
728
+ #: ../lib/yasr-ajax-functions.php:383
729
+ msgid "If you want to insert a Multi Set, pick one:"
730
+ msgstr "Jeśli chcesz wstawić Zestaw Ocen, wybierz jeden:"
731
+
732
+ #: ../lib/yasr-ajax-functions.php:389
733
+ msgid "Choose wich set you want to insert."
734
+ msgstr "Wybierz zestaw, który chcesz wstawić."
735
+
736
+ #: ../lib/yasr-ajax-functions.php:397
737
+ msgid "Insert Multiset:"
738
+ msgstr "Wstaw Zestaw Ocen"
739
+
740
+ #: ../lib/yasr-ajax-functions.php:400
741
+ msgid "Insert Multiple Set"
742
+ msgstr "Wstaw Zestaw Ocen"
743
+
744
+ #: ../lib/yasr-ajax-functions.php:401
745
+ msgid "Insert multiple set in this post ?"
746
+ msgstr "Dodać Zestaw Ocen do tego wpisu?"
747
+
748
+ #: ../lib/yasr-ajax-functions.php:416
749
+ msgid "Top 10 Overall Ratings"
750
+ msgstr "Top 10 Wszystkich Opinii"
751
+
752
+ #: ../lib/yasr-ajax-functions.php:417
753
+ msgid "Insert Top 10 highest rated"
754
+ msgstr "Wstaw Top 10 najwyżej ocenionych"
755
+
756
+ #: ../lib/yasr-ajax-functions.php:418
757
+ msgid "Insert Top 10 highest rated by post author"
758
+ msgstr "Wstaw Top 10 najwyższych ocen autora"
759
+
760
+ #: ../lib/yasr-ajax-functions.php:422
761
+ msgid "Top 10 Visitor Ratings"
762
+ msgstr "Top 10 Oceny Użytkowników"
763
+
764
+ #: ../lib/yasr-ajax-functions.php:423
765
+ msgid "Insert Top 10 posts by visitors"
766
+ msgstr "Wstaw Top 10 postów gości"
767
+
768
+ #: ../lib/yasr-ajax-functions.php:424
769
+ msgid "Insert Top 10 most or higher rated posts from visitors"
770
+ msgstr "Wstaw Top 10 najwyżej lub najwięcej ocenianych wpisów gości"
771
+
772
+ #: ../lib/yasr-ajax-functions.php:428
773
+ msgid "Most active reviewers"
774
+ msgstr "Najbardziej aktywny recenzent"
775
+
776
+ #: ../lib/yasr-ajax-functions.php:429
777
+ msgid "Insert Top 5 most active reviewers"
778
+ msgstr "Wstaw Top 5 najaktywniejszych oceniających"
779
+
780
+ #: ../lib/yasr-ajax-functions.php:430
781
+ msgid "Insert Top 5 active reviewers"
782
+ msgstr "Wstaw Top 5 aktywnych oceniających"
783
+
784
+ #: ../lib/yasr-ajax-functions.php:434
785
+ msgid "Most active users"
786
+ msgstr "Najaktywniejsi użytkownicy"
787
+
788
+ #: ../lib/yasr-ajax-functions.php:435
789
+ msgid "Insert Top 10 most active users"
790
+ msgstr "Wstaw Top 10 najaktywniejszych użytkowników"
791
+
792
+ #: ../lib/yasr-ajax-functions.php:436
793
+ msgid "Insert Top 10 active users in Visitor Ratings"
794
+ msgstr "Wstaw Top 10 aktywnych użytkowników wśród ocen gości"
795
+
796
+ #: ../lib/yasr-ajax-functions.php:488
797
+ msgid "Reviews and Visitor Votes have been successfull imported."
798
+ msgstr "Opinie i Oceny gości zostały zaimportowane."
799
+
800
+ #: ../lib/yasr-ajax-functions.php:494
801
+ msgid ""
802
+ "Step2: I will check if you used Multiple Sets and if so I will import them. "
803
+ "THIS MAY TAKE A WHILE!"
804
+ msgstr ""
805
+ "Krok 2: Sprawdzę, czy stosuje się Zestawy Ocen, a jeśli tak będę je "
806
+ "importować. TO MOŻE CHWILĘ POTRWAĆ!"
807
+
808
+ #: ../lib/yasr-ajax-functions.php:496
809
+ msgid "Proceed Step 2"
810
+ msgstr "Następny krok 2"
811
+
812
+ #: ../lib/yasr-ajax-functions.php:503
813
+ msgid "Something goes wrong! Refresh the page and try again!"
814
+ msgstr "Coś poszło nie tak! Odśwież stronę i spróbuj jeszcze raz!"
815
+
816
+ #: ../lib/yasr-ajax-functions.php:532
817
+ msgid "I've found Multiple Set! Importing..."
818
+ msgstr "Znalazłem Zestaw Ocen! Importuje..."
819
+
820
+ #: ../lib/yasr-ajax-functions.php:541
821
+ msgid "Multi Set's name has been successfull imported."
822
+ msgstr "Nazwa Zestawu Oceny została zaimportowana pomyślnie."
823
+
824
+ #: ../lib/yasr-ajax-functions.php:543
825
+ msgid "Now I'm going to import Multi Set data"
826
+ msgstr "Teraz zaimportuje dane Zestawu Ocen"
827
+
828
+ #: ../lib/yasr-ajax-functions.php:554
829
+ msgid "All votes has been successfull imported."
830
+ msgstr "Wszystkie głosy zostały pomyślnie zaimportowane."
831
+
832
+ #: ../lib/yasr-ajax-functions.php:556
833
+ msgid "Done"
834
+ msgstr "Skończone"
835
+
836
+ #: ../lib/yasr-ajax-functions.php:561
837
+ msgid "I've found Multiple Set's votes but I couldn't insert into db"
838
+ msgstr "Znalazłem głosy Zestawu Ocen ale nie mogłem ich dodać do bazy"
839
+
840
+ #: ../lib/yasr-ajax-functions.php:569
841
+ msgid "I've found Multi Set but with no data"
842
+ msgstr "Znalazłem Zestaw Ocen ale bez danych"
843
+
844
+ #: ../lib/yasr-ajax-functions.php:578
845
+ msgid "I've found Multi Sets names but I couldn't insert into db"
846
+ msgstr "Znalazłem nazwy Multi Zestawów ale nie mogłem zamieścić ich w bazie"
847
+
848
+ #: ../lib/yasr-ajax-functions.php:586
849
+ msgid "Multisets were not found. Imported is done!"
850
+ msgstr "Zestaw Ocen nie znaleziony. Importowanie zakończone!"
851
+
852
+ #: ../lib/yasr-ajax-functions.php:859 ../lib/yasr-ajax-functions.php:867
853
+ #: ../lib/yasr-ajax-functions.php:875 ../lib/yasr-ajax-functions.php:887
854
+ #: ../lib/yasr-ajax-functions.php:895 ../lib/yasr-ajax-functions.php:902
855
+ msgid "Average rating"
856
+ msgstr "Średnia ocen"
857
+
858
+ #: ../lib/yasr-ajax-functions.php:860 ../lib/yasr-ajax-functions.php:868
859
+ #: ../lib/yasr-ajax-functions.php:876 ../lib/yasr-ajax-functions.php:888
860
+ #: ../lib/yasr-ajax-functions.php:896 ../lib/yasr-ajax-functions.php:903
861
+ msgid "Vote Saved"
862
+ msgstr "Głos zapisany"
863
+
864
+ #: ../lib/yasr-ajax-functions.php:998 ../lib/yasr-ajax-functions.php:1006
865
+ #: ../lib/yasr-ajax-functions.php:1014
866
+ msgid "Vote Updated"
867
+ msgstr "Głos zaktualizowany"
868
+
869
+ #: ../lib/yasr-ajax-functions.php:1066 ../lib/yasr-ajax-functions.php:1072
870
+ #: ../lib/yasr-ajax-functions.php:1078 ../lib/yasr-ajax-functions.php:1087
871
+ msgid "Average "
872
+ msgstr "Średnia"
873
+
874
+ #: ../lib/yasr-ajax-functions.php:1146 ../lib/yasr-ajax-functions.php:1186
875
+ msgid "Total:"
876
+ msgstr "Głosów:"
877
+
878
+ #: ../lib/yasr-ajax-functions.php:1146 ../lib/yasr-ajax-functions.php:1186
879
+ msgid "Average"
880
+ msgstr "Średnia"
881
+
882
+ #: ../lib/yasr-ajax-functions.php:1160 ../lib/yasr-ajax-functions.php:1198
883
+ msgid "You've not enought data"
884
+ msgstr "Nie masz wystarczająco danych"
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-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"
@@ -15,798 +15,827 @@ msgstr ""
15
  "X-Poedit-SearchPath-0: ..\n"
16
  "X-Poedit-SearchPath-1: ../lib\n"
17
 
18
- #: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:75
19
- #: ../lib/yasr-ajax-functions.php:29 ../lib/yasr-ajax-functions.php:89
20
- #: ../lib/yasr-ajax-functions.php:228 ../lib/yasr-ajax-functions.php:753
21
  msgid "You do not have sufficient permissions to access this page."
22
  msgstr ""
23
 
24
- #: ../yasr-settings-page.php:56
 
 
 
 
25
  msgid "General Settings"
26
  msgstr ""
27
 
28
- #: ../yasr-settings-page.php:57
29
  msgid "Multi Sets"
30
  msgstr ""
31
 
32
- #: ../yasr-settings-page.php:58
33
  msgid "Styles"
34
  msgstr ""
35
 
36
- #: ../yasr-settings-page.php:74 ../yasr-settings-page.php:272
37
  msgid "Save"
38
  msgstr ""
39
 
40
- #: ../yasr-settings-page.php:80 ../yasr-settings-page.php:242
41
- #: ../yasr-settings-page.php:279 ../yasr-settings-page.php:303
42
  msgid "Donations"
43
  msgstr ""
44
 
45
- #: ../yasr-settings-page.php:82 ../yasr-settings-page.php:244
46
- #: ../yasr-settings-page.php:281 ../yasr-settings-page.php:305
47
  msgid ""
48
  "If you have found this plugin useful, please consider making a donation to "
49
  "help support future development. Your support will be much appreciated. "
50
  msgstr ""
51
 
52
- #: ../yasr-settings-page.php:84 ../yasr-settings-page.php:246
53
- #: ../yasr-settings-page.php:283 ../yasr-settings-page.php:307
54
  msgid "Thank you!"
55
  msgstr ""
56
 
57
- #: ../yasr-settings-page.php:104
58
  msgid "Import Gd Star Rating"
59
  msgstr ""
60
 
61
- #: ../yasr-settings-page.php:105
62
- msgid ""
63
- "I've found a previous installation of Gd Star Rating . <br />Do you want "
64
- "proceed to import data?"
65
  msgstr ""
66
 
67
  #: ../yasr-settings-page.php:107
 
 
 
 
68
  msgid "Yes, Begin Import"
69
  msgstr ""
70
 
71
- #: ../yasr-settings-page.php:111
72
- msgid "Click on Proceed to Import Gd Star Rating Data."
73
  msgstr ""
74
 
75
- #: ../yasr-settings-page.php:114 ../yasr-settings-page.php:147
76
  msgid "Proceed"
77
  msgstr ""
78
 
79
- #: ../yasr-settings-page.php:136
80
  msgid "Manage GD Star Data"
81
  msgstr ""
82
 
83
- #: ../yasr-settings-page.php:137
84
  msgid "Gd Star Rating has been already imported."
85
  msgstr ""
86
 
87
- #: ../yasr-settings-page.php:138
88
  msgid "If you wish you can import it again, but"
89
  msgstr ""
90
 
91
- #: ../yasr-settings-page.php:138
92
  msgid "you will lose all data you've collect since the import!"
93
  msgstr ""
94
 
95
- #: ../yasr-settings-page.php:140
96
  msgid "Ok, Import Again"
97
  msgstr ""
98
 
99
- #: ../yasr-settings-page.php:144
100
  msgid ""
101
- "Click on Proceed to Import again Gd Star Rating Data. This may take a while!"
102
  msgstr ""
103
 
104
- #: ../yasr-settings-page.php:185
105
- msgid "Manage multi-set"
106
  msgstr ""
107
 
108
- #: ../yasr-settings-page.php:189
109
- msgid "What is a Multi-set?"
110
  msgstr ""
111
 
112
- #: ../yasr-settings-page.php:194
113
  msgid ""
114
- "Multi-set allows you to insert a rate for each aspect about the product / "
115
- "local business / whetever\n"
116
- "\t\t\t\tyou're reviewing, example in the image below."
117
  msgstr ""
118
 
119
- #: ../yasr-settings-page.php:199
120
  msgid ""
121
- "You can create up to 99 different multi-sets and each one can contain up to "
122
- "9 different fields. \n"
123
- "\t\t\t\t\tOnce you've saved it, you can insert the rates while typing your "
124
- "article in the box below the editor, \n"
125
- "\t\t\t\t\tas you can see in this image (click to see it larger)"
126
  msgstr ""
127
 
128
- #: ../yasr-settings-page.php:205
129
  msgid ""
130
- "In order to insert your text into a post or page, you can either past\n"
131
- "\t\t\t\t\tthe short code that will appear at the bottom of the box or just "
132
- "click\n"
133
- "\t\t\t\t\ton the star in the graphic editor and select \"Insert Multi-Set\"."
134
  msgstr ""
135
 
136
- #: ../yasr-settings-page.php:213
137
  msgid "Close this message"
138
  msgstr ""
139
 
140
- #: ../yasr-metabox-multiple-rating.php:15
141
  msgid "Choose wich set you want to use"
142
  msgstr ""
143
 
144
- #: ../yasr-metabox-multiple-rating.php:26
145
- #: ../lib/yasr-settings-functions.php:372
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"
162
  msgstr ""
163
 
164
- #: ../lib/yasr-shortcode-functions.php:156
165
- #: ../lib/yasr-shortcode-functions.php:168
166
- #: ../lib/yasr-shortcode-functions.php:173
167
- #: ../lib/yasr-shortcode-functions.php:186
168
- #: ../lib/yasr-shortcode-functions.php:191
169
- #: ../lib/yasr-shortcode-functions.php:211
170
- #: ../lib/yasr-shortcode-functions.php:220
171
- #: ../lib/yasr-shortcode-functions.php:226
172
- #: ../lib/yasr-shortcode-functions.php:240
173
- #: ../lib/yasr-shortcode-functions.php:246
174
- #: ../lib/yasr-shortcode-functions.php:271
175
- #: ../lib/yasr-shortcode-functions.php:283
176
- #: ../lib/yasr-shortcode-functions.php:288
177
- #: ../lib/yasr-shortcode-functions.php:301
178
- #: ../lib/yasr-shortcode-functions.php:306
179
- #: ../lib/yasr-shortcode-functions.php:327
180
- #: ../lib/yasr-shortcode-functions.php:336
181
- #: ../lib/yasr-shortcode-functions.php:342
182
- #: ../lib/yasr-shortcode-functions.php:356
183
- #: ../lib/yasr-shortcode-functions.php:362
184
- #: ../lib/yasr-shortcode-functions.php:387
185
- #: ../lib/yasr-shortcode-functions.php:399
186
- #: ../lib/yasr-shortcode-functions.php:404
187
- #: ../lib/yasr-shortcode-functions.php:417
188
- #: ../lib/yasr-shortcode-functions.php:422
189
- #: ../lib/yasr-shortcode-functions.php:443
190
- #: ../lib/yasr-shortcode-functions.php:452
191
- #: ../lib/yasr-shortcode-functions.php:458
192
- #: ../lib/yasr-shortcode-functions.php:472
193
- #: ../lib/yasr-shortcode-functions.php:478 ../lib/yasr-functions.php:285
194
- #: ../lib/yasr-functions.php:297 ../lib/yasr-functions.php:302
195
- #: ../lib/yasr-functions.php:315 ../lib/yasr-functions.php:320
196
- #: ../lib/yasr-functions.php:340 ../lib/yasr-functions.php:349
197
- #: ../lib/yasr-functions.php:355 ../lib/yasr-functions.php:369
198
- #: ../lib/yasr-functions.php:375 ../lib/yasr-functions.php:400
199
- #: ../lib/yasr-functions.php:412 ../lib/yasr-functions.php:417
200
- #: ../lib/yasr-functions.php:430 ../lib/yasr-functions.php:435
201
- #: ../lib/yasr-functions.php:456 ../lib/yasr-functions.php:465
202
- #: ../lib/yasr-functions.php:471 ../lib/yasr-functions.php:485
203
- #: ../lib/yasr-functions.php:491 ../lib/yasr-functions.php:516
204
- #: ../lib/yasr-functions.php:528 ../lib/yasr-functions.php:533
205
- #: ../lib/yasr-functions.php:546 ../lib/yasr-functions.php:551
206
- #: ../lib/yasr-functions.php:572 ../lib/yasr-functions.php:581
207
- #: ../lib/yasr-functions.php:587 ../lib/yasr-functions.php:601
208
- #: ../lib/yasr-functions.php:607 ../lib/yasr-ajax-functions.php:991
209
- #: ../lib/yasr-ajax-functions.php:999 ../lib/yasr-ajax-functions.php:1007
210
- #: ../lib/yasr-ajax-functions.php:1021 ../lib/yasr-ajax-functions.php:1029
211
- #: ../lib/yasr-ajax-functions.php:1036 ../lib/yasr-ajax-functions.php:1126
212
- #: ../lib/yasr-ajax-functions.php:1134 ../lib/yasr-ajax-functions.php:1142
213
- #: ../lib/yasr-ajax-functions.php:1178 ../lib/yasr-ajax-functions.php:1184
214
- #: ../lib/yasr-ajax-functions.php:1190 ../lib/yasr-ajax-functions.php:1199
215
  msgid "Total: "
216
  msgstr ""
217
 
218
- #: ../lib/yasr-shortcode-functions.php:157
219
- #: ../lib/yasr-shortcode-functions.php:212
220
- #: ../lib/yasr-shortcode-functions.php:272
221
- #: ../lib/yasr-shortcode-functions.php:328
222
- #: ../lib/yasr-shortcode-functions.php:388
223
- #: ../lib/yasr-shortcode-functions.php:444 ../lib/yasr-functions.php:286
224
- #: ../lib/yasr-functions.php:341 ../lib/yasr-functions.php:401
225
- #: ../lib/yasr-functions.php:457 ../lib/yasr-functions.php:517
226
- #: ../lib/yasr-functions.php:573
 
 
 
 
 
 
227
  msgid "You've already voted this article with"
228
  msgstr ""
229
 
230
- #: ../lib/yasr-shortcode-functions.php:241
231
- #: ../lib/yasr-shortcode-functions.php:357
232
- #: ../lib/yasr-shortcode-functions.php:473 ../lib/yasr-functions.php:370
233
- #: ../lib/yasr-functions.php:486 ../lib/yasr-functions.php:602
234
  msgid "You must sign to vote"
235
  msgstr ""
236
 
237
- #: ../lib/yasr-shortcode-functions.php:698
 
 
 
 
238
  msgid "Rating"
239
  msgstr ""
240
 
241
- #: ../lib/yasr-shortcode-functions.php:712
242
  msgid "You don't have any votes stored"
243
  msgstr ""
244
 
245
- #: ../lib/yasr-shortcode-functions.php:726
246
  msgid "Chart is loading, please wait"
247
  msgstr ""
248
 
249
- #: ../lib/yasr-shortcode-functions.php:855
250
  msgid ""
251
  "Problem while retriving the top 5 most active reviewers. Did you published "
252
  "any review?"
253
  msgstr ""
254
 
255
- #: ../lib/yasr-shortcode-functions.php:923
256
  msgid ""
257
  "Problem while retriving the top 10 active users chart. Are you sure you have "
258
  "votes to show?"
259
  msgstr ""
260
 
261
- #: ../lib/yasr-settings-functions.php:31
262
  msgid "General settings"
263
  msgstr ""
264
 
265
- #: ../lib/yasr-settings-functions.php:32
266
  msgid "Auto insert options"
267
  msgstr ""
268
 
269
- #: ../lib/yasr-settings-functions.php:33
270
- msgid "Show overall rating in Home Page?"
271
  msgstr ""
272
 
273
- #: ../lib/yasr-settings-functions.php:34
274
  msgid "Insert custom text to show before / after stars"
275
  msgstr ""
276
 
277
- #: ../lib/yasr-settings-functions.php:35
278
  msgid "Which color scheme do you want to use?"
279
  msgstr ""
280
 
281
- #: ../lib/yasr-settings-functions.php:36
282
  msgid "Allow only logged in user to vote?"
283
  msgstr ""
284
 
285
- #: ../lib/yasr-settings-functions.php:37
286
  msgid "Which rich snippets do you want to use?"
287
  msgstr ""
288
 
289
- #: ../lib/yasr-settings-functions.php:51
 
 
 
 
290
  msgid "Use Auto Insert?"
291
  msgstr ""
292
 
293
- #: ../lib/yasr-settings-functions.php:54
294
- #: ../lib/yasr-settings-functions.php:129
295
- #: ../lib/yasr-settings-functions.php:149
296
- #: ../lib/yasr-settings-functions.php:174
 
297
  msgid "Yes"
298
  msgstr ""
299
 
300
- #: ../lib/yasr-settings-functions.php:74
301
- #: ../lib/yasr-settings-functions.php:134
302
- #: ../lib/yasr-settings-functions.php:154
303
- #: ../lib/yasr-settings-functions.php:191
 
304
  msgid "No"
305
  msgstr ""
306
 
307
- #: ../lib/yasr-settings-functions.php:80
308
  msgid "What?"
309
  msgstr ""
310
 
311
- #: ../lib/yasr-settings-functions.php:83
312
  msgid "Overall Rating / Author Rating"
313
  msgstr ""
314
 
315
- #: ../lib/yasr-settings-functions.php:87 ../lib/yasr-ajax-functions.php:355
316
  msgid "Visitor Votes"
317
  msgstr ""
318
 
319
- #: ../lib/yasr-settings-functions.php:91
320
  msgid "Both"
321
  msgstr ""
322
 
323
- #: ../lib/yasr-settings-functions.php:95
324
  msgid "Where?"
325
  msgstr ""
326
 
327
- #: ../lib/yasr-settings-functions.php:98
328
  msgid "Before the post"
329
  msgstr ""
330
 
331
- #: ../lib/yasr-settings-functions.php:102
332
  msgid "After the post"
333
  msgstr ""
334
 
335
- #: ../lib/yasr-settings-functions.php:107
336
  msgid "Size"
337
  msgstr ""
338
 
339
- #: ../lib/yasr-settings-functions.php:111 ../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
 
354
- #: ../lib/yasr-settings-functions.php:126
355
  msgid "Exclude Pages?"
356
  msgstr ""
357
 
358
- #: ../lib/yasr-settings-functions.php:158
 
 
 
 
 
 
 
 
 
 
 
 
359
  msgid ""
360
  "If you enable this, \"Overall Rating\" will be showed not only in the single "
361
  "article or page, but also in pages like Home Page, category pages or "
362
  "archives."
363
  msgstr ""
364
 
365
- #: ../lib/yasr-settings-functions.php:198
366
- msgid "Custom text to display before overall rating"
367
  msgstr ""
368
 
369
- #: ../lib/yasr-settings-functions.php:203
370
- msgid "Custom text to display before visitor rating"
371
  msgstr ""
372
 
373
- #: ../lib/yasr-settings-functions.php:208
374
  msgid "Custom text to display when a non logged user has already rated"
375
  msgstr ""
376
 
377
- #: ../lib/yasr-settings-functions.php:224
378
  msgid "Light"
379
  msgstr ""
380
 
381
- #: ../lib/yasr-settings-functions.php:229
382
  msgid "Dark"
383
  msgstr ""
384
 
385
- #: ../lib/yasr-settings-functions.php:234
386
  msgid "Preview"
387
  msgstr ""
388
 
389
- #: ../lib/yasr-settings-functions.php:239
390
  msgid "Light theme"
391
  msgstr ""
392
 
393
- #: ../lib/yasr-settings-functions.php:244
394
  msgid "Dark Theme"
395
  msgstr ""
396
 
397
- #: ../lib/yasr-settings-functions.php:262
398
  msgid "Allow only logged-in users"
399
  msgstr ""
400
 
401
- #: ../lib/yasr-settings-functions.php:266
402
  msgid "Allow everybody (logged in and anonymous)"
403
  msgstr ""
404
 
405
- #: ../lib/yasr-settings-functions.php:283
406
  msgid "Review Rating"
407
  msgstr ""
408
 
409
- #: ../lib/yasr-settings-functions.php:287
410
  msgid "Aggregate Rating"
411
  msgstr ""
412
 
413
- #: ../lib/yasr-settings-functions.php:292
414
  msgid "What is this?"
415
  msgstr ""
416
 
417
- #: ../lib/yasr-settings-functions.php:297
418
  msgid ""
419
  "If you select \"Review Rating\", your site will be indexed from search "
420
  "engines like this: "
421
  msgstr ""
422
 
423
- #: ../lib/yasr-settings-functions.php:302
424
  msgid ""
425
  "If, instead, you choose \"Aggregate Rating\", your site will be indexed like "
426
  "this"
427
  msgstr ""
428
 
429
- #: ../lib/yasr-settings-functions.php:318
 
 
 
 
 
 
 
 
 
 
 
 
430
  msgid ""
431
- "Field Name, Element#1 and Element#2 MUST be filled and must be long at least "
432
- "3 characters"
433
  msgstr ""
434
 
435
- #: ../lib/yasr-settings-functions.php:321
436
  msgid "Name"
437
  msgstr ""
438
 
439
- #: ../lib/yasr-settings-functions.php:326
440
  msgid "You can insert up to nine element"
441
  msgstr ""
442
 
443
- #: ../lib/yasr-settings-functions.php:331
444
  msgid "Element "
445
  msgstr ""
446
 
447
- #: ../lib/yasr-settings-functions.php:341
448
  msgid "Create New Set"
449
  msgstr ""
450
 
451
- #: ../lib/yasr-settings-functions.php:362
 
452
  msgid "Manage Multiple Set"
453
  msgstr ""
454
 
455
- #: ../lib/yasr-settings-functions.php:364
456
  msgid "Wich set do you want to edit or remove?"
457
  msgstr ""
458
 
459
- #: ../lib/yasr-settings-functions.php:404
460
- #: ../lib/yasr-settings-functions.php:522
461
  msgid "Field name"
462
  msgstr ""
463
 
464
- #: ../lib/yasr-settings-functions.php:408
465
- #: ../lib/yasr-settings-functions.php:526
466
  msgid "Remove"
467
  msgstr ""
468
 
469
- #: ../lib/yasr-settings-functions.php:450
 
470
  msgid "Remove whole set?"
471
  msgstr ""
472
 
473
- #: ../lib/yasr-settings-functions.php:463
474
- #: ../lib/yasr-settings-functions.php:581
475
  msgid ""
476
  "If you remove something you will remove all the votes for that set or field. "
477
  "This operation CAN'T BE undone."
478
  msgstr ""
479
 
480
- #: ../lib/yasr-settings-functions.php:470
481
- #: ../lib/yasr-settings-functions.php:588
482
  msgid "You can use up to 9 elements"
483
  msgstr ""
484
 
485
- #: ../lib/yasr-settings-functions.php:472
486
- #: ../lib/yasr-settings-functions.php:590
487
  msgid "Add element"
488
  msgstr ""
489
 
490
- #: ../lib/yasr-settings-functions.php:474
491
- #: ../lib/yasr-settings-functions.php:592
492
  msgid "Save changes"
493
  msgstr ""
494
 
495
- #: ../lib/yasr-settings-functions.php:484
496
- msgid "No multiple set were found"
497
  msgstr ""
498
 
499
- #: ../lib/yasr-settings-functions.php:734
500
- #: ../lib/yasr-settings-functions.php:1002
501
  msgid "Settings Saved"
502
  msgstr ""
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
  msgid "Overall Rating"
576
  msgstr ""
577
 
578
- #: ../lib/yasr-functions.php:108
579
  msgid "Yet Another Stars Rating: Multiple set"
580
  msgstr ""
581
 
582
- #: ../lib/yasr-functions.php:124
583
- msgid "You don't have enought privileges to insert overall rating"
584
  msgstr ""
585
 
586
- #: ../lib/yasr-functions.php:134
587
- msgid "You don't have enought privileges to insert multi-set"
588
  msgstr ""
589
 
590
- #: ../lib/yasr-functions.php:842
591
  msgid " reviewed by "
592
  msgstr ""
593
 
594
- #: ../lib/yasr-functions.php:843
595
  msgid " on "
596
  msgstr ""
597
 
598
- #: ../lib/yasr-functions.php:844 ../lib/yasr-functions.php:888
599
  msgid " rated "
600
  msgstr ""
601
 
602
- #: ../lib/yasr-functions.php:844
603
  msgid " on 5.0"
604
  msgstr ""
605
 
606
- #: ../lib/yasr-functions.php:888
607
- msgid " out of "
608
  msgstr ""
609
 
610
- #: ../lib/yasr-functions.php:889
611
- msgid " based on "
612
  msgstr ""
613
 
614
- #: ../lib/yasr-functions.php:889
615
- msgid " user ratings"
 
 
 
 
616
  msgstr ""
617
 
618
- #: ../lib/yasr-ajax-functions.php:100
619
  msgid "Choose a vote for each element"
620
  msgstr ""
621
 
622
- #: ../lib/yasr-ajax-functions.php:156 ../lib/yasr-ajax-functions.php:199
623
  msgid "Remember to insert this shortcode"
624
  msgstr ""
625
 
626
- #: ../lib/yasr-ajax-functions.php:158 ../lib/yasr-ajax-functions.php:201
627
  msgid "where you want to display this multi set"
628
  msgstr ""
629
 
630
- #: ../lib/yasr-ajax-functions.php:166
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 ""
657
 
658
- #: ../lib/yasr-ajax-functions.php:343 ../lib/yasr-ajax-functions.php:361
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 ""
669
 
670
- #: ../lib/yasr-ajax-functions.php:375
671
- msgid "If you want to insert a multi-set, pick one:"
672
  msgstr ""
673
 
674
- #: ../lib/yasr-ajax-functions.php:381
675
  msgid "Choose wich set you want to insert."
676
  msgstr ""
677
 
678
- #: ../lib/yasr-ajax-functions.php:389
679
  msgid "Insert Multiset:"
680
  msgstr ""
681
 
682
- #: ../lib/yasr-ajax-functions.php:408
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 ""
693
 
694
- #: ../lib/yasr-ajax-functions.php:414
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 ""
705
 
706
- #: ../lib/yasr-ajax-functions.php:420
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 ""
717
 
718
- #: ../lib/yasr-ajax-functions.php:426
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 ""
729
 
730
- #: ../lib/yasr-ajax-functions.php:622
731
- msgid "Reviews and visitor votes have been successfull imported."
732
  msgstr ""
733
 
734
- #: ../lib/yasr-ajax-functions.php:628
735
  msgid ""
736
- "Step2: I will check if you used multiple set and if so I will import it. "
737
  "THIS MAY TAKE A WHILE!"
738
  msgstr ""
739
 
740
- #: ../lib/yasr-ajax-functions.php:630
741
  msgid "Proceed Step 2"
742
  msgstr ""
743
 
744
- #: ../lib/yasr-ajax-functions.php:637
745
  msgid "Something goes wrong! Refresh the page and try again!"
746
  msgstr ""
747
 
748
- #: ../lib/yasr-ajax-functions.php:666
749
- msgid "I've found multiple set! Importing..."
750
  msgstr ""
751
 
752
- #: ../lib/yasr-ajax-functions.php:675
753
- msgid "Multi set's name has been successfull imported."
754
  msgstr ""
755
 
756
- #: ../lib/yasr-ajax-functions.php:677
757
- msgid "Now I'm going to import multi set data"
758
  msgstr ""
759
 
760
- #: ../lib/yasr-ajax-functions.php:688
761
  msgid "All votes has been successfull imported."
762
  msgstr ""
763
 
764
- #: ../lib/yasr-ajax-functions.php:691
765
  msgid "Done"
766
  msgstr ""
767
 
768
- #: ../lib/yasr-ajax-functions.php:696
769
- msgid "I've found multiple set votes but I couldn't insert into db"
770
  msgstr ""
771
 
772
- #: ../lib/yasr-ajax-functions.php:704
773
- msgid "I've found multi set but with no data"
774
  msgstr ""
775
 
776
- #: ../lib/yasr-ajax-functions.php:713
777
- msgid "I've found multi set name but I couldn't insert into db"
778
  msgstr ""
779
 
780
- #: ../lib/yasr-ajax-functions.php:721
781
- msgid "Multiset was not found. Imported is done!"
782
  msgstr ""
783
 
784
- #: ../lib/yasr-ajax-functions.php:991 ../lib/yasr-ajax-functions.php:999
785
- #: ../lib/yasr-ajax-functions.php:1007 ../lib/yasr-ajax-functions.php:1021
786
- #: ../lib/yasr-ajax-functions.php:1029 ../lib/yasr-ajax-functions.php:1036
787
  msgid "Average rating"
788
  msgstr ""
789
 
790
- #: ../lib/yasr-ajax-functions.php:992 ../lib/yasr-ajax-functions.php:1000
791
- #: ../lib/yasr-ajax-functions.php:1008 ../lib/yasr-ajax-functions.php:1022
792
- #: ../lib/yasr-ajax-functions.php:1030 ../lib/yasr-ajax-functions.php:1037
793
  msgid "Vote Saved"
794
  msgstr ""
795
 
796
- #: ../lib/yasr-ajax-functions.php:1127 ../lib/yasr-ajax-functions.php:1135
797
- #: ../lib/yasr-ajax-functions.php:1143
798
  msgid "Vote Updated"
799
  msgstr ""
800
 
801
- #: ../lib/yasr-ajax-functions.php:1178 ../lib/yasr-ajax-functions.php:1184
802
- #: ../lib/yasr-ajax-functions.php:1190 ../lib/yasr-ajax-functions.php:1199
803
  msgid "Average "
804
  msgstr ""
805
 
806
- #: ../lib/yasr-ajax-functions.php:1257 ../lib/yasr-ajax-functions.php:1292
807
  msgid "Total:"
808
  msgstr ""
809
 
810
- #: ../lib/yasr-ajax-functions.php:1257 ../lib/yasr-ajax-functions.php:1292
811
  msgid "Average"
812
  msgstr ""
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YASR lenguages\n"
4
+ "POT-Creation-Date: 2014-09-15 18:43+0100\n"
5
+ "PO-Revision-Date: 2014-09-15 18:43+0100\n"
6
  "Last-Translator: Dario <thedudoworld@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: En\n"
15
  "X-Poedit-SearchPath-0: ..\n"
16
  "X-Poedit-SearchPath-1: ../lib\n"
17
 
18
+ #: ../yasr-settings-page.php:6 ../lib/yasr-functions.php:80
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:618
21
  msgid "You do not have sufficient permissions to access this page."
22
  msgstr ""
23
 
24
+ #: ../yasr-settings-page.php:15
25
+ msgid "Settings"
26
+ msgstr ""
27
+
28
+ #: ../yasr-settings-page.php:58
29
  msgid "General Settings"
30
  msgstr ""
31
 
32
+ #: ../yasr-settings-page.php:59
33
  msgid "Multi Sets"
34
  msgstr ""
35
 
36
+ #: ../yasr-settings-page.php:60
37
  msgid "Styles"
38
  msgstr ""
39
 
40
+ #: ../yasr-settings-page.php:76 ../yasr-settings-page.php:269
41
  msgid "Save"
42
  msgstr ""
43
 
44
+ #: ../yasr-settings-page.php:82 ../yasr-settings-page.php:239
45
+ #: ../yasr-settings-page.php:276 ../yasr-settings-page.php:300
46
  msgid "Donations"
47
  msgstr ""
48
 
49
+ #: ../yasr-settings-page.php:84 ../yasr-settings-page.php:241
50
+ #: ../yasr-settings-page.php:278 ../yasr-settings-page.php:302
51
  msgid ""
52
  "If you have found this plugin useful, please consider making a donation to "
53
  "help support future development. Your support will be much appreciated. "
54
  msgstr ""
55
 
56
+ #: ../yasr-settings-page.php:86 ../yasr-settings-page.php:243
57
+ #: ../yasr-settings-page.php:280 ../yasr-settings-page.php:304
58
  msgid "Thank you!"
59
  msgstr ""
60
 
61
+ #: ../yasr-settings-page.php:106
62
  msgid "Import Gd Star Rating"
63
  msgstr ""
64
 
65
+ #: ../yasr-settings-page.php:107
66
+ msgid "I've found a previous installation of Gd Star Rating."
 
 
67
  msgstr ""
68
 
69
  #: ../yasr-settings-page.php:107
70
+ msgid "Do you want proceed to import data?"
71
+ msgstr ""
72
+
73
+ #: ../yasr-settings-page.php:109
74
  msgid "Yes, Begin Import"
75
  msgstr ""
76
 
77
+ #: ../yasr-settings-page.php:113
78
+ msgid "Click on Proceed to import Gd Star Rating data."
79
  msgstr ""
80
 
81
+ #: ../yasr-settings-page.php:116 ../yasr-settings-page.php:149
82
  msgid "Proceed"
83
  msgstr ""
84
 
85
+ #: ../yasr-settings-page.php:138
86
  msgid "Manage GD Star Data"
87
  msgstr ""
88
 
89
+ #: ../yasr-settings-page.php:139
90
  msgid "Gd Star Rating has been already imported."
91
  msgstr ""
92
 
93
+ #: ../yasr-settings-page.php:140
94
  msgid "If you wish you can import it again, but"
95
  msgstr ""
96
 
97
+ #: ../yasr-settings-page.php:140
98
  msgid "you will lose all data you've collect since the import!"
99
  msgstr ""
100
 
101
+ #: ../yasr-settings-page.php:142
102
  msgid "Ok, Import Again"
103
  msgstr ""
104
 
105
+ #: ../yasr-settings-page.php:146
106
  msgid ""
107
+ "Click on Proceed to import again Gd Star Rating data. This may take a while!"
108
  msgstr ""
109
 
110
+ #: ../yasr-settings-page.php:187
111
+ msgid "Manage Multi Set"
112
  msgstr ""
113
 
114
+ #: ../yasr-settings-page.php:191
115
+ msgid "What is a Multi Set?"
116
  msgstr ""
117
 
118
+ #: ../yasr-settings-page.php:196
119
  msgid ""
120
+ "Multi Set allows you to insert a rate for each aspect about the product / "
121
+ "local business / whetever you're reviewing, example in the image below."
 
122
  msgstr ""
123
 
124
+ #: ../yasr-settings-page.php:200
125
  msgid ""
126
+ "You can create up to 99 different Multi Set and each one can contain up to 9 "
127
+ "different fields. Once you've saved it, you can insert the rates while "
128
+ "typing your article in the box below the editor, as you can see in this "
129
+ "image (click to see it larger)"
 
130
  msgstr ""
131
 
132
+ #: ../yasr-settings-page.php:204
133
  msgid ""
134
+ "In order to insert your Multi Sets into a post or page, you can either past "
135
+ "the short code that will appear at the bottom of the box or just click on "
136
+ "the star in the graphic editor and select \"Insert Multi Set\"."
 
137
  msgstr ""
138
 
139
+ #: ../yasr-settings-page.php:210
140
  msgid "Close this message"
141
  msgstr ""
142
 
143
+ #: ../yasr-metabox-multiple-rating.php:17
144
  msgid "Choose wich set you want to use"
145
  msgstr ""
146
 
147
+ #: ../yasr-metabox-multiple-rating.php:28
148
+ #: ../lib/yasr-settings-functions.php:406
149
  msgid "Select"
150
  msgstr ""
151
 
152
+ #: ../yasr-metabox-overall-rating.php:46 ../yasr-metabox-overall-rating.php:93
153
  msgid "Rate this article / item"
154
  msgstr ""
155
 
156
+ #: ../yasr-metabox-overall-rating.php:52
157
+ #: ../lib/yasr-shortcode-functions.php:144
158
  msgid "Loading, please wait"
159
  msgstr ""
160
 
161
+ #: ../yasr-metabox-overall-rating.php:67
162
+ #: ../yasr-metabox-overall-rating.php:149
163
  msgid ""
164
  "Remember to insert this shortcode <strong>[yasr_overall_rating]</strong> "
165
  "where you want to display this rating"
166
  msgstr ""
167
 
168
+ #: ../yasr-metabox-overall-rating.php:158
169
+ msgid "Save Vote"
170
+ msgstr ""
171
+
172
+ #: ../lib/yasr-shortcode-functions.php:190
173
+ #: ../lib/yasr-shortcode-functions.php:202
174
+ #: ../lib/yasr-shortcode-functions.php:207
175
+ #: ../lib/yasr-shortcode-functions.php:222
176
+ #: ../lib/yasr-shortcode-functions.php:227
177
+ #: ../lib/yasr-shortcode-functions.php:247
178
+ #: ../lib/yasr-shortcode-functions.php:258
179
+ #: ../lib/yasr-shortcode-functions.php:264
180
+ #: ../lib/yasr-shortcode-functions.php:279
181
+ #: ../lib/yasr-shortcode-functions.php:285 ../lib/yasr-ajax-functions.php:859
182
+ #: ../lib/yasr-ajax-functions.php:867 ../lib/yasr-ajax-functions.php:875
183
+ #: ../lib/yasr-ajax-functions.php:887 ../lib/yasr-ajax-functions.php:895
184
+ #: ../lib/yasr-ajax-functions.php:902 ../lib/yasr-ajax-functions.php:997
185
+ #: ../lib/yasr-ajax-functions.php:1005 ../lib/yasr-ajax-functions.php:1013
186
+ #: ../lib/yasr-ajax-functions.php:1066 ../lib/yasr-ajax-functions.php:1072
187
+ #: ../lib/yasr-ajax-functions.php:1078 ../lib/yasr-ajax-functions.php:1087
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
  msgid "Total: "
189
  msgstr ""
190
 
191
+ #: ../lib/yasr-shortcode-functions.php:190
192
+ #: ../lib/yasr-shortcode-functions.php:202
193
+ #: ../lib/yasr-shortcode-functions.php:207
194
+ #: ../lib/yasr-shortcode-functions.php:222
195
+ #: ../lib/yasr-shortcode-functions.php:227
196
+ #: ../lib/yasr-shortcode-functions.php:247
197
+ #: ../lib/yasr-shortcode-functions.php:258
198
+ #: ../lib/yasr-shortcode-functions.php:264
199
+ #: ../lib/yasr-shortcode-functions.php:279
200
+ #: ../lib/yasr-shortcode-functions.php:285
201
+ msgid "Average: "
202
+ msgstr ""
203
+
204
+ #: ../lib/yasr-shortcode-functions.php:191
205
+ #: ../lib/yasr-shortcode-functions.php:248
206
  msgid "You've already voted this article with"
207
  msgstr ""
208
 
209
+ #: ../lib/yasr-shortcode-functions.php:280
210
+ #: ../lib/yasr-shortcode-functions.php:286
 
 
211
  msgid "You must sign to vote"
212
  msgstr ""
213
 
214
+ #: ../lib/yasr-shortcode-functions.php:309
215
+ msgid "'bad', 'poor', 'ok', 'good', 'super'"
216
+ msgstr ""
217
+
218
+ #: ../lib/yasr-shortcode-functions.php:415
219
  msgid "Rating"
220
  msgstr ""
221
 
222
+ #: ../lib/yasr-shortcode-functions.php:429
223
  msgid "You don't have any votes stored"
224
  msgstr ""
225
 
226
+ #: ../lib/yasr-shortcode-functions.php:443
227
  msgid "Chart is loading, please wait"
228
  msgstr ""
229
 
230
+ #: ../lib/yasr-shortcode-functions.php:532
231
  msgid ""
232
  "Problem while retriving the top 5 most active reviewers. Did you published "
233
  "any review?"
234
  msgstr ""
235
 
236
+ #: ../lib/yasr-shortcode-functions.php:600
237
  msgid ""
238
  "Problem while retriving the top 10 active users chart. Are you sure you have "
239
  "votes to show?"
240
  msgstr ""
241
 
242
+ #: ../lib/yasr-settings-functions.php:32
243
  msgid "General settings"
244
  msgstr ""
245
 
246
+ #: ../lib/yasr-settings-functions.php:33
247
  msgid "Auto insert options"
248
  msgstr ""
249
 
250
+ #: ../lib/yasr-settings-functions.php:34
251
+ msgid "Show \"Overall Rating\" in Home Page?"
252
  msgstr ""
253
 
254
+ #: ../lib/yasr-settings-functions.php:35
255
  msgid "Insert custom text to show before / after stars"
256
  msgstr ""
257
 
258
+ #: ../lib/yasr-settings-functions.php:36
259
  msgid "Which color scheme do you want to use?"
260
  msgstr ""
261
 
262
+ #: ../lib/yasr-settings-functions.php:37
263
  msgid "Allow only logged in user to vote?"
264
  msgstr ""
265
 
266
+ #: ../lib/yasr-settings-functions.php:38
267
  msgid "Which rich snippets do you want to use?"
268
  msgstr ""
269
 
270
+ #: ../lib/yasr-settings-functions.php:39
271
+ msgid "How do you want ro rate \"Overall Rating\"?"
272
+ msgstr ""
273
+
274
+ #: ../lib/yasr-settings-functions.php:53
275
  msgid "Use Auto Insert?"
276
  msgstr ""
277
 
278
+ #: ../lib/yasr-settings-functions.php:56
279
+ #: ../lib/yasr-settings-functions.php:125
280
+ #: ../lib/yasr-settings-functions.php:144
281
+ #: ../lib/yasr-settings-functions.php:177
282
+ #: ../lib/yasr-settings-functions.php:202
283
  msgid "Yes"
284
  msgstr ""
285
 
286
+ #: ../lib/yasr-settings-functions.php:70
287
+ #: ../lib/yasr-settings-functions.php:130
288
+ #: ../lib/yasr-settings-functions.php:149
289
+ #: ../lib/yasr-settings-functions.php:182
290
+ #: ../lib/yasr-settings-functions.php:207
291
  msgid "No"
292
  msgstr ""
293
 
294
+ #: ../lib/yasr-settings-functions.php:76
295
  msgid "What?"
296
  msgstr ""
297
 
298
+ #: ../lib/yasr-settings-functions.php:79
299
  msgid "Overall Rating / Author Rating"
300
  msgstr ""
301
 
302
+ #: ../lib/yasr-settings-functions.php:83 ../lib/yasr-ajax-functions.php:363
303
  msgid "Visitor Votes"
304
  msgstr ""
305
 
306
+ #: ../lib/yasr-settings-functions.php:87
307
  msgid "Both"
308
  msgstr ""
309
 
310
+ #: ../lib/yasr-settings-functions.php:91
311
  msgid "Where?"
312
  msgstr ""
313
 
314
+ #: ../lib/yasr-settings-functions.php:94
315
  msgid "Before the post"
316
  msgstr ""
317
 
318
+ #: ../lib/yasr-settings-functions.php:98
319
  msgid "After the post"
320
  msgstr ""
321
 
322
+ #: ../lib/yasr-settings-functions.php:103
323
  msgid "Size"
324
  msgstr ""
325
 
326
+ #: ../lib/yasr-settings-functions.php:107 ../lib/yasr-ajax-functions.php:353
327
+ #: ../lib/yasr-ajax-functions.php:371
328
  msgid "Small"
329
  msgstr ""
330
 
331
+ #: ../lib/yasr-settings-functions.php:112 ../lib/yasr-ajax-functions.php:354
332
+ #: ../lib/yasr-ajax-functions.php:372
333
  msgid "Medium"
334
  msgstr ""
335
 
336
+ #: ../lib/yasr-settings-functions.php:117 ../lib/yasr-ajax-functions.php:355
337
+ #: ../lib/yasr-ajax-functions.php:373
338
  msgid "Large"
339
  msgstr ""
340
 
341
+ #: ../lib/yasr-settings-functions.php:122
342
  msgid "Exclude Pages?"
343
  msgstr ""
344
 
345
+ #: ../lib/yasr-settings-functions.php:141
346
+ msgid "Use only in custom post types?"
347
+ msgstr ""
348
+
349
+ #: ../lib/yasr-settings-functions.php:153
350
+ msgid "You see this because you use custom post types."
351
+ msgstr ""
352
+
353
+ #: ../lib/yasr-settings-functions.php:155
354
+ msgid "If you want to use auto insert only in custom post types, choose Yes"
355
+ msgstr ""
356
+
357
+ #: ../lib/yasr-settings-functions.php:186
358
  msgid ""
359
  "If you enable this, \"Overall Rating\" will be showed not only in the single "
360
  "article or page, but also in pages like Home Page, category pages or "
361
  "archives."
362
  msgstr ""
363
 
364
+ #: ../lib/yasr-settings-functions.php:212
365
+ msgid "Custom text to display before Overall Rating"
366
  msgstr ""
367
 
368
+ #: ../lib/yasr-settings-functions.php:217
369
+ msgid "Custom text to display before Visitor Rating"
370
  msgstr ""
371
 
372
+ #: ../lib/yasr-settings-functions.php:222
373
  msgid "Custom text to display when a non logged user has already rated"
374
  msgstr ""
375
 
376
+ #: ../lib/yasr-settings-functions.php:238
377
  msgid "Light"
378
  msgstr ""
379
 
380
+ #: ../lib/yasr-settings-functions.php:243
381
  msgid "Dark"
382
  msgstr ""
383
 
384
+ #: ../lib/yasr-settings-functions.php:248
385
  msgid "Preview"
386
  msgstr ""
387
 
388
+ #: ../lib/yasr-settings-functions.php:253
389
  msgid "Light theme"
390
  msgstr ""
391
 
392
+ #: ../lib/yasr-settings-functions.php:258
393
  msgid "Dark Theme"
394
  msgstr ""
395
 
396
+ #: ../lib/yasr-settings-functions.php:276
397
  msgid "Allow only logged-in users"
398
  msgstr ""
399
 
400
+ #: ../lib/yasr-settings-functions.php:280
401
  msgid "Allow everybody (logged in and anonymous)"
402
  msgstr ""
403
 
404
+ #: ../lib/yasr-settings-functions.php:297
405
  msgid "Review Rating"
406
  msgstr ""
407
 
408
+ #: ../lib/yasr-settings-functions.php:301
409
  msgid "Aggregate Rating"
410
  msgstr ""
411
 
412
+ #: ../lib/yasr-settings-functions.php:306
413
  msgid "What is this?"
414
  msgstr ""
415
 
416
+ #: ../lib/yasr-settings-functions.php:311
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:316
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:334
429
+ msgid "Stars"
430
+ msgstr ""
431
+
432
+ #: ../lib/yasr-settings-functions.php:338
433
+ msgid "Numbers"
434
+ msgstr ""
435
+
436
+ #: ../lib/yasr-settings-functions.php:351
437
+ msgid "Add New Multiple Set"
438
+ msgstr ""
439
+
440
+ #: ../lib/yasr-settings-functions.php:352
441
  msgid ""
442
+ "Name, Element#1 and Element#2 MUST be filled and must be long at least 3 "
443
+ "characters"
444
  msgstr ""
445
 
446
+ #: ../lib/yasr-settings-functions.php:355
447
  msgid "Name"
448
  msgstr ""
449
 
450
+ #: ../lib/yasr-settings-functions.php:360
451
  msgid "You can insert up to nine element"
452
  msgstr ""
453
 
454
+ #: ../lib/yasr-settings-functions.php:365
455
  msgid "Element "
456
  msgstr ""
457
 
458
+ #: ../lib/yasr-settings-functions.php:375
459
  msgid "Create New Set"
460
  msgstr ""
461
 
462
+ #: ../lib/yasr-settings-functions.php:396
463
+ #: ../lib/yasr-settings-functions.php:428
464
  msgid "Manage Multiple Set"
465
  msgstr ""
466
 
467
+ #: ../lib/yasr-settings-functions.php:398
468
  msgid "Wich set do you want to edit or remove?"
469
  msgstr ""
470
 
471
+ #: ../lib/yasr-settings-functions.php:438
472
+ #: ../lib/yasr-settings-functions.php:556
473
  msgid "Field name"
474
  msgstr ""
475
 
476
+ #: ../lib/yasr-settings-functions.php:442
477
+ #: ../lib/yasr-settings-functions.php:560
478
  msgid "Remove"
479
  msgstr ""
480
 
481
+ #: ../lib/yasr-settings-functions.php:484
482
+ #: ../lib/yasr-settings-functions.php:602
483
  msgid "Remove whole set?"
484
  msgstr ""
485
 
486
+ #: ../lib/yasr-settings-functions.php:497
487
+ #: ../lib/yasr-settings-functions.php:615
488
  msgid ""
489
  "If you remove something you will remove all the votes for that set or field. "
490
  "This operation CAN'T BE undone."
491
  msgstr ""
492
 
493
+ #: ../lib/yasr-settings-functions.php:504
494
+ #: ../lib/yasr-settings-functions.php:622
495
  msgid "You can use up to 9 elements"
496
  msgstr ""
497
 
498
+ #: ../lib/yasr-settings-functions.php:506
499
+ #: ../lib/yasr-settings-functions.php:624
500
  msgid "Add element"
501
  msgstr ""
502
 
503
+ #: ../lib/yasr-settings-functions.php:508
504
+ #: ../lib/yasr-settings-functions.php:626
505
  msgid "Save changes"
506
  msgstr ""
507
 
508
+ #: ../lib/yasr-settings-functions.php:518
509
+ msgid "No Multiple Set were found"
510
  msgstr ""
511
 
512
+ #: ../lib/yasr-settings-functions.php:768
513
+ #: ../lib/yasr-settings-functions.php:1036
514
  msgid "Settings Saved"
515
  msgstr ""
516
 
517
+ #: ../lib/yasr-settings-functions.php:773
518
  msgid "Something goes wrong trying insert set field name. Please report it"
519
  msgstr ""
520
 
521
+ #: ../lib/yasr-settings-functions.php:779
522
+ msgid "Something goes wrong trying insert Multi Set name. Please report it"
523
  msgstr ""
524
 
525
+ #: ../lib/yasr-settings-functions.php:854
526
+ msgid "Something goes wrong trying to delete a Multi Set . Please report it"
527
  msgstr ""
528
 
529
+ #: ../lib/yasr-settings-functions.php:900
530
  msgid ""
531
+ "Something goes wrong trying to delete a Multi Set's element. Please report it"
532
  msgstr ""
533
 
534
+ #: ../lib/yasr-settings-functions.php:964
535
  msgid ""
536
+ "Something goes wrong trying to update a Multi Set's element. Please report it"
537
  msgstr ""
538
 
539
+ #: ../lib/yasr-settings-functions.php:1021
540
  msgid ""
541
  "Something goes wrong trying to insert set field name in edit form. Please "
542
  "report it"
543
  msgstr ""
544
 
545
+ #: ../lib/yasr-settings-functions.php:1064
546
  msgid "Style Options"
547
  msgstr ""
548
 
549
+ #: ../lib/yasr-settings-functions.php:1065
550
  msgid "Custom CSS Styles"
551
  msgstr ""
552
 
553
+ #: ../lib/yasr-settings-functions.php:1070
554
  msgid ""
555
  "Please use text area below to write your own CSS styles to override the "
556
  "default ones."
557
  msgstr ""
558
 
559
+ #: ../lib/yasr-settings-functions.php:1072
560
  msgid "Leave it blank if you don't know what you're doing"
561
  msgstr ""
562
 
563
+ #: ../lib/yasr-settings-functions.php:1105
564
+ msgid "No previous Gd Star Rating installation was found"
565
  msgstr ""
566
 
567
+ #: ../lib/yasr-db-functions.php:216 ../lib/yasr-ajax-functions.php:630
568
  msgid "No Recenet votes yet"
569
  msgstr ""
570
 
571
+ #: ../lib/yasr-db-functions.php:231 ../lib/yasr-ajax-functions.php:643
572
  msgid "anonymous"
573
  msgstr ""
574
 
575
+ #: ../lib/yasr-db-functions.php:254 ../lib/yasr-ajax-functions.php:666
576
  msgid "Ip address"
577
  msgstr ""
578
 
579
+ #: ../lib/yasr-db-functions.php:295 ../lib/yasr-ajax-functions.php:707
580
  msgid "Pages"
581
  msgstr ""
582
 
583
+ #: ../lib/yasr-functions.php:68 ../lib/yasr-functions.php:69
584
  msgid "Yet Another Stars Rating: Settings"
585
  msgstr ""
586
 
587
+ #: ../lib/yasr-functions.php:112 ../lib/yasr-functions.php:119
588
  msgid "Overall Rating"
589
  msgstr ""
590
 
591
+ #: ../lib/yasr-functions.php:113
592
  msgid "Yet Another Stars Rating: Multiple set"
593
  msgstr ""
594
 
595
+ #: ../lib/yasr-functions.php:129
596
+ msgid "You don't have enought privileges to insert Overall Rating"
597
  msgstr ""
598
 
599
+ #: ../lib/yasr-functions.php:139
600
+ msgid "You don't have enought privileges to insert Multi Set"
601
  msgstr ""
602
 
603
+ #: ../lib/yasr-functions.php:261
604
  msgid " reviewed by "
605
  msgstr ""
606
 
607
+ #: ../lib/yasr-functions.php:262
608
  msgid " on "
609
  msgstr ""
610
 
611
+ #: ../lib/yasr-functions.php:263
612
  msgid " rated "
613
  msgstr ""
614
 
615
+ #: ../lib/yasr-functions.php:263
616
  msgid " on 5.0"
617
  msgstr ""
618
 
619
+ #: ../lib/yasr-functions.php:307
620
+ msgid " average rating "
621
  msgstr ""
622
 
623
+ #: ../lib/yasr-functions.php:308
624
+ msgid " user ratings"
625
  msgstr ""
626
 
627
+ #: ../lib/yasr-ajax-functions.php:67
628
+ msgid "You've rated it "
629
+ msgstr ""
630
+
631
+ #: ../lib/yasr-ajax-functions.php:71
632
+ msgid "You've reset the vote"
633
  msgstr ""
634
 
635
+ #: ../lib/yasr-ajax-functions.php:108
636
  msgid "Choose a vote for each element"
637
  msgstr ""
638
 
639
+ #: ../lib/yasr-ajax-functions.php:164 ../lib/yasr-ajax-functions.php:207
640
  msgid "Remember to insert this shortcode"
641
  msgstr ""
642
 
643
+ #: ../lib/yasr-ajax-functions.php:166 ../lib/yasr-ajax-functions.php:209
644
  msgid "where you want to display this multi set"
645
  msgstr ""
646
 
647
+ #: ../lib/yasr-ajax-functions.php:174
648
  msgid "Choose a vote for every element"
649
  msgstr ""
650
 
651
+ #: ../lib/yasr-ajax-functions.php:333
652
  msgid "Main"
653
  msgstr ""
654
 
655
+ #: ../lib/yasr-ajax-functions.php:334
656
  msgid "Charts"
657
  msgstr ""
658
 
659
+ #: ../lib/yasr-ajax-functions.php:336
660
  msgid "Read the doc"
661
  msgstr ""
662
 
663
+ #: ../lib/yasr-ajax-functions.php:345
664
  msgid "Overall Rating / Review"
665
  msgstr ""
666
 
667
+ #: ../lib/yasr-ajax-functions.php:347
668
  msgid "Insert Overall Rating"
669
  msgstr ""
670
 
671
+ #: ../lib/yasr-ajax-functions.php:348
672
  msgid "Insert Overall Rating / Review for this post"
673
  msgstr ""
674
 
675
+ #: ../lib/yasr-ajax-functions.php:351 ../lib/yasr-ajax-functions.php:369
676
  msgid "Choose Size"
677
  msgstr ""
678
 
679
+ #: ../lib/yasr-ajax-functions.php:365
680
  msgid "Insert Visitor Votes"
681
  msgstr ""
682
 
683
+ #: ../lib/yasr-ajax-functions.php:366
684
  msgid "Insert the ability for your visitor to vote"
685
  msgstr ""
686
 
687
+ #: ../lib/yasr-ajax-functions.php:383
688
+ msgid "If you want to insert a Multi Set, pick one:"
689
  msgstr ""
690
 
691
+ #: ../lib/yasr-ajax-functions.php:389
692
  msgid "Choose wich set you want to insert."
693
  msgstr ""
694
 
695
+ #: ../lib/yasr-ajax-functions.php:397
696
  msgid "Insert Multiset:"
697
  msgstr ""
698
 
699
+ #: ../lib/yasr-ajax-functions.php:400
700
+ msgid "Insert Multiple Set"
701
+ msgstr ""
702
+
703
+ #: ../lib/yasr-ajax-functions.php:401
704
+ msgid "Insert multiple set in this post ?"
705
  msgstr ""
706
 
707
+ #: ../lib/yasr-ajax-functions.php:416
708
+ msgid "Top 10 Overall Ratings"
709
+ msgstr ""
710
+
711
+ #: ../lib/yasr-ajax-functions.php:417
712
  msgid "Insert Top 10 highest rated"
713
  msgstr ""
714
 
715
+ #: ../lib/yasr-ajax-functions.php:418
716
  msgid "Insert Top 10 highest rated by post author"
717
  msgstr ""
718
 
719
+ #: ../lib/yasr-ajax-functions.php:422
720
+ msgid "Top 10 Visitor Ratings"
721
  msgstr ""
722
 
723
+ #: ../lib/yasr-ajax-functions.php:423
724
  msgid "Insert Top 10 posts by visitors"
725
  msgstr ""
726
 
727
+ #: ../lib/yasr-ajax-functions.php:424
728
  msgid "Insert Top 10 most or higher rated posts from visitors"
729
  msgstr ""
730
 
731
+ #: ../lib/yasr-ajax-functions.php:428
732
  msgid "Most active reviewers"
733
  msgstr ""
734
 
735
+ #: ../lib/yasr-ajax-functions.php:429
736
  msgid "Insert Top 5 most active reviewers"
737
  msgstr ""
738
 
739
+ #: ../lib/yasr-ajax-functions.php:430
740
  msgid "Insert Top 5 active reviewers"
741
  msgstr ""
742
 
743
+ #: ../lib/yasr-ajax-functions.php:434
744
  msgid "Most active users"
745
  msgstr ""
746
 
747
+ #: ../lib/yasr-ajax-functions.php:435
748
  msgid "Insert Top 10 most active users"
749
  msgstr ""
750
 
751
+ #: ../lib/yasr-ajax-functions.php:436
752
+ msgid "Insert Top 10 active users in Visitor Ratings"
753
  msgstr ""
754
 
755
+ #: ../lib/yasr-ajax-functions.php:488
756
+ msgid "Reviews and Visitor Votes have been successfull imported."
757
  msgstr ""
758
 
759
+ #: ../lib/yasr-ajax-functions.php:494
760
  msgid ""
761
+ "Step2: I will check if you used Multiple Sets and if so I will import them. "
762
  "THIS MAY TAKE A WHILE!"
763
  msgstr ""
764
 
765
+ #: ../lib/yasr-ajax-functions.php:496
766
  msgid "Proceed Step 2"
767
  msgstr ""
768
 
769
+ #: ../lib/yasr-ajax-functions.php:503
770
  msgid "Something goes wrong! Refresh the page and try again!"
771
  msgstr ""
772
 
773
+ #: ../lib/yasr-ajax-functions.php:532
774
+ msgid "I've found Multiple Set! Importing..."
775
  msgstr ""
776
 
777
+ #: ../lib/yasr-ajax-functions.php:541
778
+ msgid "Multi Set's name has been successfull imported."
779
  msgstr ""
780
 
781
+ #: ../lib/yasr-ajax-functions.php:543
782
+ msgid "Now I'm going to import Multi Set data"
783
  msgstr ""
784
 
785
+ #: ../lib/yasr-ajax-functions.php:554
786
  msgid "All votes has been successfull imported."
787
  msgstr ""
788
 
789
+ #: ../lib/yasr-ajax-functions.php:556
790
  msgid "Done"
791
  msgstr ""
792
 
793
+ #: ../lib/yasr-ajax-functions.php:561
794
+ msgid "I've found Multiple Set's votes but I couldn't insert into db"
795
  msgstr ""
796
 
797
+ #: ../lib/yasr-ajax-functions.php:569
798
+ msgid "I've found Multi Set but with no data"
799
  msgstr ""
800
 
801
+ #: ../lib/yasr-ajax-functions.php:578
802
+ msgid "I've found Multi Sets names but I couldn't insert into db"
803
  msgstr ""
804
 
805
+ #: ../lib/yasr-ajax-functions.php:586
806
+ msgid "Multisets were not found. Imported is done!"
807
  msgstr ""
808
 
809
+ #: ../lib/yasr-ajax-functions.php:859 ../lib/yasr-ajax-functions.php:867
810
+ #: ../lib/yasr-ajax-functions.php:875 ../lib/yasr-ajax-functions.php:887
811
+ #: ../lib/yasr-ajax-functions.php:895 ../lib/yasr-ajax-functions.php:902
812
  msgid "Average rating"
813
  msgstr ""
814
 
815
+ #: ../lib/yasr-ajax-functions.php:860 ../lib/yasr-ajax-functions.php:868
816
+ #: ../lib/yasr-ajax-functions.php:876 ../lib/yasr-ajax-functions.php:888
817
+ #: ../lib/yasr-ajax-functions.php:896 ../lib/yasr-ajax-functions.php:903
818
  msgid "Vote Saved"
819
  msgstr ""
820
 
821
+ #: ../lib/yasr-ajax-functions.php:998 ../lib/yasr-ajax-functions.php:1006
822
+ #: ../lib/yasr-ajax-functions.php:1014
823
  msgid "Vote Updated"
824
  msgstr ""
825
 
826
+ #: ../lib/yasr-ajax-functions.php:1066 ../lib/yasr-ajax-functions.php:1072
827
+ #: ../lib/yasr-ajax-functions.php:1078 ../lib/yasr-ajax-functions.php:1087
828
  msgid "Average "
829
  msgstr ""
830
 
831
+ #: ../lib/yasr-ajax-functions.php:1146 ../lib/yasr-ajax-functions.php:1186
832
  msgid "Total:"
833
  msgstr ""
834
 
835
+ #: ../lib/yasr-ajax-functions.php:1146 ../lib/yasr-ajax-functions.php:1186
836
  msgid "Average"
837
  msgstr ""
838
+
839
+ #: ../lib/yasr-ajax-functions.php:1160 ../lib/yasr-ajax-functions.php:1198
840
+ msgid "You've not enought data"
841
+ msgstr ""
lib/yasr-ajax-functions.php CHANGED
@@ -442,156 +442,14 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
442
 
443
  </div>
444
 
445
- <script>
446
 
447
- // When click on chart chart hide tab-main and show tab-charts
448
- jQuery('#yasr-link-tab-charts').on("click", function(){
449
 
450
- jQuery('#yasr-link-tab-main').removeClass('nav-tab-active');
451
- jQuery('#yasr-link-tab-charts').addClass('nav-tab-active');
452
-
453
- jQuery('#yasr-content-tab-main').hide();
454
- jQuery('#yasr-content-tab-charts').show();
455
-
456
- });
457
-
458
- // When click on main tab hide tab-main and show tab-charts
459
- jQuery('#yasr-link-tab-main').on("click", function(){
460
-
461
- jQuery('#yasr-link-tab-charts').removeClass('nav-tab-active');
462
- jQuery('#yasr-link-tab-main').addClass('nav-tab-active');
463
-
464
- jQuery('#yasr-content-tab-charts').hide();
465
- jQuery('#yasr-content-tab-main').show();
466
-
467
- });
468
-
469
- // Add shortcode for overall rating
470
- jQuery('#yasr-overall').on("click", function(){
471
- jQuery('#yasr-overall-choose-size').toggle('slow');
472
- });
473
-
474
- jQuery('#yasr-overall-insert-small').on("click", function(){
475
- var shortcode = '[yasr_overall_rating size="small"]';
476
- // inserts the shortcode into the active editor
477
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
478
- // closes jqueryui
479
- jQuery('#yasr-tinypopup-form').dialog('close');
480
- });
481
-
482
- jQuery('#yasr-overall-insert-medium').on("click", function(){
483
- var shortcode = '[yasr_overall_rating size="medium"]';
484
- // inserts the shortcode into the active editor
485
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
486
- // closes jqueryui
487
- jQuery('#yasr-tinypopup-form').dialog('close');
488
- });
489
-
490
- jQuery('#yasr-overall-insert-large').on("click", function(){
491
- var shortcode = '[yasr_overall_rating size="large"]';
492
- // inserts the shortcode into the active editor
493
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
494
- // closes jqueryui
495
- jQuery('#yasr-tinypopup-form').dialog('close');
496
- });
497
-
498
- //Add shortcode for visitors rating
499
- jQuery('#yasr-visitor-votes').on("click", function(){
500
- jQuery('#yasr-visitor-choose-size').toggle('slow');
501
- });
502
-
503
- jQuery('#yasr-visitor-insert-small').on("click", function(){
504
- var shortcode = '[yasr_visitor_votes size="small"]';
505
- // inserts the shortcode into the active editor
506
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
507
- // closes Thickbox
508
- jQuery('#yasr-tinypopup-form').dialog('close');
509
- });
510
-
511
- jQuery('#yasr-visitor-insert-medium').on("click", function(){
512
- var shortcode = '[yasr_visitor_votes size="medium"]';
513
- // inserts the shortcode into the active editor
514
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
515
- // closes Thickbox
516
- jQuery('#yasr-tinypopup-form').dialog('close');
517
- });
518
-
519
- jQuery('#yasr-visitor-insert-large').on("click", function(){
520
- var shortcode = '[yasr_visitor_votes size="large"]';
521
- // inserts the shortcode into the active editor
522
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
523
- // closes Thickbox
524
- jQuery('#yasr-tinypopup-form').dialog('close');
525
- });
526
-
527
- <?php if ($n_multi_set>1) { ?>
528
-
529
- //Add shortcode for multiple set
530
- jQuery('.yasr_tinymce_select_set').on("click", function(){
531
- var setType = jQuery("input:radio[name=yasr_tinymce_pick_set]:checked" ).val();
532
- var shortcode = '[yasr_multiset setid=';
533
- shortcode += setType;
534
- shortcode += ']';
535
- // inserts the shortcode into the active editor
536
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
537
- // closes jqueryui
538
- jQuery('#yasr-tinypopup-form').dialog('close');
539
- });
540
-
541
- <?php } //End if
542
-
543
- elseif ($n_multi_set==1) { ?>
544
-
545
- //Add shortcode for single set (if only 1 are found)
546
- jQuery('#yasr-single-set').on("click", function(){
547
- var setType = jQuery('#yasr-single-set').val();
548
- var shortcode = '[yasr_multiset setid=';
549
- shortcode += setType;
550
- shortcode += ']';
551
- // inserts the shortcode into the active editor
552
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
553
- // closes jqueryui
554
- jQuery('#yasr-tinypopup-form').dialog('close');
555
- });
556
-
557
- <?php
558
- }
559
- //End elseif ?>
560
-
561
- // Add shortcode for top 10 by overall ratings
562
- jQuery('#yasr-top-10-overall-rating').on("click", function(){
563
- var shortcode = '[yasr_top_ten_highest_rated]';
564
- // inserts the shortcode into the active editor
565
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
566
- // closes jqueryui
567
- jQuery('#yasr-tinypopup-form').dialog('close');
568
- });
569
-
570
- // Add shortcode for 10 highest most rated
571
- jQuery('#yasr-10-highest-most-rated').on("click", function(){
572
- var shortcode = '[yasr_most_or_highest_rated_posts]';
573
- // inserts the shortcode into the active editor
574
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
575
- // closes jqueryui
576
- jQuery('#yasr-tinypopup-form').dialog('close');
577
- });
578
-
579
- // Add shortcode for top 5 active reviewer
580
- jQuery('#yasr-5-active-reviewers').on("click", function(){
581
- var shortcode = '[yasr_top_5_reviewers]';
582
- // inserts the shortcode into the active editor
583
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
584
- // closes jqueryui
585
- jQuery('#yasr-tinypopup-form').dialog('close');
586
- });
587
 
588
- // Add shortcode for top 10 active users
589
- jQuery('#yasr-top-10-active-users').on("click", function(){
590
- var shortcode = '[yasr_top_ten_active_users]';
591
- // inserts the shortcode into the active editor
592
- tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
593
- // closes jqueryui
594
- jQuery('#yasr-tinypopup-form').dialog('close');
595
  });
596
 
597
  </script>
@@ -998,7 +856,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
998
  if ($size == 'small') {
999
 
1000
  echo "<div class=\"rateit\" id=\"yasr_rateit_user_votes_voted\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
1001
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
1002
  <strong>" . __("Vote Saved" , "yasr") . "</strong>";
1003
 
1004
  }
@@ -1006,7 +864,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
1006
  elseif ($size == 'medium') {
1007
 
1008
  echo "<div class=\"rateit medium\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
1009
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
1010
  <strong>" . __("Vote Saved" , "yasr") . "</strong>";
1011
 
1012
  }
@@ -1014,7 +872,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
1014
  elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
1015
 
1016
  echo "<div class=\"rateit bigstars\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
1017
- <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . "$medium_rating/5 ]</span>
1018
  <strong>" . __("Vote Saved" , "yasr") . "</strong>";
1019
 
1020
  }
@@ -1026,7 +884,7 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
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,14 +892,14 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
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
 
@@ -1181,8 +1039,8 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
1181
 
1182
  global $wpdb;
1183
 
1184
- //I don't use yasr_get_visitor_votes here because the get_the_id function doesn't work in ajax
1185
- $array_votes=$wpdb->get_results("SELECT number_of_votes, sum_votes FROM " . YASR_VOTES_TABLE . " WHERE post_id=$post_id");
1186
 
1187
  foreach ($array_votes as $vote) {
1188
  $number_of_votes = $vote->number_of_votes;
@@ -1191,10 +1049,15 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
1191
 
1192
  $average_rating = $sum_votes/$number_of_votes;
1193
 
 
 
 
 
 
1194
  $average_rating = round ($average_rating, 1);
1195
 
1196
 
1197
- //Check if user specifyed a custom text to display when a vistor has rated
1198
 
1199
  if( YASR_TEXT_BEFORE_STARS == 1 && YASR_CUSTOM_TEXT_USER_VOTED != '' ) {
1200
 
@@ -1340,5 +1203,4 @@ add_action( 'wp_ajax_yasr_change_log_page', 'yasr_change_log_page_callback' );
1340
 
1341
  } //End function
1342
 
1343
-
1344
  ?>
442
 
443
  </div>
444
 
445
+ <script type="text/javascript">
446
 
447
+ jQuery( document ).ready(function() {
 
448
 
449
+ var nMultiSet = <?php echo (json_encode("$n_multi_set")); ?>
450
+
451
+ yasrShortcodeCreator(nMultiSet);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
452
 
 
 
 
 
 
 
 
453
  });
454
 
455
  </script>
856
  if ($size == 'small') {
857
 
858
  echo "<div class=\"rateit\" id=\"yasr_rateit_user_votes_voted\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
859
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . " $medium_rating/5 ]</span>
860
  <strong>" . __("Vote Saved" , "yasr") . "</strong>";
861
 
862
  }
864
  elseif ($size == 'medium') {
865
 
866
  echo "<div class=\"rateit medium\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"24\" data-rateit-starheight=\"24\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
867
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . " $medium_rating/5 ]</span>
868
  <strong>" . __("Vote Saved" , "yasr") . "</strong>";
869
 
870
  }
872
  elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
873
 
874
  echo "<div class=\"rateit bigstars\" id=\"yasr_rateit_user_votes_voted\" data-rateit-starwidth=\"32\" data-rateit-starheight=\"32\" data-rateit-value=\"$total_rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
875
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . " $medium_rating/5 ]</span>
876
  <strong>" . __("Vote Saved" , "yasr") . "</strong>";
877
 
878
  }
884
  if ($size == 'small') {
885
 
886
  echo "<div class=\"rateit\" id=\"yasr_rateit_user_votes_voted\" data-rateit-value=\"$rating\" data-rateit-resetable=\"false\" data-rateit-readonly=\"true\"></div>
887
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . " $rating/5 ]</span>
888
  <strong>". __("Vote Saved" , "yasr");
889
 
890
  }
892
  if ($size == 'medium') {
893
 
894
  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>
895
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . " $rating/5 ]</span>
896
  <strong>". __("Vote Saved" , "yasr");
897
 
898
  }
899
 
900
  elseif ($size == 'large' || $size =='' || ($size !='medium' && $size != 'small')) {
901
  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>
902
+ <span class=\"yasr-total-average-text\"> [" . __("Total: ", "yasr") . "$number_of_votes &nbsp; &nbsp;" . __("Average rating", "yasr") . " $rating/5 ]</span>
903
  <strong>". __("Vote Saved" , "yasr");
904
  }
905
 
1039
 
1040
  global $wpdb;
1041
 
1042
+ //I've to pass post_id here cause get_the_id doesn't work if called with ajax
1043
+ $array_votes=yasr_get_visitor_votes($post_id);
1044
 
1045
  foreach ($array_votes as $vote) {
1046
  $number_of_votes = $vote->number_of_votes;
1049
 
1050
  $average_rating = $sum_votes/$number_of_votes;
1051
 
1052
+ //This should never happen, only if a user manually erase data from tables
1053
+ if ($number_of_votes == 0) {
1054
+ $number_of_votes = 1;
1055
+ }
1056
+
1057
  $average_rating = round ($average_rating, 1);
1058
 
1059
 
1060
+ //Check if user specifyed a custom text to display when a vistor har rated
1061
 
1062
  if( YASR_TEXT_BEFORE_STARS == 1 && YASR_CUSTOM_TEXT_USER_VOTED != '' ) {
1063
 
1203
 
1204
  } //End function
1205
 
 
1206
  ?>
lib/yasr-db-functions.php CHANGED
@@ -156,10 +156,22 @@ function yasr_get_multi_set_values_and_field ($post_id, $set_type) {
156
  }
157
 
158
  /****** Get visitor votes ******/
159
- function yasr_get_visitor_votes () {
160
  global $wpdb;
161
 
162
- $post_id=get_the_ID();
 
 
 
 
 
 
 
 
 
 
 
 
163
 
164
  $result = $wpdb->get_results("SELECT number_of_votes, sum_votes FROM " . YASR_VOTES_TABLE . " WHERE post_id=$post_id");
165
 
@@ -306,56 +318,7 @@ add_action( 'plugins_loaded', 'add_action_dashboard_widget_log' );
306
 
307
  </div>";
308
 
309
- }
310
-
311
- ?>
312
-
313
- <script type="text/javascript">
314
-
315
- jQuery(document).ready(function() {
316
-
317
- //Log
318
- jQuery('.yasr-log-pagenum').on('click', function() {
319
-
320
- jQuery('#yasr-loader-log-metabox').show();
321
-
322
- var data = {
323
- action : 'yasr_change_log_page',
324
- pagenum: jQuery(this).val(),
325
-
326
- };
327
-
328
- jQuery.post(ajaxurl, data, function(response) {
329
- jQuery('#yasr-loader-log-metabox').hide();
330
- jQuery('#yasr-log-container').html(response);
331
- });
332
-
333
- });
334
-
335
- jQuery(document).ajaxComplete(function() {
336
-
337
- jQuery('.yasr-log-page-num').on('click', function() {
338
-
339
- jQuery('#yasr-loader-log-metabox').show();
340
-
341
- var data = {
342
- action : 'yasr_change_log_page',
343
- pagenum: jQuery(this).val(),
344
- };
345
-
346
- jQuery.post(ajaxurl, data, function(response) {
347
- jQuery('#yasr-log-container').html(response); //This will hide the loader gif too
348
- });
349
-
350
- });
351
-
352
- });
353
-
354
- });
355
-
356
- </script>
357
-
358
- <?php
359
 
360
  } //End callback function
361
 
156
  }
157
 
158
  /****** Get visitor votes ******/
159
+ function yasr_get_visitor_votes ($post_id_referenced=FALSE) {
160
  global $wpdb;
161
 
162
+ //if values it's not passed get the post id, most of cases and default one
163
+ if(!$post_id_referenced) {
164
+
165
+ $post_id=get_the_ID();
166
+
167
+ }
168
+
169
+ //referenced is necessary for ajax calls
170
+ else {
171
+
172
+ $post_id = $post_id_referenced;
173
+
174
+ }
175
 
176
  $result = $wpdb->get_results("SELECT number_of_votes, sum_votes FROM " . YASR_VOTES_TABLE . " WHERE post_id=$post_id");
177
 
318
 
319
  </div>";
320
 
321
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
 
323
  } //End callback function
324
 
lib/yasr-functions.php CHANGED
@@ -28,6 +28,8 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
28
 
29
  wp_enqueue_script( 'rateit', YASR_JS_DIR . 'jquery.rateit.min.js' , array('jquery'), '1.0.22', TRUE );
30
  wp_enqueue_script( 'cookie', YASR_JS_DIR . 'jquery-cookie.min.js' , array('jquery', 'rateit'), '1.4.0', TRUE );
 
 
31
  }
32
 
33
  function yasr_add_admin_scripts () {
@@ -38,6 +40,9 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
38
  wp_enqueue_script( 'rateit', YASR_JS_DIR . 'jquery.rateit.min.js' , array('jquery'), '1.0.20', TRUE );
39
  wp_enqueue_script( 'jquery-ui-dialog' );
40
 
 
 
 
41
  }
42
 
43
 
28
 
29
  wp_enqueue_script( 'rateit', YASR_JS_DIR . 'jquery.rateit.min.js' , array('jquery'), '1.0.22', TRUE );
30
  wp_enqueue_script( 'cookie', YASR_JS_DIR . 'jquery-cookie.min.js' , array('jquery', 'rateit'), '1.4.0', TRUE );
31
+ wp_enqueue_script( 'yasrfront', YASR_JS_DIR . 'yasr-front.min.js' , array('jquery', 'rateit'), '1.0.00', TRUE );
32
+
33
  }
34
 
35
  function yasr_add_admin_scripts () {
40
  wp_enqueue_script( 'rateit', YASR_JS_DIR . 'jquery.rateit.min.js' , array('jquery'), '1.0.20', TRUE );
41
  wp_enqueue_script( 'jquery-ui-dialog' );
42
 
43
+ wp_enqueue_script( 'yasradmin', YASR_JS_DIR . 'yasr-admin.min.js' , array('jquery', 'rateit'), '1.0.00', TRUE );
44
+
45
+
46
  }
47
 
48
 
lib/yasr-settings-functions.php CHANGED
@@ -318,6 +318,10 @@
318
  ?>
319
  </div>
320
 
 
 
 
 
321
  <?php
322
 
323
  } //End function yasr_choose_snippet_callback
318
  ?>
319
  </div>
320
 
321
+ <p>&nbsp;</p>
322
+
323
+ <hr>
324
+
325
  <?php
326
 
327
  } //End function yasr_choose_snippet_callback
lib/yasr-shortcode-functions.php CHANGED
@@ -303,130 +303,21 @@ function shortcode_visitor_votes_callback ($atts) {
303
  ?>
304
 
305
  <script type="text/javascript">
306
- jQuery(document).ready(function() {
307
-
308
- var tooltipvalues = ['bad', 'poor', 'ok', 'good', 'super'];
309
- jQuery("#yasr_rateit_visitor_votes").bind('over', function (event, value) { jQuery(this).attr('title', tooltipvalues[value-1]); });
310
-
311
- var postid = <?php the_ID(); ?>;
312
- var cookiename = "yasr_visitor_vote_" + postid;
313
- var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
314
-
315
- var size = "<?php echo $size ?>";
316
-
317
- //json encode convert php type to javascript type
318
- var logged_user = <?php echo json_encode(is_user_logged_in()); ?>
319
-
320
- var vote_if_user_already_rated = "<?php echo $vote_if_user_already_rated ?>";
321
-
322
- if (vote_if_user_already_rated == "0" ) {
323
- vote_if_user_already_rated = false;
324
- }
325
-
326
- //If user is not logged in
327
- if (! logged_user) {
328
-
329
- //Check if has cookie
330
- if (jQuery.cookie(cookiename)) {
331
-
332
- var cookievote=jQuery.cookie(cookiename);
333
- var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
334
-
335
- var data = {
336
- action: 'yasr_readonly_visitor_shortcode',
337
- size: size,
338
- rating: cookievote,
339
- votes: <?php echo $medium_rating ?>,
340
- votes_number: <?php echo $votes_number ?>,
341
- post_id: postid
342
- }
343
-
344
- jQuery.post(ajaxurl, data, function(response) {
345
- jQuery('#yasr_visitor_votes').html(response);
346
- jQuery('.rateit').rateit();
347
- });
348
-
349
- } //End if jquery cookie
350
-
351
- else {
352
- yasr_default_rating_shortcode ();
353
- }
354
-
355
- } //End if (!loggeduser)
356
-
357
- //else, if is a logged in user
358
- else {
359
-
360
- //Do this code only if he has rated yet
361
- //Check if has cookie or vote in db
362
- if (jQuery.cookie(cookiename) || vote_if_user_already_rated != '') {
363
-
364
- jQuery('#yasr-rateit-visitor-votes-logged-rated').on('rated', function() {
365
-
366
- var el = jQuery(this);
367
- var value = el.rateit('value');
368
- var value = value.toFixed(1); //
369
-
370
- jQuery('#yasr_visitor_votes').html( ' <?php echo "$loader_html" ?> ');
371
-
372
- var data = {
373
- action: 'yasr_update_visitor_rating',
374
- rating: value,
375
- post_id: postid,
376
- size: size,
377
- nonce_visitor: "<?php echo "$ajax_nonce_visitor"; ?>"
378
- };
379
-
380
- //Send value to the Server
381
- jQuery.post(ajaxurl, data, function(response) {
382
- //response
383
- jQuery('#yasr_visitor_votes').html(response);
384
- jQuery('.rateit').rateit();
385
- //Create a cookie to disable double vote
386
- jQuery.cookie(cookiename, value, { expires : 360 });
387
- }) ;
388
-
389
- });//End function update vote
390
-
391
- } //End if jquery cookie
392
 
393
- else if (!jQuery.cookie(cookiename) && vote_if_user_already_rated == '') {
394
-
395
- yasr_default_rating_shortcode ();
396
-
397
- }
398
-
399
- } //End else logged
400
-
401
- function yasr_default_rating_shortcode () {
402
-
403
- //On click Insert visitor votes
404
- jQuery('#yasr_rateit_visitor_votes').on('rated', function() {
405
-
406
- var el = jQuery(this);
407
- var value = el.rateit('value');
408
- var value = value.toFixed(1); //
409
-
410
- jQuery('#yasr_visitor_votes').html( ' <?php echo "$loader_html" ?> ');
411
-
412
- var data = {
413
- action: 'yasr_send_visitor_rating',
414
- rating: value,
415
- post_id: postid,
416
- size: size,
417
- nonce_visitor: "<?php echo "$ajax_nonce_visitor"; ?>"
418
- };
419
 
420
- //Send value to the Server
421
- jQuery.post(ajaxurl, data, function(response) {
422
- //response
423
- jQuery('#yasr_visitor_votes').html(response);
424
- jQuery('.rateit').rateit();
425
- //Create a cookie to disable double vote
426
- jQuery.cookie(cookiename, value, { expires : 360 });
427
- }) ;
428
- });
429
- } //End function default_rating_shortcode
 
 
430
 
431
  });
432
 
@@ -555,57 +446,17 @@ function yasr_most_or_highest_rated_posts_callback () {
555
 
556
  ?>
557
 
558
- <script>
559
-
560
- jQuery(document).ready(function() {
561
 
562
- //Link do nothing
563
- jQuery('#yasr_multi_chart_link_to_nothing').on("click", function () {
564
-
565
- return false; // prevent default click action from happening!
566
-
567
- });
568
 
569
- var data = {
570
- action : 'yasr_multi_chart_most_highest' //declared in yasr-ajax-functions
571
- };
572
 
573
- var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
574
 
575
- jQuery.post(ajaxurl, data, function(response) {
576
-
577
- jQuery('.yasr-most-or-highest-rated-posts').html(response);
578
- jQuery('.rateit').rateit();
579
-
580
- //By default, hide the highest rated chart
581
- jQuery('.yasr-highest-rated-posts').hide();
582
-
583
- //On click on highest, hide most and show highest
584
- jQuery('#yasr_multi_chart_highest').on("click", function () {
585
-
586
- jQuery('.yasr-most-rated-posts').hide();
587
-
588
- jQuery('.yasr-highest-rated-posts').show();
589
-
590
- return false; // prevent default click action from happening!
591
-
592
- });
593
-
594
- //Vice versa
595
- jQuery('#yasr_multi_chart_most').on("click", function () {
596
-
597
- jQuery('.yasr-highest-rated-posts').hide();
598
-
599
- jQuery('.yasr-most-rated-posts').show();
600
-
601
- return false; // prevent default click action from happening!
602
-
603
- });
604
 
605
  });
606
 
607
- });
608
-
609
 
610
  </script>
611
 
303
  ?>
304
 
305
  <script type="text/javascript">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
306
 
307
+ jQuery(document).ready(function() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
308
 
309
+ var tooltipValues = [<?php json_encode (_e("'bad', 'poor', 'ok', 'good', 'super'", "yasr")); ?>];
310
+ var postid = <?php echo (the_ID()); ?>;
311
+ var ajaxurl = <?php echo (json_encode(admin_url('admin-ajax.php'))); ?>;
312
+ var size = <?php echo (json_encode($size)) ?>;
313
+ var loggedUser = <?php echo (json_encode(is_user_logged_in())); ?>;
314
+ var voteIfUserAlredyRated = <?php echo (json_encode($vote_if_user_already_rated)) ?>;
315
+ var votes = <?php echo (json_encode($medium_rating)) ?>;
316
+ var votesNumber = <?php echo (json_encode($votes_number)) ?>;
317
+ var loaderHtml = <?php echo (json_encode("$loader_html")); ?>;
318
+ var nonceVisitor = <?php echo (json_encode("$ajax_nonce_visitor")); ?>;
319
+
320
+ yasrVisitorsVotes(tooltipValues, postid, ajaxurl, size, loggedUser, voteIfUserAlredyRated, votes, votesNumber, loaderHtml, nonceVisitor);
321
 
322
  });
323
 
446
 
447
  ?>
448
 
449
+ <script type="text/javascript">
 
 
450
 
451
+ jQuery(document).ready(function() {
 
 
 
 
 
452
 
453
+ var ajaxurl = <?php echo (json_encode(admin_url('admin-ajax.php'))); ?>;
 
 
454
 
455
+ yasrMostOrHighestRatedChart (ajaxurl);
456
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
457
 
458
  });
459
 
 
 
460
 
461
  </script>
462
 
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: 4.0
6
- Stable tag: 0.5.4
7
  License: GPL2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -40,6 +40,7 @@ If with gd-star-rating you're using a different number of stars from the default
40
  * English
41
  * Italian
42
  * German (thanks to Josef Seidl, http://www.blog-it-solutions.de/ )
 
43
 
44
  == Installation ==
45
  1. Install Yet Another Stars Rating either via the WordPress.org plugin directory, or by uploading the files to your server
@@ -83,6 +84,10 @@ Of course not: you can easily add it on the visual editor just by clicking on th
83
 
84
  == Changelog ==
85
 
 
 
 
 
86
  = 0.5.4 =
87
  * New feature: you can used numbers instead stars to insert the "overall rating" value. Just go in the setting and choose what you want to use
88
  * Fixed a division by 0 warning while using [yasr_most_or_highest_rated_posts] : this happened when there wan't enought data to shows
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: 4.0
6
+ Stable tag: 0.5.5
7
  License: GPL2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
40
  * English
41
  * Italian
42
  * German (thanks to Josef Seidl, http://www.blog-it-solutions.de/ )
43
+ * Polish (thanks to Hoek i Tutu Team)
44
 
45
  == Installation ==
46
  1. Install Yet Another Stars Rating either via the WordPress.org plugin directory, or by uploading the files to your server
84
 
85
  == Changelog ==
86
 
87
+ = 0.5.5 =
88
+ * All the javascript have been moved from inline to external. It can be minimized so it's faster. DELETE ALL YOUR CACHES
89
+ * Fixed a possible bug if user manually delete data in a table
90
+
91
  = 0.5.4 =
92
  * New feature: you can used numbers instead stars to insert the "overall rating" value. Just go in the setting and choose what you want to use
93
  * Fixed a division by 0 warning while using [yasr_most_or_highest_rated_posts] : this happened when there wan't enought data to shows
yasr-metabox-multiple-rating.php CHANGED
@@ -6,6 +6,8 @@ $multi_set=yasr_get_multi_set();
6
 
7
  $ajax_nonce_multi = wp_create_nonce( "yasr_nonce_insert_multi_rating" );
8
 
 
 
9
  global $wpdb;
10
 
11
  $n_multi_set = $wpdb->num_rows; //wpdb->num_rows always store the the count number of rows of the last query
@@ -14,188 +16,66 @@ if ($n_multi_set>1) {
14
 
15
  _e("Choose wich set you want to use");
16
 
17
- ?>
18
 
19
- <br />
20
- <select id ="select_set">
21
  <?php foreach ($multi_set as $name) { ?>
22
  <option value="<?php echo $name->set_id ?>"><?php echo $name->set_name ?></option>
23
  <?php } //End foreach ?>
24
- </select>
25
-
26
- <button href="#" class="button-delete" id="yasr-button-select-set"><?php _e("Select"); ?></button>
27
 
28
- <span id="yasr-loader-select-multi-set" style="display:none;" >&nbsp;<img src="<?php echo YASR_IMG_DIR . "/loader.gif" ?>">
29
- </span>
30
 
31
- <script>
 
32
 
33
- // --------------IF multiple set are found -------------------
34
 
 
35
 
36
- jQuery('#yasr-button-select-set').on("click", function() {
37
-
38
- var postid = <?php the_ID(); ?>;
39
 
40
- var data_id = {
41
- action: 'yasr_send_id_nameset',
42
- set_id: jQuery('#select_set').val(),
43
- post_id: postid
44
- }
45
 
46
- jQuery("#yasr-loader-select-multi-set").show();
47
 
48
- //Send value to the Server
49
- jQuery.post(ajaxurl, data_id, function(response) {
50
- jQuery("#yasr-loader-select-multi-set").hide();
51
- jQuery('#yasr_rateit_multi_rating').html(response);
52
- jQuery('.rateit').rateit();
53
 
54
- jQuery('.multi').on('rated', function() {
55
- var el = jQuery(this);
56
- var value = el.rateit('value');
57
- var value = value.toFixed(1);
58
- var idField = el.attr('id');
59
- var setType = jQuery('#select_set').val();
60
 
61
- jQuery("#yasr-loader-multi-set-field-"+idField).show();
62
 
63
- var data = {
64
- action: 'yasr_send_id_field_with_vote',
65
- nonce: "<?php echo "$ajax_nonce_multi"; ?>",
66
- rating: value,
67
- post_id: postid,
68
- id_field: idField,
69
- set_type: setType
70
- };
71
 
72
- //Send value to the Server
73
- jQuery.post(ajaxurl, data, function() {
74
- jQuery("#yasr-loader-multi-set-field-"+idField).hide();
75
- });
76
- });
77
 
 
78
 
79
- jQuery('.multi').on('reset', function() {
80
- var el = jQuery(this);
81
- var value = '0';
82
- var idField = el.attr('id');
83
- var setType = jQuery('#select_set').val();
84
 
85
- jQuery("#yasr-loader-multi-set-field-"+idField).show();
86
 
87
- var data = {
88
- action: 'yasr_send_id_field_with_vote',
89
- nonce: "<?php echo "$ajax_nonce_multi"; ?>",
90
- rating: value,
91
- post_id: postid,
92
- id_field: idField,
93
- set_type: setType
94
- };
95
 
96
- //Send value to the Server
97
- jQuery.post(ajaxurl, data, function() {
98
- jQuery("#yasr-loader-multi-set-field-"+idField).hide();
99
- });
100
- });
101
-
102
- });
103
 
104
- return false; // prevent default click action from happening!
105
- e.preventDefault(); // same thing as above
106
 
107
- });
108
 
109
- </script>
110
 
 
111
 
112
- <?php
113
 
114
- } //End if
115
 
116
- elseif ($n_multi_set==1) {
117
- foreach ($multi_set as $find_id) {
118
- $set_id = $find_id->set_id;
119
- }
120
-
121
- ?>
122
-
123
- <script>
124
- // --------------IF we're using just 1 set -------------------
125
- jQuery( document ).ready(function() {
126
-
127
- var postid = <?php the_ID(); ?>;
128
-
129
- var data_id = {
130
- action: 'yasr_send_id_nameset',
131
- set_id: <?php echo $set_id ?>,
132
- post_id: postid
133
- }
134
-
135
- //Send value to the Server
136
- jQuery.post(ajaxurl, data_id, function(response) {
137
- jQuery('#yasr_rateit_multi_rating').html(response);
138
- jQuery('.rateit').rateit();
139
-
140
- jQuery('.multi').on('rated', function() {
141
- var el = jQuery(this);
142
- var value = el.rateit('value');
143
- var value = value.toFixed(1);
144
- var idField = el.attr('id');
145
-
146
- jQuery("#yasr-loader-multi-set-field-"+idField).show();
147
-
148
- var data = {
149
- action: 'yasr_send_id_field_with_vote',
150
- nonce: "<?php echo "$ajax_nonce_multi"; ?>",
151
- rating: value,
152
- post_id: postid,
153
- id_field: idField,
154
- set_type: <?php echo $set_id ?>
155
- };
156
-
157
- //Send value to the Server
158
- jQuery.post(ajaxurl, data, function() {
159
- jQuery("#yasr-loader-multi-set-field-"+idField).hide();
160
- });
161
-
162
- });
163
-
164
- jQuery('.multi').on('reset', function() {
165
- var el = jQuery(this);
166
- var value = '0';
167
- var idField = el.attr('id');
168
- var setType = <?php echo $set_id ?>
169
-
170
- jQuery("#yasr-loader-multi-set-field-"+idField).show();
171
-
172
- var data = {
173
- action: 'yasr_send_id_field_with_vote',
174
- nonce: "<?php echo "$ajax_nonce_multi"; ?>",
175
- rating: value,
176
- post_id: postid,
177
- id_field: idField,
178
- set_type: setType
179
- };
180
-
181
- //Send value to the Server
182
- jQuery.post(ajaxurl, data, function() {
183
- jQuery("#yasr-loader-multi-set-field-"+idField).hide();
184
- });
185
-
186
- });
187
-
188
- });
189
- });
190
 
191
  </script>
192
 
193
- <?php
194
-
195
- } //End elseif ($n_multi_set==1)
196
-
197
- ?>
198
-
199
  <div>
200
  <p>
201
  <span id="yasr_rateit_multi_rating">
6
 
7
  $ajax_nonce_multi = wp_create_nonce( "yasr_nonce_insert_multi_rating" );
8
 
9
+ $set_id=NULL;
10
+
11
  global $wpdb;
12
 
13
  $n_multi_set = $wpdb->num_rows; //wpdb->num_rows always store the the count number of rows of the last query
16
 
17
  _e("Choose wich set you want to use");
18
 
19
+ ?>
20
 
21
+ <br />
22
+ <select id ="select_set">
23
  <?php foreach ($multi_set as $name) { ?>
24
  <option value="<?php echo $name->set_id ?>"><?php echo $name->set_name ?></option>
25
  <?php } //End foreach ?>
26
+ </select>
 
 
27
 
28
+ <button href="#" class="button-delete" id="yasr-button-select-set"><?php _e("Select"); ?></button>
 
29
 
30
+ <span id="yasr-loader-select-multi-set" style="display:none;" >&nbsp;<img src="<?php echo YASR_IMG_DIR . "/loader.gif" ?>">
31
+ </span>
32
 
33
+ <?php
34
 
35
+ } //End if if ($n_multi_set>1)
36
 
37
+ elseif ($n_multi_set==1) {
 
 
38
 
39
+ foreach ($multi_set as $set) {
40
+
41
+ $set_id = $set->set_id;
 
 
42
 
43
+ }
44
 
45
+ }
 
 
 
 
46
 
 
 
 
 
 
 
47
 
48
+ ?>
49
 
50
+ <script type="text/javascript">
 
 
 
 
 
 
 
51
 
52
+ jQuery(document).ready(function() {
 
 
 
 
53
 
54
+ var nMultiSet = <?php echo (json_encode("$n_multi_set")); ?>
55
 
56
+ var postid = <?php echo (the_ID()); ?>
 
 
 
 
57
 
58
+ var nonceMulti = <?php echo (json_encode("$ajax_nonce_multi")); ?>
59
 
60
+ if (nMultiSet == 1) {
 
 
 
 
 
 
 
61
 
62
+ var setId = <?php echo (json_encode("$set_id")); ?>
 
 
 
 
 
 
63
 
64
+ }
 
65
 
66
+ else {
67
 
68
+ var setID = false;
69
 
70
+ }
71
 
72
+ yasrDisplayMultiMetabox (nMultiSet, postid, nonceMulti, setId)
73
 
 
74
 
75
+ }); //End document ready
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
  </script>
78
 
 
 
 
 
 
 
79
  <div>
80
  <p>
81
  <span id="yasr_rateit_multi_rating">
yasr-metabox-overall-rating.php CHANGED
@@ -25,7 +25,6 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
25
 
26
  $ajax_nonce_overall = wp_create_nonce( "yasr_nonce_insert_overall_rating" );
27
 
28
- $ajax_nonce_switch = wp_create_nonce( "yasr_nonce_switch_overall_rating" );
29
 
30
  ?>
31
 
@@ -174,109 +173,17 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
174
 
175
  </div>
176
 
177
- <!--Switcher-->
178
  <script type="text/javascript">
179
 
180
  jQuery(document).ready(function() {
181
 
182
- var defaultbox = "<?php echo YASR_METABOX_OVERALL_RATING ?>";
183
 
184
- yasr_display_metabox(defaultbox);
185
 
186
- function yasr_display_metabox(defaultbox) {
187
 
188
- if (defaultbox == 'stars' ) {
189
-
190
- yasr_print_event_send_overall_with_stars();
191
-
192
- } //end if if (defaultbox == 'stars' )
193
-
194
- else if (defaultbox == 'numbers') {
195
-
196
- yasr_print_event_send_overall_with_numbers();
197
-
198
- } //End else if (defaultbox == 'numbers')
199
-
200
- } //End function yasr_display_metabox*/
201
-
202
-
203
- //This is for the stars
204
- function yasr_print_event_send_overall_with_stars() {
205
-
206
- jQuery('#yasr_rateit_overall').on('rated', function() {
207
- jQuery('#loader-overall-rating').show();
208
- var el = jQuery(this);
209
- var postid = <?php the_ID(); ?>;
210
- var value = el.rateit('value');
211
- var value = value.toFixed(1); //
212
-
213
- var data = {
214
- action: 'yasr_send_overall_rating',
215
- nonce: "<?php echo "$ajax_nonce_overall"; ?>",
216
- rating: value,
217
- post_id: postid
218
- };
219
-
220
- //Send value to the Server
221
- jQuery.post(ajaxurl, data, function(response) {
222
- jQuery('#loader-overall-rating').hide();
223
- jQuery('#yasr_rateit_overall_value').text(response);
224
- }) ;
225
-
226
- });
227
-
228
- jQuery('#yasr_rateit_overall').on('reset', function() {
229
- jQuery('#loader-overall-rating').show();
230
- var el = jQuery(this);
231
- var postid = <?php the_ID(); ?>;
232
- var value = '-1';
233
-
234
- var data = {
235
- action: 'yasr_send_overall_rating',
236
- nonce: "<?php echo "$ajax_nonce_overall"; ?>",
237
- rating: value,
238
- post_id: postid
239
- };
240
-
241
- //Send value to the Server
242
- jQuery.post(ajaxurl, data, function(response) {
243
- jQuery('#loader-overall-rating').hide();
244
- jQuery('#yasr_rateit_overall_value').text(response);
245
- }) ;
246
-
247
- });
248
-
249
- }
250
-
251
- //This is for the numbers
252
- function yasr_print_event_send_overall_with_numbers() {
253
-
254
- jQuery('#yasr-send-overall-numbers').on('click', function() {
255
-
256
- var integer = jQuery('#yasr-vote-overall-numbers-int').val();
257
-
258
- var decimal = jQuery('#yasr-vote-overall-numbers-dec').val();
259
-
260
- var value = integer + "." + decimal;
261
-
262
- var data = {
263
- action: 'yasr_send_overall_rating',
264
- nonce: "<?php echo "$ajax_nonce_overall"; ?>",
265
- rating: value,
266
- post_id: <?php the_ID(); ?>
267
- };
268
-
269
- //Send value to the Server
270
- jQuery.post(ajaxurl, data, function(response) {
271
- jQuery('#yasr-overall-numbers-saved-confirm').text(response);
272
- }) ;
273
-
274
- return false;
275
- preventDefault(); // same thing as above
276
-
277
- });
278
-
279
- }
280
 
281
  }); //End document ready
282
 
25
 
26
  $ajax_nonce_overall = wp_create_nonce( "yasr_nonce_insert_overall_rating" );
27
 
 
28
 
29
  ?>
30
 
173
 
174
  </div>
175
 
 
176
  <script type="text/javascript">
177
 
178
  jQuery(document).ready(function() {
179
 
180
+ var defaultbox = <?php echo (json_encode(YASR_METABOX_OVERALL_RATING)); ?>;
181
 
182
+ var nonceOverall = <?php echo (json_encode("$ajax_nonce_overall")); ?>;
183
 
184
+ var postid = <?php json_encode(the_ID()); ?>;
185
 
186
+ yasrDisplayOverallMetabox(defaultbox, postid, nonceOverall);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
 
188
  }); //End document ready
189
 
yasr-settings-page.php CHANGED
@@ -162,7 +162,7 @@ $n_multi_set = NULL;
162
  <div class="yasr-space-settings-div">
163
  </div>
164
 
165
- <?php
166
  } //$gd_star_rating_found && $gd_star_imported==1$gd_star_rating_found = yasr_search_gd_star_rating();
167
 
168
  } //End if tab 'general_settings'
@@ -319,181 +319,16 @@ $n_multi_set = NULL;
319
 
320
  jQuery( document ).ready(function() {
321
 
322
- var active_tab = "<?php echo "$active_tab"; ?>";
323
-
324
- var n_multi_set = <?php echo (json_encode("$n_multi_set")); ?> ;//Null in php is different from javascript NULL
325
-
326
- var auto_insert_enabled = "<?php echo YASR_AUTO_INSERT_ENABLED ?>";
327
-
328
- //-------------------General Settings Code---------------------
329
-
330
- if (active_tab == 'general_settings') {
331
-
332
- if (auto_insert_enabled == 0) {
333
- jQuery('.yasr-auto-insert-options-class').prop('disabled', true);
334
- }
335
-
336
- //First Div
337
- jQuery('#yasr_auto_insert_radio_on').on('click', function(){
338
- jQuery('.yasr-auto-insert-options-class').prop('disabled', false);
339
- });
340
-
341
- jQuery('#yasr_auto_insert_radio_off').on('click', function(){
342
- jQuery('.yasr-auto-insert-options-class').prop('disabled', true);
343
- });
344
-
345
- jQuery('#yasr_text_before_star_on').on('click', function(){
346
- jQuery('.yasr-general-options-text-before').prop('disabled', false);
347
- jQuery('#yasr-general-options-custom-text-before-overall').val('Our Score');
348
- jQuery('#yasr-general-options-custom-text-before-visitor').val('Our Reader Score');
349
- jQuery('#yasr-general-options-custom-text-already-rated').val('You cannot vote again');
350
- });
351
-
352
- jQuery('#yasr_text_before_star_off').on('click', function(){
353
- jQuery('.yasr-general-options-text-before').prop('disabled', true);
354
- });
355
-
356
- jQuery('#yasr-color-scheme-preview-link').on('click', function () {
357
- jQuery('#yasr-color-scheme-preview').toggle('slow');
358
- return false; // prevent default click action from happening!
359
- });
360
-
361
- jQuery('#yasr-snippet-explained-link').on('click', function () {
362
- jQuery('#yasr-snippet-explained').toggle('slow');
363
- return false; // prevent default click action from happening!
364
- });
365
-
366
-
367
- //Second div code
368
-
369
- //On click show proceed button
370
- jQuery('#import-gdstar').on('click', function() {
371
- jQuery('#yasr-import-gdstar-div').toggle();
372
- });
373
-
374
- //On click begin step1
375
- jQuery('#import-button').on('click', function() {
376
-
377
- var data = {
378
- action : 'yasr_import_step1'
379
- };
380
-
381
- jQuery.post(ajaxurl, data, function(response) {
382
- jQuery('#result-import').html(response);
383
- });
384
-
385
- }); //End step1
386
-
387
- jQuery('#result-import').on('click', '.yasr-result-step-1', function() {
388
- //Now we are going to prepare another ajax call to check if multiple set exists
389
-
390
- var data = {
391
- action: 'yasr_import_multi_set'
392
- };
393
-
394
- jQuery.post(ajaxurl, data, function(response) {
395
- jQuery('#result-import').append(response);
396
- });
397
-
398
- }); //End second ajax call */
399
-
400
- //Reload page after importing is done
401
- jQuery('#result-import').on('click', '.yasr-result-step-2', function() {
402
- location.reload(true);
403
- });
404
-
405
- } //End if general settings
406
-
407
-
408
- //--------------Multi Sets Page ------------------
409
-
410
- if (active_tab == 'manage_multi') {
411
-
412
- jQuery('#yasr-multi-set-doc-link').on('click', function() {
413
- jQuery('#yasr-multi-set-doc-box').toggle("slow");
414
- });
415
-
416
- jQuery('#yasr-multi-set-doc-link-hide').on('click', function() {
417
- jQuery('#yasr-multi-set-doc-box').toggle("slow");
418
- });
419
-
420
- if (n_multi_set == 1) {
421
-
422
- var counter = jQuery("#yasr-edit-form-number-elements").attr('value');
423
-
424
- counter++;
425
-
426
- jQuery("#yasr-add-field-edit-multiset").on('click', function() {
427
-
428
- if(counter>9){
429
- jQuery('#yasr-element-limit').show();
430
- jQuery('#yasr-add-field-edit-multiset').hide();
431
- return false;
432
- }
433
-
434
- var newTextBoxDiv = jQuery(document.createElement('tr'))
435
-
436
- newTextBoxDiv.html('<td colspan="2">Element #' + counter + ' <input type="text" name="edit-multi-set-element-' + counter + '" value="" ></td>');
437
-
438
- newTextBoxDiv.appendTo("#yasr-table-form-edit-multi-set");
439
-
440
- counter++;
441
-
442
- });
443
-
444
-
445
- } //End if ($n_multi_set == 1)
446
-
447
- if (n_multi_set > 1) {
448
-
449
- //If more then 1 set is used...
450
- jQuery('#yasr-button-select-set-edit-form').on("click", function() {
451
-
452
- var data = {
453
- action : 'yasr_get_multi_set',
454
- set_id : jQuery('#yasr_select_edit_set').val()
455
- }
456
-
457
- jQuery.post(ajaxurl, data, function(response) {
458
- jQuery('#yasr-multi-set-response').show();
459
- jQuery('#yasr-multi-set-response').html(response);
460
- });
461
-
462
- return false; // prevent default click action from happening!
463
- preventDefault(); // same thing as above
464
-
465
- });
466
-
467
- jQuery(document).ajaxComplete(function(){
468
-
469
- var counter = jQuery("#yasr-edit-form-number-elements").attr('value');
470
 
471
- counter++;
472
-
473
- jQuery("#yasr-add-field-edit-multiset").on('click', function() {
474
-
475
- if(counter>9){
476
- jQuery('#yasr-element-limit').show();
477
- jQuery('#yasr-add-field-edit-multiset').hide();
478
- return false;
479
- }
480
-
481
- var newTextBoxDiv = jQuery(document.createElement('tr'))
482
-
483
- newTextBoxDiv.html('<td colspan="2">Element #' + counter + ' <input type="text" name="edit-multi-set-element-' + counter + '" value="" ></td>');
484
-
485
- newTextBoxDiv.appendTo("#yasr-table-form-edit-multi-set");
486
-
487
- counter++;
488
 
489
- });
490
-
491
- });
492
 
493
- } //End if ($n_multi_set > 1)
494
 
495
- } //end if active_tab=='manage_multi'
496
 
497
  }); //End jquery document ready
498
 
499
- </script>
162
  <div class="yasr-space-settings-div">
163
  </div>
164
 
165
+ <?php
166
  } //$gd_star_rating_found && $gd_star_imported==1$gd_star_rating_found = yasr_search_gd_star_rating();
167
 
168
  } //End if tab 'general_settings'
319
 
320
  jQuery( document ).ready(function() {
321
 
322
+ var activeTab = <?php echo (json_encode("$active_tab")); ?>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
 
324
+ var nMultiSet = <?php echo (json_encode("$n_multi_set")); ?> ;//Null in php is different from javascript NULL
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
325
 
326
+ var autoInsertEnabled = <?php echo (json_encode(YASR_AUTO_INSERT_ENABLED)); ?>;
 
 
327
 
328
+ var customText = <?php echo (json_encode(YASR_TEXT_BEFORE_STARS)); ?>
329
 
330
+ YasrSettingsPage(activeTab, nMultiSet, autoInsertEnabled, customText);
331
 
332
  }); //End jquery document ready
333
 
334
+ </script>
yet-another-stars-rating.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Yet Another Stars Rating
4
  * Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
  * Description: Rating system with rich snippets
6
- * Version: 0.5.4
7
  * Author: Dario Curvino
8
  * Author URI: http://profiles.wordpress.org/dudo/
9
  * License: GPL2
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
28
  */
29
 
30
 
31
- define('YASR_VERSION_NUM', '0.5.4');
32
 
33
  //Plugin absolute path
34
  define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );
@@ -135,16 +135,27 @@ if ( YASR_AUTO_INSERT_ENABLED == 1 ) {
135
  define ("YASR_AUTO_INSERT_SIZE", $stored_options['auto_insert_size']);
136
  define ("YASR_AUTO_INSERT_EXCLUDE_PAGES", $stored_options['auto_insert_exclude_pages']);
137
 
138
- if (!$stored_options['auto_insert_custom_post_only']) {
139
- $stored_options['auto_insert_custom_post_only'] = 0;
 
 
 
140
  }
141
 
142
- define ("YASR_AUTO_INSERT_CUSTOM_POST_ONLY", $stored_options['auto_insert_custom_post_only']);
 
 
143
 
144
  }
145
 
 
146
  else {
147
- define ("YASR_AUTO_INSERT_EXCLUDE_PAGES", "yes"); //Avoide undefined variable in yasr-shortcode-function line 56 and 81
 
 
 
 
 
148
  }
149
 
150
  define ("YASR_SHOW_OVERALL_IN_LOOP", $stored_options['show_overall_in_loop']);
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.5.5
7
  * Author: Dario Curvino
8
  * Author URI: http://profiles.wordpress.org/dudo/
9
  * License: GPL2
28
  */
29
 
30
 
31
+ define('YASR_VERSION_NUM', '0.5.5');
32
 
33
  //Plugin absolute path
34
  define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );
135
  define ("YASR_AUTO_INSERT_SIZE", $stored_options['auto_insert_size']);
136
  define ("YASR_AUTO_INSERT_EXCLUDE_PAGES", $stored_options['auto_insert_exclude_pages']);
137
 
138
+
139
+ $custom_post_types = yasr_get_custom_post_type('bool');
140
+
141
+ if ($custom_post_types) {
142
+ define ("YASR_AUTO_INSERT_CUSTOM_POST_ONLY", $stored_options['auto_insert_custom_post_only']);
143
  }
144
 
145
+ else {
146
+ define ("YASR_AUTO_INSERT_CUSTOM_POST_ONLY", FALSE);
147
+ }
148
 
149
  }
150
 
151
+ //Avoid undefined index
152
  else {
153
+ define ("YASR_AUTO_INSERT_WHAT", NULL);
154
+ define ("YASR_AUTO_INSERT_WHERE", NULL);
155
+ define ("YASR_AUTO_INSERT_SIZE", NULL);
156
+ define ("YASR_AUTO_INSERT_EXCLUDE_PAGES", "yes");
157
+ define ("YASR_AUTO_INSERT_CUSTOM_POST_ONLY", NULL);
158
+
159
  }
160
 
161
  define ("YASR_SHOW_OVERALL_IN_LOOP", $stored_options['show_overall_in_loop']);