Version Description
- Bugfix in the statistics function
- "Questions below each other" option was added
- "Number answers" option was added
Download this release
Release Info
Developer | xeno010 |
Plugin | Wp-Pro-Quiz |
Version | 0.14 |
Comparing to | |
See all releases |
Code changes from version 0.13 to 0.14
- img/backButton.png +0 -0
- img/checkCcontinue.png +0 -0
- img/numbering.png +0 -0
- img/singlePage.png +0 -0
- js/wpProQuiz_admin.js +17 -3
- js/wpProQuiz_admin.min.js +7 -7
- js/wpProQuiz_front.js +70 -12
- js/wpProQuiz_front.min.js +22 -20
- languages/wp-pro-quiz-ar.mo +0 -0
- languages/wp-pro-quiz-ar.po +157 -109
- languages/wp-pro-quiz-de_DE.mo +0 -0
- languages/wp-pro-quiz-de_DE.po +163 -111
- lib/controller/WpProQuiz_Controller_Admin.php +22 -0
- lib/controller/WpProQuiz_Controller_StyleManager.php +23 -0
- lib/helper/WpProQuiz_Helper_DbUpgrade.php +14 -1
- lib/model/WpProQuiz_Model_Quiz.php +20 -0
- lib/model/WpProQuiz_Model_QuizMapper.php +5 -3
- lib/view/WpProQuiz_View_FrontQuiz.php +47 -19
- lib/view/WpProQuiz_View_QuizEdit.php +67 -5
- lib/view/WpProQuiz_View_QuizOverall.php +1 -0
- lib/view/WpProQuiz_View_StyleManager.php +114 -0
- readme.txt +7 -2
- wp-pro-quiz.php +2 -2
img/backButton.png
ADDED
Binary file
|
img/checkCcontinue.png
ADDED
Binary file
|
img/numbering.png
ADDED
Binary file
|
img/singlePage.png
ADDED
Binary file
|
js/wpProQuiz_admin.js
CHANGED
@@ -681,6 +681,14 @@ jQuery(document).ready(function($) {
|
|
681 |
return false;
|
682 |
});
|
683 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
684 |
$('#statistics_on').change();
|
685 |
$('#wpProQuiz_resultGradeEnabled').change();
|
686 |
$('input[name="quizRunOnce"]').change();
|
@@ -717,6 +725,7 @@ jQuery(document).ready(function($) {
|
|
717 |
var $table = $('.wpProQuiz_statistics_table');
|
718 |
var $tbody = $table.find('tbody');
|
719 |
var points = 0;
|
|
|
720 |
|
721 |
var setItem = function(i, j, r) {
|
722 |
i.find('.wpProQuiz_cCorrect').text(j.cCorrect + ' (' + j.pCorrect + '%)');;
|
@@ -724,11 +733,16 @@ jQuery(document).ready(function($) {
|
|
724 |
i.find('.wpProQuiz_cTip').text(j.cTip);
|
725 |
|
726 |
if(r == true) {
|
727 |
-
|
728 |
-
|
729 |
-
|
|
|
|
|
|
|
|
|
730 |
} else {
|
731 |
points += j.cCorrect * i.find('.wpProQuiz_points').text();
|
|
|
732 |
}
|
733 |
};
|
734 |
|
681 |
return false;
|
682 |
});
|
683 |
|
684 |
+
$('.wpProQuiz_demoBox a').mouseover(function() {
|
685 |
+
$(this).next().show();
|
686 |
+
}).mouseout(function() {
|
687 |
+
$(this).next().hide();
|
688 |
+
}).click(function() {
|
689 |
+
return false;
|
690 |
+
});
|
691 |
+
|
692 |
$('#statistics_on').change();
|
693 |
$('#wpProQuiz_resultGradeEnabled').change();
|
694 |
$('input[name="quizRunOnce"]').change();
|
725 |
var $table = $('.wpProQuiz_statistics_table');
|
726 |
var $tbody = $table.find('tbody');
|
727 |
var points = 0;
|
728 |
+
var gPoints = 0;
|
729 |
|
730 |
var setItem = function(i, j, r) {
|
731 |
i.find('.wpProQuiz_cCorrect').text(j.cCorrect + ' (' + j.pCorrect + '%)');;
|
733 |
i.find('.wpProQuiz_cTip').text(j.cTip);
|
734 |
|
735 |
if(r == true) {
|
736 |
+
if(gPoints > 0) {
|
737 |
+
$table.find('.wpProQuiz_cResult').text(
|
738 |
+
(Math.round(points / gPoints * 100 * 100) / 100)
|
739 |
+
+ "%");
|
740 |
+
} else {
|
741 |
+
$table.find('.wpProQuiz_cResult').text("0%");
|
742 |
+
}
|
743 |
} else {
|
744 |
points += j.cCorrect * i.find('.wpProQuiz_points').text();
|
745 |
+
gPoints += (j.cCorrect + j.cIncorrect )* i.find('.wpProQuiz_points').text();
|
746 |
}
|
747 |
};
|
748 |
|
js/wpProQuiz_admin.min.js
CHANGED
@@ -18,10 +18,10 @@ deleteResult:function(b){a(b).parent().parent().hide();a(b).siblings('input[name
|
|
18 |
!1;var b="",b=void 0!=tinymce.editors.text&&!tinymce.editors.text.isHidden()?tinymce.editors.text.getContent():a('textarea[name="text"]').val();if(d(b))return alert(wpProQuizLocalize.no_quiz_start_msg),!1;if(a("#wpProQuiz_resultGradeEnabled:checked").length){var g=!0;a("#resultList").children().each(function(){if(a(this).is(":visible")&&!c.validResultInput(a(this).find('input[name="resultTextGrade[prozent][]"]').val()))return g=!1});if(!g)return alert(wpProQuizLocalize.fail_grade_result),!1}return!0},
|
19 |
resetLock:function(){var b=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php"),b=b.replace("action=edit","action=reset_lock");a.post(b,{action:"wp_pro_quiz_reset_lock"},function(){a("#resetLockMsg").show("fast").delay(2E3).hide("fast")})}},d=function(b){b=a.trim(b);return!b||0===b.length};a("#statistics_on").change(function(){this.checked?a("#statistics_ip_lock_tr").show():a("#statistics_ip_lock_tr").hide()});a(".addResult").click(function(){c.addResult()});a(".deleteResult").click(function(){c.deleteResult(this)});
|
20 |
a('input[name="resultTextGrade[prozent][]"]').keyup(function(){c.changeResult(this)}).keydown(function(a){13==a.which&&a.preventDefault()});a("#wpProQuiz_resultGradeEnabled").change(function(){this.checked?(a("#resultGrade").show(),a("#resultNormal").hide()):(a("#resultGrade").hide(),a("#resultNormal").show())});a("#wpProQuiz_save").click(function(a){c.validInput()||a.preventDefault()});a('input[name="quizRunOnce"]').change(function(){this.checked?(a("#wpProQuiz_quiz_run_once_type").show(),a('input[name="quizRunOnceType"]:checked').change()):
|
21 |
-
a("#wpProQuiz_quiz_run_once_type").hide()});a('input[name="quizRunOnceType"]').change(function(){this.checked&&("1"==this.value||"3"==this.value)?a("#wpProQuiz_quiz_run_once_cookie").show():a("#wpProQuiz_quiz_run_once_cookie").hide()});a('input[name="resetQuizLock"]').click(function(){c.resetLock();return!1});a("
|
22 |
-
function(){var c="wpProQuiz_typeAnonymeUser",d={loadStatistics:function(b){var c=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php")+"&action=load_statistics",b={action:"wp_pro_quiz_load_statistics",userId:b};a("#wpProQuiz_loadData").show();a("#wpProQuiz_statistics_content").hide();a.post(c,b,d.setStatistics,"json")},setStatistics:function(b){var c=
|
23 |
-
" ("+b.pCorrect+"%)");a.find(".wpProQuiz_cIncorrect").text(b.cIncorrect+" ("+b.pIncorrect+"%)");a.find(".wpProQuiz_cTip").text(b.cTip);!0==d?c.find(".wpProQuiz_cResult").text(Math.round(1E4*(f/
|
24 |
-
b;"wpProQuiz_typeRegisteredUser"==b?d.loadStatistics(a("#userSelect").val()):"wpProQuiz_typeAnonymeUser"==b&&d.loadStatistics(0)},resetStatistic:function(b){var g="wpProQuiz_typeRegisteredUser"==c?a("#userSelect").val():0,
|
25 |
-
"wpProQuiz_typeRegisteredUser"==b.attr("id")?a("#wpProQuiz_userBox").show():a("#wpProQuiz_userBox").hide();a(".wpProQuiz_tab").removeClass("button-primary").addClass("button-secondary");b.removeClass("button-secondary").addClass("button-primary");d.changeTab(b.attr("id"));return!1});a("#userSelect").change(function(){d.changeTab("wpProQuiz_typeRegisteredUser")});
|
26 |
-
d.resetStatistic(!1);return!1});a("#wpProQuiz_resetComplete").click(function(){confirm(wpProQuizLocalize.reset_statistics_msg)&&d.resetStatistic(!0);return!1});d.changeTab("wpProQuiz_typeAnonymeUser")};a(".wpProQuiz_quizOverall").length&&a(".wpProQuiz_quizOverall").wpProQuiz_preview();a(".wpProQuiz_quizOverall").length&&a(".wpProQuiz_quizOverall").wpProQuiz_quizOverall();
|
27 |
-
a(".wpProQuiz_questionOverall").length&&a(".wpProQuiz_questionOverall").wpProQuiz_questionOverall();a(".wpProQuiz_statistics").length&&a(".wpProQuiz_statistics").wpProQuiz_statistics()});
|
18 |
!1;var b="",b=void 0!=tinymce.editors.text&&!tinymce.editors.text.isHidden()?tinymce.editors.text.getContent():a('textarea[name="text"]').val();if(d(b))return alert(wpProQuizLocalize.no_quiz_start_msg),!1;if(a("#wpProQuiz_resultGradeEnabled:checked").length){var g=!0;a("#resultList").children().each(function(){if(a(this).is(":visible")&&!c.validResultInput(a(this).find('input[name="resultTextGrade[prozent][]"]').val()))return g=!1});if(!g)return alert(wpProQuizLocalize.fail_grade_result),!1}return!0},
|
19 |
resetLock:function(){var b=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php"),b=b.replace("action=edit","action=reset_lock");a.post(b,{action:"wp_pro_quiz_reset_lock"},function(){a("#resetLockMsg").show("fast").delay(2E3).hide("fast")})}},d=function(b){b=a.trim(b);return!b||0===b.length};a("#statistics_on").change(function(){this.checked?a("#statistics_ip_lock_tr").show():a("#statistics_ip_lock_tr").hide()});a(".addResult").click(function(){c.addResult()});a(".deleteResult").click(function(){c.deleteResult(this)});
|
20 |
a('input[name="resultTextGrade[prozent][]"]').keyup(function(){c.changeResult(this)}).keydown(function(a){13==a.which&&a.preventDefault()});a("#wpProQuiz_resultGradeEnabled").change(function(){this.checked?(a("#resultGrade").show(),a("#resultNormal").hide()):(a("#resultGrade").hide(),a("#resultNormal").show())});a("#wpProQuiz_save").click(function(a){c.validInput()||a.preventDefault()});a('input[name="quizRunOnce"]').change(function(){this.checked?(a("#wpProQuiz_quiz_run_once_type").show(),a('input[name="quizRunOnceType"]:checked').change()):
|
21 |
+
a("#wpProQuiz_quiz_run_once_type").hide()});a('input[name="quizRunOnceType"]').change(function(){this.checked&&("1"==this.value||"3"==this.value)?a("#wpProQuiz_quiz_run_once_cookie").show():a("#wpProQuiz_quiz_run_once_cookie").hide()});a('input[name="resetQuizLock"]').click(function(){c.resetLock();return!1});a(".wpProQuiz_demoBox a").mouseover(function(){a(this).next().show()}).mouseout(function(){a(this).next().hide()}).click(function(){return!1});a("#statistics_on").change();a("#wpProQuiz_resultGradeEnabled").change();
|
22 |
+
a('input[name="quizRunOnce"]').change();a('input[name="quizRunOnceType"]:checked').change()};a.fn.wpProQuiz_statistics=function(){var c="wpProQuiz_typeAnonymeUser",d={loadStatistics:function(b){var c=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php")+"&action=load_statistics",b={action:"wp_pro_quiz_load_statistics",userId:b};a("#wpProQuiz_loadData").show();a("#wpProQuiz_statistics_content").hide();a.post(c,b,d.setStatistics,"json")},setStatistics:function(b){var c=
|
23 |
+
a(".wpProQuiz_statistics_table"),d=c.find("tbody"),f=0,e=0,h=function(a,b,d){a.find(".wpProQuiz_cCorrect").text(b.cCorrect+" ("+b.pCorrect+"%)");a.find(".wpProQuiz_cIncorrect").text(b.cIncorrect+" ("+b.pIncorrect+"%)");a.find(".wpProQuiz_cTip").text(b.cTip);!0==d?0<e?c.find(".wpProQuiz_cResult").text(Math.round(1E4*(f/e))/100+"%"):c.find(".wpProQuiz_cResult").text("0%"):(f+=b.cCorrect*a.find(".wpProQuiz_points").text(),e+=(b.cCorrect+b.cIncorrect)*a.find(".wpProQuiz_points").text())};h(c,b.clear,
|
24 |
+
!1);a.each(b.items,function(a,b){h(d.find("#wpProQuiz_tr_"+b.id),b,!1)});h(c.find("tfoot"),b.global,!0);a("#wpProQuiz_loadData").hide();a("#wpProQuiz_statistics_content").show()},changeTab:function(b){c=b;"wpProQuiz_typeRegisteredUser"==b?d.loadStatistics(a("#userSelect").val()):"wpProQuiz_typeAnonymeUser"==b&&d.loadStatistics(0)},resetStatistic:function(b){var g="wpProQuiz_typeRegisteredUser"==c?a("#userSelect").val():0,i=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php")+
|
25 |
+
"&action=reset";a.post(i,{action:"wp_pro_quiz_statistics",userId:g,complete:b},function(){d.changeTab(c)})}};a(".wpProQuiz_tab").click(function(){var b=a(this);if(b.hasClass("button-primary"))return!1;"wpProQuiz_typeRegisteredUser"==b.attr("id")?a("#wpProQuiz_userBox").show():a("#wpProQuiz_userBox").hide();a(".wpProQuiz_tab").removeClass("button-primary").addClass("button-secondary");b.removeClass("button-secondary").addClass("button-primary");d.changeTab(b.attr("id"));return!1});a("#userSelect").change(function(){d.changeTab("wpProQuiz_typeRegisteredUser")});
|
26 |
+
a("#wpProQuiz_update").click(function(){d.changeTab(c);return!1});a("#wpProQuiz_reset").click(function(){confirm(wpProQuizLocalize.reset_statistics_msg)&&d.resetStatistic(!1);return!1});a("#wpProQuiz_resetComplete").click(function(){confirm(wpProQuizLocalize.reset_statistics_msg)&&d.resetStatistic(!0);return!1});d.changeTab("wpProQuiz_typeAnonymeUser")};a(".wpProQuiz_quizOverall").length&&a(".wpProQuiz_quizOverall").wpProQuiz_preview();a(".wpProQuiz_quizOverall").length&&a(".wpProQuiz_quizOverall").wpProQuiz_quizOverall();
|
27 |
+
a(".wpProQuiz_quizEdit").length&&a(".wpProQuiz_quizEdit").wpProQuiz_quizEdit();a(".wpProQuiz_questionEdit").length&&a(".wpProQuiz_questionEdit").wpProQuiz_questionEdit();a(".wpProQuiz_questionOverall").length&&a(".wpProQuiz_questionOverall").wpProQuiz_questionOverall();a(".wpProQuiz_statistics").length&&a(".wpProQuiz_statistics").wpProQuiz_statistics()});
|
js/wpProQuiz_front.js
CHANGED
@@ -36,10 +36,12 @@
|
|
36 |
correctAnswer = 0;
|
37 |
points = 0;
|
38 |
|
39 |
-
if(config.
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
43 |
}
|
44 |
|
45 |
if(!isLock || !loadLocked) {
|
@@ -47,6 +49,10 @@
|
|
47 |
} else {
|
48 |
startQuiz = true;
|
49 |
}
|
|
|
|
|
|
|
|
|
50 |
},
|
51 |
|
52 |
startQuiz: function() {
|
@@ -63,8 +69,12 @@
|
|
63 |
plugin.methode.setTimeLimit();
|
64 |
}
|
65 |
|
66 |
-
|
67 |
-
|
|
|
|
|
|
|
|
|
68 |
|
69 |
$element.find('.wpProQuiz_sortable').parent().parent().sortable().disableSelection();
|
70 |
|
@@ -73,6 +83,18 @@
|
|
73 |
placeholder: 'wpProQuiz_placehold'
|
74 |
}).disableSelection();
|
75 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
reStartQuiz: function() {
|
78 |
$element.find('.wpProQuiz_answerCorrect').removeClass('wpProQuiz_answerCorrect');
|
@@ -92,12 +114,31 @@
|
|
92 |
$element.find('.wpProQuiz_resultsList').children().hide();
|
93 |
$element.find('.wpProQuiz_cloze input').removeAttr('disabled').removeAttr('value').css('background-color', '');
|
94 |
$element.find('.wpProQuiz_cloze span').hide();
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
plugin.methode.resetMatrix();
|
97 |
|
98 |
$element.find('.wpProQuiz_listItem').data('isChecked', false);
|
99 |
},
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
resetMatrix: function() {
|
102 |
$element.find('.wpProQuiz_question').each(function() {
|
103 |
var $tq = $(this);
|
@@ -134,7 +175,7 @@
|
|
134 |
|
135 |
parseTime: function(sec) {
|
136 |
var seconds = parseInt(sec % 60);
|
137 |
-
var
|
138 |
var hours = parseInt((sec / 3600) % 24);
|
139 |
|
140 |
seconds = (seconds > 9 ? '' : '0') + seconds;
|
@@ -364,10 +405,18 @@
|
|
364 |
|
365 |
if(config.backButton && !config.checkAnswer)
|
366 |
$next.find('input[name="back"]').show();
|
|
|
|
|
|
|
367 |
} else {
|
368 |
-
|
|
|
|
|
|
|
|
|
|
|
369 |
$element.find('input[name="check"]').click();
|
370 |
-
|
371 |
plugin.methode.showResult();
|
372 |
}
|
373 |
},
|
@@ -378,6 +427,8 @@
|
|
378 |
|
379 |
$q.hide();
|
380 |
$prev.show();
|
|
|
|
|
381 |
},
|
382 |
|
383 |
showResult: function() {
|
@@ -388,7 +439,7 @@
|
|
388 |
$element.find('.wpProQuiz_time_limit .progress').clearQueue().stop();
|
389 |
$element.find('.wpProQuiz_correct_answer').html(correctAnswer);
|
390 |
$element.find('.wpProQuiz_results').show();
|
391 |
-
$element.find('.wpProQuiz_time_limit').hide();
|
392 |
plugin.methode.setQuizTime();
|
393 |
|
394 |
var pointsProzent = Math.round(points / pointsTotal * 100 * 100) / 100;
|
@@ -403,6 +454,8 @@
|
|
403 |
$element.find('.wpProQuiz_resultsList').children().eq(index).show();
|
404 |
}
|
405 |
|
|
|
|
|
406 |
plugin.methode.sendCompletedQuiz();
|
407 |
},
|
408 |
|
@@ -446,8 +499,9 @@
|
|
446 |
},
|
447 |
|
448 |
reShowQuestion: function() {
|
449 |
-
$element.find('input[name="next"], input[name="check"], input[name="back"]').hide();
|
450 |
$element.find('.wpProQuiz_quiz').children().first().children().show();
|
|
|
451 |
},
|
452 |
|
453 |
answerRandom: function(selector) {
|
@@ -556,7 +610,7 @@
|
|
556 |
plugin.methode.setData();
|
557 |
|
558 |
plugin.methode.setClozeStyle();
|
559 |
-
|
560 |
$element.find('input[name="startQuiz"]').click(function(e) {
|
561 |
e.preventDefault();
|
562 |
plugin.methode.preStartQuiz();
|
@@ -590,6 +644,10 @@
|
|
590 |
plugin.methode.showTip(this);
|
591 |
});
|
592 |
|
|
|
|
|
|
|
|
|
593 |
$(document).mouseup(function(e) {
|
594 |
|
595 |
var $tip = $element.find('.wpProQuiz_tipp');
|
36 |
correctAnswer = 0;
|
37 |
points = 0;
|
38 |
|
39 |
+
if(!config.questionOnSinglePage) {
|
40 |
+
if(config.checkAnswer) {
|
41 |
+
$element.find('input[name="check"]').show();
|
42 |
+
} else {
|
43 |
+
$element.find('input[name="next"]').show();
|
44 |
+
}
|
45 |
}
|
46 |
|
47 |
if(!isLock || !loadLocked) {
|
49 |
} else {
|
50 |
startQuiz = true;
|
51 |
}
|
52 |
+
|
53 |
+
if(config.numberedAnswer) {
|
54 |
+
plugin.methode.numberedAnswer();
|
55 |
+
}
|
56 |
},
|
57 |
|
58 |
startQuiz: function() {
|
69 |
plugin.methode.setTimeLimit();
|
70 |
}
|
71 |
|
72 |
+
if(config.questionOnSinglePage) {
|
73 |
+
$element.find('.wpProQuiz_listItem').show();
|
74 |
+
}
|
75 |
+
|
76 |
+
$element.find('.wpProQuiz_listItem').first().show();
|
77 |
+
$element.find('.wpProQuiz_quiz').fadeIn(200);
|
78 |
|
79 |
$element.find('.wpProQuiz_sortable').parent().parent().sortable().disableSelection();
|
80 |
|
83 |
placeholder: 'wpProQuiz_placehold'
|
84 |
}).disableSelection();
|
85 |
},
|
86 |
+
|
87 |
+
scrollTo: function(e, c) {
|
88 |
+
var x = e.offset().top - 100;
|
89 |
+
|
90 |
+
if(c) {
|
91 |
+
if((window.pageYOffset || document.body.scrollTop) > x) {
|
92 |
+
$('html,body').animate({scrollTop: x}, 300);
|
93 |
+
}
|
94 |
+
} else {
|
95 |
+
$('html,body').animate({scrollTop: x}, 300);
|
96 |
+
}
|
97 |
+
},
|
98 |
|
99 |
reStartQuiz: function() {
|
100 |
$element.find('.wpProQuiz_answerCorrect').removeClass('wpProQuiz_answerCorrect');
|
114 |
$element.find('.wpProQuiz_resultsList').children().hide();
|
115 |
$element.find('.wpProQuiz_cloze input').removeAttr('disabled').removeAttr('value').css('background-color', '');
|
116 |
$element.find('.wpProQuiz_cloze span').hide();
|
117 |
+
$element.find('input[name="checkSingle"]').show();
|
118 |
+
|
119 |
+
if(!config.questionOnSinglePage) {
|
120 |
+
$element.find('.wpProQuiz_question_page').show();
|
121 |
+
}
|
122 |
|
123 |
plugin.methode.resetMatrix();
|
124 |
|
125 |
$element.find('.wpProQuiz_listItem').data('isChecked', false);
|
126 |
},
|
127 |
|
128 |
+
numberedAnswer: function() {
|
129 |
+
$element.find('.wpProQuiz_listItem').each(function() {
|
130 |
+
var $listItem = $(this);
|
131 |
+
var type = $listItem.data('type');
|
132 |
+
var index = 1;
|
133 |
+
|
134 |
+
if(type == 'multiple' || type == 'single') {
|
135 |
+
$listItem.find('.WpProQuiz_numberedAnswer').each(function() {
|
136 |
+
$(this).text(index++ + '. ');
|
137 |
+
});
|
138 |
+
}
|
139 |
+
});
|
140 |
+
},
|
141 |
+
|
142 |
resetMatrix: function() {
|
143 |
$element.find('.wpProQuiz_question').each(function() {
|
144 |
var $tq = $(this);
|
175 |
|
176 |
parseTime: function(sec) {
|
177 |
var seconds = parseInt(sec % 60);
|
178 |
+
var minutes = parseInt((sec / 60) % 60);
|
179 |
var hours = parseInt((sec / 3600) % 24);
|
180 |
|
181 |
seconds = (seconds > 9 ? '' : '0') + seconds;
|
405 |
|
406 |
if(config.backButton && !config.checkAnswer)
|
407 |
$next.find('input[name="back"]').show();
|
408 |
+
|
409 |
+
plugin.methode.scrollTo($next, true);
|
410 |
+
|
411 |
} else {
|
412 |
+
|
413 |
+
if(config.questionOnSinglePage) {
|
414 |
+
$element.find('.wpProQuiz_listItem, input[name="checkSingle"]').hide();
|
415 |
+
}
|
416 |
+
|
417 |
+
if(!config.checkAnswer || config.questionOnSinglePage)
|
418 |
$element.find('input[name="check"]').click();
|
419 |
+
|
420 |
plugin.methode.showResult();
|
421 |
}
|
422 |
},
|
427 |
|
428 |
$q.hide();
|
429 |
$prev.show();
|
430 |
+
|
431 |
+
plugin.methode.scrollTo($prev, true);
|
432 |
},
|
433 |
|
434 |
showResult: function() {
|
439 |
$element.find('.wpProQuiz_time_limit .progress').clearQueue().stop();
|
440 |
$element.find('.wpProQuiz_correct_answer').html(correctAnswer);
|
441 |
$element.find('.wpProQuiz_results').show();
|
442 |
+
$element.find('.wpProQuiz_time_limit, input[name="checkSingle"]').hide();
|
443 |
plugin.methode.setQuizTime();
|
444 |
|
445 |
var pointsProzent = Math.round(points / pointsTotal * 100 * 100) / 100;
|
454 |
$element.find('.wpProQuiz_resultsList').children().eq(index).show();
|
455 |
}
|
456 |
|
457 |
+
plugin.methode.scrollTo($('.wpProQuiz_results'), true);
|
458 |
+
|
459 |
plugin.methode.sendCompletedQuiz();
|
460 |
},
|
461 |
|
499 |
},
|
500 |
|
501 |
reShowQuestion: function() {
|
502 |
+
$element.find('input[name="next"], input[name="check"], input[name="back"], input[name="checkSingle"]').hide();
|
503 |
$element.find('.wpProQuiz_quiz').children().first().children().show();
|
504 |
+
$element.find('.wpProQuiz_question_page').hide();
|
505 |
},
|
506 |
|
507 |
answerRandom: function(selector) {
|
610 |
plugin.methode.setData();
|
611 |
|
612 |
plugin.methode.setClozeStyle();
|
613 |
+
|
614 |
$element.find('input[name="startQuiz"]').click(function(e) {
|
615 |
e.preventDefault();
|
616 |
plugin.methode.preStartQuiz();
|
644 |
plugin.methode.showTip(this);
|
645 |
});
|
646 |
|
647 |
+
$element.find('input[name="checkSingle"]').click(function(e) {
|
648 |
+
$element.find('input[name="next"]').last().click();
|
649 |
+
});
|
650 |
+
|
651 |
$(document).mouseup(function(e) {
|
652 |
|
653 |
var $tip = $element.find('.wpProQuiz_tipp');
|
js/wpProQuiz_front.min.js
CHANGED
@@ -1,20 +1,22 @@
|
|
1 |
-
(function(
|
2 |
-
q=!0},startQuiz:function(){
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
0
|
8 |
-
d.
|
9 |
-
(
|
10 |
-
b
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
|
1 |
+
(function(b){b.wpProQuizFront=function(p,d){var a=b(p),f=this,n=0,j=0,s=0,k={},m=0,l=0,t=!1,u=!1,q=!1,r=!1;f.methode={preStartQuiz:function(){k={};d.questionRandom&&f.methode.questionRandom();d.answerRandom?f.methode.answerRandom(".wpProQuiz_questionList"):f.methode.answerRandom(a.find(".wpProQuiz_sortable").parent().parent());f.methode.answerRandom(".wpProQuiz_sortStringList");m=n=0;d.questionOnSinglePage||(d.checkAnswer?a.find('input[name="check"]').show():a.find('input[name="next"]').show());!t||
|
2 |
+
!q?f.methode.startQuiz():r=!0;d.numberedAnswer&&f.methode.numberedAnswer()},startQuiz:function(){a.find(".wpProQuiz_text").hide();u?a.find(".wpProQuiz_lock").show():(s=new Date,d.timeLimit&&f.methode.setTimeLimit(),d.questionOnSinglePage&&a.find(".wpProQuiz_listItem").show(),a.find(".wpProQuiz_listItem").first().show(),a.find(".wpProQuiz_quiz").fadeIn(200),a.find(".wpProQuiz_sortable").parent().parent().sortable().disableSelection(),a.find(".wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion").sortable({connectWith:".wpProQuiz_maxtrixSortCriterion:not(:has(li)), .wpProQuiz_sortStringList",
|
3 |
+
placeholder:"wpProQuiz_placehold"}).disableSelection())},scrollTo:function(c,e){var a=c.offset().top-100;e?(window.pageYOffset||document.body.scrollTop)>a&&b("html,body").animate({scrollTop:a},300):b("html,body").animate({scrollTop:a},300)},reStartQuiz:function(){a.find(".wpProQuiz_answerCorrect").removeClass("wpProQuiz_answerCorrect");a.find(".wpProQuiz_answerIncorrect").removeClass("wpProQuiz_answerIncorrect");a.find('.wpProQuiz_text, input[name="tip"]').show();a.find(".wpProQuiz_quiz, .wpProQuiz_results, .wpProQuiz_response, .wpProQuiz_correct, .wpProQuiz_incorrect").hide();
|
4 |
+
a.find(".wpProQuiz_time_limit, .wpProQuiz_time_limit_expired, .wpProQuiz_sort_correct_answer").hide();a.find(".wpProQuiz_quiz").children().first().children().hide();a.find(".wpProQuiz_sortable, .wpProQuiz_sortStringItem").removeAttr("style");a.find('input[name="check"]').hide();a.find('input[name="next"]').hide();a.find(".wpProQuiz_questionInput").removeAttr("disabled").removeAttr("checked");a.find('input.wpProQuiz_questionInput[type="text"]').removeAttr("value");a.find(".wpProQuiz_resultsList").children().hide();
|
5 |
+
a.find(".wpProQuiz_cloze input").removeAttr("disabled").removeAttr("value").css("background-color","");a.find(".wpProQuiz_cloze span").hide();a.find('input[name="checkSingle"]').show();d.questionOnSinglePage||a.find(".wpProQuiz_question_page").show();f.methode.resetMatrix();a.find(".wpProQuiz_listItem").data("isChecked",!1)},numberedAnswer:function(){a.find(".wpProQuiz_listItem").each(function(){var c=b(this),e=c.data("type"),a=1;("multiple"==e||"single"==e)&&c.find(".WpProQuiz_numberedAnswer").each(function(){b(this).text(a++ +
|
6 |
+
". ")})})},resetMatrix:function(){a.find(".wpProQuiz_question").each(function(){var c=b(this),e=c.find(".wpProQuiz_sortStringList");c.find(".wpProQuiz_sortStringItem").each(function(){e.append(b(this))})})},setTimeLimit:function(){var c=a.find(".wpProQuiz_time_limit"),e=c.find("span"),b=d.timeLimit;c.css({width:"100%",display:"block"});e.html(f.methode.parseTime(b));c.find(".progress").css("width","100%").animate({width:"0%"},1E3*d.timeLimit);j=setInterval(function(){e.html(f.methode.parseTime(b--));
|
7 |
+
0>b&&(clearInterval(j),j=0,c.find(".progress").clearQueue().stop(),a.find('input[name="check"]').click().parent().hide(),a.find(".wpProQuiz_time_limit_expired").show(),f.methode.showResult())},1E3)},parseTime:function(c){var e=parseInt(c%60),a=parseInt(c/60%60),c=parseInt(c/3600%24);return(9<c?"":"0")+c+":"+((9<a?"":"0")+a)+":"+((9<e?"":"0")+e)},setQuizTime:function(){var c=((new Date).getTime()-s.getTime())/1E3;a.find(".wpProQuiz_quiz_time span").first().html(f.methode.parseTime(c))},setData:function(){var c=
|
8 |
+
0;a.find(".wpProQuiz_questionList").each(function(){var e=d.json[c],a=0;l+=e.points;b(this).parent().parent().data("type",e.answer_type).data("questionId",e.id).data("points",e.points);b(this).find(".wpProQuiz_questionInput").each(function(){switch(e.answer_type){case "single":case "multiple":0<=b.inArray(this.value,e.correct)?b(this).data("correct","1"):b(this).data("correct","0");break;case "free_answer":b(this).data("correct",e.correct)}});a=0;b(this).find(".wpProQuiz_sortable").each(function(){b(this).data("correct",
|
9 |
+
e.correct[a++])});a=0;b(this).parent().find(".wpProQuiz_sortStringList").children().each(function(){b(this).data("correct",e.correct[a++])});"matrix_sort_answer"==e.answer_type&&b(this).children().each(function(){b(this).data("correct",b(this).index())});c++})},checkAnswer:function(c){var a=b(c).parent(),d=!1,i=a.find(".wpProQuiz_questionInput"),h=a.data("type");a.find('input[name="tip"]').hide();if(!a.data("isChecked")){if("multiple"==h||"single"==h){var g=!0;i.each(function(){"1"==b(this).data("correct")?
|
10 |
+
(b(this).parent().parent().addClass("wpProQuiz_answerCorrect"),g=this.checked?g&1:g&0):this.checked&&(b(this).parent().parent().addClass("wpProQuiz_answerIncorrect"),g&=0)});d=g}else if("sort_answer"==h){g=!0;a.find(".wpProQuiz_sortable").each(function(){var a=b(this),c=a.parent().index();a.data("correct")==c?(a.parent().addClass("wpProQuiz_answerCorrect"),g&=1):(a.parent().addClass("wpProQuiz_answerIncorrect"),g=!1);a.css({"box-shadow":"0 0",cursor:"auto"})});var j=a.find(".wpProQuiz_sortable").parent().parent(),
|
11 |
+
d=j.children("li");j.sortable("destroy");d.sort(function(a,c){return b(a).children("div").data("correct")-b(c).children("div").data("correct")});b.each(d,function(a,c){j.append(c)});d=g}else if("free_answer"==h)h=b.trim(i.val()).toLowerCase(),0<=b.inArray(h,i.data("correct"))?(d=!0,i.parent().parent().addClass("wpProQuiz_answerCorrect")):i.parent().parent().addClass("wpProQuiz_answerIncorrect");else if("matrix_sort_answer"==h){var g=!0,l={};a.find(".wpProQuiz_questionList").children().each(function(){var a=
|
12 |
+
b(this).data("correct"),c=b(this).find(".wpProQuiz_maxtrixSortCriterion");c.children().first().data("correct")==a?(g&=1,c.addClass("wpProQuiz_answerCorrect")):(g=!1,c.addClass("wpProQuiz_answerIncorrect"));l[a]=b(this)});a.find(".wpProQuiz_sortStringItem").each(function(){l[b(this).data("correct")].find(".wpProQuiz_maxtrixSortCriterion").append(this)}).css({"box-shadow":"0 0",cursor:"auto"});a.find(".wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion").sortable("destroy");d=g}else"cloze_answer"==
|
13 |
+
h&&(g=!0,a.find(".wpProQuiz_cloze").each(function(){var a=b(this).children(),c=a.first(),e=c.val().toLowerCase(),d=a.last().text().toLowerCase(),d=b.trim(d.substr(1,d.length-2)),d=f.methode.cleanupCurlyQuotes(d),e=f.methode.cleanupCurlyQuotes(b.trim(e));d==e?(g&=1,c.css("background-color","#B0DAB0")):(g=!1,c.css("background-color","#FFBABA"),a.last().show());c.attr("disabled","disabled")}),d=g);b(c).hide();i.attr("disabled","disabled");void 0==k[a.data("questionId")]&&(k[a.data("questionId")]={});
|
14 |
+
k[a.data("questionId")].correct=Number(d);a.find(".wpProQuiz_response").show();d?(a.find(".wpProQuiz_correct").show(),n++,m+=a.data("points")):a.find(".wpProQuiz_incorrect").show();a.find('input[name="next"]').show();a.data("isChecked",!0)}},nextQuestion:function(c){var c=b(c).parent(),e=c.next();c.hide();e.length?(e.show(),d.backButton&&!d.checkAnswer&&e.find('input[name="back"]').show(),f.methode.scrollTo(e,!0)):(d.questionOnSinglePage&&a.find('.wpProQuiz_listItem, input[name="checkSingle"]').hide(),
|
15 |
+
(!d.checkAnswer||d.questionOnSinglePage)&&a.find('input[name="check"]').click(),f.methode.showResult())},backQuestion:function(a){var a=b(a).parent(),e=a.prev();a.hide();e.show();f.methode.scrollTo(e,!0)},showResult:function(){clearInterval(j);var c=a.find(".wpProQuiz_points span");a.find(".wpProQuiz_time_limit .progress").clearQueue().stop();a.find(".wpProQuiz_correct_answer").html(n);a.find(".wpProQuiz_results").show();a.find('.wpProQuiz_time_limit, input[name="checkSingle"]').hide();f.methode.setQuizTime();
|
16 |
+
var e=Math.round(1E4*(m/l))/100;c.eq(0).text(m);c.eq(1).text(l);c.eq(2).text(e);c=f.methode.findResultIndex(e);-1<c&&a.find(".wpProQuiz_resultsList").children().eq(c).show();f.methode.scrollTo(b(".wpProQuiz_results"),!0);f.methode.sendCompletedQuiz()},sendCompletedQuiz:function(){d.preview||b.post(d.url,{action:"wp_pro_quiz_completed_quiz",results:k,quizId:d.quizId})},findResultIndex:function(a){for(var b=d.resultsGrade,f=-1,i=999999,h=0;h<b.length;h++){var g=b[h];a>=g&&a-g<i&&(i=a-g,f=h)}return f},
|
17 |
+
cleanupCurlyQuotes:function(a){a=a.replace(/\u2018/,"'");a=a.replace(/\u2019/,"'");a=a.replace(/\u201C/,'"');return a=a.replace(/\u201D/,'"')},reShowQuestion:function(){a.find('input[name="next"], input[name="check"], input[name="back"], input[name="checkSingle"]').hide();a.find(".wpProQuiz_quiz").children().first().children().show();a.find(".wpProQuiz_question_page").hide()},answerRandom:function(c){a.find(c).each(function(){var a=b(this).children(),a=a.sort(function(){return Math.round(Math.random())-
|
18 |
+
0.5}).slice(0,a.length);b(a).appendTo(a[0].parentNode).show()})},questionRandom:function(){var c=a.find(".wpProQuiz_quiz ol").children(),c=c.sort(function(){return Math.round(Math.random())-0.5}).slice(0,c.length);b(c).appendTo(c[0].parentNode);var e=1;b(c).each(function(){b(this).find(".wpProQuiz_question_page span").eq(0).html(e);b(this).find("h3 span").html(e++)})},showTip:function(a){$tip=b(a).siblings(".wpProQuiz_tipp");$par=b(a).parent();void 0==k[$par.data("questionId")]&&(k[$par.data("questionId")]=
|
19 |
+
{});k[$par.data("questionId")].tip=1;$tip.toggle("fast")},setClozeStyle:function(){a.find(".wpProQuiz_cloze").each(function(){var a=b(this).children(),e=a.first(),a=a.last().clone();a.css("visibility","hidden");b("body").append(a);var d=a.width();a.remove();e.width(d+10)})},checkLock:function(){q=!0;b.post(d.url,{action:"wp_pro_quiz_check_lock",quizId:d.quizId},function(c){u=c.is;q=!1;c.pre&&a.find('input[name="restartQuiz"]').hide();r&&(r=!1,f.methode.startQuiz())},"json")}};f.init=function(){n=
|
20 |
+
0;d.lock&&!d.preview&&(t=!0,f.methode.checkLock());void 0==d.resultsGrade&&(d.resultsGrade=[0]);a.find(".wpProQuiz_quiz, .wpProQuiz_results").hide();a.find(".wpProQuiz_quiz").children().first().children().hide();f.methode.setData();f.methode.setClozeStyle();a.find('input[name="startQuiz"]').click(function(a){a.preventDefault();f.methode.preStartQuiz()});a.find('input[name="check"]').click(function(a){a.preventDefault();f.methode.checkAnswer(this)});a.find('input[name="next"]').click(function(a){a.preventDefault();
|
21 |
+
f.methode.nextQuestion(this)});a.find('input[name="restartQuiz"]').click(function(a){a.preventDefault();f.methode.reStartQuiz()});a.find('input[name="reShowQuestion"]').click(function(a){a.preventDefault();f.methode.reShowQuestion(this)});a.find('input[name="back"]').click(function(){f.methode.backQuestion(this)});a.find('input[name="tip"]').click(function(){f.methode.showTip(this)});a.find('input[name="checkSingle"]').click(function(){a.find('input[name="next"]').last().click()});b(document).mouseup(function(c){var b=
|
22 |
+
a.find(".wpProQuiz_tipp"),d=a.find('input[name="tip"]');!b.is(c.target)&&(0==b.has(c.target).length&&!d.is(c.target))&&b.hide("fast")})};f.init()};b.fn.wpProQuizFront=function(p){return this.each(function(){void 0==b(this).data("wpProQuizFront")&&b(this).data("wpProQuizFront",new b.wpProQuizFront(this,p))})}})(jQuery);
|
languages/wp-pro-quiz-ar.mo
CHANGED
Binary file
|
languages/wp-pro-quiz-ar.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Wp-Pro-Quiz\n"
|
4 |
-
"POT-Creation-Date: 2012-12-
|
5 |
-
"PO-Revision-Date: 2012-12-
|
6 |
"Last-Translator: Julius Fischer <julius.f@gmx.net>\n"
|
7 |
"Language-Team: abuhassan <sajja2002@hotmail.com>\n"
|
8 |
"Language: Arabic\n"
|
@@ -14,43 +14,43 @@ msgstr ""
|
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
18 |
msgid "Do you really want to delete the quiz/question?"
|
19 |
msgstr "هل تريد حقاً ان تحذف هذا الاختبار/السؤال؟"
|
20 |
|
21 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
22 |
msgid "Title is not filled!"
|
23 |
msgstr "لم يتم تعبئة هذا!"
|
24 |
|
25 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
26 |
msgid "No question deposited!"
|
27 |
msgstr "لم يتم وضع سؤال!"
|
28 |
|
29 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
30 |
msgid "Correct answer was not selected!"
|
31 |
msgstr "لم يتم اختيار اجابة صحيحة!"
|
32 |
|
33 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
34 |
msgid "No answer deposited!"
|
35 |
msgstr "لم يتم وضع اجابة!"
|
36 |
|
37 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
38 |
msgid "No quiz description filled!"
|
39 |
msgstr "لم يتم تعبئة وصف للاختبار!"
|
40 |
|
41 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
42 |
msgid "The percent values in result text are incorrect."
|
43 |
msgstr "النسبة المئوية في نص النتائج غير صحيحة."
|
44 |
|
45 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
46 |
msgid "No number in the field \"Points\" or less than 1"
|
47 |
msgstr "لا يوجد رقم في حقل /\"النقاط/\" أو أقل من 1"
|
48 |
|
49 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
50 |
msgid "No quiz selected"
|
51 |
msgstr "لم يتم اختيار اختبار"
|
52 |
|
53 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
54 |
msgid "Do you really want to reset the statistic?"
|
55 |
msgstr ""
|
56 |
|
@@ -131,103 +131,107 @@ msgstr "لم يتم رفع الملف"
|
|
131 |
msgid "File have wrong format"
|
132 |
msgstr "صيغة الملف خاطئة"
|
133 |
|
134 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
135 |
msgid "Start quiz"
|
136 |
msgstr "بدأ الاختبار"
|
137 |
|
138 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
139 |
msgid ""
|
140 |
"You have already completed the quiz before. Hence you can not start it again."
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
144 |
#: lib/view/WpProQuiz_View_Statistics.php:58
|
145 |
msgid "Results"
|
146 |
msgstr "النتائج"
|
147 |
|
148 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
149 |
#, php-format
|
150 |
msgid "%s of %s questions answered correctly"
|
151 |
msgstr "تم اجابة %s من %s اسئلة بشكل صحيح"
|
152 |
|
153 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
154 |
msgid "Your time: <span></span>"
|
155 |
msgstr "وقتك: <span></span>"
|
156 |
|
157 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
158 |
msgid "Time has elapsed"
|
159 |
msgstr "مضى من الوقت"
|
160 |
|
161 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
162 |
msgid ""
|
163 |
"You have reached <span></span> of <span></span> points, (<span></span>%)"
|
164 |
msgstr "لقد وصلت الي <span></span> من <span></span> لنقاط, (<span></span>%)"
|
165 |
|
166 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
167 |
msgid "Restart quiz"
|
168 |
msgstr "اعادة الاختبار"
|
169 |
|
170 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
171 |
msgid "View questions"
|
172 |
msgstr "استعراض الاسئلة"
|
173 |
|
174 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
175 |
#: lib/view/WpProQuiz_View_QuizEdit.php:132
|
176 |
#: lib/view/WpProQuiz_View_QuizEdit.php:137
|
177 |
msgid "Time limit"
|
178 |
msgstr "الوقت المحدد"
|
179 |
|
180 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
181 |
#, php-format
|
182 |
msgid "Question %s of %s"
|
183 |
msgstr "اسئلة %s من %s "
|
184 |
|
185 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
186 |
-
#, php-format
|
187 |
-
msgid "%d points"
|
188 |
-
msgstr "%d درجات"
|
189 |
-
|
190 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:130
|
191 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:35
|
192 |
#: lib/view/WpProQuiz_View_Statistics.php:53
|
193 |
msgid "Question"
|
194 |
msgstr "اسئلة"
|
195 |
|
196 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
|
|
|
|
|
|
|
|
|
|
197 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:235
|
198 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:273
|
199 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:308
|
200 |
msgid "Sort elements"
|
201 |
msgstr "ترتيب العناصر"
|
202 |
|
203 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
204 |
#: lib/view/WpProQuiz_View_Statistics.php:55
|
205 |
msgid "Correct"
|
206 |
msgstr "صحيح"
|
207 |
|
208 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
209 |
#: lib/view/WpProQuiz_View_Statistics.php:56
|
210 |
msgid "Incorrect"
|
211 |
msgstr "خطأ"
|
212 |
|
213 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
214 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
215 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:71
|
216 |
msgid "Hint"
|
217 |
msgstr "تلميح"
|
218 |
|
219 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
220 |
msgid "Check"
|
221 |
msgstr "التحقق"
|
222 |
|
223 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
224 |
msgid "Back"
|
225 |
msgstr "العودة"
|
226 |
|
227 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
228 |
msgid "Next exercise"
|
229 |
msgstr "التمرين التالي"
|
230 |
|
|
|
|
|
|
|
|
|
231 |
#: lib/view/WpProQuiz_View_GobalSettings.php:7
|
232 |
msgid "to activate"
|
233 |
msgstr ""
|
@@ -238,7 +242,7 @@ msgstr ""
|
|
238 |
|
239 |
#: lib/view/WpProQuiz_View_GobalSettings.php:14
|
240 |
#: lib/view/WpProQuiz_View_GobalSettings.php:25
|
241 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
242 |
msgid "Settings in case of problems"
|
243 |
msgstr ""
|
244 |
|
@@ -257,6 +261,7 @@ msgstr ""
|
|
257 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:18
|
258 |
#: lib/view/WpProQuiz_View_QuizEdit.php:8
|
259 |
#: lib/view/WpProQuiz_View_Statistics.php:18
|
|
|
260 |
msgid "back to overview"
|
261 |
msgstr "العودة للرئيسية"
|
262 |
|
@@ -274,9 +279,11 @@ msgstr ""
|
|
274 |
#: lib/view/WpProQuiz_View_QuizEdit.php:109
|
275 |
#: lib/view/WpProQuiz_View_QuizEdit.php:125
|
276 |
#: lib/view/WpProQuiz_View_QuizEdit.php:159
|
277 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
278 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
279 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
|
|
|
|
280 |
msgid "Activate"
|
281 |
msgstr ""
|
282 |
|
@@ -347,13 +354,13 @@ msgstr ""
|
|
347 |
|
348 |
#: lib/view/WpProQuiz_View_GobalSettings.php:107
|
349 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:353
|
350 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
351 |
msgid "Save"
|
352 |
msgstr "حفظ"
|
353 |
|
354 |
#: lib/view/WpProQuiz_View_Import.php:21
|
355 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
356 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
357 |
msgid "Import"
|
358 |
msgstr "استيراد"
|
359 |
|
@@ -374,12 +381,12 @@ msgid "Quiz name"
|
|
374 |
msgstr "اسم الاختبار"
|
375 |
|
376 |
#: lib/view/WpProQuiz_View_Import.php:44
|
377 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
378 |
msgid "Questions"
|
379 |
msgstr "اسئلة"
|
380 |
|
381 |
#: lib/view/WpProQuiz_View_Import.php:67
|
382 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
383 |
msgid "Start import"
|
384 |
msgstr "ابدأ الاستيراد"
|
385 |
|
@@ -391,7 +398,7 @@ msgstr "العنوان"
|
|
391 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:43
|
392 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:60
|
393 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:71
|
394 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
395 |
msgid "(optional)"
|
396 |
msgstr "(اختيار)"
|
397 |
|
@@ -413,7 +420,7 @@ msgstr "درجات"
|
|
413 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:35
|
414 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:123
|
415 |
#: lib/view/WpProQuiz_View_QuizEdit.php:12
|
416 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
417 |
msgid "(required)"
|
418 |
msgstr "(مطلوب)"
|
419 |
|
@@ -584,22 +591,22 @@ msgid "Questions sorted"
|
|
584 |
msgstr "ترتيب الاسئلة"
|
585 |
|
586 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:23
|
587 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
588 |
msgid "Name"
|
589 |
msgstr "الاسم"
|
590 |
|
591 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:24
|
592 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
593 |
msgid "Action"
|
594 |
msgstr "الحدث"
|
595 |
|
596 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:36
|
597 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
598 |
msgid "Edit"
|
599 |
msgstr "تحرير"
|
600 |
|
601 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:37
|
602 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
603 |
msgid "Delete"
|
604 |
msgstr "حذف"
|
605 |
|
@@ -698,35 +705,68 @@ msgstr "0 = بدون وقت محدد"
|
|
698 |
|
699 |
#: lib/view/WpProQuiz_View_QuizEdit.php:150
|
700 |
#: lib/view/WpProQuiz_View_QuizEdit.php:155
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
701 |
msgid "Check -> continue"
|
702 |
msgstr "فحص->استكمال"
|
703 |
|
704 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
|
|
705 |
msgid ""
|
706 |
-
"
|
707 |
-
"displayed at the end."
|
|
|
708 |
msgstr "عرض\"صواب أو خطأ\" بعد السؤال. وإلا يتم عرض الحلول في نهاية المطاف."
|
709 |
|
710 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
711 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
712 |
msgid "Back button"
|
713 |
msgstr "زر العودة"
|
714 |
|
715 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
|
|
716 |
msgid ""
|
717 |
-
"
|
718 |
-
"
|
719 |
msgstr ""
|
720 |
"السماح لاستخدام زر العودة في سؤال. (سيتم تجاهل الخيار إذا\"تم تأشير زر -> "
|
721 |
"متابعة \" مستخدماً)"
|
722 |
|
723 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
724 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
725 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
726 |
msgid "Statistics"
|
727 |
msgstr "احصائيات"
|
728 |
|
729 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
730 |
msgid ""
|
731 |
"Statistics about right or wrong answers. Statistics will be saved by "
|
732 |
"completed quiz, not after every question. The statistics is only visible "
|
@@ -736,16 +776,16 @@ msgstr ""
|
|
736 |
"الاختبار، وليس بعد كل سؤال. الإحصاءات تظهر فقط خلال قائمة الإدارة. "
|
737 |
"(الإحصاءات الداخلية)"
|
738 |
|
739 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
740 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
741 |
msgid "Statistics IP-lock"
|
742 |
msgstr "احصائيات قفل-اي بي"
|
743 |
|
744 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
745 |
msgid "in minutes (recommended 1440 minutes = 1 day)"
|
746 |
msgstr "بالدقائق (مستحسن 1440 دقيقة = 1 يوم)"
|
747 |
|
748 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
749 |
msgid ""
|
750 |
"Protect the statistics from spam. Result will only be saved every X minutes "
|
751 |
"from same IP. (0 = deactivated)"
|
@@ -753,87 +793,87 @@ msgstr ""
|
|
753 |
"حماية الإحصاءات من البريد المزعج. النتائج سوف تحفظ كل * دقيقة من نفي الاي "
|
754 |
"بي. (0= غير مفعل)"
|
755 |
|
756 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
757 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
758 |
msgid "Execute quiz only once"
|
759 |
msgstr ""
|
760 |
|
761 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
762 |
msgid ""
|
763 |
"If you activate this option, the user can complete the quiz only once. "
|
764 |
"Afterwards the quiz is blocked for this user."
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
768 |
msgid "This option applies to:"
|
769 |
msgstr ""
|
770 |
|
771 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
772 |
msgid "all users"
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
776 |
msgid "registered useres only"
|
777 |
msgstr ""
|
778 |
|
779 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
780 |
msgid "anonymous users only"
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
784 |
msgid "user identification by cookie"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
788 |
msgid ""
|
789 |
"If you activate this option, a cookie is set additionally for unregistrated "
|
790 |
"(anonymous) users. This ensures a longer assignment of the user than the "
|
791 |
"simple assignment by the IP address."
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
795 |
msgid "Reset the user identification"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
799 |
msgid "User identification has been reset."
|
800 |
msgstr ""
|
801 |
|
802 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
803 |
msgid "Resets user identification for all users."
|
804 |
msgstr ""
|
805 |
|
806 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
807 |
msgid "Quiz description"
|
808 |
msgstr "وصف الاختبار"
|
809 |
|
810 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
811 |
msgid "This text will be displayed before start of the quiz."
|
812 |
msgstr "سيتم عرض هذا النص قبل بدء الاختبار."
|
813 |
|
814 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
815 |
msgid "Results text"
|
816 |
msgstr "نص النتائج"
|
817 |
|
818 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
819 |
msgid ""
|
820 |
"This text will be displayed at the end of the quiz (in results). (this text "
|
821 |
"is optional)"
|
822 |
msgstr "سيتم عرض هذا النص في نهاية الاختبار (في النتائج). (هذا النص اختياري)"
|
823 |
|
824 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
825 |
msgid "Activate graduation"
|
826 |
msgstr "تفعيل التقييم"
|
827 |
|
828 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
829 |
msgid "Hint:"
|
830 |
msgstr "تلميح:"
|
831 |
|
832 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
833 |
msgid "Maximal 15 levels"
|
834 |
msgstr "اقصى حد 15 مستوى"
|
835 |
|
836 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
837 |
#, php-format
|
838 |
msgid ""
|
839 |
"Percentages refer to the total score of the quiz. (Current total %d points "
|
@@ -842,26 +882,26 @@ msgstr ""
|
|
842 |
"النسبة المئوية تشير الي الدرجة الكلية للأختبار.( المجموع الحالي %d درجة في "
|
843 |
"%d سؤال"
|
844 |
|
845 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
846 |
msgid "Values can also be mixed up"
|
847 |
msgstr "يمكن لخبطة القيم"
|
848 |
|
849 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
850 |
msgid "10,15% or 10.15% allowed (max. two digits after the decimal point)"
|
851 |
msgstr "10.15% او 10.15% مسموح به (اقصى حد هو رقمين بعد النسبة المئوية)"
|
852 |
|
853 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
854 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
855 |
msgid "from:"
|
856 |
msgstr "من:"
|
857 |
|
858 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
859 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
860 |
msgid "percent"
|
861 |
msgstr "النسبة المئوية"
|
862 |
|
863 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
864 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
865 |
#, php-format
|
866 |
msgid ""
|
867 |
"(Will be displayed, when result-percent is >= <span class=\"resultProzent\">"
|
@@ -870,12 +910,12 @@ msgstr ""
|
|
870 |
"(سوف يتم عرضه، عندما تكون نسبة النتيجة>= <span class=\"resultProzent\">%s</"
|
871 |
"span>%%)"
|
872 |
|
873 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
874 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
875 |
msgid "Delete graduation"
|
876 |
msgstr "حذف التقييم"
|
877 |
|
878 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
879 |
msgid "Add graduation"
|
880 |
msgstr "اضافة تقييم"
|
881 |
|
@@ -891,42 +931,46 @@ msgstr "في حالة وجود مشاكل"
|
|
891 |
msgid "If quiz doesn't work in front-end, please try following:"
|
892 |
msgstr "إذا الاختبار لا يعمل في الواجهة الأمامية، يرجى تجربة التالي:"
|
893 |
|
894 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
|
|
|
|
|
|
|
|
895 |
msgid "ID"
|
896 |
msgstr "الرقم"
|
897 |
|
898 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
899 |
msgid "Shortcode"
|
900 |
msgstr "الكود"
|
901 |
|
902 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
903 |
msgid "Preview"
|
904 |
msgstr "استعراض"
|
905 |
|
906 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
907 |
msgid "Add quiz"
|
908 |
msgstr "اضف اختبار"
|
909 |
|
910 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
911 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
912 |
msgid "Export"
|
913 |
msgstr "تصدير"
|
914 |
|
915 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
916 |
msgid ""
|
917 |
"Choose the respective question, which you would like to export and press on "
|
918 |
"\"Start export\""
|
919 |
msgstr "اختار سؤال، الذي تود أن تقوم بتصديره و اضغط على \"ابدأ التصدير\""
|
920 |
|
921 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
922 |
msgid "Start export"
|
923 |
msgstr "ابدأ التصدير"
|
924 |
|
925 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
926 |
msgid "Import only *.wpq files from known and trusted sources."
|
927 |
msgstr "استورد ملفات *.wpq فقط من مصدر معروف او موثوق به"
|
928 |
|
929 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
930 |
#, php-format
|
931 |
msgid "Maximal %d MiB"
|
932 |
msgstr "الحد الاقصى من %d MIB"
|
@@ -980,6 +1024,10 @@ msgstr ""
|
|
980 |
msgid "Reset entire statistic"
|
981 |
msgstr ""
|
982 |
|
|
|
|
|
|
|
|
|
983 |
#~ msgid "One question is one point"
|
984 |
#~ msgstr "سؤال واحد يعني درجة واحدة"
|
985 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Wp-Pro-Quiz\n"
|
4 |
+
"POT-Creation-Date: 2012-12-26 17:50+0100\n"
|
5 |
+
"PO-Revision-Date: 2012-12-26 17:50+0100\n"
|
6 |
"Last-Translator: Julius Fischer <julius.f@gmx.net>\n"
|
7 |
"Language-Team: abuhassan <sajja2002@hotmail.com>\n"
|
8 |
"Language: Arabic\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:91
|
18 |
msgid "Do you really want to delete the quiz/question?"
|
19 |
msgstr "هل تريد حقاً ان تحذف هذا الاختبار/السؤال؟"
|
20 |
|
21 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:92
|
22 |
msgid "Title is not filled!"
|
23 |
msgstr "لم يتم تعبئة هذا!"
|
24 |
|
25 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:93
|
26 |
msgid "No question deposited!"
|
27 |
msgstr "لم يتم وضع سؤال!"
|
28 |
|
29 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:94
|
30 |
msgid "Correct answer was not selected!"
|
31 |
msgstr "لم يتم اختيار اجابة صحيحة!"
|
32 |
|
33 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:95
|
34 |
msgid "No answer deposited!"
|
35 |
msgstr "لم يتم وضع اجابة!"
|
36 |
|
37 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:96
|
38 |
msgid "No quiz description filled!"
|
39 |
msgstr "لم يتم تعبئة وصف للاختبار!"
|
40 |
|
41 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:97
|
42 |
msgid "The percent values in result text are incorrect."
|
43 |
msgstr "النسبة المئوية في نص النتائج غير صحيحة."
|
44 |
|
45 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:98
|
46 |
msgid "No number in the field \"Points\" or less than 1"
|
47 |
msgstr "لا يوجد رقم في حقل /\"النقاط/\" أو أقل من 1"
|
48 |
|
49 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:99
|
50 |
msgid "No quiz selected"
|
51 |
msgstr "لم يتم اختيار اختبار"
|
52 |
|
53 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:100
|
54 |
msgid "Do you really want to reset the statistic?"
|
55 |
msgstr ""
|
56 |
|
131 |
msgid "File have wrong format"
|
132 |
msgstr "صيغة الملف خاطئة"
|
133 |
|
134 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:80
|
135 |
msgid "Start quiz"
|
136 |
msgstr "بدأ الاختبار"
|
137 |
|
138 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:85
|
139 |
msgid ""
|
140 |
"You have already completed the quiz before. Hence you can not start it again."
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:89
|
144 |
#: lib/view/WpProQuiz_View_Statistics.php:58
|
145 |
msgid "Results"
|
146 |
msgstr "النتائج"
|
147 |
|
148 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:91
|
149 |
#, php-format
|
150 |
msgid "%s of %s questions answered correctly"
|
151 |
msgstr "تم اجابة %s من %s اسئلة بشكل صحيح"
|
152 |
|
153 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:94
|
154 |
msgid "Your time: <span></span>"
|
155 |
msgstr "وقتك: <span></span>"
|
156 |
|
157 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:97
|
158 |
msgid "Time has elapsed"
|
159 |
msgstr "مضى من الوقت"
|
160 |
|
161 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:100
|
162 |
msgid ""
|
163 |
"You have reached <span></span> of <span></span> points, (<span></span>%)"
|
164 |
msgstr "لقد وصلت الي <span></span> من <span></span> لنقاط, (<span></span>%)"
|
165 |
|
166 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:115
|
167 |
msgid "Restart quiz"
|
168 |
msgstr "اعادة الاختبار"
|
169 |
|
170 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:117
|
171 |
msgid "View questions"
|
172 |
msgstr "استعراض الاسئلة"
|
173 |
|
174 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:122
|
175 |
#: lib/view/WpProQuiz_View_QuizEdit.php:132
|
176 |
#: lib/view/WpProQuiz_View_QuizEdit.php:137
|
177 |
msgid "Time limit"
|
178 |
msgstr "الوقت المحدد"
|
179 |
|
180 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:135
|
181 |
#, php-format
|
182 |
msgid "Question %s of %s"
|
183 |
msgstr "اسئلة %s من %s "
|
184 |
|
185 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:138
|
|
|
|
|
|
|
|
|
|
|
186 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:35
|
187 |
#: lib/view/WpProQuiz_View_Statistics.php:53
|
188 |
msgid "Question"
|
189 |
msgstr "اسئلة"
|
190 |
|
191 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:142
|
192 |
+
#, php-format
|
193 |
+
msgid "%d points"
|
194 |
+
msgstr "%d درجات"
|
195 |
+
|
196 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:152
|
197 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:235
|
198 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:273
|
199 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:308
|
200 |
msgid "Sort elements"
|
201 |
msgstr "ترتيب العناصر"
|
202 |
|
203 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:232
|
204 |
#: lib/view/WpProQuiz_View_Statistics.php:55
|
205 |
msgid "Correct"
|
206 |
msgstr "صحيح"
|
207 |
|
208 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:240
|
209 |
#: lib/view/WpProQuiz_View_Statistics.php:56
|
210 |
msgid "Incorrect"
|
211 |
msgstr "خطأ"
|
212 |
|
213 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:256
|
214 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:266
|
215 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:71
|
216 |
msgid "Hint"
|
217 |
msgstr "تلميح"
|
218 |
|
219 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:263
|
220 |
msgid "Check"
|
221 |
msgstr "التحقق"
|
222 |
|
223 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:264
|
224 |
msgid "Back"
|
225 |
msgstr "العودة"
|
226 |
|
227 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:268
|
228 |
msgid "Next exercise"
|
229 |
msgstr "التمرين التالي"
|
230 |
|
231 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:281
|
232 |
+
msgid "Finish quiz"
|
233 |
+
msgstr ""
|
234 |
+
|
235 |
#: lib/view/WpProQuiz_View_GobalSettings.php:7
|
236 |
msgid "to activate"
|
237 |
msgstr ""
|
242 |
|
243 |
#: lib/view/WpProQuiz_View_GobalSettings.php:14
|
244 |
#: lib/view/WpProQuiz_View_GobalSettings.php:25
|
245 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:47
|
246 |
msgid "Settings in case of problems"
|
247 |
msgstr ""
|
248 |
|
261 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:18
|
262 |
#: lib/view/WpProQuiz_View_QuizEdit.php:8
|
263 |
#: lib/view/WpProQuiz_View_Statistics.php:18
|
264 |
+
#: lib/view/WpProQuiz_View_StyleManager.php:11
|
265 |
msgid "back to overview"
|
266 |
msgstr "العودة للرئيسية"
|
267 |
|
279 |
#: lib/view/WpProQuiz_View_QuizEdit.php:109
|
280 |
#: lib/view/WpProQuiz_View_QuizEdit.php:125
|
281 |
#: lib/view/WpProQuiz_View_QuizEdit.php:159
|
282 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:184
|
283 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:209
|
284 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:234
|
285 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:259
|
286 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:299
|
287 |
msgid "Activate"
|
288 |
msgstr ""
|
289 |
|
354 |
|
355 |
#: lib/view/WpProQuiz_View_GobalSettings.php:107
|
356 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:353
|
357 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:430
|
358 |
msgid "Save"
|
359 |
msgstr "حفظ"
|
360 |
|
361 |
#: lib/view/WpProQuiz_View_Import.php:21
|
362 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:81
|
363 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:96
|
364 |
msgid "Import"
|
365 |
msgstr "استيراد"
|
366 |
|
381 |
msgstr "اسم الاختبار"
|
382 |
|
383 |
#: lib/view/WpProQuiz_View_Import.php:44
|
384 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:69
|
385 |
msgid "Questions"
|
386 |
msgstr "اسئلة"
|
387 |
|
388 |
#: lib/view/WpProQuiz_View_Import.php:67
|
389 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:107
|
390 |
msgid "Start import"
|
391 |
msgstr "ابدأ الاستيراد"
|
392 |
|
398 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:43
|
399 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:60
|
400 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:71
|
401 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:362
|
402 |
msgid "(optional)"
|
403 |
msgstr "(اختيار)"
|
404 |
|
420 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:35
|
421 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:123
|
422 |
#: lib/view/WpProQuiz_View_QuizEdit.php:12
|
423 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:351
|
424 |
msgid "(required)"
|
425 |
msgstr "(مطلوب)"
|
426 |
|
591 |
msgstr "ترتيب الاسئلة"
|
592 |
|
593 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:23
|
594 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:55
|
595 |
msgid "Name"
|
596 |
msgstr "الاسم"
|
597 |
|
598 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:24
|
599 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:56
|
600 |
msgid "Action"
|
601 |
msgstr "الحدث"
|
602 |
|
603 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:36
|
604 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:70
|
605 |
msgid "Edit"
|
606 |
msgstr "تحرير"
|
607 |
|
608 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:37
|
609 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:71
|
610 |
msgid "Delete"
|
611 |
msgstr "حذف"
|
612 |
|
705 |
|
706 |
#: lib/view/WpProQuiz_View_QuizEdit.php:150
|
707 |
#: lib/view/WpProQuiz_View_QuizEdit.php:155
|
708 |
+
msgid "Number answers"
|
709 |
+
msgstr ""
|
710 |
+
|
711 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:162
|
712 |
+
msgid ""
|
713 |
+
"If this option is activated, all answers are numbered (only single and "
|
714 |
+
"multiple choice)"
|
715 |
+
msgstr ""
|
716 |
+
|
717 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:165
|
718 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:190
|
719 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:215
|
720 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:240
|
721 |
+
msgid "Demo"
|
722 |
+
msgstr ""
|
723 |
+
|
724 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:175
|
725 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:180
|
726 |
+
msgid "Questions below each other"
|
727 |
+
msgstr ""
|
728 |
+
|
729 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:187
|
730 |
+
msgid ""
|
731 |
+
"If this option is activated, all answers are displayed below each other, i."
|
732 |
+
"e. all questions are on a single page. Otherwise all questions are displayed "
|
733 |
+
"one after the other."
|
734 |
+
msgstr ""
|
735 |
+
|
736 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:200
|
737 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:205
|
738 |
msgid "Check -> continue"
|
739 |
msgstr "فحص->استكمال"
|
740 |
|
741 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:212
|
742 |
+
#, fuzzy
|
743 |
msgid ""
|
744 |
+
"Shows \"right or wrong\" after each question. Otherwise the solutions will "
|
745 |
+
"be displayed at the end. (Option will be ignored if \"questions below each "
|
746 |
+
"other\" was used)"
|
747 |
msgstr "عرض\"صواب أو خطأ\" بعد السؤال. وإلا يتم عرض الحلول في نهاية المطاف."
|
748 |
|
749 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:225
|
750 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:230
|
751 |
msgid "Back button"
|
752 |
msgstr "زر العودة"
|
753 |
|
754 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:237
|
755 |
+
#, fuzzy
|
756 |
msgid ""
|
757 |
+
"Allows to use the back button in a question. (Option will be ignored if "
|
758 |
+
"\"Check -> Continue\" or \"questions below each other\" was used)"
|
759 |
msgstr ""
|
760 |
"السماح لاستخدام زر العودة في سؤال. (سيتم تجاهل الخيار إذا\"تم تأشير زر -> "
|
761 |
"متابعة \" مستخدماً)"
|
762 |
|
763 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:250
|
764 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:255
|
765 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:73
|
766 |
msgid "Statistics"
|
767 |
msgstr "احصائيات"
|
768 |
|
769 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:262
|
770 |
msgid ""
|
771 |
"Statistics about right or wrong answers. Statistics will be saved by "
|
772 |
"completed quiz, not after every question. The statistics is only visible "
|
776 |
"الاختبار، وليس بعد كل سؤال. الإحصاءات تظهر فقط خلال قائمة الإدارة. "
|
777 |
"(الإحصاءات الداخلية)"
|
778 |
|
779 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:269
|
780 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:274
|
781 |
msgid "Statistics IP-lock"
|
782 |
msgstr "احصائيات قفل-اي بي"
|
783 |
|
784 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:278
|
785 |
msgid "in minutes (recommended 1440 minutes = 1 day)"
|
786 |
msgstr "بالدقائق (مستحسن 1440 دقيقة = 1 يوم)"
|
787 |
|
788 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:281
|
789 |
msgid ""
|
790 |
"Protect the statistics from spam. Result will only be saved every X minutes "
|
791 |
"from same IP. (0 = deactivated)"
|
793 |
"حماية الإحصاءات من البريد المزعج. النتائج سوف تحفظ كل * دقيقة من نفي الاي "
|
794 |
"بي. (0= غير مفعل)"
|
795 |
|
796 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:288
|
797 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:294
|
798 |
msgid "Execute quiz only once"
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:302
|
802 |
msgid ""
|
803 |
"If you activate this option, the user can complete the quiz only once. "
|
804 |
"Afterwards the quiz is blocked for this user."
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:306
|
808 |
msgid "This option applies to:"
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:314
|
812 |
msgid "all users"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:318
|
816 |
msgid "registered useres only"
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:322
|
820 |
msgid "anonymous users only"
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:328
|
824 |
msgid "user identification by cookie"
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:331
|
828 |
msgid ""
|
829 |
"If you activate this option, a cookie is set additionally for unregistrated "
|
830 |
"(anonymous) users. This ensures a longer assignment of the user than the "
|
831 |
"simple assignment by the IP address."
|
832 |
msgstr ""
|
833 |
|
834 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:336
|
835 |
msgid "Reset the user identification"
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:337
|
839 |
msgid "User identification has been reset."
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:339
|
843 |
msgid "Resets user identification for all users."
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:351
|
847 |
msgid "Quiz description"
|
848 |
msgstr "وصف الاختبار"
|
849 |
|
850 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:354
|
851 |
msgid "This text will be displayed before start of the quiz."
|
852 |
msgstr "سيتم عرض هذا النص قبل بدء الاختبار."
|
853 |
|
854 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:362
|
855 |
msgid "Results text"
|
856 |
msgstr "نص النتائج"
|
857 |
|
858 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:365
|
859 |
msgid ""
|
860 |
"This text will be displayed at the end of the quiz (in results). (this text "
|
861 |
"is optional)"
|
862 |
msgstr "سيتم عرض هذا النص في نهاية الاختبار (في النتائج). (هذا النص اختياري)"
|
863 |
|
864 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:369
|
865 |
msgid "Activate graduation"
|
866 |
msgstr "تفعيل التقييم"
|
867 |
|
868 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:375
|
869 |
msgid "Hint:"
|
870 |
msgstr "تلميح:"
|
871 |
|
872 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:377
|
873 |
msgid "Maximal 15 levels"
|
874 |
msgstr "اقصى حد 15 مستوى"
|
875 |
|
876 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:379
|
877 |
#, php-format
|
878 |
msgid ""
|
879 |
"Percentages refer to the total score of the quiz. (Current total %d points "
|
882 |
"النسبة المئوية تشير الي الدرجة الكلية للأختبار.( المجموع الحالي %d درجة في "
|
883 |
"%d سؤال"
|
884 |
|
885 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:382
|
886 |
msgid "Values can also be mixed up"
|
887 |
msgstr "يمكن لخبطة القيم"
|
888 |
|
889 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:383
|
890 |
msgid "10,15% or 10.15% allowed (max. two digits after the decimal point)"
|
891 |
msgstr "10.15% او 10.15% مسموح به (اقصى حد هو رقمين بعد النسبة المئوية)"
|
892 |
|
893 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:399
|
894 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:410
|
895 |
msgid "from:"
|
896 |
msgstr "من:"
|
897 |
|
898 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:399
|
899 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:410
|
900 |
msgid "percent"
|
901 |
msgstr "النسبة المئوية"
|
902 |
|
903 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:399
|
904 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:410
|
905 |
#, php-format
|
906 |
msgid ""
|
907 |
"(Will be displayed, when result-percent is >= <span class=\"resultProzent\">"
|
910 |
"(سوف يتم عرضه، عندما تكون نسبة النتيجة>= <span class=\"resultProzent\">%s</"
|
911 |
"span>%%)"
|
912 |
|
913 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:400
|
914 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:411
|
915 |
msgid "Delete graduation"
|
916 |
msgstr "حذف التقييم"
|
917 |
|
918 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:418
|
919 |
msgid "Add graduation"
|
920 |
msgstr "اضافة تقييم"
|
921 |
|
931 |
msgid "If quiz doesn't work in front-end, please try following:"
|
932 |
msgstr "إذا الاختبار لا يعمل في الواجهة الأمامية، يرجى تجربة التالي:"
|
933 |
|
934 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:46
|
935 |
+
msgid "Style Manager"
|
936 |
+
msgstr ""
|
937 |
+
|
938 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:53
|
939 |
msgid "ID"
|
940 |
msgstr "الرقم"
|
941 |
|
942 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:54
|
943 |
msgid "Shortcode"
|
944 |
msgstr "الكود"
|
945 |
|
946 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:72
|
947 |
msgid "Preview"
|
948 |
msgstr "استعراض"
|
949 |
|
950 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:80
|
951 |
msgid "Add quiz"
|
952 |
msgstr "اضف اختبار"
|
953 |
|
954 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:82
|
955 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:86
|
956 |
msgid "Export"
|
957 |
msgstr "تصدير"
|
958 |
|
959 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:87
|
960 |
msgid ""
|
961 |
"Choose the respective question, which you would like to export and press on "
|
962 |
"\"Start export\""
|
963 |
msgstr "اختار سؤال، الذي تود أن تقوم بتصديره و اضغط على \"ابدأ التصدير\""
|
964 |
|
965 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:91
|
966 |
msgid "Start export"
|
967 |
msgstr "ابدأ التصدير"
|
968 |
|
969 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:97
|
970 |
msgid "Import only *.wpq files from known and trusted sources."
|
971 |
msgstr "استورد ملفات *.wpq فقط من مصدر معروف او موثوق به"
|
972 |
|
973 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:105
|
974 |
#, php-format
|
975 |
msgid "Maximal %d MiB"
|
976 |
msgstr "الحد الاقصى من %d MIB"
|
1024 |
msgid "Reset entire statistic"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
+
#: lib/view/WpProQuiz_View_StyleManager.php:15
|
1028 |
+
msgid "Front"
|
1029 |
+
msgstr ""
|
1030 |
+
|
1031 |
#~ msgid "One question is one point"
|
1032 |
#~ msgstr "سؤال واحد يعني درجة واحدة"
|
1033 |
|
languages/wp-pro-quiz-de_DE.mo
CHANGED
Binary file
|
languages/wp-pro-quiz-de_DE.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Wp-Pro-Quiz\n"
|
4 |
-
"POT-Creation-Date: 2012-12-
|
5 |
-
"PO-Revision-Date: 2012-12-
|
6 |
"Last-Translator: Julius Fischer <julius.f@gmx.net>\n"
|
7 |
"Language-Team: Julius Fischer\n"
|
8 |
"Language: German\n"
|
@@ -14,43 +14,43 @@ msgstr ""
|
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
18 |
msgid "Do you really want to delete the quiz/question?"
|
19 |
msgstr "Wollen Sie das Quiz/Frage wirklich löschen?"
|
20 |
|
21 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
22 |
msgid "Title is not filled!"
|
23 |
msgstr "Titel wurde nicht ausgefüllt!"
|
24 |
|
25 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
26 |
msgid "No question deposited!"
|
27 |
msgstr "Keine Frage hinterlegt!"
|
28 |
|
29 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
30 |
msgid "Correct answer was not selected!"
|
31 |
msgstr "Keine korrekte Antwort markiert!"
|
32 |
|
33 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
34 |
msgid "No answer deposited!"
|
35 |
msgstr "Keine Antwort hinterlegt!"
|
36 |
|
37 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
38 |
msgid "No quiz description filled!"
|
39 |
msgstr "Quiz-Beschreibung nicht ausgefüllt!"
|
40 |
|
41 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
42 |
msgid "The percent values in result text are incorrect."
|
43 |
msgstr "Die Prozentwerte im Ergebnistext stimmen nicht."
|
44 |
|
45 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
46 |
msgid "No number in the field \"Points\" or less than 1"
|
47 |
msgstr "Keine Zahl im Feld \"Punkte\" oder kleiner 1"
|
48 |
|
49 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
50 |
msgid "No quiz selected"
|
51 |
msgstr "Kein Quiz ausgewählt"
|
52 |
|
53 |
-
#: lib/controller/WpProQuiz_Controller_Admin.php:
|
54 |
msgid "Do you really want to reset the statistic?"
|
55 |
msgstr "Soll die Statistik wirklich zurückgesetzt werden?"
|
56 |
|
@@ -131,106 +131,110 @@ msgstr "Datei wurde nicht hochgeladen"
|
|
131 |
msgid "File have wrong format"
|
132 |
msgstr "Datei hat falsches Format"
|
133 |
|
134 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
135 |
msgid "Start quiz"
|
136 |
msgstr "Quiz starten"
|
137 |
|
138 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
139 |
msgid ""
|
140 |
"You have already completed the quiz before. Hence you can not start it again."
|
141 |
msgstr ""
|
142 |
"Sie haben das Quiz schon einmal absolviert. Daher können sie es nicht erneut "
|
143 |
"starten."
|
144 |
|
145 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
146 |
#: lib/view/WpProQuiz_View_Statistics.php:58
|
147 |
msgid "Results"
|
148 |
msgstr "Ergebnis"
|
149 |
|
150 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
151 |
#, php-format
|
152 |
msgid "%s of %s questions answered correctly"
|
153 |
msgstr "%s von %s Frage korrekt beantwortet"
|
154 |
|
155 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
156 |
msgid "Your time: <span></span>"
|
157 |
msgstr "Ihre Zeit: <span></span>"
|
158 |
|
159 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
160 |
msgid "Time has elapsed"
|
161 |
msgstr "Zeit ist abgelaufen"
|
162 |
|
163 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
164 |
msgid ""
|
165 |
"You have reached <span></span> of <span></span> points, (<span></span>%)"
|
166 |
msgstr ""
|
167 |
"Sie haben <span></span> von <span></span> Punkten erreicht (<span></span>%)"
|
168 |
|
169 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
170 |
msgid "Restart quiz"
|
171 |
msgstr "Quiz erneut starten"
|
172 |
|
173 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
174 |
msgid "View questions"
|
175 |
msgstr "Fragen ansehen"
|
176 |
|
177 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
178 |
#: lib/view/WpProQuiz_View_QuizEdit.php:132
|
179 |
#: lib/view/WpProQuiz_View_QuizEdit.php:137
|
180 |
msgid "Time limit"
|
181 |
msgstr "Zeitlimit"
|
182 |
|
183 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
184 |
#, php-format
|
185 |
msgid "Question %s of %s"
|
186 |
msgstr "Frage %s von %s"
|
187 |
|
188 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
189 |
-
#, php-format
|
190 |
-
msgid "%d points"
|
191 |
-
msgstr "%d Punkte"
|
192 |
-
|
193 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:130
|
194 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:35
|
195 |
#: lib/view/WpProQuiz_View_Statistics.php:53
|
196 |
msgid "Question"
|
197 |
msgstr "Frage"
|
198 |
|
199 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
|
|
|
|
|
|
|
|
|
|
200 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:235
|
201 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:273
|
202 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:308
|
203 |
msgid "Sort elements"
|
204 |
msgstr "Sortierelemente"
|
205 |
|
206 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
207 |
#: lib/view/WpProQuiz_View_Statistics.php:55
|
208 |
msgid "Correct"
|
209 |
msgstr "Korrekt"
|
210 |
|
211 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
212 |
#: lib/view/WpProQuiz_View_Statistics.php:56
|
213 |
msgid "Incorrect"
|
214 |
msgstr "Inkorrekt"
|
215 |
|
216 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
217 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
218 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:71
|
219 |
msgid "Hint"
|
220 |
msgstr "Tipp"
|
221 |
|
222 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
223 |
msgid "Check"
|
224 |
msgstr "Prüfen"
|
225 |
|
226 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
227 |
msgid "Back"
|
228 |
msgstr "Zurück"
|
229 |
|
230 |
-
#: lib/view/WpProQuiz_View_FrontQuiz.php:
|
231 |
msgid "Next exercise"
|
232 |
msgstr "Nächste Frage"
|
233 |
|
|
|
|
|
|
|
|
|
234 |
#: lib/view/WpProQuiz_View_GobalSettings.php:7
|
235 |
msgid "to activate"
|
236 |
msgstr "zu aktiveren"
|
@@ -241,7 +245,7 @@ msgstr "nicht zu aktivieren"
|
|
241 |
|
242 |
#: lib/view/WpProQuiz_View_GobalSettings.php:14
|
243 |
#: lib/view/WpProQuiz_View_GobalSettings.php:25
|
244 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
245 |
msgid "Settings in case of problems"
|
246 |
msgstr "Einstellungen bei Problemen"
|
247 |
|
@@ -262,6 +266,7 @@ msgstr ""
|
|
262 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:18
|
263 |
#: lib/view/WpProQuiz_View_QuizEdit.php:8
|
264 |
#: lib/view/WpProQuiz_View_Statistics.php:18
|
|
|
265 |
msgid "back to overview"
|
266 |
msgstr "zurück zur Übersicht"
|
267 |
|
@@ -279,9 +284,11 @@ msgstr "Automatisch [raw] Shortcode hinzufügen"
|
|
279 |
#: lib/view/WpProQuiz_View_QuizEdit.php:109
|
280 |
#: lib/view/WpProQuiz_View_QuizEdit.php:125
|
281 |
#: lib/view/WpProQuiz_View_QuizEdit.php:159
|
282 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
283 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
284 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
|
|
|
|
285 |
msgid "Activate"
|
286 |
msgstr "Aktivieren"
|
287 |
|
@@ -364,13 +371,13 @@ msgstr ""
|
|
364 |
|
365 |
#: lib/view/WpProQuiz_View_GobalSettings.php:107
|
366 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:353
|
367 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
368 |
msgid "Save"
|
369 |
msgstr "Speichern"
|
370 |
|
371 |
#: lib/view/WpProQuiz_View_Import.php:21
|
372 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
373 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
374 |
msgid "Import"
|
375 |
msgstr "Import"
|
376 |
|
@@ -391,12 +398,12 @@ msgid "Quiz name"
|
|
391 |
msgstr "Quiz-Name"
|
392 |
|
393 |
#: lib/view/WpProQuiz_View_Import.php:44
|
394 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
395 |
msgid "Questions"
|
396 |
msgstr "Fragen"
|
397 |
|
398 |
#: lib/view/WpProQuiz_View_Import.php:67
|
399 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
400 |
msgid "Start import"
|
401 |
msgstr "Import starten"
|
402 |
|
@@ -408,7 +415,7 @@ msgstr "Titel"
|
|
408 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:43
|
409 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:60
|
410 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:71
|
411 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
412 |
msgid "(optional)"
|
413 |
msgstr "(Optional)"
|
414 |
|
@@ -430,7 +437,7 @@ msgstr "Punkte"
|
|
430 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:35
|
431 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:123
|
432 |
#: lib/view/WpProQuiz_View_QuizEdit.php:12
|
433 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
434 |
msgid "(required)"
|
435 |
msgstr "(Pflichtfeld)"
|
436 |
|
@@ -605,22 +612,22 @@ msgid "Questions sorted"
|
|
605 |
msgstr "Fragen sortiert"
|
606 |
|
607 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:23
|
608 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
609 |
msgid "Name"
|
610 |
msgstr "Name"
|
611 |
|
612 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:24
|
613 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
614 |
msgid "Action"
|
615 |
msgstr "Aktion"
|
616 |
|
617 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:36
|
618 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
619 |
msgid "Edit"
|
620 |
msgstr "Bearbeiten"
|
621 |
|
622 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:37
|
623 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
624 |
msgid "Delete"
|
625 |
msgstr "Löschen"
|
626 |
|
@@ -721,37 +728,74 @@ msgstr "0 = Kein Limit"
|
|
721 |
|
722 |
#: lib/view/WpProQuiz_View_QuizEdit.php:150
|
723 |
#: lib/view/WpProQuiz_View_QuizEdit.php:155
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
724 |
msgid "Check -> continue"
|
725 |
msgstr "Prüfen -> Weiter"
|
726 |
|
727 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
728 |
msgid ""
|
729 |
-
"
|
730 |
-
"displayed at the end."
|
|
|
731 |
msgstr ""
|
732 |
"Zeigt \"richtig oder falsch\" nach jeder Frage an. Ansonsten werden die "
|
733 |
-
"Lösungen erst am Ende angezeigt."
|
|
|
734 |
|
735 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
736 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
737 |
msgid "Back button"
|
738 |
msgstr "Zurück Button"
|
739 |
|
740 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
741 |
msgid ""
|
742 |
-
"
|
743 |
-
"
|
744 |
msgstr ""
|
745 |
"Ermöglicht das Zurückgehen einer Frage. (Option wird ignoriert bei \"Prüfen -"
|
746 |
-
"> Weiter\")"
|
747 |
|
748 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
749 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
750 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
751 |
msgid "Statistics"
|
752 |
msgstr "Statistik"
|
753 |
|
754 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
755 |
msgid ""
|
756 |
"Statistics about right or wrong answers. Statistics will be saved by "
|
757 |
"completed quiz, not after every question. The statistics is only visible "
|
@@ -761,16 +805,16 @@ msgstr ""
|
|
761 |
"vollständigen abschließen des Quiz gespeichert, nicht nach jeder Frage. Die "
|
762 |
"Statistik ist nur über das Adminmenü einsehbar (interne Statistik)"
|
763 |
|
764 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
765 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
766 |
msgid "Statistics IP-lock"
|
767 |
msgstr "Statistik IP-Sperre"
|
768 |
|
769 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
770 |
msgid "in minutes (recommended 1440 minutes = 1 day)"
|
771 |
msgstr "in Minuten (Empfohlen: 1440 Minuten = 1 Tag)"
|
772 |
|
773 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
774 |
msgid ""
|
775 |
"Protect the statistics from spam. Result will only be saved every X minutes "
|
776 |
"from same IP. (0 = deactivated)"
|
@@ -778,12 +822,12 @@ msgstr ""
|
|
778 |
"Schuetz die Statistik vor Spam. Ergebnis wird nur aller X Minuten von der "
|
779 |
"gleichen IP gespeichert. (0 = Deaktiviert)"
|
780 |
|
781 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
782 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
783 |
msgid "Execute quiz only once"
|
784 |
msgstr "Quiz nur einmal ausführen"
|
785 |
|
786 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
787 |
msgid ""
|
788 |
"If you activate this option, the user can complete the quiz only once. "
|
789 |
"Afterwards the quiz is blocked for this user."
|
@@ -791,27 +835,27 @@ msgstr ""
|
|
791 |
"Wenn diese Option aktivieren, kann ein Benutzer das Quiz nur einmal "
|
792 |
"absolvieren, danach wird das Quiz für diesen Benutzer gesperrt."
|
793 |
|
794 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
795 |
msgid "This option applies to:"
|
796 |
msgstr "Diese Option gilt für:"
|
797 |
|
798 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
799 |
msgid "all users"
|
800 |
msgstr "Alle Benutzer"
|
801 |
|
802 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
803 |
msgid "registered useres only"
|
804 |
msgstr "nur registriere Benutzer"
|
805 |
|
806 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
807 |
msgid "anonymous users only"
|
808 |
msgstr "nur anonyme Benutzer"
|
809 |
|
810 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
811 |
msgid "user identification by cookie"
|
812 |
msgstr "Benutzer-Identifikation über Cookie"
|
813 |
|
814 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
815 |
msgid ""
|
816 |
"If you activate this option, a cookie is set additionally for unregistrated "
|
817 |
"(anonymous) users. This ensures a longer assignment of the user than the "
|
@@ -821,31 +865,31 @@ msgstr ""
|
|
821 |
"Benutzer (anonyme) gesetzt. Dies gewährleistet eine längere Zuordnung des "
|
822 |
"Benutzers als nur über die IP-Adresse."
|
823 |
|
824 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
825 |
msgid "Reset the user identification"
|
826 |
msgstr "Benutzer-Identifikation zurücksetzten"
|
827 |
|
828 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
829 |
msgid "User identification has been reset."
|
830 |
msgstr "Benutzer-Identifikation wurde zurückgesetzt."
|
831 |
|
832 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
833 |
msgid "Resets user identification for all users."
|
834 |
msgstr "Setzt die Benutzer-Identifikation für alle Benutzer zurück."
|
835 |
|
836 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
837 |
msgid "Quiz description"
|
838 |
msgstr "Quiz Beschreibung"
|
839 |
|
840 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
841 |
msgid "This text will be displayed before start of the quiz."
|
842 |
msgstr "Dieser Text wird vor dem Starten des Quizes angezeigt."
|
843 |
|
844 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
845 |
msgid "Results text"
|
846 |
msgstr "Ergebnis Text"
|
847 |
|
848 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
849 |
msgid ""
|
850 |
"This text will be displayed at the end of the quiz (in results). (this text "
|
851 |
"is optional)"
|
@@ -853,19 +897,19 @@ msgstr ""
|
|
853 |
"Dieser Text wird beim Beenden (im Ergebnis) des Quizes angezeigt (Dieser "
|
854 |
"Text ist optional)"
|
855 |
|
856 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
857 |
msgid "Activate graduation"
|
858 |
msgstr "Abstufungen aktivieren"
|
859 |
|
860 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
861 |
msgid "Hint:"
|
862 |
msgstr "Hinweis:"
|
863 |
|
864 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
865 |
msgid "Maximal 15 levels"
|
866 |
msgstr "Maximal 15 Stufen"
|
867 |
|
868 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
869 |
#, php-format
|
870 |
msgid ""
|
871 |
"Percentages refer to the total score of the quiz. (Current total %d points "
|
@@ -874,26 +918,26 @@ msgstr ""
|
|
874 |
"Prozente beziehen sich auf die Gesamtpunktzahl des Quiz (Aktuell: insgesamt "
|
875 |
"%d Punkte bei %d Fragen)"
|
876 |
|
877 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
878 |
msgid "Values can also be mixed up"
|
879 |
msgstr "Werte können auch durcheinander sein"
|
880 |
|
881 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
882 |
msgid "10,15% or 10.15% allowed (max. two digits after the decimal point)"
|
883 |
msgstr "10,15% oder 10.15% erlaubt (maximal 2 Stellen nach dem Komma)"
|
884 |
|
885 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
886 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
887 |
msgid "from:"
|
888 |
msgstr "Ab:"
|
889 |
|
890 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
891 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
892 |
msgid "percent"
|
893 |
msgstr "Prozent"
|
894 |
|
895 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
896 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
897 |
#, php-format
|
898 |
msgid ""
|
899 |
"(Will be displayed, when result-percent is >= <span class=\"resultProzent\">"
|
@@ -902,12 +946,12 @@ msgstr ""
|
|
902 |
"(Wird angezeigt wenn Ergebnis-Prozent >= <span class=\"resultProzent\">%s</"
|
903 |
"span>%% ist)"
|
904 |
|
905 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
906 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
907 |
msgid "Delete graduation"
|
908 |
msgstr "Stufe löschen"
|
909 |
|
910 |
-
#: lib/view/WpProQuiz_View_QuizEdit.php:
|
911 |
msgid "Add graduation"
|
912 |
msgstr "Stufe hinzufügen"
|
913 |
|
@@ -924,28 +968,32 @@ msgid "If quiz doesn't work in front-end, please try following:"
|
|
924 |
msgstr ""
|
925 |
"Wenn das Quiz im Front-End nicht funktioniert, versucht bitte folgendes:"
|
926 |
|
927 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
|
|
|
|
|
|
|
|
928 |
msgid "ID"
|
929 |
msgstr "ID"
|
930 |
|
931 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
932 |
msgid "Shortcode"
|
933 |
msgstr "Shortcode"
|
934 |
|
935 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
936 |
msgid "Preview"
|
937 |
msgstr "Vorschau"
|
938 |
|
939 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
940 |
msgid "Add quiz"
|
941 |
msgstr "Quiz hinzufügen"
|
942 |
|
943 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
944 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
945 |
msgid "Export"
|
946 |
msgstr "Export"
|
947 |
|
948 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
949 |
msgid ""
|
950 |
"Choose the respective question, which you would like to export and press on "
|
951 |
"\"Start export\""
|
@@ -953,17 +1001,17 @@ msgstr ""
|
|
953 |
"Wählen Sie oben die entsprechen Quiz aus, die Sie exportieren möchten und "
|
954 |
"klicken Sie anschliessen auf \"Export starten\""
|
955 |
|
956 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
957 |
msgid "Start export"
|
958 |
msgstr "Export starten"
|
959 |
|
960 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
961 |
msgid "Import only *.wpq files from known and trusted sources."
|
962 |
msgstr ""
|
963 |
"Importieren sie nur *.wpq Dateien aus bekannten und vertrauenswürdigen "
|
964 |
"Quellen."
|
965 |
|
966 |
-
#: lib/view/WpProQuiz_View_QuizOverall.php:
|
967 |
#, php-format
|
968 |
msgid "Maximal %d MiB"
|
969 |
msgstr "Maximal %d MiB"
|
@@ -1017,6 +1065,10 @@ msgstr "Aktualisieren"
|
|
1017 |
msgid "Reset entire statistic"
|
1018 |
msgstr "Alle Statistiken zurücksetzten"
|
1019 |
|
|
|
|
|
|
|
|
|
1020 |
#~ msgid "All"
|
1021 |
#~ msgstr "Alle"
|
1022 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Wp-Pro-Quiz\n"
|
4 |
+
"POT-Creation-Date: 2012-12-26 17:50+0100\n"
|
5 |
+
"PO-Revision-Date: 2012-12-26 17:50+0100\n"
|
6 |
"Last-Translator: Julius Fischer <julius.f@gmx.net>\n"
|
7 |
"Language-Team: Julius Fischer\n"
|
8 |
"Language: German\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:91
|
18 |
msgid "Do you really want to delete the quiz/question?"
|
19 |
msgstr "Wollen Sie das Quiz/Frage wirklich löschen?"
|
20 |
|
21 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:92
|
22 |
msgid "Title is not filled!"
|
23 |
msgstr "Titel wurde nicht ausgefüllt!"
|
24 |
|
25 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:93
|
26 |
msgid "No question deposited!"
|
27 |
msgstr "Keine Frage hinterlegt!"
|
28 |
|
29 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:94
|
30 |
msgid "Correct answer was not selected!"
|
31 |
msgstr "Keine korrekte Antwort markiert!"
|
32 |
|
33 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:95
|
34 |
msgid "No answer deposited!"
|
35 |
msgstr "Keine Antwort hinterlegt!"
|
36 |
|
37 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:96
|
38 |
msgid "No quiz description filled!"
|
39 |
msgstr "Quiz-Beschreibung nicht ausgefüllt!"
|
40 |
|
41 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:97
|
42 |
msgid "The percent values in result text are incorrect."
|
43 |
msgstr "Die Prozentwerte im Ergebnistext stimmen nicht."
|
44 |
|
45 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:98
|
46 |
msgid "No number in the field \"Points\" or less than 1"
|
47 |
msgstr "Keine Zahl im Feld \"Punkte\" oder kleiner 1"
|
48 |
|
49 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:99
|
50 |
msgid "No quiz selected"
|
51 |
msgstr "Kein Quiz ausgewählt"
|
52 |
|
53 |
+
#: lib/controller/WpProQuiz_Controller_Admin.php:100
|
54 |
msgid "Do you really want to reset the statistic?"
|
55 |
msgstr "Soll die Statistik wirklich zurückgesetzt werden?"
|
56 |
|
131 |
msgid "File have wrong format"
|
132 |
msgstr "Datei hat falsches Format"
|
133 |
|
134 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:80
|
135 |
msgid "Start quiz"
|
136 |
msgstr "Quiz starten"
|
137 |
|
138 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:85
|
139 |
msgid ""
|
140 |
"You have already completed the quiz before. Hence you can not start it again."
|
141 |
msgstr ""
|
142 |
"Sie haben das Quiz schon einmal absolviert. Daher können sie es nicht erneut "
|
143 |
"starten."
|
144 |
|
145 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:89
|
146 |
#: lib/view/WpProQuiz_View_Statistics.php:58
|
147 |
msgid "Results"
|
148 |
msgstr "Ergebnis"
|
149 |
|
150 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:91
|
151 |
#, php-format
|
152 |
msgid "%s of %s questions answered correctly"
|
153 |
msgstr "%s von %s Frage korrekt beantwortet"
|
154 |
|
155 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:94
|
156 |
msgid "Your time: <span></span>"
|
157 |
msgstr "Ihre Zeit: <span></span>"
|
158 |
|
159 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:97
|
160 |
msgid "Time has elapsed"
|
161 |
msgstr "Zeit ist abgelaufen"
|
162 |
|
163 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:100
|
164 |
msgid ""
|
165 |
"You have reached <span></span> of <span></span> points, (<span></span>%)"
|
166 |
msgstr ""
|
167 |
"Sie haben <span></span> von <span></span> Punkten erreicht (<span></span>%)"
|
168 |
|
169 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:115
|
170 |
msgid "Restart quiz"
|
171 |
msgstr "Quiz erneut starten"
|
172 |
|
173 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:117
|
174 |
msgid "View questions"
|
175 |
msgstr "Fragen ansehen"
|
176 |
|
177 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:122
|
178 |
#: lib/view/WpProQuiz_View_QuizEdit.php:132
|
179 |
#: lib/view/WpProQuiz_View_QuizEdit.php:137
|
180 |
msgid "Time limit"
|
181 |
msgstr "Zeitlimit"
|
182 |
|
183 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:135
|
184 |
#, php-format
|
185 |
msgid "Question %s of %s"
|
186 |
msgstr "Frage %s von %s"
|
187 |
|
188 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:138
|
|
|
|
|
|
|
|
|
|
|
189 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:35
|
190 |
#: lib/view/WpProQuiz_View_Statistics.php:53
|
191 |
msgid "Question"
|
192 |
msgstr "Frage"
|
193 |
|
194 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:142
|
195 |
+
#, php-format
|
196 |
+
msgid "%d points"
|
197 |
+
msgstr "%d Punkte"
|
198 |
+
|
199 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:152
|
200 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:235
|
201 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:273
|
202 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:308
|
203 |
msgid "Sort elements"
|
204 |
msgstr "Sortierelemente"
|
205 |
|
206 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:232
|
207 |
#: lib/view/WpProQuiz_View_Statistics.php:55
|
208 |
msgid "Correct"
|
209 |
msgstr "Korrekt"
|
210 |
|
211 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:240
|
212 |
#: lib/view/WpProQuiz_View_Statistics.php:56
|
213 |
msgid "Incorrect"
|
214 |
msgstr "Inkorrekt"
|
215 |
|
216 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:256
|
217 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:266
|
218 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:71
|
219 |
msgid "Hint"
|
220 |
msgstr "Tipp"
|
221 |
|
222 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:263
|
223 |
msgid "Check"
|
224 |
msgstr "Prüfen"
|
225 |
|
226 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:264
|
227 |
msgid "Back"
|
228 |
msgstr "Zurück"
|
229 |
|
230 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:268
|
231 |
msgid "Next exercise"
|
232 |
msgstr "Nächste Frage"
|
233 |
|
234 |
+
#: lib/view/WpProQuiz_View_FrontQuiz.php:281
|
235 |
+
msgid "Finish quiz"
|
236 |
+
msgstr "Quiz abschließen"
|
237 |
+
|
238 |
#: lib/view/WpProQuiz_View_GobalSettings.php:7
|
239 |
msgid "to activate"
|
240 |
msgstr "zu aktiveren"
|
245 |
|
246 |
#: lib/view/WpProQuiz_View_GobalSettings.php:14
|
247 |
#: lib/view/WpProQuiz_View_GobalSettings.php:25
|
248 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:47
|
249 |
msgid "Settings in case of problems"
|
250 |
msgstr "Einstellungen bei Problemen"
|
251 |
|
266 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:18
|
267 |
#: lib/view/WpProQuiz_View_QuizEdit.php:8
|
268 |
#: lib/view/WpProQuiz_View_Statistics.php:18
|
269 |
+
#: lib/view/WpProQuiz_View_StyleManager.php:11
|
270 |
msgid "back to overview"
|
271 |
msgstr "zurück zur Übersicht"
|
272 |
|
284 |
#: lib/view/WpProQuiz_View_QuizEdit.php:109
|
285 |
#: lib/view/WpProQuiz_View_QuizEdit.php:125
|
286 |
#: lib/view/WpProQuiz_View_QuizEdit.php:159
|
287 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:184
|
288 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:209
|
289 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:234
|
290 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:259
|
291 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:299
|
292 |
msgid "Activate"
|
293 |
msgstr "Aktivieren"
|
294 |
|
371 |
|
372 |
#: lib/view/WpProQuiz_View_GobalSettings.php:107
|
373 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:353
|
374 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:430
|
375 |
msgid "Save"
|
376 |
msgstr "Speichern"
|
377 |
|
378 |
#: lib/view/WpProQuiz_View_Import.php:21
|
379 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:81
|
380 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:96
|
381 |
msgid "Import"
|
382 |
msgstr "Import"
|
383 |
|
398 |
msgstr "Quiz-Name"
|
399 |
|
400 |
#: lib/view/WpProQuiz_View_Import.php:44
|
401 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:69
|
402 |
msgid "Questions"
|
403 |
msgstr "Fragen"
|
404 |
|
405 |
#: lib/view/WpProQuiz_View_Import.php:67
|
406 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:107
|
407 |
msgid "Start import"
|
408 |
msgstr "Import starten"
|
409 |
|
415 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:43
|
416 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:60
|
417 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:71
|
418 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:362
|
419 |
msgid "(optional)"
|
420 |
msgstr "(Optional)"
|
421 |
|
437 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:35
|
438 |
#: lib/view/WpProQuiz_View_QuestionEdit.php:123
|
439 |
#: lib/view/WpProQuiz_View_QuizEdit.php:12
|
440 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:351
|
441 |
msgid "(required)"
|
442 |
msgstr "(Pflichtfeld)"
|
443 |
|
612 |
msgstr "Fragen sortiert"
|
613 |
|
614 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:23
|
615 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:55
|
616 |
msgid "Name"
|
617 |
msgstr "Name"
|
618 |
|
619 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:24
|
620 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:56
|
621 |
msgid "Action"
|
622 |
msgstr "Aktion"
|
623 |
|
624 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:36
|
625 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:70
|
626 |
msgid "Edit"
|
627 |
msgstr "Bearbeiten"
|
628 |
|
629 |
#: lib/view/WpProQuiz_View_QuestionOverall.php:37
|
630 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:71
|
631 |
msgid "Delete"
|
632 |
msgstr "Löschen"
|
633 |
|
728 |
|
729 |
#: lib/view/WpProQuiz_View_QuizEdit.php:150
|
730 |
#: lib/view/WpProQuiz_View_QuizEdit.php:155
|
731 |
+
msgid "Number answers"
|
732 |
+
msgstr "Antworten nummerieren"
|
733 |
+
|
734 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:162
|
735 |
+
msgid ""
|
736 |
+
"If this option is activated, all answers are numbered (only single and "
|
737 |
+
"multiple choice)"
|
738 |
+
msgstr ""
|
739 |
+
"Wenn Sie diese Option aktivieren, werden die Antworten durchnummeriert (nur "
|
740 |
+
"bei Single und Multiple Choice)."
|
741 |
+
|
742 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:165
|
743 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:190
|
744 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:215
|
745 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:240
|
746 |
+
msgid "Demo"
|
747 |
+
msgstr "Demo"
|
748 |
+
|
749 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:175
|
750 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:180
|
751 |
+
msgid "Questions below each other"
|
752 |
+
msgstr "Fragen untereinander"
|
753 |
+
|
754 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:187
|
755 |
+
msgid ""
|
756 |
+
"If this option is activated, all answers are displayed below each other, i."
|
757 |
+
"e. all questions are on a single page. Otherwise all questions are displayed "
|
758 |
+
"one after the other."
|
759 |
+
msgstr ""
|
760 |
+
"Wenn Sie diese Option aktivieren, wenn alle Fragen untereinander angezeigt, "
|
761 |
+
"d.h. alle Fragen stehen auf einer Seite. Ansonsten werden die Fragen "
|
762 |
+
"nacheinander angezeigt."
|
763 |
+
|
764 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:200
|
765 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:205
|
766 |
msgid "Check -> continue"
|
767 |
msgstr "Prüfen -> Weiter"
|
768 |
|
769 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:212
|
770 |
msgid ""
|
771 |
+
"Shows \"right or wrong\" after each question. Otherwise the solutions will "
|
772 |
+
"be displayed at the end. (Option will be ignored if \"questions below each "
|
773 |
+
"other\" was used)"
|
774 |
msgstr ""
|
775 |
"Zeigt \"richtig oder falsch\" nach jeder Frage an. Ansonsten werden die "
|
776 |
+
"Lösungen erst am Ende angezeigt. (Option wird ignoriert bei \"Antworten "
|
777 |
+
"nummerieren\")"
|
778 |
|
779 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:225
|
780 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:230
|
781 |
msgid "Back button"
|
782 |
msgstr "Zurück Button"
|
783 |
|
784 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:237
|
785 |
msgid ""
|
786 |
+
"Allows to use the back button in a question. (Option will be ignored if "
|
787 |
+
"\"Check -> Continue\" or \"questions below each other\" was used)"
|
788 |
msgstr ""
|
789 |
"Ermöglicht das Zurückgehen einer Frage. (Option wird ignoriert bei \"Prüfen -"
|
790 |
+
"> Weiter\" und \"Antworten nummerieren\")"
|
791 |
|
792 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:250
|
793 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:255
|
794 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:73
|
795 |
msgid "Statistics"
|
796 |
msgstr "Statistik"
|
797 |
|
798 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:262
|
799 |
msgid ""
|
800 |
"Statistics about right or wrong answers. Statistics will be saved by "
|
801 |
"completed quiz, not after every question. The statistics is only visible "
|
805 |
"vollständigen abschließen des Quiz gespeichert, nicht nach jeder Frage. Die "
|
806 |
"Statistik ist nur über das Adminmenü einsehbar (interne Statistik)"
|
807 |
|
808 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:269
|
809 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:274
|
810 |
msgid "Statistics IP-lock"
|
811 |
msgstr "Statistik IP-Sperre"
|
812 |
|
813 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:278
|
814 |
msgid "in minutes (recommended 1440 minutes = 1 day)"
|
815 |
msgstr "in Minuten (Empfohlen: 1440 Minuten = 1 Tag)"
|
816 |
|
817 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:281
|
818 |
msgid ""
|
819 |
"Protect the statistics from spam. Result will only be saved every X minutes "
|
820 |
"from same IP. (0 = deactivated)"
|
822 |
"Schuetz die Statistik vor Spam. Ergebnis wird nur aller X Minuten von der "
|
823 |
"gleichen IP gespeichert. (0 = Deaktiviert)"
|
824 |
|
825 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:288
|
826 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:294
|
827 |
msgid "Execute quiz only once"
|
828 |
msgstr "Quiz nur einmal ausführen"
|
829 |
|
830 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:302
|
831 |
msgid ""
|
832 |
"If you activate this option, the user can complete the quiz only once. "
|
833 |
"Afterwards the quiz is blocked for this user."
|
835 |
"Wenn diese Option aktivieren, kann ein Benutzer das Quiz nur einmal "
|
836 |
"absolvieren, danach wird das Quiz für diesen Benutzer gesperrt."
|
837 |
|
838 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:306
|
839 |
msgid "This option applies to:"
|
840 |
msgstr "Diese Option gilt für:"
|
841 |
|
842 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:314
|
843 |
msgid "all users"
|
844 |
msgstr "Alle Benutzer"
|
845 |
|
846 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:318
|
847 |
msgid "registered useres only"
|
848 |
msgstr "nur registriere Benutzer"
|
849 |
|
850 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:322
|
851 |
msgid "anonymous users only"
|
852 |
msgstr "nur anonyme Benutzer"
|
853 |
|
854 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:328
|
855 |
msgid "user identification by cookie"
|
856 |
msgstr "Benutzer-Identifikation über Cookie"
|
857 |
|
858 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:331
|
859 |
msgid ""
|
860 |
"If you activate this option, a cookie is set additionally for unregistrated "
|
861 |
"(anonymous) users. This ensures a longer assignment of the user than the "
|
865 |
"Benutzer (anonyme) gesetzt. Dies gewährleistet eine längere Zuordnung des "
|
866 |
"Benutzers als nur über die IP-Adresse."
|
867 |
|
868 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:336
|
869 |
msgid "Reset the user identification"
|
870 |
msgstr "Benutzer-Identifikation zurücksetzten"
|
871 |
|
872 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:337
|
873 |
msgid "User identification has been reset."
|
874 |
msgstr "Benutzer-Identifikation wurde zurückgesetzt."
|
875 |
|
876 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:339
|
877 |
msgid "Resets user identification for all users."
|
878 |
msgstr "Setzt die Benutzer-Identifikation für alle Benutzer zurück."
|
879 |
|
880 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:351
|
881 |
msgid "Quiz description"
|
882 |
msgstr "Quiz Beschreibung"
|
883 |
|
884 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:354
|
885 |
msgid "This text will be displayed before start of the quiz."
|
886 |
msgstr "Dieser Text wird vor dem Starten des Quizes angezeigt."
|
887 |
|
888 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:362
|
889 |
msgid "Results text"
|
890 |
msgstr "Ergebnis Text"
|
891 |
|
892 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:365
|
893 |
msgid ""
|
894 |
"This text will be displayed at the end of the quiz (in results). (this text "
|
895 |
"is optional)"
|
897 |
"Dieser Text wird beim Beenden (im Ergebnis) des Quizes angezeigt (Dieser "
|
898 |
"Text ist optional)"
|
899 |
|
900 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:369
|
901 |
msgid "Activate graduation"
|
902 |
msgstr "Abstufungen aktivieren"
|
903 |
|
904 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:375
|
905 |
msgid "Hint:"
|
906 |
msgstr "Hinweis:"
|
907 |
|
908 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:377
|
909 |
msgid "Maximal 15 levels"
|
910 |
msgstr "Maximal 15 Stufen"
|
911 |
|
912 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:379
|
913 |
#, php-format
|
914 |
msgid ""
|
915 |
"Percentages refer to the total score of the quiz. (Current total %d points "
|
918 |
"Prozente beziehen sich auf die Gesamtpunktzahl des Quiz (Aktuell: insgesamt "
|
919 |
"%d Punkte bei %d Fragen)"
|
920 |
|
921 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:382
|
922 |
msgid "Values can also be mixed up"
|
923 |
msgstr "Werte können auch durcheinander sein"
|
924 |
|
925 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:383
|
926 |
msgid "10,15% or 10.15% allowed (max. two digits after the decimal point)"
|
927 |
msgstr "10,15% oder 10.15% erlaubt (maximal 2 Stellen nach dem Komma)"
|
928 |
|
929 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:399
|
930 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:410
|
931 |
msgid "from:"
|
932 |
msgstr "Ab:"
|
933 |
|
934 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:399
|
935 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:410
|
936 |
msgid "percent"
|
937 |
msgstr "Prozent"
|
938 |
|
939 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:399
|
940 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:410
|
941 |
#, php-format
|
942 |
msgid ""
|
943 |
"(Will be displayed, when result-percent is >= <span class=\"resultProzent\">"
|
946 |
"(Wird angezeigt wenn Ergebnis-Prozent >= <span class=\"resultProzent\">%s</"
|
947 |
"span>%% ist)"
|
948 |
|
949 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:400
|
950 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:411
|
951 |
msgid "Delete graduation"
|
952 |
msgstr "Stufe löschen"
|
953 |
|
954 |
+
#: lib/view/WpProQuiz_View_QuizEdit.php:418
|
955 |
msgid "Add graduation"
|
956 |
msgstr "Stufe hinzufügen"
|
957 |
|
968 |
msgstr ""
|
969 |
"Wenn das Quiz im Front-End nicht funktioniert, versucht bitte folgendes:"
|
970 |
|
971 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:46
|
972 |
+
msgid "Style Manager"
|
973 |
+
msgstr "Style Manager"
|
974 |
+
|
975 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:53
|
976 |
msgid "ID"
|
977 |
msgstr "ID"
|
978 |
|
979 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:54
|
980 |
msgid "Shortcode"
|
981 |
msgstr "Shortcode"
|
982 |
|
983 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:72
|
984 |
msgid "Preview"
|
985 |
msgstr "Vorschau"
|
986 |
|
987 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:80
|
988 |
msgid "Add quiz"
|
989 |
msgstr "Quiz hinzufügen"
|
990 |
|
991 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:82
|
992 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:86
|
993 |
msgid "Export"
|
994 |
msgstr "Export"
|
995 |
|
996 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:87
|
997 |
msgid ""
|
998 |
"Choose the respective question, which you would like to export and press on "
|
999 |
"\"Start export\""
|
1001 |
"Wählen Sie oben die entsprechen Quiz aus, die Sie exportieren möchten und "
|
1002 |
"klicken Sie anschliessen auf \"Export starten\""
|
1003 |
|
1004 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:91
|
1005 |
msgid "Start export"
|
1006 |
msgstr "Export starten"
|
1007 |
|
1008 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:97
|
1009 |
msgid "Import only *.wpq files from known and trusted sources."
|
1010 |
msgstr ""
|
1011 |
"Importieren sie nur *.wpq Dateien aus bekannten und vertrauenswürdigen "
|
1012 |
"Quellen."
|
1013 |
|
1014 |
+
#: lib/view/WpProQuiz_View_QuizOverall.php:105
|
1015 |
#, php-format
|
1016 |
msgid "Maximal %d MiB"
|
1017 |
msgstr "Maximal %d MiB"
|
1065 |
msgid "Reset entire statistic"
|
1066 |
msgstr "Alle Statistiken zurücksetzten"
|
1067 |
|
1068 |
+
#: lib/view/WpProQuiz_View_StyleManager.php:15
|
1069 |
+
msgid "Front"
|
1070 |
+
msgstr "Front"
|
1071 |
+
|
1072 |
#~ msgid "All"
|
1073 |
#~ msgstr "Alle"
|
1074 |
|
lib/controller/WpProQuiz_Controller_Admin.php
CHANGED
@@ -28,6 +28,25 @@ class WpProQuiz_Controller_Admin {
|
|
28 |
add_action('admin_menu', array($this, 'register_page'));
|
29 |
}
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
public function resetLock() {
|
32 |
if(!current_user_can('administrator'))
|
33 |
exit;
|
@@ -139,6 +158,9 @@ class WpProQuiz_Controller_Admin {
|
|
139 |
case 'globalSettings':
|
140 |
$c = new WpProQuiz_Controller_GlobalSettings();
|
141 |
break;
|
|
|
|
|
|
|
142 |
}
|
143 |
|
144 |
if($c !== null) {
|
28 |
add_action('admin_menu', array($this, 'register_page'));
|
29 |
}
|
30 |
|
31 |
+
public static function getPluginInfo() {
|
32 |
+
$path = realpath(dirname(__FILE__) .'/../../');
|
33 |
+
|
34 |
+
return array('path' => $path,
|
35 |
+
'file' => $path.'/wp-pro-quiz.php');
|
36 |
+
}
|
37 |
+
|
38 |
+
public static function getPluginPath() {
|
39 |
+
return realpath(dirname(__FILE__) .'/../../');
|
40 |
+
}
|
41 |
+
|
42 |
+
public static function getPluginFile() {
|
43 |
+
return realpath(WpProQuiz_Controller_Admin::getPluginPath().'/wp-pro-quiz.php');
|
44 |
+
}
|
45 |
+
|
46 |
+
public static function getPluginUrl() {
|
47 |
+
return plugins_url('', WpProQuiz_Controller_Admin::getPluginFile());
|
48 |
+
}
|
49 |
+
|
50 |
public function resetLock() {
|
51 |
if(!current_user_can('administrator'))
|
52 |
exit;
|
158 |
case 'globalSettings':
|
159 |
$c = new WpProQuiz_Controller_GlobalSettings();
|
160 |
break;
|
161 |
+
case 'styleManager':
|
162 |
+
$c = new WpProQuiz_Controller_StyleManager();
|
163 |
+
break;
|
164 |
}
|
165 |
|
166 |
if($c !== null) {
|
lib/controller/WpProQuiz_Controller_StyleManager.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class WpProQuiz_Controller_StyleManager extends WpProQuiz_Controller_Controller {
|
3 |
+
|
4 |
+
public function route() {
|
5 |
+
$this->show();
|
6 |
+
}
|
7 |
+
|
8 |
+
private function show() {
|
9 |
+
|
10 |
+
$plugin = WpProQuiz_Controller_Admin::getPluginInfo();
|
11 |
+
|
12 |
+
wp_enqueue_style(
|
13 |
+
'wpProQuiz_front_style',
|
14 |
+
plugins_url('css/wpProQuiz_front.min.css', $plugin['file']),
|
15 |
+
array(),
|
16 |
+
WPPROQUIZ_VERSION
|
17 |
+
);
|
18 |
+
|
19 |
+
$view = new WpProQuiz_View_StyleManager();
|
20 |
+
|
21 |
+
$view->show();
|
22 |
+
}
|
23 |
+
}
|
lib/helper/WpProQuiz_Helper_DbUpgrade.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
class WpProQuiz_Helper_DbUpgrade {
|
3 |
|
4 |
-
const WPPROQUIZ_DB_VERSION =
|
5 |
|
6 |
private $_wpdb;
|
7 |
private $_prefix;
|
@@ -70,6 +70,8 @@ class WpProQuiz_Helper_DbUpgrade {
|
|
70 |
`quiz_run_once_type` tinyint(4) NOT NULL,
|
71 |
`quiz_run_once_cookie` tinyint(1) NOT NULL,
|
72 |
`quiz_run_once_time` int(10) unsigned NOT NULL,
|
|
|
|
|
73 |
PRIMARY KEY (`id`)
|
74 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
75 |
');
|
@@ -356,4 +358,15 @@ class WpProQuiz_Helper_DbUpgrade {
|
|
356 |
|
357 |
return 10;
|
358 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
}
|
1 |
<?php
|
2 |
class WpProQuiz_Helper_DbUpgrade {
|
3 |
|
4 |
+
const WPPROQUIZ_DB_VERSION = 11;
|
5 |
|
6 |
private $_wpdb;
|
7 |
private $_prefix;
|
70 |
`quiz_run_once_type` tinyint(4) NOT NULL,
|
71 |
`quiz_run_once_cookie` tinyint(1) NOT NULL,
|
72 |
`quiz_run_once_time` int(10) unsigned NOT NULL,
|
73 |
+
`question_on_single_page` tinyint(1) NOT NULL,
|
74 |
+
`numbered_answer` tinyint(1) NOT NULL,
|
75 |
PRIMARY KEY (`id`)
|
76 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
77 |
');
|
358 |
|
359 |
return 10;
|
360 |
}
|
361 |
+
|
362 |
+
private function upgradeDbV10() {
|
363 |
+
|
364 |
+
$this->_wpdb->query('
|
365 |
+
ALTER TABLE `'.$this->_wpdb->prefix.'wp_pro_quiz_master`
|
366 |
+
ADD `question_on_single_page` TINYINT( 1 ) NOT NULL ,
|
367 |
+
ADD `numbered_answer` TINYINT( 1 ) NOT NULL
|
368 |
+
');
|
369 |
+
|
370 |
+
return 11;
|
371 |
+
}
|
372 |
}
|
lib/model/WpProQuiz_Model_Quiz.php
CHANGED
@@ -25,6 +25,8 @@ class WpProQuiz_Model_Quiz extends WpProQuiz_Model_Model {
|
|
25 |
protected $_quizRunOnceType = 0;
|
26 |
protected $_quizRunOnceCookie = false;
|
27 |
protected $_quizRunOnceTime = 0;
|
|
|
|
|
28 |
|
29 |
public function getId() {
|
30 |
return $this->_id;
|
@@ -217,4 +219,22 @@ class WpProQuiz_Model_Quiz extends WpProQuiz_Model_Model {
|
|
217 |
public function getQuizRunOnceTime() {
|
218 |
return $this->_quizRunOnceTime;
|
219 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
}
|
25 |
protected $_quizRunOnceType = 0;
|
26 |
protected $_quizRunOnceCookie = false;
|
27 |
protected $_quizRunOnceTime = 0;
|
28 |
+
protected $_questionOnSinglePage = false;
|
29 |
+
protected $_numberedAnswer = false;
|
30 |
|
31 |
public function getId() {
|
32 |
return $this->_id;
|
219 |
public function getQuizRunOnceTime() {
|
220 |
return $this->_quizRunOnceTime;
|
221 |
}
|
222 |
+
|
223 |
+
public function setQuestionOnSinglePage($_questionOnSinglePage) {
|
224 |
+
$this->_questionOnSinglePage = (bool)$_questionOnSinglePage;
|
225 |
+
return $this;
|
226 |
+
}
|
227 |
+
|
228 |
+
public function isQuestionOnSinglePage() {
|
229 |
+
return $this->_questionOnSinglePage;
|
230 |
+
}
|
231 |
+
|
232 |
+
public function setNumberedAnswer($_numberedAnswer) {
|
233 |
+
$this->_numberedAnswer = (bool)$_numberedAnswer;
|
234 |
+
return $this;
|
235 |
+
}
|
236 |
+
|
237 |
+
public function isNumberedAnswer() {
|
238 |
+
return $this->_numberedAnswer;
|
239 |
+
}
|
240 |
}
|
lib/model/WpProQuiz_Model_QuizMapper.php
CHANGED
@@ -81,7 +81,9 @@ class WpProQuiz_Model_QuizMapper extends WpProQuiz_Model_Mapper
|
|
81 |
'quiz_run_once' => (int)$data->isQuizRunOnce(),
|
82 |
'quiz_run_once_type' => $data->getQuizRunOnceType(),
|
83 |
'quiz_run_once_cookie' => (int)$data->isQuizRunOnceCookie(),
|
84 |
-
'quiz_run_once_time' => (int)$data->getQuizRunOnceTime()
|
|
|
|
|
85 |
);
|
86 |
|
87 |
if($data->getId() != 0) {
|
@@ -90,13 +92,13 @@ class WpProQuiz_Model_QuizMapper extends WpProQuiz_Model_Mapper
|
|
90 |
array(
|
91 |
'id' => $data->getId()
|
92 |
),
|
93 |
-
array('%s', '%s', '%s', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d'),
|
94 |
array('%d'));
|
95 |
} else {
|
96 |
|
97 |
$result = $this->_wpdb->insert($this->_table,
|
98 |
$set,
|
99 |
-
array('%s', '%s', '%s', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d'));
|
100 |
|
101 |
$data->setId($this->_wpdb->insert_id);
|
102 |
}
|
81 |
'quiz_run_once' => (int)$data->isQuizRunOnce(),
|
82 |
'quiz_run_once_type' => $data->getQuizRunOnceType(),
|
83 |
'quiz_run_once_cookie' => (int)$data->isQuizRunOnceCookie(),
|
84 |
+
'quiz_run_once_time' => (int)$data->getQuizRunOnceTime(),
|
85 |
+
'question_on_single_page' => (int)$data->isQuestionOnSinglePage(),
|
86 |
+
'numbered_answer' => (int)$data->isNumberedAnswer()
|
87 |
);
|
88 |
|
89 |
if($data->getId() != 0) {
|
92 |
array(
|
93 |
'id' => $data->getId()
|
94 |
),
|
95 |
+
array('%s', '%s', '%s', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d'),
|
96 |
array('%d'));
|
97 |
} else {
|
98 |
|
99 |
$result = $this->_wpdb->insert($this->_table,
|
100 |
$set,
|
101 |
+
array('%s', '%s', '%s', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d'));
|
102 |
|
103 |
$data->setId($this->_wpdb->insert_id);
|
104 |
}
|
lib/view/WpProQuiz_View_FrontQuiz.php
CHANGED
@@ -53,8 +53,20 @@ class WpProQuiz_View_FrontQuiz extends WpProQuiz_View_View {
|
|
53 |
}
|
54 |
|
55 |
$resultsProzent = json_encode($result['prozent']);
|
56 |
-
|
57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
<div class="wpProQuiz_content" id="wpProQuiz_<?php echo $this->quiz->getId(); ?>">
|
60 |
<?php if(!$this->quiz->isTitleHidden()) { ?>
|
@@ -85,7 +97,7 @@ class WpProQuiz_View_FrontQuiz extends WpProQuiz_View_View {
|
|
85 |
<?php _e('Time has elapsed', 'wp-pro-quiz'); ?>
|
86 |
</p>
|
87 |
<p class="wpProQuiz_points">
|
88 |
-
<?php _e('You have reached <span></span> of <span></span> points, (<span></span>%)', 'wp-pro-quiz') ?>
|
89 |
</p>
|
90 |
<div>
|
91 |
<ul class="wpProQuiz_resultsList">
|
@@ -119,15 +131,18 @@ class WpProQuiz_View_FrontQuiz extends WpProQuiz_View_View {
|
|
119 |
$answerArray = $question->getAnswerJson();
|
120 |
?>
|
121 |
<li class="wpProQuiz_listItem">
|
122 |
-
<div class="wpProQuiz_question_page">
|
123 |
<?php printf(__('Question %s of %s', 'wp-pro-quiz'), '<span>'.$index.'</span>', '<span>'.$question_count.'</span>'); ?>
|
124 |
-
|
125 |
-
<?php if($this->quiz->isShowPoints()) { ?>
|
126 |
-
<span style="float:right;"><?php printf(__('%d points', 'wp-pro-quiz'), $question->getPoints()); ?></span>
|
127 |
-
<div style="clear: right;"></div>
|
128 |
-
<?php } ?>
|
129 |
</div>
|
130 |
-
<h3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
<div class="wpProQuiz_question" style="margin: 10px 0px 0px 0px;">
|
132 |
<div class="wpProQuiz_question_text">
|
133 |
<?php echo do_shortcode(apply_filters('comment_text', $question->getQuestion())); ?>
|
@@ -154,8 +169,9 @@ class WpProQuiz_View_FrontQuiz extends WpProQuiz_View_View {
|
|
154 |
?>
|
155 |
|
156 |
<li class="wpProQuiz_questionListItem">
|
|
|
157 |
<label>
|
158 |
-
<input class="wpProQuiz_questionInput" type="<?php echo $question->getAnswerType() === 'single' ? 'radio' : 'checkbox' ?>" name="question_<?php echo $this->quiz->getId(); ?>_<?php echo $question->getId(); ?>" value="<?php echo $answer_index; ?>"> <?php echo $answer_text; ?>
|
159 |
</label>
|
160 |
</li>
|
161 |
|
@@ -244,17 +260,27 @@ class WpProQuiz_View_FrontQuiz extends WpProQuiz_View_View {
|
|
244 |
}
|
245 |
?>
|
246 |
</div>
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
<?php } ?>
|
252 |
-
|
253 |
-
<div style="clear: both;"></div>
|
254 |
</li>
|
255 |
|
256 |
<?php } ?>
|
257 |
</ol>
|
|
|
|
|
|
|
|
|
|
|
258 |
</div>
|
259 |
</div>
|
260 |
<script>
|
@@ -263,11 +289,13 @@ jQuery(document).ready(function($) {
|
|
263 |
questionRandom: <?php echo (int)$this->quiz->isQuestionRandom(); ?>,
|
264 |
answerRandom: <?php echo (int)$this->quiz->isAnswerRandom(); ?>,
|
265 |
timeLimit: <?php echo (int)$this->quiz->getTimeLimit(); ?>,
|
266 |
-
checkAnswer: <?php echo
|
267 |
-
backButton: <?php echo
|
268 |
quizId: <?php echo (int)$this->quiz->getId(); ?>,
|
269 |
lock: <?php echo (int)$this->quiz->isQuizRunOnce(); ?>,
|
270 |
preview: <?php echo ($preview) ? 1 : 0; ?>,
|
|
|
|
|
271 |
url: '<?php echo admin_url('admin-ajax.php'); ?>',
|
272 |
resultsGrade: <?php echo $resultsProzent; ?>,
|
273 |
json: <?php echo $json; ?>
|
53 |
}
|
54 |
|
55 |
$resultsProzent = json_encode($result['prozent']);
|
56 |
+
|
57 |
+
$questionOnSinglePage = 0;
|
58 |
+
$checkAnswer = 0;
|
59 |
+
$backButton = 0;
|
60 |
+
|
61 |
+
if($this->quiz->isQuestionOnSinglePage()) {
|
62 |
+
$questionOnSinglePage = 1;
|
63 |
+
} else if($this->quiz->isCheckAnswer()) {
|
64 |
+
$checkAnswer = 1;
|
65 |
+
} else if($this->quiz->isBackButton()) {
|
66 |
+
$backButton = 1;
|
67 |
+
}
|
68 |
+
|
69 |
+
?>
|
70 |
|
71 |
<div class="wpProQuiz_content" id="wpProQuiz_<?php echo $this->quiz->getId(); ?>">
|
72 |
<?php if(!$this->quiz->isTitleHidden()) { ?>
|
97 |
<?php _e('Time has elapsed', 'wp-pro-quiz'); ?>
|
98 |
</p>
|
99 |
<p class="wpProQuiz_points">
|
100 |
+
<?php _e('You have reached <span></span> of <span></span> points, (<span></span>%)', 'wp-pro-quiz'); ?>
|
101 |
</p>
|
102 |
<div>
|
103 |
<ul class="wpProQuiz_resultsList">
|
131 |
$answerArray = $question->getAnswerJson();
|
132 |
?>
|
133 |
<li class="wpProQuiz_listItem">
|
134 |
+
<div class="wpProQuiz_question_page" <?php echo $this->quiz->isQuestionOnSinglePage() ? 'style="display: none;"' : ''; ?> >
|
135 |
<?php printf(__('Question %s of %s', 'wp-pro-quiz'), '<span>'.$index.'</span>', '<span>'.$question_count.'</span>'); ?>
|
|
|
|
|
|
|
|
|
|
|
136 |
</div>
|
137 |
+
<h3 style="display: inline-block;">
|
138 |
+
<span><?php echo $index; ?></span>. <?php _e('Question', 'wp-pro-quiz'); ?>
|
139 |
+
</h3>
|
140 |
+
|
141 |
+
<?php if($this->quiz->isShowPoints()) { ?>
|
142 |
+
<span style="font-weight: bold; float: right;"><?php printf(__('%d points', 'wp-pro-quiz'), $question->getPoints()); ?></span>
|
143 |
+
<div style="clear: both;"></div>
|
144 |
+
<?php } ?>
|
145 |
+
|
146 |
<div class="wpProQuiz_question" style="margin: 10px 0px 0px 0px;">
|
147 |
<div class="wpProQuiz_question_text">
|
148 |
<?php echo do_shortcode(apply_filters('comment_text', $question->getQuestion())); ?>
|
169 |
?>
|
170 |
|
171 |
<li class="wpProQuiz_questionListItem">
|
172 |
+
<span class="WpProQuiz_numberedAnswer"></span>
|
173 |
<label>
|
174 |
+
<input class="wpProQuiz_questionInput" type="<?php echo $question->getAnswerType() === 'single' ? 'radio' : 'checkbox'; ?>" name="question_<?php echo $this->quiz->getId(); ?>_<?php echo $question->getId(); ?>" value="<?php echo $answer_index; ?>"> <?php echo $answer_text; ?>
|
175 |
</label>
|
176 |
</li>
|
177 |
|
260 |
}
|
261 |
?>
|
262 |
</div>
|
263 |
+
<input type="button" name="check" value="<?php _e('Check', 'wp-pro-quiz'); ?>" class="wpProQuiz_QuestionButton" style="float: left !important; margin-right: 10px !important; display: none;">
|
264 |
+
<input type="button" name="back" value="<?php _e('Back', 'wp-pro-quiz'); ?>" class="wpProQuiz_QuestionButton" style="float: left !important; margin-right: 10px !important; display: none;">
|
265 |
+
<?php if($question->isTipEnabled()) { ?>
|
266 |
+
<input type="button" name="tip" value="<?php _e('Hint', 'wp-pro-quiz'); ?>" class="wpProQuiz_QuestionButton wpProQuiz_TipButton" style="float: left !important; display: inline-block;">
|
267 |
+
<?php } ?>
|
268 |
+
<input type="button" name="next" value="<?php _e('Next exercise', 'wp-pro-quiz'); ?>" class="wpProQuiz_QuestionButton" style="float: right; display: none;" >
|
269 |
+
<div style="clear: both;"></div>
|
270 |
+
|
271 |
+
<?php if($this->quiz->isQuestionOnSinglePage()) { ?>
|
272 |
+
<div style="margin-bottom: 20px;"></div>
|
273 |
<?php } ?>
|
274 |
+
|
|
|
275 |
</li>
|
276 |
|
277 |
<?php } ?>
|
278 |
</ol>
|
279 |
+
<?php if($this->quiz->isQuestionOnSinglePage()) { ?>
|
280 |
+
<div>
|
281 |
+
<input type="button" name="checkSingle" value="<?php _e('Finish quiz', 'wp-pro-quiz'); ?>" class="wpProQuiz_QuestionButton" >
|
282 |
+
</div>
|
283 |
+
<?php } ?>
|
284 |
</div>
|
285 |
</div>
|
286 |
<script>
|
289 |
questionRandom: <?php echo (int)$this->quiz->isQuestionRandom(); ?>,
|
290 |
answerRandom: <?php echo (int)$this->quiz->isAnswerRandom(); ?>,
|
291 |
timeLimit: <?php echo (int)$this->quiz->getTimeLimit(); ?>,
|
292 |
+
checkAnswer: <?php echo $checkAnswer; ?>,
|
293 |
+
backButton: <?php echo $backButton; ?>,
|
294 |
quizId: <?php echo (int)$this->quiz->getId(); ?>,
|
295 |
lock: <?php echo (int)$this->quiz->isQuizRunOnce(); ?>,
|
296 |
preview: <?php echo ($preview) ? 1 : 0; ?>,
|
297 |
+
numberedAnswer: <?php echo (int)$this->quiz->isnumberedAnswer(); ?>,
|
298 |
+
questionOnSinglePage: <?php echo $questionOnSinglePage; ?>,
|
299 |
url: '<?php echo admin_url('admin-ajax.php'); ?>',
|
300 |
resultsGrade: <?php echo $resultsProzent; ?>,
|
301 |
json: <?php echo $json; ?>
|
lib/view/WpProQuiz_View_QuizEdit.php
CHANGED
@@ -145,6 +145,56 @@ class WpProQuiz_View_QuizEdit extends WpProQuiz_View_View {
|
|
145 |
</fieldset>
|
146 |
</td>
|
147 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
<tr>
|
149 |
<th scope="row">
|
150 |
<?php _e('Check -> continue', 'wp-pro-quiz'); ?>
|
@@ -155,12 +205,18 @@ class WpProQuiz_View_QuizEdit extends WpProQuiz_View_View {
|
|
155 |
<span><?php _e('Check -> continue', 'wp-pro-quiz'); ?></span>
|
156 |
</legend>
|
157 |
<label for="check_next">
|
158 |
-
<input type="checkbox" id="check_next" value="1" name="checkAnswer" <?php echo $this->quiz->isCheckAnswer() ? 'checked="checked"' : '' ?>>
|
159 |
<?php _e('Activate', 'wp-pro-quiz'); ?>
|
160 |
</label>
|
161 |
<p class="description">
|
162 |
-
<?php _e('
|
163 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
</fieldset>
|
165 |
</td>
|
166 |
</tr>
|
@@ -174,12 +230,18 @@ class WpProQuiz_View_QuizEdit extends WpProQuiz_View_View {
|
|
174 |
<span><?php _e('Back button', 'wp-pro-quiz'); ?></span>
|
175 |
</legend>
|
176 |
<label for="back_button">
|
177 |
-
<input type="checkbox" id="back_button" value="1" name="backButton" <?php echo $this->quiz->isBackButton() ? 'checked="checked"' : '' ?>>
|
178 |
<?php _e('Activate', 'wp-pro-quiz'); ?>
|
179 |
</label>
|
180 |
<p class="description">
|
181 |
-
<?php _e('
|
182 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
</fieldset>
|
184 |
</td>
|
185 |
</tr>
|
@@ -193,7 +255,7 @@ class WpProQuiz_View_QuizEdit extends WpProQuiz_View_View {
|
|
193 |
<span><?php _e('Statistics', 'wp-pro-quiz'); ?></span>
|
194 |
</legend>
|
195 |
<label for="statistics_on">
|
196 |
-
<input type="checkbox" id="statistics_on" value="1" name="statisticsOn" <?php echo $this->quiz->isStatisticsOn() ? 'checked="checked"' : '' ?>>
|
197 |
<?php _e('Activate', 'wp-pro-quiz'); ?>
|
198 |
</label>
|
199 |
<p class="description">
|
145 |
</fieldset>
|
146 |
</td>
|
147 |
</tr>
|
148 |
+
<tr>
|
149 |
+
<th scope="row">
|
150 |
+
<?php _e('Number answers', 'wp-pro-quiz'); ?>
|
151 |
+
</th>
|
152 |
+
<td>
|
153 |
+
<fieldset>
|
154 |
+
<legend class="screen-reader-text">
|
155 |
+
<span><?php _e('Number answers', 'wp-pro-quiz'); ?></span>
|
156 |
+
</legend>
|
157 |
+
<label>
|
158 |
+
<input type="checkbox" value="1" name="numberedAnswer" <?php echo $this->quiz->isNumberedAnswer() ? 'checked="checked"' : '' ?>>
|
159 |
+
<?php _e('Activate', 'wp-pro-quiz'); ?>
|
160 |
+
</label>
|
161 |
+
<p class="description">
|
162 |
+
<?php _e('If this option is activated, all answers are numbered (only single and multiple choice)', 'wp-pro-quiz'); ?>
|
163 |
+
</p>
|
164 |
+
<div class="wpProQuiz_demoBox">
|
165 |
+
<a href="#"><?php _e('Demo', 'wp-pro-quiz'); ?></a>
|
166 |
+
<div style="z-index: 9999999; position: absolute; background-color: #E9E9E9; padding: 10px; box-shadow: 0px 0px 10px 4px rgb(44, 44, 44); display: none; ">
|
167 |
+
<img alt="" src="<?php echo WpProQuiz_Controller_Admin::getPluginUrl().'/img/numbering.png'; ?> ">
|
168 |
+
</div>
|
169 |
+
</div>
|
170 |
+
</fieldset>
|
171 |
+
</td>
|
172 |
+
</tr>
|
173 |
+
<tr>
|
174 |
+
<th scope="row">
|
175 |
+
<?php _e('Questions below each other', 'wp-pro-quiz'); ?>
|
176 |
+
</th>
|
177 |
+
<td>
|
178 |
+
<fieldset>
|
179 |
+
<legend class="screen-reader-text">
|
180 |
+
<span><?php _e('Questions below each other', 'wp-pro-quiz'); ?></span>
|
181 |
+
</legend>
|
182 |
+
<label>
|
183 |
+
<input type="checkbox" value="1" name="questionOnSinglePage" <?php echo $this->quiz->isQuestionOnSinglePage() ? 'checked="checked"' : ''; ?>>
|
184 |
+
<?php _e('Activate', 'wp-pro-quiz'); ?>
|
185 |
+
</label>
|
186 |
+
<p class="description">
|
187 |
+
<?php _e('If this option is activated, all answers are displayed below each other, i.e. all questions are on a single page. Otherwise all questions are displayed one after the other.', 'wp-pro-quiz'); ?>
|
188 |
+
</p>
|
189 |
+
<div class="wpProQuiz_demoBox">
|
190 |
+
<a href="#"><?php _e('Demo', 'wp-pro-quiz'); ?></a>
|
191 |
+
<div style="z-index: 9999999; position: absolute; background-color: #E9E9E9; padding: 10px; box-shadow: 0px 0px 10px 4px rgb(44, 44, 44); display: none; ">
|
192 |
+
<img alt="" src="<?php echo WpProQuiz_Controller_Admin::getPluginUrl().'/img/singlePage.png'; ?> ">
|
193 |
+
</div>
|
194 |
+
</div>
|
195 |
+
</fieldset>
|
196 |
+
</td>
|
197 |
+
</tr>
|
198 |
<tr>
|
199 |
<th scope="row">
|
200 |
<?php _e('Check -> continue', 'wp-pro-quiz'); ?>
|
205 |
<span><?php _e('Check -> continue', 'wp-pro-quiz'); ?></span>
|
206 |
</legend>
|
207 |
<label for="check_next">
|
208 |
+
<input type="checkbox" id="check_next" value="1" name="checkAnswer" <?php echo $this->quiz->isCheckAnswer() ? 'checked="checked"' : ''; ?>>
|
209 |
<?php _e('Activate', 'wp-pro-quiz'); ?>
|
210 |
</label>
|
211 |
<p class="description">
|
212 |
+
<?php _e('Shows "right or wrong" after each question. Otherwise the solutions will be displayed at the end. (Option will be ignored if "questions below each other" was used)', 'wp-pro-quiz'); ?>
|
213 |
</p>
|
214 |
+
<div class="wpProQuiz_demoBox">
|
215 |
+
<a href="#"><?php _e('Demo', 'wp-pro-quiz'); ?></a>
|
216 |
+
<div style="z-index: 9999999; position: absolute; background-color: #E9E9E9; padding: 10px; box-shadow: 0px 0px 10px 4px rgb(44, 44, 44); display: none; ">
|
217 |
+
<img alt="" src="<?php echo WpProQuiz_Controller_Admin::getPluginUrl().'/img/checkCcontinue.png'; ?> ">
|
218 |
+
</div>
|
219 |
+
</div>
|
220 |
</fieldset>
|
221 |
</td>
|
222 |
</tr>
|
230 |
<span><?php _e('Back button', 'wp-pro-quiz'); ?></span>
|
231 |
</legend>
|
232 |
<label for="back_button">
|
233 |
+
<input type="checkbox" id="back_button" value="1" name="backButton" <?php echo $this->quiz->isBackButton() ? 'checked="checked"' : ''; ?>>
|
234 |
<?php _e('Activate', 'wp-pro-quiz'); ?>
|
235 |
</label>
|
236 |
<p class="description">
|
237 |
+
<?php _e('Allows to use the back button in a question. (Option will be ignored if "Check -> Continue" or "questions below each other" was used)', 'wp-pro-quiz'); ?>
|
238 |
</p>
|
239 |
+
<div class="wpProQuiz_demoBox">
|
240 |
+
<a href="#"><?php _e('Demo', 'wp-pro-quiz'); ?></a>
|
241 |
+
<div style="z-index: 9999999; position: absolute; background-color: #E9E9E9; padding: 10px; box-shadow: 0px 0px 10px 4px rgb(44, 44, 44); display: none; ">
|
242 |
+
<img alt="" src="<?php echo WpProQuiz_Controller_Admin::getPluginUrl().'/img/backButton.png'; ?> ">
|
243 |
+
</div>
|
244 |
+
</div>
|
245 |
</fieldset>
|
246 |
</td>
|
247 |
</tr>
|
255 |
<span><?php _e('Statistics', 'wp-pro-quiz'); ?></span>
|
256 |
</legend>
|
257 |
<label for="statistics_on">
|
258 |
+
<input type="checkbox" id="statistics_on" value="1" name="statisticsOn" <?php echo $this->quiz->isStatisticsOn() ? 'checked="checked"' : ''; ?>>
|
259 |
<?php _e('Activate', 'wp-pro-quiz'); ?>
|
260 |
</label>
|
261 |
<p class="description">
|
lib/view/WpProQuiz_View_QuizOverall.php
CHANGED
@@ -43,6 +43,7 @@ class WpProQuiz_View_QuizOverall extends WpProQuiz_View_View {
|
|
43 |
</p>
|
44 |
</div>
|
45 |
<div style="margin: 8px 0px;">
|
|
|
46 |
<a class="button-primary" style="font-weight: bold;" href="admin.php?page=wpProQuiz&module=globalSettings"><?php _e('Settings in case of problems', 'wp-pro-quiz'); ?></a>
|
47 |
</div>
|
48 |
<table class="wp-list-table widefat">
|
43 |
</p>
|
44 |
</div>
|
45 |
<div style="margin: 8px 0px;">
|
46 |
+
<a class="button-primary" style="font-weight: bold; display: none;" href="admin.php?page=wpProQuiz&module=styleManager"><?php _e('Style Manager', 'wp-pro-quiz'); ?></a>
|
47 |
<a class="button-primary" style="font-weight: bold;" href="admin.php?page=wpProQuiz&module=globalSettings"><?php _e('Settings in case of problems', 'wp-pro-quiz'); ?></a>
|
48 |
</div>
|
49 |
<table class="wp-list-table widefat">
|
lib/view/WpProQuiz_View_StyleManager.php
ADDED
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class WpProQuiz_View_StyleManager extends WpProQuiz_View_View {
|
3 |
+
|
4 |
+
public function show() {
|
5 |
+
|
6 |
+
?>
|
7 |
+
|
8 |
+
|
9 |
+
<div class="wrap">
|
10 |
+
<h2 style="margin-bottom: 10px;"><?php echo $this->header; ?></h2>
|
11 |
+
<a class="button-secondary" href="admin.php?page=wpProQuiz"><?php _e('back to overview', 'wp-pro-quiz'); ?></a>
|
12 |
+
<form method="post">
|
13 |
+
<div id="poststuff">
|
14 |
+
<div class="postbox">
|
15 |
+
<h3 class="hndle"><?php _e('Front', 'wp-pro-quiz'); ?></h3>
|
16 |
+
<div class="wrap wpProQuiz_quizEdit">
|
17 |
+
<table class="form-table">
|
18 |
+
<tbody>
|
19 |
+
<tr>
|
20 |
+
<td width="50%">
|
21 |
+
|
22 |
+
|
23 |
+
</td>
|
24 |
+
<td>
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
+
<div style="" class="wpProQuiz_quiz">
|
29 |
+
<ol class="wpProQuiz_list">
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
<li class="wpProQuiz_listItem" style="display: list-item;">
|
45 |
+
<div class="wpProQuiz_question_page">
|
46 |
+
Frage <span>4</span> von <span>7</span>
|
47 |
+
<span style="float:right;">1 Punkte</span>
|
48 |
+
<div style="clear: right;"></div>
|
49 |
+
</div>
|
50 |
+
<h3><span>4</span>. Frage</h3>
|
51 |
+
<div class="wpProQuiz_question" style="margin: 10px 0px 0px 0px;">
|
52 |
+
<div class="wpProQuiz_question_text">
|
53 |
+
<p>Frage3</p>
|
54 |
+
</div>
|
55 |
+
<ul class="wpProQuiz_questionList">
|
56 |
+
|
57 |
+
|
58 |
+
|
59 |
+
|
60 |
+
|
61 |
+
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
<li class="wpProQuiz_questionListItem" style="">
|
66 |
+
<label>
|
67 |
+
<input class="wpProQuiz_questionInput" type="checkbox" name="question_5_26" value="2"> Test </label>
|
68 |
+
</li><li class="wpProQuiz_questionListItem" style="">
|
69 |
+
<label>
|
70 |
+
<input class="wpProQuiz_questionInput" type="checkbox" name="question_5_26" value="1"> Test </label>
|
71 |
+
</li><li class="wpProQuiz_questionListItem" style="">
|
72 |
+
<label>
|
73 |
+
<input class="wpProQuiz_questionInput" type="checkbox" name="question_5_26" value="3"> Test </label>
|
74 |
+
</li></ul>
|
75 |
+
</div>
|
76 |
+
<div class="wpProQuiz_response" style="">
|
77 |
+
<div style="" class="wpProQuiz_correct">
|
78 |
+
<span>
|
79 |
+
Korrekt </span>
|
80 |
+
<p>
|
81 |
+
</p>
|
82 |
+
</div>
|
83 |
+
|
84 |
+
</div>
|
85 |
+
<div class="wpProQuiz_tipp" style="display: none;">
|
86 |
+
<h3>Tipp</h3>
|
87 |
+
</div>
|
88 |
+
<input type="button" name="check" value="Prüfen" class="wpProQuiz_QuestionButton" style="float: left !important; margin-right: 10px !important;">
|
89 |
+
<input type="button" name="back" value="Zurück" class="wpProQuiz_QuestionButton" style="float: left !important; margin-right: 10px !important; ">
|
90 |
+
<input type="button" name="next" value="Nächste Frage" class="wpProQuiz_QuestionButton" style="float: right; ">
|
91 |
+
<div style="clear: both;"></div>
|
92 |
+
</li></ol>
|
93 |
+
</div>
|
94 |
+
|
95 |
+
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
|
100 |
+
|
101 |
+
|
102 |
+
</td>
|
103 |
+
</tr>
|
104 |
+
</tbody>
|
105 |
+
</table>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
</form>
|
110 |
+
</div>
|
111 |
+
|
112 |
+
<?php
|
113 |
+
}
|
114 |
+
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: xeno010
|
|
3 |
Tags: quiz, test, answer, question, learning
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.5
|
6 |
-
Stable tag: 0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -140,4 +140,9 @@ Own themes changes internal order of filters, what causes the problems. With ad
|
|
140 |
* Statistics function has been extended
|
141 |
* Setting page in case of problems added
|
142 |
* "Copy questions from another Quiz" function added
|
143 |
-
* "Execute quiz only once" option added
|
|
|
|
|
|
|
|
|
|
3 |
Tags: quiz, test, answer, question, learning
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.5
|
6 |
+
Stable tag: 0.14
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
140 |
* Statistics function has been extended
|
141 |
* Setting page in case of problems added
|
142 |
* "Copy questions from another Quiz" function added
|
143 |
+
* "Execute quiz only once" option added
|
144 |
+
|
145 |
+
= 0.14 =
|
146 |
+
* Bugfix in the statistics function
|
147 |
+
* "Questions below each other" option was added
|
148 |
+
* "Number answers" option was added
|
wp-pro-quiz.php
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
Plugin Name: WP-Pro-Quiz
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/wp-pro-quiz
|
5 |
Description: A powerful and beautiful quiz plugin for WordPress.
|
6 |
-
Version: 0.
|
7 |
Author: Julius Fischer
|
8 |
Author URI: http://www.it-gecko.de
|
9 |
*/
|
10 |
|
11 |
-
define('WPPROQUIZ_VERSION', '0.
|
12 |
|
13 |
include_once 'lib/controller/WpProQuiz_Controller_Admin.php';
|
14 |
include_once 'lib/helper/WpProQuiz_Helper_DbUpgrade.php';
|
3 |
Plugin Name: WP-Pro-Quiz
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/wp-pro-quiz
|
5 |
Description: A powerful and beautiful quiz plugin for WordPress.
|
6 |
+
Version: 0.14
|
7 |
Author: Julius Fischer
|
8 |
Author URI: http://www.it-gecko.de
|
9 |
*/
|
10 |
|
11 |
+
define('WPPROQUIZ_VERSION', '0.14');
|
12 |
|
13 |
include_once 'lib/controller/WpProQuiz_Controller_Admin.php';
|
14 |
include_once 'lib/helper/WpProQuiz_Helper_DbUpgrade.php';
|