Wp-Pro-Quiz - Version 0.16

Version Description

  • Bug in uninstall script fixed
  • Option "hide correct- and incorrect-message" added
  • Option "correct- and incorrect-answermark" added
  • Option "show only specific number of questions" added
  • Bugfix in statistic function
Download this release

Release Info

Developer xeno010
Plugin Icon 128x128 Wp-Pro-Quiz
Version 0.16
Comparing to
See all releases

Code changes from version 0.15 to 0.16

img/hideAnswerMessageBox.png ADDED
Binary file
img/mark.png ADDED
Binary file
js/wpProQuiz_admin.js CHANGED
@@ -193,6 +193,14 @@ jQuery(document).ready(function($) {
193
  }
194
  });
195
 
 
 
 
 
 
 
 
 
196
  },
197
 
198
  displaySingle: function(type) {
@@ -698,10 +706,21 @@ jQuery(document).ready(function($) {
698
  return false;
699
  });
700
 
 
 
 
 
 
 
 
 
 
 
701
  $('#statistics_on').change();
702
  $('#wpProQuiz_resultGradeEnabled').change();
703
  $('input[name="quizRunOnce"]').change();
704
  $('input[name="quizRunOnceType"]:checked').change();
 
705
  };
706
 
707
  init();
@@ -736,6 +755,7 @@ jQuery(document).ready(function($) {
736
  var $tbody = $table.find('tbody');
737
  var points = 0;
738
  var gPoints = 0;
 
739
 
740
  if(currectTab == 'wpProQuiz_typeOverview') {
741
  return;
@@ -755,9 +775,11 @@ jQuery(document).ready(function($) {
755
  } else {
756
  $table.find('.wpProQuiz_cResult').text("0%");
757
  }
 
758
  } else {
759
  points += (j.cCorrectAnswerPoints * i.find('.wpProQuiz_pointsAnswer').text());
760
  gPoints += (j.cCorrect + j.cIncorrect ) * i.find('.wpProQuiz_points').text();
 
761
  }
762
  };
763
 
193
  }
194
  });
195
 
196
+ $('.wpProQuiz_demoBox a').mouseover(function() {
197
+ $(this).next().show();
198
+ }).mouseout(function() {
199
+ $(this).next().hide();
200
+ }).click(function() {
201
+ return false;
202
+ });
203
+
204
  },
205
 
206
  displaySingle: function(type) {
706
  return false;
707
  });
708
 
709
+ $('input[name="showMaxQuestion"]').change(function() {
710
+ if(this.checked) {
711
+ $('input[name="statisticsOn"]').removeAttr('checked').attr('disabled', 'disabled').change();
712
+ $('#wpProQuiz_showMaxBox').show();
713
+ } else {
714
+ $('input[name="statisticsOn"]').removeAttr('disabled');
715
+ $('#wpProQuiz_showMaxBox').hide();
716
+ }
717
+ });
718
+
719
  $('#statistics_on').change();
720
  $('#wpProQuiz_resultGradeEnabled').change();
721
  $('input[name="quizRunOnce"]').change();
722
  $('input[name="quizRunOnceType"]:checked').change();
723
+ $('input[name="showMaxQuestion"]').change();
724
  };
725
 
726
  init();
755
  var $tbody = $table.find('tbody');
756
  var points = 0;
757
  var gPoints = 0;
758
+ var cPoints = 0;
759
 
760
  if(currectTab == 'wpProQuiz_typeOverview') {
761
  return;
775
  } else {
776
  $table.find('.wpProQuiz_cResult').text("0%");
777
  }
778
+ i.find('.wpProQuiz_cCorrectAnswerPoints').text(cPoints);
779
  } else {
780
  points += (j.cCorrectAnswerPoints * i.find('.wpProQuiz_pointsAnswer').text());
781
  gPoints += (j.cCorrect + j.cIncorrect ) * i.find('.wpProQuiz_points').text();
782
+ cPoints += j.cCorrectAnswerPoints * i.find('.wpProQuiz_pointsAnswer').text();
783
  }
784
  };
785
 
js/wpProQuiz_admin.min.js CHANGED
@@ -3,30 +3,32 @@ $this.parent().parent().find(".wpProQuiz_quizName").text();a("<li>"+b+"</li>").a
3
  (a.preventDefault(),!1):!0});a(".wpProQuiz_import").click(function(c){c.preventDefault();a(".wpProQuiz_importList").toggle("fast");a(".wpProQuiz_exportList").hide();a(".wpProQuiz_exportCheck").hide()});a(".wpProQuiz_export").click(function(c){c.preventDefault();a(".wpProQuiz_exportList").toggle("fast");a(".wpProQuiz_exportCheck").toggle("fast");a(".wpProQuiz_importList").hide()});a('input[name="exportItems"]').change(function(){c.changeExport(this)});a('input[name="exportItemsAll"]').change(function(){var c=
4
  a('input[name="exportItems"]');this.checked?c.attr("checked",!0):c.attr("checked",!1);c.change()});a("#exportStart").click(function(a){c.startExport()||a.preventDefault()})};a.fn.wpProQuiz_questionEdit=function(){var c={setup:function(){a('input[name="answerType"]').click(function(){a(".answer_felder").children().css("display","none");switch(this.value){case "single":c.displaySingle("radio");break;case "multiple":c.displaySingle("checkbox");break;case "free_answer":c.displayFreeAnswer();break;case "sort_answer":c.displaySortAnswer();
5
  break;case "matrix_sort_answer":c.displayMatrixSortAnswer();break;case "cloze_answer":c.displayClozeAnswer()}});a(".addAnswer").click(function(){c.addAnswer(this)});a(".deleteAnswer").click(function(){c.deleteAnswer(this)});a("#saveQuestion").click(function(){return e()});a(".sort_answer ul, .classic_answer ul, .matrix_sort_answer ul").sortable({handle:".wpProQuiz_move",update:function(){c.setValueClassicAnswer()}});a("#wpProQuiz_correctSameText").change(function(){this.checked?a("#wpProQuiz_incorrectMassageBox").hide():
6
- a("#wpProQuiz_incorrectMassageBox").show()});a("#wpProQuiz_tip").change(function(){this.checked?a("#wpProQuiz_tipBox").show():a("#wpProQuiz_tipBox").hide()});a('input[name="pointsPerAnswer"]').change(function(){this.checked?a("#wpProQuiz_showPointsBox").show():a("#wpProQuiz_showPointsBox").hide()})},displaySingle:function(b){a(".classic_answer").find('input[name="answerJson[classic_answer][correct][]"]').each(function(){a("<input type="+b+" />").attr({name:this.name,value:this.value,checked:this.checked}).insertBefore(this)}).remove();
7
- a(".classic_answer").css("display","block")},displayFreeAnswer:function(){a(".free_answer").css("display","block")},displaySortAnswer:function(){a(".sort_answer").css("display","block")},displayMatrixSortAnswer:function(){a(".matrix_sort_answer").show()},displayClozeAnswer:function(){a(".cloze_answer").show()},addAnswer:function(b){a(b).siblings("ul").children().first().clone().css("display","block").appendTo(a(b).siblings("ul"));c.setValueClassicAnswer();a(".deleteAnswer").click(function(){c.deleteAnswer(this)})},
8
- deleteAnswer:function(b){a(b).parent("li").remove();c.setValueClassicAnswer()},setValueClassicAnswer:function(){var b=0;a('input[name="answerJson[classic_answer][correct][]"]').each(function(){this.value=b++});b=0;a('input[name="answerJson[answer_matrix_sort][sort_string_html][]"]').each(function(){this.value=b++});b=0;a('input[name="answerJson[answer_matrix_sort][answer_html][]"]').each(function(){this.value=b++})}},e=function(){var c="",d=a('input[name="answerType"]:checked'),e=a('input[name="points"]'),
9
- c=void 0!=tinymce.editors.question&&!tinymce.editors.question.isHidden()?tinymce.editors.question.getContent():a('textarea[name="question"]').val();if(isNaN(e.val())||1>e.val())return alert(wpProQuizLocalize.no_nummber_points),e.focus(),!1;if(b(c))return alert(wpProQuizLocalize.no_question_msg),!1;if("single"==d.val()||"multiple"==d.val()){var f=!0;if(1>a('input[name="answerJson[classic_answer][correct][]"]:checked').each(function(){f=""!=a.trim(a(this).parent().siblings("textarea").val())?f&1:!1}).size())return alert(wpProQuizLocalize.no_correct_msg),
10
- !1;if(!f)return alert(wpProQuizLocalize.no_answer_msg),!1}else if("sort_answer"==d.val()){if(f=!1,a('textarea[name="answerJson[answer_sort][answer][]"]').each(function(){f=b(a(this).val())?f|0:!0}),!f)return alert(wpProQuizLocalize.no_answer_msg),!1}else if("matrix_sort_answer"==d.val()){if(f=!1,a('textarea[name="answerJson[answer_matrix_sort][answer][]"]').each(function(){if(b(a(this).val()))f|=0;else{var c=a(this).parent().parent().find('textarea[name="answerJson[answer_matrix_sort][sort_string][]"]');
11
- f=b(c.val())?f|0:!0}}),!f)return alert(wpProQuizLocalize.no_answer_msg),!1}else if("cloze_answer"==d.val()){if(c="",c=void 0!=tinymce.editors.cloze&&!tinymce.editors.cloze.isHidden()?tinymce.editors.cloze.getContent():a('textarea[name="answerJson[answer_cloze][text]"]').val(),b(c))return alert(wpProQuizLocalize.no_answer_msg),!1}else if("free_answer"==d.val()&&(c=a('textarea[name="answerJson[free_answer][correct]"]').val(),b(c)))return alert(wpProQuizLocalize.no_answer_msg),!1;return!0},b=function(b){b=
12
- a.trim(b);return!b||0===b.length};c.setup();1>a('input[name="answerType"][checked="checked"]').size()&&a('input[name="answerType"][value="single"]').attr({checked:"checked"});a('input[name="answerType"]:checked').click();a("#wpProQuiz_correctSameText").change();a("#wpProQuiz_tip").change();a('input[name="pointsPerAnswer"]').change()};a.fn.wpProQuiz_questionOverall=function(){var c={saveSort:function(){var e={action:"wp_pro_quiz_update_sort",sort:c.parseSortArray()},b=(window.location.pathname+window.location.search).replace("admin.php",
13
- "admin-ajax.php")+"&action=save_sort";a.post(b,e,function(){a("#sortMsg").show(400).delay(1E3).hide(400)})},parseSortArray:function(){var c=[];a("tbody tr").each(function(){c.push(this.id.replace("wpProQuiz_questionId_",""))});return c},sortUpdate:function(){a(".wpProQuiz_questionOverall tbody").children().each(function(){$t=a(this).children().first().text(a(this).index()+1)})},loadQuestionCopy:function(){var c=a("#questionCopySelect"),b=(window.location.pathname+window.location.search).replace("admin.php",
14
- "admin-ajax.php")+"&action=load_question";c.hide();c.empty();a("#loadDataImg").show();a.post(b,{action:"wp_pro_quiz_load_question",excludeId:1},function(b){a.each(b,function(b,g){var f=a(document.createElement("optgroup"));f.attr("label",g.name);a.each(g.question,function(b,c){a(document.createElement("option")).val(c.id).text(c.name).appendTo(f)});c.append(f)});a("#loadDataImg").hide();c.show()},"json")}};a(".wp-list-table tbody").sortable({handle:".wpProQuiz_move",update:c.sortUpdate});a(".wpProQuiz_delete").click(function(a){return!confirm(wpProQuizLocalize.delete_msg)?
15
- (a.preventDefault(),!1):!0});a("#wpProQuiz_saveSort").click(function(a){a.preventDefault();c.saveSort()});a("#wpProQuiz_questionCopy").click(function(e){var b=a(".wpProQuiz_questionCopy");b.is(":visible")?b.hide():(b.show(),c.loadQuestionCopy());e.preventDefault()})};a.fn.wpProQuiz_quizEdit=function(){var c={addResult:function(){a("#resultList").children().each(function(){if("none"==a(this).css("display")){var b=a(this),c=b.find('textarea[name="resultTextGrade[text][]"]'),d=c.attr("id"),e=!0;b.find('input[name="resultTextGrade[prozent][]"]').val("0");
16
- b.find('input[name="resultTextGrade[activ][]"]').val("1").keyup();void 0!=tinymce.editors[d]&&!tinymce.editors[d].isHidden()&&(e=!1);void 0!=switchEditors&&!e&&(switchEditors.go(d,"toggle"),switchEditors.go(d,"toggle"));void 0!=tinymce.editors[d]?tinymce.editors[d].setContent(""):c.val("");void 0!=tinymce.editors[d]&&!e&&tinyMCE.execCommand("mceRemoveControl",!1,d);b.parent().children(":visible").last().after(b);void 0!=tinymce.editors[d]&&!e&&tinyMCE.execCommand("mceAddControl",!1,d);a(this).show();
17
- void 0!=switchEditors&&!e&&switchEditors.go(d,"toggle");return!1}})},deleteResult:function(b){a(b).parent().parent().hide();a(b).siblings('input[name="resultTextGrade[activ][]"]').val("0")},changeResult:function(b){b=a(b);if(c.validResultInput(b.val()))return b.siblings(".resultProzent").text(b.val()),b.removeAttr("style"),!0;b.css("background-color","#FF9696");return!1},validResultInput:function(a){if(e(a))return!1;a=a.replace(/\,/,".");return!isNaN(a)&&100>=Number(a)&&0<=Number(a)?null!=a.match(/\./)?
18
- 3>a.split(".")[1].length:!0:!1},validInput:function(){if(e(a("#wpProQuiz_title").val()))return alert(wpProQuizLocalize.no_title_msg),!1;var b="",b=void 0!=tinymce.editors.text&&!tinymce.editors.text.isHidden()?tinymce.editors.text.getContent():a('textarea[name="text"]').val();if(e(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=
19
- !1});if(!g)return alert(wpProQuizLocalize.fail_grade_result),!1}return!0},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")})}},e=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()});
20
- a(".addResult").click(function(){c.addResult()});a(".deleteResult").click(function(){c.deleteResult(this)});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?
21
- (a("#wpProQuiz_quiz_run_once_type").show(),a('input[name="quizRunOnceType"]:checked').change()):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});
22
- a("#statistics_on").change();a("#wpProQuiz_resultGradeEnabled").change();a('input[name="quizRunOnce"]').change();a('input[name="quizRunOnceType"]:checked').change()};a.fn.wpProQuiz_statistics=function(){var c="wpProQuiz_typeAnonymeUser",e=!0,b={loadStatistics:function(c){var d=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php")+"&action=load_statistics",c={action:"wp_pro_quiz_load_statistics",userId:c};a("#wpProQuiz_loadData").show();a("#wpProQuiz_statistics_content, #wpProQuiz_statistics_overview").hide();
23
- a.post(d,c,b.setStatistics,"json")},setStatistics:function(b){var d=a(".wpProQuiz_statistics_table"),e=d.find("tbody"),f=0,h=0;if("wpProQuiz_typeOverview"!=c){var i=function(a,b,c){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);a.find(".wpProQuiz_cCorrectAnswerPoints").text(b.cCorrectAnswerPoints*a.find(".wpProQuiz_pointsAnswer").text());!0==c?0<h?d.find(".wpProQuiz_cResult").text(Math.round(1E4*
24
- (f/h))/100+"%"):d.find(".wpProQuiz_cResult").text("0%"):(f+=b.cCorrectAnswerPoints*a.find(".wpProQuiz_pointsAnswer").text(),h+=(b.cCorrect+b.cIncorrect)*a.find(".wpProQuiz_points").text())};i(d,b.clear,!1);a.each(b.items,function(a,b){i(e.find("#wpProQuiz_tr_"+b.id),b,!1)});i(d.find("tfoot"),b.global,!0);a("#wpProQuiz_loadData").hide();a("#wpProQuiz_statistics_content, .wpProQuiz_statistics_table").show()}},loadOverview:function(){a(".wpProQuiz_statistics_table, #wpProQuiz_statistics_content, #wpProQuiz_statistics_overview").hide();
25
- a("#wpProQuiz_loadData").show();var g=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php")+"&action=load_statistics",d={action:"wp_pro_quiz_load_statistics",overview:!0,pageLimit:a("#wpProQuiz_pageLimit").val(),onlyCompleted:Number(a("#wpProQuiz_onlyCompleted").is(":checked")),page:a("#wpProQuiz_currentPage").val(),generatePageNav:Number(e)};a.post(g,d,function(d){a("#wpProQuiz_statistics_overview_data").empty();if("wpProQuiz_typeOverview"==c){var f=a('<tr><th><a href="#">---</a></th><th class="wpProQuiz_points">---</th><th class="wpProQuiz_cCorrect" style="color: green;">---</th><th class="wpProQuiz_cIncorrect" style="color: red;">---</th><th class="wpProQuiz_cTip">---</th><th class="wpProQuiz_cResult" style="font-weight: bold;">---</th></tr>');
26
- a.each(d.items,function(b,c){var d=f.clone();d.find("a").text(c.userName).data("userId",c.userId).click(function(){a("#userSelect").val(a(this).data("userId"));a("#wpProQuiz_typeRegisteredUser").click();return!1});c.completed?(d.find(".wpProQuiz_points").text(c.cPoints),d.find(".wpProQuiz_cCorrect").text(c.cCorrect+" ("+c.pCorrect+"%)"),d.find(".wpProQuiz_cIncorrect").text(c.cIncorrect+" ("+c.pIncorrect+"%)"),d.find(".wpProQuiz_cTip").text(c.cTip),d.find(".wpProQuiz_cResult").text(Math.round(1E4*
27
- (c.cPoints/c.totalPoints))/100+"%")):d.find("th").removeAttr("style");a("#wpProQuiz_statistics_overview_data").append(d)});void 0!=d.page&&(b.setPageNav(d.page),e=!1);a("#wpProQuiz_loadData").hide();a("#wpProQuiz_statistics_overview").show()}},"json")},changeTab:function(e){c=e;"wpProQuiz_typeRegisteredUser"==e?b.loadStatistics(a("#userSelect").val()):"wpProQuiz_typeAnonymeUser"==e?b.loadStatistics(0):b.loadOverview()},resetStatistic:function(e){var d="wpProQuiz_typeRegisteredUser"==c?a("#userSelect").val():
28
- 0,j=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php")+"&action=reset";a.post(j,{action:"wp_pro_quiz_statistics",userId:d,complete:e},function(){b.changeTab(c)})},setPageNav:function(b){b=Math.ceil(b/a("#wpProQuiz_pageLimit").val());a("#wpProQuiz_currentPage").empty();for(var c=1;c<=b;c++)a(document.createElement("option")).val(c).text(c).appendTo(a("#wpProQuiz_currentPage"));a("#wpProQuiz_pageLeft, #wpProQuiz_pageRight").hide();1<a("#wpProQuiz_currentPage option").length&&
29
- a("#wpProQuiz_pageRight").show()}};a(".wpProQuiz_tab").click(function(){var c=a(this);if(c.hasClass("button-primary"))return!1;"wpProQuiz_typeRegisteredUser"==c.attr("id")?a("#wpProQuiz_userBox").show():a("#wpProQuiz_userBox").hide();a(".wpProQuiz_tab").removeClass("button-primary").addClass("button-secondary");c.removeClass("button-secondary").addClass("button-primary");b.changeTab(c.attr("id"));return!1});a("#userSelect").change(function(){b.changeTab("wpProQuiz_typeRegisteredUser")});a(".wpProQuiz_update").click(function(){b.changeTab(c);
 
 
30
  return!1});a("#wpProQuiz_reset").click(function(){confirm(wpProQuizLocalize.reset_statistics_msg)&&b.resetStatistic(!1);return!1});a(".wpProQuiz_resetComplete").click(function(){confirm(wpProQuizLocalize.reset_statistics_msg)&&b.resetStatistic(!0);return!1});a("#wpProQuiz_pageLimit, #wpProQuiz_onlyCompleted").change(function(){a("#wpProQuiz_currentPage").val(0);e=!0;b.changeTab(c);return!1});a("#wpProQuiz_currentPage").change(function(){a("#wpProQuiz_pageLeft, #wpProQuiz_pageRight").hide();1!=a("#wpProQuiz_currentPage option").length&&
31
  (a("#wpProQuiz_currentPage option:first-child:selected").length?a("#wpProQuiz_pageRight").show():a("#wpProQuiz_currentPage option:last-child:selected").length?a("#wpProQuiz_pageLeft").show():a("#wpProQuiz_pageLeft, #wpProQuiz_pageRight").show());b.changeTab(c)});a("#wpProQuiz_pageRight").click(function(){a("#wpProQuiz_currentPage option:selected").next().attr("selected","selected");a("#wpProQuiz_currentPage").change();return!1});a("#wpProQuiz_pageLeft").click(function(){a("#wpProQuiz_currentPage option:selected").prev().attr("selected",
32
  "selected");a("#wpProQuiz_currentPage").change();return!1});b.changeTab("wpProQuiz_typeAnonymeUser")};a(".wpProQuiz_quizOverall").length&&a(".wpProQuiz_quizOverall").wpProQuiz_preview();a(".wpProQuiz_quizOverall").length&&a(".wpProQuiz_quizOverall").wpProQuiz_quizOverall();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();
3
  (a.preventDefault(),!1):!0});a(".wpProQuiz_import").click(function(c){c.preventDefault();a(".wpProQuiz_importList").toggle("fast");a(".wpProQuiz_exportList").hide();a(".wpProQuiz_exportCheck").hide()});a(".wpProQuiz_export").click(function(c){c.preventDefault();a(".wpProQuiz_exportList").toggle("fast");a(".wpProQuiz_exportCheck").toggle("fast");a(".wpProQuiz_importList").hide()});a('input[name="exportItems"]').change(function(){c.changeExport(this)});a('input[name="exportItemsAll"]').change(function(){var c=
4
  a('input[name="exportItems"]');this.checked?c.attr("checked",!0):c.attr("checked",!1);c.change()});a("#exportStart").click(function(a){c.startExport()||a.preventDefault()})};a.fn.wpProQuiz_questionEdit=function(){var c={setup:function(){a('input[name="answerType"]').click(function(){a(".answer_felder").children().css("display","none");switch(this.value){case "single":c.displaySingle("radio");break;case "multiple":c.displaySingle("checkbox");break;case "free_answer":c.displayFreeAnswer();break;case "sort_answer":c.displaySortAnswer();
5
  break;case "matrix_sort_answer":c.displayMatrixSortAnswer();break;case "cloze_answer":c.displayClozeAnswer()}});a(".addAnswer").click(function(){c.addAnswer(this)});a(".deleteAnswer").click(function(){c.deleteAnswer(this)});a("#saveQuestion").click(function(){return e()});a(".sort_answer ul, .classic_answer ul, .matrix_sort_answer ul").sortable({handle:".wpProQuiz_move",update:function(){c.setValueClassicAnswer()}});a("#wpProQuiz_correctSameText").change(function(){this.checked?a("#wpProQuiz_incorrectMassageBox").hide():
6
+ a("#wpProQuiz_incorrectMassageBox").show()});a("#wpProQuiz_tip").change(function(){this.checked?a("#wpProQuiz_tipBox").show():a("#wpProQuiz_tipBox").hide()});a('input[name="pointsPerAnswer"]').change(function(){this.checked?a("#wpProQuiz_showPointsBox").show():a("#wpProQuiz_showPointsBox").hide()});a(".wpProQuiz_demoBox a").mouseover(function(){a(this).next().show()}).mouseout(function(){a(this).next().hide()}).click(function(){return!1})},displaySingle:function(b){a(".classic_answer").find('input[name="answerJson[classic_answer][correct][]"]').each(function(){a("<input type="+
7
+ b+" />").attr({name:this.name,value:this.value,checked:this.checked}).insertBefore(this)}).remove();a(".classic_answer").css("display","block")},displayFreeAnswer:function(){a(".free_answer").css("display","block")},displaySortAnswer:function(){a(".sort_answer").css("display","block")},displayMatrixSortAnswer:function(){a(".matrix_sort_answer").show()},displayClozeAnswer:function(){a(".cloze_answer").show()},addAnswer:function(b){a(b).siblings("ul").children().first().clone().css("display","block").appendTo(a(b).siblings("ul"));
8
+ c.setValueClassicAnswer();a(".deleteAnswer").click(function(){c.deleteAnswer(this)})},deleteAnswer:function(b){a(b).parent("li").remove();c.setValueClassicAnswer()},setValueClassicAnswer:function(){var b=0;a('input[name="answerJson[classic_answer][correct][]"]').each(function(){this.value=b++});b=0;a('input[name="answerJson[answer_matrix_sort][sort_string_html][]"]').each(function(){this.value=b++});b=0;a('input[name="answerJson[answer_matrix_sort][answer_html][]"]').each(function(){this.value=b++})}},
9
+ e=function(){var c="",d=a('input[name="answerType"]:checked'),e=a('input[name="points"]'),c=void 0!=tinymce.editors.question&&!tinymce.editors.question.isHidden()?tinymce.editors.question.getContent():a('textarea[name="question"]').val();if(isNaN(e.val())||1>e.val())return alert(wpProQuizLocalize.no_nummber_points),e.focus(),!1;if(b(c))return alert(wpProQuizLocalize.no_question_msg),!1;if("single"==d.val()||"multiple"==d.val()){var f=!0;if(1>a('input[name="answerJson[classic_answer][correct][]"]:checked').each(function(){f=
10
+ ""!=a.trim(a(this).parent().siblings("textarea").val())?f&1:!1}).size())return alert(wpProQuizLocalize.no_correct_msg),!1;if(!f)return alert(wpProQuizLocalize.no_answer_msg),!1}else if("sort_answer"==d.val()){if(f=!1,a('textarea[name="answerJson[answer_sort][answer][]"]').each(function(){f=b(a(this).val())?f|0:!0}),!f)return alert(wpProQuizLocalize.no_answer_msg),!1}else if("matrix_sort_answer"==d.val()){if(f=!1,a('textarea[name="answerJson[answer_matrix_sort][answer][]"]').each(function(){if(b(a(this).val()))f|=
11
+ 0;else{var c=a(this).parent().parent().find('textarea[name="answerJson[answer_matrix_sort][sort_string][]"]');f=b(c.val())?f|0:!0}}),!f)return alert(wpProQuizLocalize.no_answer_msg),!1}else if("cloze_answer"==d.val()){if(c="",c=void 0!=tinymce.editors.cloze&&!tinymce.editors.cloze.isHidden()?tinymce.editors.cloze.getContent():a('textarea[name="answerJson[answer_cloze][text]"]').val(),b(c))return alert(wpProQuizLocalize.no_answer_msg),!1}else if("free_answer"==d.val()&&(c=a('textarea[name="answerJson[free_answer][correct]"]').val(),
12
+ b(c)))return alert(wpProQuizLocalize.no_answer_msg),!1;return!0},b=function(b){b=a.trim(b);return!b||0===b.length};c.setup();1>a('input[name="answerType"][checked="checked"]').size()&&a('input[name="answerType"][value="single"]').attr({checked:"checked"});a('input[name="answerType"]:checked').click();a("#wpProQuiz_correctSameText").change();a("#wpProQuiz_tip").change();a('input[name="pointsPerAnswer"]').change()};a.fn.wpProQuiz_questionOverall=function(){var c={saveSort:function(){var e={action:"wp_pro_quiz_update_sort",
13
+ sort:c.parseSortArray()},b=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php")+"&action=save_sort";a.post(b,e,function(){a("#sortMsg").show(400).delay(1E3).hide(400)})},parseSortArray:function(){var c=[];a("tbody tr").each(function(){c.push(this.id.replace("wpProQuiz_questionId_",""))});return c},sortUpdate:function(){a(".wpProQuiz_questionOverall tbody").children().each(function(){$t=a(this).children().first().text(a(this).index()+1)})},loadQuestionCopy:function(){var c=
14
+ a("#questionCopySelect"),b=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php")+"&action=load_question";c.hide();c.empty();a("#loadDataImg").show();a.post(b,{action:"wp_pro_quiz_load_question",excludeId:1},function(b){a.each(b,function(b,g){var f=a(document.createElement("optgroup"));f.attr("label",g.name);a.each(g.question,function(b,c){a(document.createElement("option")).val(c.id).text(c.name).appendTo(f)});c.append(f)});a("#loadDataImg").hide();c.show()},"json")}};
15
+ a(".wp-list-table tbody").sortable({handle:".wpProQuiz_move",update:c.sortUpdate});a(".wpProQuiz_delete").click(function(a){return!confirm(wpProQuizLocalize.delete_msg)?(a.preventDefault(),!1):!0});a("#wpProQuiz_saveSort").click(function(a){a.preventDefault();c.saveSort()});a("#wpProQuiz_questionCopy").click(function(e){var b=a(".wpProQuiz_questionCopy");b.is(":visible")?b.hide():(b.show(),c.loadQuestionCopy());e.preventDefault()})};a.fn.wpProQuiz_quizEdit=function(){var c={addResult:function(){a("#resultList").children().each(function(){if("none"==
16
+ a(this).css("display")){var b=a(this),c=b.find('textarea[name="resultTextGrade[text][]"]'),d=c.attr("id"),e=!0;b.find('input[name="resultTextGrade[prozent][]"]').val("0");b.find('input[name="resultTextGrade[activ][]"]').val("1").keyup();void 0!=tinymce.editors[d]&&!tinymce.editors[d].isHidden()&&(e=!1);void 0!=switchEditors&&!e&&(switchEditors.go(d,"toggle"),switchEditors.go(d,"toggle"));void 0!=tinymce.editors[d]?tinymce.editors[d].setContent(""):c.val("");void 0!=tinymce.editors[d]&&!e&&tinyMCE.execCommand("mceRemoveControl",
17
+ !1,d);b.parent().children(":visible").last().after(b);void 0!=tinymce.editors[d]&&!e&&tinyMCE.execCommand("mceAddControl",!1,d);a(this).show();void 0!=switchEditors&&!e&&switchEditors.go(d,"toggle");return!1}})},deleteResult:function(b){a(b).parent().parent().hide();a(b).siblings('input[name="resultTextGrade[activ][]"]').val("0")},changeResult:function(b){b=a(b);if(c.validResultInput(b.val()))return b.siblings(".resultProzent").text(b.val()),b.removeAttr("style"),!0;b.css("background-color","#FF9696");
18
+ return!1},validResultInput:function(a){if(e(a))return!1;a=a.replace(/\,/,".");return!isNaN(a)&&100>=Number(a)&&0<=Number(a)?null!=a.match(/\./)?3>a.split(".")[1].length:!0:!1},validInput:function(){if(e(a("#wpProQuiz_title").val()))return alert(wpProQuizLocalize.no_title_msg),!1;var b="",b=void 0!=tinymce.editors.text&&!tinymce.editors.text.isHidden()?tinymce.editors.text.getContent():a('textarea[name="text"]').val();if(e(b))return alert(wpProQuizLocalize.no_quiz_start_msg),!1;if(a("#wpProQuiz_resultGradeEnabled:checked").length){var g=
19
+ !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},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")})}},
20
+ e=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)});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(),
21
+ 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()):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():
22
+ 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('input[name="showMaxQuestion"]').change(function(){this.checked?(a('input[name="statisticsOn"]').removeAttr("checked").attr("disabled","disabled").change(),a("#wpProQuiz_showMaxBox").show()):(a('input[name="statisticsOn"]').removeAttr("disabled"),
23
+ a("#wpProQuiz_showMaxBox").hide())});a("#statistics_on").change();a("#wpProQuiz_resultGradeEnabled").change();a('input[name="quizRunOnce"]').change();a('input[name="quizRunOnceType"]:checked').change();a('input[name="showMaxQuestion"]').change()};a.fn.wpProQuiz_statistics=function(){var c="wpProQuiz_typeAnonymeUser",e=!0,b={loadStatistics:function(c){var d=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php")+"&action=load_statistics",c={action:"wp_pro_quiz_load_statistics",
24
+ userId:c};a("#wpProQuiz_loadData").show();a("#wpProQuiz_statistics_content, #wpProQuiz_statistics_overview").hide();a.post(d,c,b.setStatistics,"json")},setStatistics:function(b){var d=a(".wpProQuiz_statistics_table"),e=d.find("tbody"),f=0,h=0,i=0;if("wpProQuiz_typeOverview"!=c){var j=function(a,b,c){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);a.find(".wpProQuiz_cCorrectAnswerPoints").text(b.cCorrectAnswerPoints*
25
+ a.find(".wpProQuiz_pointsAnswer").text());!0==c?(0<h?d.find(".wpProQuiz_cResult").text(Math.round(1E4*(f/h))/100+"%"):d.find(".wpProQuiz_cResult").text("0%"),a.find(".wpProQuiz_cCorrectAnswerPoints").text(i)):(f+=b.cCorrectAnswerPoints*a.find(".wpProQuiz_pointsAnswer").text(),h+=(b.cCorrect+b.cIncorrect)*a.find(".wpProQuiz_points").text(),i+=b.cCorrectAnswerPoints*a.find(".wpProQuiz_pointsAnswer").text())};j(d,b.clear,!1);a.each(b.items,function(a,b){j(e.find("#wpProQuiz_tr_"+b.id),b,!1)});j(d.find("tfoot"),
26
+ b.global,!0);a("#wpProQuiz_loadData").hide();a("#wpProQuiz_statistics_content, .wpProQuiz_statistics_table").show()}},loadOverview:function(){a(".wpProQuiz_statistics_table, #wpProQuiz_statistics_content, #wpProQuiz_statistics_overview").hide();a("#wpProQuiz_loadData").show();var g=(window.location.pathname+window.location.search).replace("admin.php","admin-ajax.php")+"&action=load_statistics",d={action:"wp_pro_quiz_load_statistics",overview:!0,pageLimit:a("#wpProQuiz_pageLimit").val(),onlyCompleted:Number(a("#wpProQuiz_onlyCompleted").is(":checked")),
27
+ page:a("#wpProQuiz_currentPage").val(),generatePageNav:Number(e)};a.post(g,d,function(d){a("#wpProQuiz_statistics_overview_data").empty();if("wpProQuiz_typeOverview"==c){var f=a('<tr><th><a href="#">---</a></th><th class="wpProQuiz_points">---</th><th class="wpProQuiz_cCorrect" style="color: green;">---</th><th class="wpProQuiz_cIncorrect" style="color: red;">---</th><th class="wpProQuiz_cTip">---</th><th class="wpProQuiz_cResult" style="font-weight: bold;">---</th></tr>');a.each(d.items,function(b,
28
+ c){var d=f.clone();d.find("a").text(c.userName).data("userId",c.userId).click(function(){a("#userSelect").val(a(this).data("userId"));a("#wpProQuiz_typeRegisteredUser").click();return!1});c.completed?(d.find(".wpProQuiz_points").text(c.cPoints),d.find(".wpProQuiz_cCorrect").text(c.cCorrect+" ("+c.pCorrect+"%)"),d.find(".wpProQuiz_cIncorrect").text(c.cIncorrect+" ("+c.pIncorrect+"%)"),d.find(".wpProQuiz_cTip").text(c.cTip),d.find(".wpProQuiz_cResult").text(Math.round(1E4*(c.cPoints/c.totalPoints))/
29
+ 100+"%")):d.find("th").removeAttr("style");a("#wpProQuiz_statistics_overview_data").append(d)});void 0!=d.page&&(b.setPageNav(d.page),e=!1);a("#wpProQuiz_loadData").hide();a("#wpProQuiz_statistics_overview").show()}},"json")},changeTab:function(e){c=e;"wpProQuiz_typeRegisteredUser"==e?b.loadStatistics(a("#userSelect").val()):"wpProQuiz_typeAnonymeUser"==e?b.loadStatistics(0):b.loadOverview()},resetStatistic:function(e){var d="wpProQuiz_typeRegisteredUser"==c?a("#userSelect").val():0,k=(window.location.pathname+
30
+ window.location.search).replace("admin.php","admin-ajax.php")+"&action=reset";a.post(k,{action:"wp_pro_quiz_statistics",userId:d,complete:e},function(){b.changeTab(c)})},setPageNav:function(b){b=Math.ceil(b/a("#wpProQuiz_pageLimit").val());a("#wpProQuiz_currentPage").empty();for(var c=1;c<=b;c++)a(document.createElement("option")).val(c).text(c).appendTo(a("#wpProQuiz_currentPage"));a("#wpProQuiz_pageLeft, #wpProQuiz_pageRight").hide();1<a("#wpProQuiz_currentPage option").length&&a("#wpProQuiz_pageRight").show()}};
31
+ a(".wpProQuiz_tab").click(function(){var c=a(this);if(c.hasClass("button-primary"))return!1;"wpProQuiz_typeRegisteredUser"==c.attr("id")?a("#wpProQuiz_userBox").show():a("#wpProQuiz_userBox").hide();a(".wpProQuiz_tab").removeClass("button-primary").addClass("button-secondary");c.removeClass("button-secondary").addClass("button-primary");b.changeTab(c.attr("id"));return!1});a("#userSelect").change(function(){b.changeTab("wpProQuiz_typeRegisteredUser")});a(".wpProQuiz_update").click(function(){b.changeTab(c);
32
  return!1});a("#wpProQuiz_reset").click(function(){confirm(wpProQuizLocalize.reset_statistics_msg)&&b.resetStatistic(!1);return!1});a(".wpProQuiz_resetComplete").click(function(){confirm(wpProQuizLocalize.reset_statistics_msg)&&b.resetStatistic(!0);return!1});a("#wpProQuiz_pageLimit, #wpProQuiz_onlyCompleted").change(function(){a("#wpProQuiz_currentPage").val(0);e=!0;b.changeTab(c);return!1});a("#wpProQuiz_currentPage").change(function(){a("#wpProQuiz_pageLeft, #wpProQuiz_pageRight").hide();1!=a("#wpProQuiz_currentPage option").length&&
33
  (a("#wpProQuiz_currentPage option:first-child:selected").length?a("#wpProQuiz_pageRight").show():a("#wpProQuiz_currentPage option:last-child:selected").length?a("#wpProQuiz_pageLeft").show():a("#wpProQuiz_pageLeft, #wpProQuiz_pageRight").show());b.changeTab(c)});a("#wpProQuiz_pageRight").click(function(){a("#wpProQuiz_currentPage option:selected").next().attr("selected","selected");a("#wpProQuiz_currentPage").change();return!1});a("#wpProQuiz_pageLeft").click(function(){a("#wpProQuiz_currentPage option:selected").prev().attr("selected",
34
  "selected");a("#wpProQuiz_currentPage").change();return!1});b.changeTab("wpProQuiz_typeAnonymeUser")};a(".wpProQuiz_quizOverall").length&&a(".wpProQuiz_quizOverall").wpProQuiz_preview();a(".wpProQuiz_quizOverall").length&&a(".wpProQuiz_quizOverall").wpProQuiz_quizOverall();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();
js/wpProQuiz_front.js CHANGED
@@ -260,8 +260,8 @@
260
 
261
  checked.each(function() {
262
  if($(this).data('correct') == '1') {
263
- $(this).parent().parent().addClass('wpProQuiz_answerCorrect');
264
-
265
  if(this.checked) {
266
  check &= true;
267
  correctCount++;
@@ -270,7 +270,7 @@
270
  }
271
  } else {
272
  if(this.checked) {
273
- $(this).parent().parent().addClass('wpProQuiz_answerIncorrect');
274
  check &= false;
275
  }
276
  }
@@ -287,11 +287,11 @@
287
  var correct = $div.data('correct');
288
 
289
  if(correct == index) {
290
- $div.parent().addClass('wpProQuiz_answerCorrect');
291
  check &= true;
292
  correctCount++;
293
  } else {
294
- $div.parent().addClass('wpProQuiz_answerIncorrect');
295
  check = false;
296
  }
297
 
@@ -317,9 +317,9 @@
317
  if($.inArray(value, checked.data('correct')) >= 0) {
318
  correct = true;
319
  correctCount++;
320
- checked.parent().parent().addClass('wpProQuiz_answerCorrect');
321
  } else {
322
- checked.parent().parent().addClass('wpProQuiz_answerIncorrect');
323
  }
324
  } else if(type == 'matrix_sort_answer') {
325
  var check = true;
@@ -334,10 +334,10 @@
334
  if(item.data('correct') == index) {
335
  check &= true;
336
  correctCount++;
337
- $par.addClass('wpProQuiz_answerCorrect');
338
  } else {
339
  check = false;
340
- $par.addClass('wpProQuiz_answerIncorrect');
341
  }
342
 
343
  matrixArray[index] = $(this);
@@ -367,10 +367,18 @@
367
  if(cloze == iText) {
368
  check &= true;
369
  correctCount++;
370
- input.css('background-color', '#B0DAB0');
 
 
 
371
  } else {
 
372
  check = false;
373
- input.css('background-color', '#FFBABA');
 
 
 
 
374
  children.last().show();
375
  }
376
 
@@ -416,6 +424,16 @@
416
 
417
  $question.data('isChecked', true);
418
  },
 
 
 
 
 
 
 
 
 
 
419
 
420
  nextQuestion: function(btn) {
421
  var $q = $(btn).parent();
260
 
261
  checked.each(function() {
262
  if($(this).data('correct') == '1') {
263
+ plugin.methode.setAnswerMark($(this).parent().parent(), true);
264
+
265
  if(this.checked) {
266
  check &= true;
267
  correctCount++;
270
  }
271
  } else {
272
  if(this.checked) {
273
+ plugin.methode.setAnswerMark($(this).parent().parent(), false);
274
  check &= false;
275
  }
276
  }
287
  var correct = $div.data('correct');
288
 
289
  if(correct == index) {
290
+ plugin.methode.setAnswerMark($div.parent(), true);
291
  check &= true;
292
  correctCount++;
293
  } else {
294
+ plugin.methode.setAnswerMark($div.parent(), false);
295
  check = false;
296
  }
297
 
317
  if($.inArray(value, checked.data('correct')) >= 0) {
318
  correct = true;
319
  correctCount++;
320
+ plugin.methode.setAnswerMark(checked.parent().parent(), true);
321
  } else {
322
+ plugin.methode.setAnswerMark(checked.parent().parent(), false);
323
  }
324
  } else if(type == 'matrix_sort_answer') {
325
  var check = true;
334
  if(item.data('correct') == index) {
335
  check &= true;
336
  correctCount++;
337
+ plugin.methode.setAnswerMark($par, true);
338
  } else {
339
  check = false;
340
+ plugin.methode.setAnswerMark($par, false);
341
  }
342
 
343
  matrixArray[index] = $(this);
367
  if(cloze == iText) {
368
  check &= true;
369
  correctCount++;
370
+
371
+ if(!config.disabledAnswerMark) {
372
+ input.css('background-color', '#B0DAB0');
373
+ }
374
  } else {
375
+
376
  check = false;
377
+
378
+ if(!config.disabledAnswerMark) {
379
+ input.css('background-color', '#FFBABA');
380
+ }
381
+
382
  children.last().show();
383
  }
384
 
424
 
425
  $question.data('isChecked', true);
426
  },
427
+
428
+ setAnswerMark: function(obj, c) {
429
+ if(!config.disabledAnswerMark) {
430
+ if(c) {
431
+ obj.addClass('wpProQuiz_answerCorrect');
432
+ } else {
433
+ obj.addClass('wpProQuiz_answerIncorrect');
434
+ }
435
+ }
436
+ },
437
 
438
  nextQuestion: function(btn) {
439
  var $q = $(btn).parent();
js/wpProQuiz_front.min.js CHANGED
@@ -1,23 +1,23 @@
1
- (function(d){d.wpProQuizFront=function(q,e){var b=d(q),f=this,n=0,l=0,t=0,j={},m=0,p=0,k=!1,u=!1,v=!1,r=!1,s=!1;f.methode={preStartQuiz:function(){j={};e.questionRandom&&f.methode.questionRandom();e.answerRandom?f.methode.answerRandom(".wpProQuiz_questionList"):f.methode.answerRandom(b.find(".wpProQuiz_sortable").parent().parent());f.methode.answerRandom(".wpProQuiz_sortStringList");m=n=0;e.questionOnSinglePage||(e.checkAnswer?b.find('input[name="check"]').show():b.find('input[name="next"]').show());
2
- !u||!r?f.methode.startQuiz():s=!0;e.numberedAnswer&&f.methode.numberedAnswer()},startQuiz:function(){b.find(".wpProQuiz_text").hide();v?b.find(".wpProQuiz_lock").show():(t=new Date,e.timeLimit&&f.methode.setTimeLimit(),e.questionOnSinglePage&&b.find(".wpProQuiz_listItem").show(),b.find(".wpProQuiz_listItem").first().show(),b.find(".wpProQuiz_quiz").fadeIn(200),b.find(".wpProQuiz_sortable").parent().parent().sortable().disableSelection(),b.find(".wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion").sortable({connectWith:".wpProQuiz_maxtrixSortCriterion:not(:has(li)), .wpProQuiz_sortStringList",
3
  placeholder:"wpProQuiz_placehold"}).disableSelection())},scrollTo:function(a,c){var b=a.offset().top-100;c?(window.pageYOffset||document.body.scrollTop)>b&&d("html,body").animate({scrollTop:b},300):d("html,body").animate({scrollTop:b},300)},reStartQuiz:function(){b.find(".wpProQuiz_answerCorrect").removeClass("wpProQuiz_answerCorrect");b.find(".wpProQuiz_answerIncorrect").removeClass("wpProQuiz_answerIncorrect");b.find('.wpProQuiz_text, input[name="tip"]').show();b.find(".wpProQuiz_quiz, .wpProQuiz_results, .wpProQuiz_response, .wpProQuiz_correct, .wpProQuiz_incorrect").hide();
4
  b.find(".wpProQuiz_time_limit, .wpProQuiz_time_limit_expired, .wpProQuiz_sort_correct_answer").hide();b.find(".wpProQuiz_quiz").children().first().children().hide();b.find(".wpProQuiz_sortable, .wpProQuiz_sortStringItem").removeAttr("style");b.find('input[name="check"]').hide();b.find('input[name="next"]').hide();b.find(".wpProQuiz_questionInput").removeAttr("disabled").removeAttr("checked");b.find('input.wpProQuiz_questionInput[type="text"]').removeAttr("value");b.find(".wpProQuiz_resultsList").children().hide();
5
- b.find(".wpProQuiz_cloze input").removeAttr("disabled").removeAttr("value").css("background-color","");b.find(".wpProQuiz_cloze span").hide();b.find('input[name="checkSingle"]').show();e.questionOnSinglePage||b.find(".wpProQuiz_question_page").show();f.methode.resetMatrix();b.find(".wpProQuiz_listItem").data("isChecked",!1)},numberedAnswer:function(){b.find(".wpProQuiz_listItem").each(function(){var a=d(this),c=a.data("type"),b=1;("multiple"==c||"single"==c)&&a.find(".WpProQuiz_numberedAnswer").each(function(){d(this).text(b++ +
6
- ". ")})})},resetMatrix:function(){b.find(".wpProQuiz_question").each(function(){var a=d(this),c=a.find(".wpProQuiz_sortStringList");a.find(".wpProQuiz_sortStringItem").each(function(){c.append(d(this))})})},setTimeLimit:function(){var a=b.find(".wpProQuiz_time_limit"),c=a.find("span"),d=e.timeLimit;a.css({width:"100%",display:"block"});c.html(f.methode.parseTime(d));a.find(".progress").css("width","100%").animate({width:"0%"},1E3*e.timeLimit);l=setInterval(function(){c.html(f.methode.parseTime(d--));
7
- 0>d&&(clearInterval(l),l=0,a.find(".progress").clearQueue().stop(),b.find('input[name="check"]').click().parent().hide(),b.find(".wpProQuiz_time_limit_expired").show(),f.methode.showResult())},1E3)},parseTime:function(a){var c=parseInt(a%60),b=parseInt(a/60%60),a=parseInt(a/3600%24);return(9<a?"":"0")+a+":"+((9<b?"":"0")+b)+":"+((9<c?"":"0")+c)},setQuizTime:function(){var a=((new Date).getTime()-t.getTime())/1E3;b.find(".wpProQuiz_quiz_time span").first().html(f.methode.parseTime(a))},setData:function(){var a=
8
- 0;b.find(".wpProQuiz_questionList").each(function(){var c=e.json[a],b=0;p+=c.points;d(this).parent().parent().data("type",c.answer_type).data("questionId",c.id).data("points",c.points).data("pointsPerAnswer",c.pointsPerAnswer).data("pointsAnswer",c.pointsAnswer);d(this).find(".wpProQuiz_questionInput").each(function(){switch(c.answer_type){case "single":case "multiple":0<=d.inArray(this.value,c.correct)?d(this).data("correct","1"):d(this).data("correct","0");break;case "free_answer":d(this).data("correct",
9
- c.correct)}});b=0;d(this).find(".wpProQuiz_sortable").each(function(){d(this).data("correct",c.correct[b++])});b=0;d(this).parent().find(".wpProQuiz_sortStringList").children().each(function(){d(this).data("correct",c.correct[b++])});"matrix_sort_answer"==c.answer_type&&d(this).children().each(function(){d(this).data("correct",d(this).index())});a++})},checkAnswer:function(a){var c=d(a).parent(),b=!1,e=c.find(".wpProQuiz_questionInput"),h=c.data("type"),i=0;c.find('input[name="tip"]').hide();if(!c.data("isChecked")){if("multiple"==
10
- h||"single"==h){var g=!0;e.each(function(){"1"==d(this).data("correct")?(d(this).parent().parent().addClass("wpProQuiz_answerCorrect"),this.checked?(g&=1,i++):g&=0):this.checked&&(d(this).parent().parent().addClass("wpProQuiz_answerIncorrect"),g&=0)});b=g}else if("sort_answer"==h){g=!0;c.find(".wpProQuiz_sortable").each(function(){var a=d(this),b=a.parent().index();a.data("correct")==b?(a.parent().addClass("wpProQuiz_answerCorrect"),g&=1,i++):(a.parent().addClass("wpProQuiz_answerIncorrect"),g=!1);
11
- a.css({"box-shadow":"0 0",cursor:"auto"})});var k=c.find(".wpProQuiz_sortable").parent().parent(),b=k.children("li");k.sortable("destroy");b.sort(function(a,b){return d(a).children("div").data("correct")-d(b).children("div").data("correct")});d.each(b,function(a,b){k.append(b)});b=g}else if("free_answer"==h)h=d.trim(e.val()).toLowerCase(),0<=d.inArray(h,e.data("correct"))?(b=!0,i++,e.parent().parent().addClass("wpProQuiz_answerCorrect")):e.parent().parent().addClass("wpProQuiz_answerIncorrect");else if("matrix_sort_answer"==
12
- h){var g=!0,l={};c.find(".wpProQuiz_questionList").children().each(function(){var a=d(this).data("correct"),b=d(this).find(".wpProQuiz_maxtrixSortCriterion");b.children().first().data("correct")==a?(g&=1,i++,b.addClass("wpProQuiz_answerCorrect")):(g=!1,b.addClass("wpProQuiz_answerIncorrect"));l[a]=d(this)});c.find(".wpProQuiz_sortStringItem").each(function(){l[d(this).data("correct")].find(".wpProQuiz_maxtrixSortCriterion").append(this)}).css({"box-shadow":"0 0",cursor:"auto"});c.find(".wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion").sortable("destroy");
13
- b=g}else"cloze_answer"==h&&(g=!0,c.find(".wpProQuiz_cloze").each(function(){var a=d(this).children(),b=a.first(),c=b.val().toLowerCase(),e=a.last().text().toLowerCase(),e=d.trim(e.substr(1,e.length-2)),e=f.methode.cleanupCurlyQuotes(e),c=f.methode.cleanupCurlyQuotes(d.trim(c));e==c?(g&=1,i++,b.css("background-color","#B0DAB0")):(g=!1,b.css("background-color","#FFBABA"),a.last().show());b.attr("disabled","disabled")}),b=g);d(a).hide();e.attr("disabled","disabled");void 0==j[c.data("questionId")]&&
14
- (j[c.data("questionId")]={});j[c.data("questionId")].correct=Number(b);c.find(".wpProQuiz_response").show();c.data("pointsPerAnswer")&&(m+=c.data("pointsAnswer")*i,j[c.data("questionId")].correct_answer_count=i);c.find(".wpProQuiz_responsePoints").text(c.data("pointsAnswer")*i);b?(c.find(".wpProQuiz_correct").show(),n++,c.data("pointsPerAnswer")||(m+=c.data("points"),j[c.data("questionId")].correct_answer_count=1)):c.find(".wpProQuiz_incorrect").show();c.find('input[name="next"]').show();c.data("isChecked",
15
- !0)}},nextQuestion:function(a){var a=d(a).parent(),c=a.next();a.hide();c.length?(c.show(),e.backButton&&!e.checkAnswer&&c.find('input[name="back"]').show(),f.methode.scrollTo(c,!0)):(e.questionOnSinglePage&&b.find('.wpProQuiz_listItem, input[name="checkSingle"]').hide(),(!e.checkAnswer||e.questionOnSinglePage)&&b.find('input[name="check"]').click(),f.methode.showResult())},backQuestion:function(a){var a=d(a).parent(),b=a.prev();a.hide();b.show();f.methode.scrollTo(b,!0)},showResult:function(){clearInterval(l);
16
- var a=b.find(".wpProQuiz_points span");b.find(".wpProQuiz_time_limit .progress").clearQueue().stop();b.find(".wpProQuiz_correct_answer").html(n);b.find(".wpProQuiz_results").show();b.find('.wpProQuiz_time_limit, input[name="checkSingle"]').hide();f.methode.setQuizTime();var c=Math.round(1E4*(m/p))/100;a.eq(0).text(m);a.eq(1).text(p);a.eq(2).text(c);a=f.methode.findResultIndex(c);-1<a&&b.find(".wpProQuiz_resultsList").children().eq(a).show();f.methode.scrollTo(b.find(".wpProQuiz_results"),!0);f.methode.sendCompletedQuiz()},
17
- sendCompletedQuiz:function(){e.preview||(k&&(jQuery.support.cors=!0),d.post(e.url,{action:"wp_pro_quiz_completed_quiz",results:j,quizId:e.quizId}),k&&(jQuery.support.cors=!1))},findResultIndex:function(a){for(var b=e.resultsGrade,d=-1,f=999999,h=0;h<b.length;h++){var i=b[h];a>=i&&a-i<f&&(f=a-i,d=h)}return d},cleanupCurlyQuotes:function(a){a=a.replace(/\u2018/,"'");a=a.replace(/\u2019/,"'");a=a.replace(/\u201C/,'"');return a=a.replace(/\u201D/,'"')},reShowQuestion:function(){b.find('input[name="next"], input[name="check"], input[name="back"], input[name="checkSingle"]').hide();
18
- b.find(".wpProQuiz_quiz").children().first().children().show();b.find(".wpProQuiz_question_page").hide()},answerRandom:function(a){b.find(a).each(function(){var a=d(this).children(),a=a.sort(function(){return Math.round(Math.random())-0.5}).slice(0,a.length);d(a).appendTo(a[0].parentNode).show()})},questionRandom:function(){var a=b.find(".wpProQuiz_quiz ol").children(),a=a.sort(function(){return Math.round(Math.random())-0.5}).slice(0,a.length);d(a).appendTo(a[0].parentNode);var c=1;d(a).each(function(){d(this).find(".wpProQuiz_question_page span").eq(0).html(c);
19
- d(this).find("h3 span").html(c++)})},showTip:function(a){$tip=d(a).siblings(".wpProQuiz_tipp");$par=d(a).parent();void 0==j[$par.data("questionId")]&&(j[$par.data("questionId")]={});j[$par.data("questionId")].tip=1;$tip.toggle("fast")},setClozeStyle:function(){b.find(".wpProQuiz_cloze").each(function(){var a=d(this).children(),b=a.first(),a=a.last().clone();a.css("visibility","hidden");d("body").append(a);var e=a.width();a.remove();b.width(e+10)})},checkLock:function(){r=!0;k&&(jQuery.support.cors=
20
- !0);d.post(e.url,{action:"wp_pro_quiz_check_lock",quizId:e.quizId},function(a){v=a.is;r=!1;a.pre&&b.find('input[name="restartQuiz"]').hide();s&&(s=!1,f.methode.startQuiz())},"json");k&&(jQuery.support.cors=!1)}};f.init=function(){e.cors&&(void 0!=jQuery.support&&void 0!=jQuery.support.cors&&!1==jQuery.support.cors)&&(k=!0);n=0;e.lock&&!e.preview&&(u=!0,f.methode.checkLock());void 0==e.resultsGrade&&(e.resultsGrade=[0]);b.find(".wpProQuiz_quiz, .wpProQuiz_results").hide();b.find(".wpProQuiz_quiz").children().first().children().hide();
21
- f.methode.setData();f.methode.setClozeStyle();b.find('input[name="startQuiz"]').click(function(a){a.preventDefault();f.methode.preStartQuiz()});b.find('input[name="check"]').click(function(a){a.preventDefault();f.methode.checkAnswer(this)});b.find('input[name="next"]').click(function(a){a.preventDefault();f.methode.nextQuestion(this)});b.find('input[name="restartQuiz"]').click(function(a){a.preventDefault();f.methode.reStartQuiz()});b.find('input[name="reShowQuestion"]').click(function(a){a.preventDefault();
22
- f.methode.reShowQuestion(this)});b.find('input[name="back"]').click(function(){f.methode.backQuestion(this)});b.find('input[name="tip"]').click(function(){f.methode.showTip(this)});b.find('input[name="checkSingle"]').click(function(){b.find('input[name="next"]').last().click()});d(document).mouseup(function(a){var c=b.find(".wpProQuiz_tipp"),d=b.find('input[name="tip"]');!c.is(a.target)&&(0==c.has(a.target).length&&!d.is(a.target))&&c.hide("fast")})};f.init()};d.fn.wpProQuizFront=function(q){return this.each(function(){void 0==
23
- d(this).data("wpProQuizFront")&&d(this).data("wpProQuizFront",new d.wpProQuizFront(this,q))})}})(jQuery);
1
+ (function(d){d.wpProQuizFront=function(r,f){var b=d(r),e=this,p=0,l=0,u=0,j={},m=0,q=0,k=!1,v=!1,w=!1,s=!1,t=!1;e.methode={preStartQuiz:function(){j={};f.questionRandom&&e.methode.questionRandom();f.answerRandom?e.methode.answerRandom(".wpProQuiz_questionList"):e.methode.answerRandom(b.find(".wpProQuiz_sortable").parent().parent());e.methode.answerRandom(".wpProQuiz_sortStringList");m=p=0;f.questionOnSinglePage||(f.checkAnswer?b.find('input[name="check"]').show():b.find('input[name="next"]').show());
2
+ !v||!s?e.methode.startQuiz():t=!0;f.numberedAnswer&&e.methode.numberedAnswer()},startQuiz:function(){b.find(".wpProQuiz_text").hide();w?b.find(".wpProQuiz_lock").show():(u=new Date,f.timeLimit&&e.methode.setTimeLimit(),f.questionOnSinglePage&&b.find(".wpProQuiz_listItem").show(),b.find(".wpProQuiz_listItem").first().show(),b.find(".wpProQuiz_quiz").fadeIn(200),b.find(".wpProQuiz_sortable").parent().parent().sortable().disableSelection(),b.find(".wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion").sortable({connectWith:".wpProQuiz_maxtrixSortCriterion:not(:has(li)), .wpProQuiz_sortStringList",
3
  placeholder:"wpProQuiz_placehold"}).disableSelection())},scrollTo:function(a,c){var b=a.offset().top-100;c?(window.pageYOffset||document.body.scrollTop)>b&&d("html,body").animate({scrollTop:b},300):d("html,body").animate({scrollTop:b},300)},reStartQuiz:function(){b.find(".wpProQuiz_answerCorrect").removeClass("wpProQuiz_answerCorrect");b.find(".wpProQuiz_answerIncorrect").removeClass("wpProQuiz_answerIncorrect");b.find('.wpProQuiz_text, input[name="tip"]').show();b.find(".wpProQuiz_quiz, .wpProQuiz_results, .wpProQuiz_response, .wpProQuiz_correct, .wpProQuiz_incorrect").hide();
4
  b.find(".wpProQuiz_time_limit, .wpProQuiz_time_limit_expired, .wpProQuiz_sort_correct_answer").hide();b.find(".wpProQuiz_quiz").children().first().children().hide();b.find(".wpProQuiz_sortable, .wpProQuiz_sortStringItem").removeAttr("style");b.find('input[name="check"]').hide();b.find('input[name="next"]').hide();b.find(".wpProQuiz_questionInput").removeAttr("disabled").removeAttr("checked");b.find('input.wpProQuiz_questionInput[type="text"]').removeAttr("value");b.find(".wpProQuiz_resultsList").children().hide();
5
+ b.find(".wpProQuiz_cloze input").removeAttr("disabled").removeAttr("value").css("background-color","");b.find(".wpProQuiz_cloze span").hide();b.find('input[name="checkSingle"]').show();f.questionOnSinglePage||b.find(".wpProQuiz_question_page").show();e.methode.resetMatrix();b.find(".wpProQuiz_listItem").data("isChecked",!1)},numberedAnswer:function(){b.find(".wpProQuiz_listItem").each(function(){var a=d(this),c=a.data("type"),b=1;("multiple"==c||"single"==c)&&a.find(".WpProQuiz_numberedAnswer").each(function(){d(this).text(b++ +
6
+ ". ")})})},resetMatrix:function(){b.find(".wpProQuiz_question").each(function(){var a=d(this),c=a.find(".wpProQuiz_sortStringList");a.find(".wpProQuiz_sortStringItem").each(function(){c.append(d(this))})})},setTimeLimit:function(){var a=b.find(".wpProQuiz_time_limit"),c=a.find("span"),d=f.timeLimit;a.css({width:"100%",display:"block"});c.html(e.methode.parseTime(d));a.find(".progress").css("width","100%").animate({width:"0%"},1E3*f.timeLimit);l=setInterval(function(){c.html(e.methode.parseTime(d--));
7
+ 0>d&&(clearInterval(l),l=0,a.find(".progress").clearQueue().stop(),b.find('input[name="check"]').click().parent().hide(),b.find(".wpProQuiz_time_limit_expired").show(),e.methode.showResult())},1E3)},parseTime:function(a){var c=parseInt(a%60),b=parseInt(a/60%60),a=parseInt(a/3600%24);return(9<a?"":"0")+a+":"+((9<b?"":"0")+b)+":"+((9<c?"":"0")+c)},setQuizTime:function(){var a=((new Date).getTime()-u.getTime())/1E3;b.find(".wpProQuiz_quiz_time span").first().html(e.methode.parseTime(a))},setData:function(){var a=
8
+ 0;b.find(".wpProQuiz_questionList").each(function(){var c=f.json[a],b=0;q+=c.points;d(this).parent().parent().data("type",c.answer_type).data("questionId",c.id).data("points",c.points).data("pointsPerAnswer",c.pointsPerAnswer).data("pointsAnswer",c.pointsAnswer);d(this).find(".wpProQuiz_questionInput").each(function(){switch(c.answer_type){case "single":case "multiple":0<=d.inArray(this.value,c.correct)?d(this).data("correct","1"):d(this).data("correct","0");break;case "free_answer":d(this).data("correct",
9
+ c.correct)}});b=0;d(this).find(".wpProQuiz_sortable").each(function(){d(this).data("correct",c.correct[b++])});b=0;d(this).parent().find(".wpProQuiz_sortStringList").children().each(function(){d(this).data("correct",c.correct[b++])});"matrix_sort_answer"==c.answer_type&&d(this).children().each(function(){d(this).data("correct",d(this).index())});a++})},checkAnswer:function(a){var c=d(a).parent(),b=!1,n=c.find(".wpProQuiz_questionInput"),h=c.data("type"),i=0;c.find('input[name="tip"]').hide();if(!c.data("isChecked")){if("multiple"==
10
+ h||"single"==h){var g=!0;n.each(function(){"1"==d(this).data("correct")?(e.methode.setAnswerMark(d(this).parent().parent(),!0),this.checked?(g&=1,i++):g&=0):this.checked&&(e.methode.setAnswerMark(d(this).parent().parent(),!1),g&=0)});b=g}else if("sort_answer"==h){g=!0;c.find(".wpProQuiz_sortable").each(function(){var a=d(this),b=a.parent().index();a.data("correct")==b?(e.methode.setAnswerMark(a.parent(),!0),g&=1,i++):(e.methode.setAnswerMark(a.parent(),!1),g=!1);a.css({"box-shadow":"0 0",cursor:"auto"})});
11
+ var k=c.find(".wpProQuiz_sortable").parent().parent(),b=k.children("li");k.sortable("destroy");b.sort(function(a,b){return d(a).children("div").data("correct")-d(b).children("div").data("correct")});d.each(b,function(a,b){k.append(b)});b=g}else if("free_answer"==h)h=d.trim(n.val()).toLowerCase(),0<=d.inArray(h,n.data("correct"))?(b=!0,i++,e.methode.setAnswerMark(n.parent().parent(),!0)):e.methode.setAnswerMark(n.parent().parent(),!1);else if("matrix_sort_answer"==h){var g=!0,l={};c.find(".wpProQuiz_questionList").children().each(function(){var a=
12
+ d(this).data("correct"),b=d(this).find(".wpProQuiz_maxtrixSortCriterion");b.children().first().data("correct")==a?(g&=1,i++,e.methode.setAnswerMark(b,!0)):(g=!1,e.methode.setAnswerMark(b,!1));l[a]=d(this)});c.find(".wpProQuiz_sortStringItem").each(function(){l[d(this).data("correct")].find(".wpProQuiz_maxtrixSortCriterion").append(this)}).css({"box-shadow":"0 0",cursor:"auto"});c.find(".wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion").sortable("destroy");b=g}else"cloze_answer"==h&&(g=!0,
13
+ c.find(".wpProQuiz_cloze").each(function(){var a=d(this).children(),b=a.first(),c=b.val().toLowerCase(),h=a.last().text().toLowerCase(),h=d.trim(h.substr(1,h.length-2)),h=e.methode.cleanupCurlyQuotes(h),c=e.methode.cleanupCurlyQuotes(d.trim(c));h==c?(g&=1,i++,f.disabledAnswerMark||b.css("background-color","#B0DAB0")):(g=!1,f.disabledAnswerMark||b.css("background-color","#FFBABA"),a.last().show());b.attr("disabled","disabled")}),b=g);d(a).hide();n.attr("disabled","disabled");void 0==j[c.data("questionId")]&&
14
+ (j[c.data("questionId")]={});j[c.data("questionId")].correct=Number(b);c.find(".wpProQuiz_response").show();c.data("pointsPerAnswer")&&(m+=c.data("pointsAnswer")*i,j[c.data("questionId")].correct_answer_count=i);c.find(".wpProQuiz_responsePoints").text(c.data("pointsAnswer")*i);b?(c.find(".wpProQuiz_correct").show(),p++,c.data("pointsPerAnswer")||(m+=c.data("points"),j[c.data("questionId")].correct_answer_count=1)):c.find(".wpProQuiz_incorrect").show();c.find('input[name="next"]').show();c.data("isChecked",
15
+ !0)}},setAnswerMark:function(a,b){f.disabledAnswerMark||(b?a.addClass("wpProQuiz_answerCorrect"):a.addClass("wpProQuiz_answerIncorrect"))},nextQuestion:function(a){var a=d(a).parent(),c=a.next();a.hide();c.length?(c.show(),f.backButton&&!f.checkAnswer&&c.find('input[name="back"]').show(),e.methode.scrollTo(c,!0)):(f.questionOnSinglePage&&b.find('.wpProQuiz_listItem, input[name="checkSingle"]').hide(),(!f.checkAnswer||f.questionOnSinglePage)&&b.find('input[name="check"]').click(),e.methode.showResult())},
16
+ backQuestion:function(a){var a=d(a).parent(),b=a.prev();a.hide();b.show();e.methode.scrollTo(b,!0)},showResult:function(){clearInterval(l);var a=b.find(".wpProQuiz_points span");b.find(".wpProQuiz_time_limit .progress").clearQueue().stop();b.find(".wpProQuiz_correct_answer").html(p);b.find(".wpProQuiz_results").show();b.find('.wpProQuiz_time_limit, input[name="checkSingle"]').hide();e.methode.setQuizTime();var c=Math.round(1E4*(m/q))/100;a.eq(0).text(m);a.eq(1).text(q);a.eq(2).text(c);a=e.methode.findResultIndex(c);
17
+ -1<a&&b.find(".wpProQuiz_resultsList").children().eq(a).show();e.methode.scrollTo(b.find(".wpProQuiz_results"),!0);e.methode.sendCompletedQuiz()},sendCompletedQuiz:function(){f.preview||(k&&(jQuery.support.cors=!0),d.post(f.url,{action:"wp_pro_quiz_completed_quiz",results:j,quizId:f.quizId}),k&&(jQuery.support.cors=!1))},findResultIndex:function(a){for(var b=f.resultsGrade,d=-1,e=999999,h=0;h<b.length;h++){var i=b[h];a>=i&&a-i<e&&(e=a-i,d=h)}return d},cleanupCurlyQuotes:function(a){a=a.replace(/\u2018/,
18
+ "'");a=a.replace(/\u2019/,"'");a=a.replace(/\u201C/,'"');return a=a.replace(/\u201D/,'"')},reShowQuestion:function(){b.find('input[name="next"], input[name="check"], input[name="back"], input[name="checkSingle"]').hide();b.find(".wpProQuiz_quiz").children().first().children().show();b.find(".wpProQuiz_question_page").hide()},answerRandom:function(a){b.find(a).each(function(){var a=d(this).children(),a=a.sort(function(){return Math.round(Math.random())-0.5}).slice(0,a.length);d(a).appendTo(a[0].parentNode).show()})},
19
+ questionRandom:function(){var a=b.find(".wpProQuiz_quiz ol").children(),a=a.sort(function(){return Math.round(Math.random())-0.5}).slice(0,a.length);d(a).appendTo(a[0].parentNode);var c=1;d(a).each(function(){d(this).find(".wpProQuiz_question_page span").eq(0).html(c);d(this).find("h3 span").html(c++)})},showTip:function(a){$tip=d(a).siblings(".wpProQuiz_tipp");$par=d(a).parent();void 0==j[$par.data("questionId")]&&(j[$par.data("questionId")]={});j[$par.data("questionId")].tip=1;$tip.toggle("fast")},
20
+ setClozeStyle:function(){b.find(".wpProQuiz_cloze").each(function(){var a=d(this).children(),b=a.first(),a=a.last().clone();a.css("visibility","hidden");d("body").append(a);var e=a.width();a.remove();b.width(e+10)})},checkLock:function(){s=!0;k&&(jQuery.support.cors=!0);d.post(f.url,{action:"wp_pro_quiz_check_lock",quizId:f.quizId},function(a){w=a.is;s=!1;a.pre&&b.find('input[name="restartQuiz"]').hide();t&&(t=!1,e.methode.startQuiz())},"json");k&&(jQuery.support.cors=!1)}};e.init=function(){f.cors&&
21
+ (void 0!=jQuery.support&&void 0!=jQuery.support.cors&&!1==jQuery.support.cors)&&(k=!0);p=0;f.lock&&!f.preview&&(v=!0,e.methode.checkLock());void 0==f.resultsGrade&&(f.resultsGrade=[0]);b.find(".wpProQuiz_quiz, .wpProQuiz_results").hide();b.find(".wpProQuiz_quiz").children().first().children().hide();e.methode.setData();e.methode.setClozeStyle();b.find('input[name="startQuiz"]').click(function(a){a.preventDefault();e.methode.preStartQuiz()});b.find('input[name="check"]').click(function(a){a.preventDefault();
22
+ e.methode.checkAnswer(this)});b.find('input[name="next"]').click(function(a){a.preventDefault();e.methode.nextQuestion(this)});b.find('input[name="restartQuiz"]').click(function(a){a.preventDefault();e.methode.reStartQuiz()});b.find('input[name="reShowQuestion"]').click(function(a){a.preventDefault();e.methode.reShowQuestion(this)});b.find('input[name="back"]').click(function(){e.methode.backQuestion(this)});b.find('input[name="tip"]').click(function(){e.methode.showTip(this)});b.find('input[name="checkSingle"]').click(function(){b.find('input[name="next"]').last().click()});
23
+ d(document).mouseup(function(a){var c=b.find(".wpProQuiz_tipp"),d=b.find('input[name="tip"]');!c.is(a.target)&&(0==c.has(a.target).length&&!d.is(a.target))&&c.hide("fast")})};e.init()};d.fn.wpProQuizFront=function(r){return this.each(function(){void 0==d(this).data("wpProQuizFront")&&d(this).data("wpProQuizFront",new d.wpProQuizFront(this,r))})}})(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: 2013-01-07 23:42+0100\n"
5
- "PO-Revision-Date: 2013-01-07 23:42+0100\n"
6
  "Last-Translator: Julius Fischer <julius.f@gmx.net>\n"
7
  "Language-Team: abuhassan <sajja2002@hotmail.com>\n"
8
  "Language: Arabic\n"
@@ -60,8 +60,8 @@ msgstr ""
60
  #: lib/controller/WpProQuiz_Controller_Question.php:51
61
  #: lib/controller/WpProQuiz_Controller_Question.php:128
62
  #: lib/controller/WpProQuiz_Controller_Question.php:143
63
- #: lib/controller/WpProQuiz_Controller_Question.php:189
64
- #: lib/controller/WpProQuiz_Controller_Question.php:284
65
  #: lib/controller/WpProQuiz_Controller_Quiz.php:55
66
  #: lib/controller/WpProQuiz_Controller_Quiz.php:69
67
  #: lib/controller/WpProQuiz_Controller_Quiz.php:114
@@ -95,25 +95,25 @@ msgstr ""
95
  msgid "Edit question"
96
  msgstr "تحرير السؤال"
97
 
98
- #: lib/controller/WpProQuiz_Controller_Question.php:151
99
  msgid "Question not found"
100
  msgstr "لم يتم العثور على السؤال"
101
 
102
- #: lib/controller/WpProQuiz_Controller_Question.php:164
103
- #: lib/controller/WpProQuiz_Controller_Question.php:206
104
  #, php-format
105
  msgid "Question: %d"
106
  msgstr "السؤال: %d"
107
 
108
- #: lib/controller/WpProQuiz_Controller_Question.php:174
109
  msgid "Question edited"
110
  msgstr "تم تحرير السؤال"
111
 
112
- #: lib/controller/WpProQuiz_Controller_Question.php:193
113
  msgid "New question"
114
  msgstr "سؤال جديد"
115
 
116
- #: lib/controller/WpProQuiz_Controller_Question.php:217
117
  msgid "Question added"
118
  msgstr "تم اضافة سؤال"
119
 
@@ -216,21 +216,21 @@ msgid "%d points"
216
  msgstr "%d درجات"
217
 
218
  #: lib/view/WpProQuiz_View_FrontQuiz.php:158
219
- #: lib/view/WpProQuiz_View_QuestionEdit.php:250
220
- #: lib/view/WpProQuiz_View_QuestionEdit.php:290
221
- #: lib/view/WpProQuiz_View_QuestionEdit.php:327
222
  msgid "Sort elements"
223
  msgstr "ترتيب العناصر"
224
 
225
- #: lib/view/WpProQuiz_View_FrontQuiz.php:240
226
- #: lib/view/WpProQuiz_View_FrontQuiz.php:247
227
  #: lib/view/WpProQuiz_View_Statistics.php:55
228
  #: lib/view/WpProQuiz_View_Statistics.php:147
229
  msgid "Correct"
230
  msgstr "صحيح"
231
 
232
- #: lib/view/WpProQuiz_View_FrontQuiz.php:242
233
- #: lib/view/WpProQuiz_View_FrontQuiz.php:260
234
  #: lib/view/WpProQuiz_View_QuestionEdit.php:21
235
  #: lib/view/WpProQuiz_View_QuestionEdit.php:28
236
  #: lib/view/WpProQuiz_View_QuestionOverall.php:29
@@ -239,32 +239,32 @@ msgstr "صحيح"
239
  msgid "Points"
240
  msgstr "درجات"
241
 
242
- #: lib/view/WpProQuiz_View_FrontQuiz.php:258
243
- #: lib/view/WpProQuiz_View_FrontQuiz.php:265
244
  #: lib/view/WpProQuiz_View_Statistics.php:56
245
  #: lib/view/WpProQuiz_View_Statistics.php:148
246
  msgid "Incorrect"
247
  msgstr "خطأ"
248
 
249
- #: lib/view/WpProQuiz_View_FrontQuiz.php:282
250
- #: lib/view/WpProQuiz_View_FrontQuiz.php:292
251
- #: lib/view/WpProQuiz_View_QuestionEdit.php:85
252
  msgid "Hint"
253
  msgstr "تلميح"
254
 
255
- #: lib/view/WpProQuiz_View_FrontQuiz.php:289
256
  msgid "Check"
257
  msgstr "التحقق"
258
 
259
- #: lib/view/WpProQuiz_View_FrontQuiz.php:290
260
  msgid "Back"
261
  msgstr "العودة"
262
 
263
- #: lib/view/WpProQuiz_View_FrontQuiz.php:294
264
  msgid "Next exercise"
265
  msgstr "التمرين التالي"
266
 
267
- #: lib/view/WpProQuiz_View_FrontQuiz.php:307
268
  msgid "Finish quiz"
269
  msgstr ""
270
 
@@ -321,6 +321,9 @@ msgstr ""
321
  #: lib/view/WpProQuiz_View_QuizEdit.php:234
322
  #: lib/view/WpProQuiz_View_QuizEdit.php:259
323
  #: lib/view/WpProQuiz_View_QuizEdit.php:299
 
 
 
324
  msgid "Activate"
325
  msgstr ""
326
 
@@ -378,6 +381,7 @@ msgid "Touch Library"
378
  msgstr ""
379
 
380
  #: lib/view/WpProQuiz_View_GobalSettings.php:92
 
381
  msgid "Deactivate"
382
  msgstr ""
383
 
@@ -407,8 +411,8 @@ msgid "e.g. Domain with special characters in combination with IE"
407
  msgstr ""
408
 
409
  #: lib/view/WpProQuiz_View_GobalSettings.php:132
410
- #: lib/view/WpProQuiz_View_QuestionEdit.php:373
411
- #: lib/view/WpProQuiz_View_QuizEdit.php:430
412
  msgid "Save"
413
  msgstr "حفظ"
414
 
@@ -449,10 +453,11 @@ msgid "Title"
449
  msgstr "العنوان"
450
 
451
  #: lib/view/WpProQuiz_View_QuestionEdit.php:12
452
- #: lib/view/WpProQuiz_View_QuestionEdit.php:57
453
- #: lib/view/WpProQuiz_View_QuestionEdit.php:74
454
- #: lib/view/WpProQuiz_View_QuestionEdit.php:85
455
- #: lib/view/WpProQuiz_View_QuizEdit.php:362
 
456
  msgid "(optional)"
457
  msgstr "(اختيار)"
458
 
@@ -466,9 +471,9 @@ msgstr ""
466
 
467
  #: lib/view/WpProQuiz_View_QuestionEdit.php:21
468
  #: lib/view/WpProQuiz_View_QuestionEdit.php:49
469
- #: lib/view/WpProQuiz_View_QuestionEdit.php:137
470
  #: lib/view/WpProQuiz_View_QuizEdit.php:12
471
- #: lib/view/WpProQuiz_View_QuizEdit.php:351
472
  msgid "(required)"
473
  msgstr "(مطلوب)"
474
 
@@ -492,10 +497,18 @@ msgid "Show reached points in the correct- and incorrect message?"
492
  msgstr ""
493
 
494
  #: lib/view/WpProQuiz_View_QuestionEdit.php:57
 
 
 
 
 
 
 
 
495
  msgid "Message with the correct answer"
496
  msgstr "رسالة مع الاجابة الصحيحة"
497
 
498
- #: lib/view/WpProQuiz_View_QuestionEdit.php:60
499
  msgid ""
500
  "This text will be visible if answered correctly. It can be used as "
501
  "explanation for complex questions. The message \"Right\" or \"Wrong\" is "
@@ -504,15 +517,15 @@ msgstr ""
504
  "وهذا النص مرئية إذا أجاب بشكل صحيح. ويمكن استخدامه كدليل شرح للمسائل "
505
  "المعقدة. الرسالة\"صحيح \" أو\" خطأ\" دائما يتم عرضها تلقائيا."
506
 
507
- #: lib/view/WpProQuiz_View_QuestionEdit.php:64
508
  msgid "Same text for correct- and incorrect-message?"
509
  msgstr "نفس النص مع رسالة الاجابة الصحيحة - و الغير صحيحة؟"
510
 
511
- #: lib/view/WpProQuiz_View_QuestionEdit.php:74
512
  msgid "Message with the incorrect answer"
513
  msgstr "رسالة مع الاجابة الغير صحيحة"
514
 
515
- #: lib/view/WpProQuiz_View_QuestionEdit.php:77
516
  msgid ""
517
  "This text will be visible if answered incorrectly. It can be used as "
518
  "explanation for complex questions. The message \"Right\" or \"Wrong\" is "
@@ -521,53 +534,53 @@ msgstr ""
521
  "وهذا النص مرئية إذا أجاب بشكل غير صحيح. ويمكن استخدامه كدليل شرح للمسائل "
522
  "المعقدة. الرسالة\"صحيح \" أو\" خطأ\" دائما يتم عرضها تلقائيا."
523
 
524
- #: lib/view/WpProQuiz_View_QuestionEdit.php:88
525
  msgid "Here you can enter solution hint."
526
  msgstr "يمكنك وضع هنا تلميح للأجابة."
527
 
528
- #: lib/view/WpProQuiz_View_QuestionEdit.php:92
529
  msgid "Activate hint for this question?"
530
  msgstr "تفعيل التلميح لهذا السؤال؟"
531
 
532
- #: lib/view/WpProQuiz_View_QuestionEdit.php:104
533
  msgid "Answer type"
534
  msgstr "نوع السؤال؟"
535
 
536
- #: lib/view/WpProQuiz_View_QuestionEdit.php:112
537
  msgid "Single choice"
538
  msgstr "اختيار واحد"
539
 
540
- #: lib/view/WpProQuiz_View_QuestionEdit.php:116
541
  msgid "Multiple choice"
542
  msgstr "أختيار متعدد"
543
 
544
- #: lib/view/WpProQuiz_View_QuestionEdit.php:120
545
  msgid "\"Free\" choice"
546
  msgstr "\"حر\" اختيار"
547
 
548
- #: lib/view/WpProQuiz_View_QuestionEdit.php:124
549
  msgid "\"Sorting\" choice"
550
  msgstr "\"ترتيب\" اختيار"
551
 
552
- #: lib/view/WpProQuiz_View_QuestionEdit.php:128
553
  msgid "\"Matrix Sorting\" choice"
554
  msgstr "\"ترتيب منظمي\" اختيار"
555
 
556
- #: lib/view/WpProQuiz_View_QuestionEdit.php:132
557
  msgid "Cloze"
558
  msgstr "اكمل"
559
 
560
- #: lib/view/WpProQuiz_View_QuestionEdit.php:137
561
  msgid "Answers"
562
  msgstr "اجابات"
563
 
564
- #: lib/view/WpProQuiz_View_QuestionEdit.php:142
565
- #: lib/view/WpProQuiz_View_QuestionEdit.php:146
566
  msgid ""
567
  "correct answers (one per line) (answers will be converted to lower case)"
568
  msgstr "الإجابات الصحيحة (واحد في كل سطر) (يتم تحويل الإجابات إلى أحرف صغيرة)"
569
 
570
- #: lib/view/WpProQuiz_View_QuestionEdit.php:152
571
  msgid ""
572
  "Please sort the answers in right order with the \"Move\" - Button. The "
573
  "answers will be displayed randomly."
@@ -575,59 +588,59 @@ msgstr ""
575
  "يرجى فرز الإجابات في بالترتيب الصحيح بزر \"نقل\" - . سوف يتم عرض الإجابات "
576
  "بشكل عشوائي."
577
 
578
- #: lib/view/WpProQuiz_View_QuestionEdit.php:158
579
- #: lib/view/WpProQuiz_View_QuestionEdit.php:170
580
- #: lib/view/WpProQuiz_View_QuestionEdit.php:180
581
- #: lib/view/WpProQuiz_View_QuestionEdit.php:199
582
- #: lib/view/WpProQuiz_View_QuestionEdit.php:215
583
- #: lib/view/WpProQuiz_View_QuestionEdit.php:229
584
- #: lib/view/WpProQuiz_View_QuestionEdit.php:279
585
- #: lib/view/WpProQuiz_View_QuestionEdit.php:319
586
- #: lib/view/WpProQuiz_View_QuestionEdit.php:356
587
  msgid "Delete answer"
588
  msgstr "حذف الاجابة"
589
 
590
- #: lib/view/WpProQuiz_View_QuestionEdit.php:159
591
- #: lib/view/WpProQuiz_View_QuestionEdit.php:171
592
- #: lib/view/WpProQuiz_View_QuestionEdit.php:181
593
- #: lib/view/WpProQuiz_View_QuestionEdit.php:200
594
- #: lib/view/WpProQuiz_View_QuestionEdit.php:216
595
- #: lib/view/WpProQuiz_View_QuestionEdit.php:230
596
- #: lib/view/WpProQuiz_View_QuestionEdit.php:278
597
- #: lib/view/WpProQuiz_View_QuestionEdit.php:318
598
- #: lib/view/WpProQuiz_View_QuestionEdit.php:355
599
  #: lib/view/WpProQuiz_View_QuestionOverall.php:50
600
  msgid "Move"
601
  msgstr "تحريك"
602
 
603
- #: lib/view/WpProQuiz_View_QuestionEdit.php:161
604
- #: lib/view/WpProQuiz_View_QuestionEdit.php:173
605
- #: lib/view/WpProQuiz_View_QuestionEdit.php:183
606
- #: lib/view/WpProQuiz_View_QuestionEdit.php:202
607
- #: lib/view/WpProQuiz_View_QuestionEdit.php:218
608
- #: lib/view/WpProQuiz_View_QuestionEdit.php:232
609
- #: lib/view/WpProQuiz_View_QuestionEdit.php:265
610
- #: lib/view/WpProQuiz_View_QuestionEdit.php:271
611
- #: lib/view/WpProQuiz_View_QuestionEdit.php:305
612
- #: lib/view/WpProQuiz_View_QuestionEdit.php:311
613
- #: lib/view/WpProQuiz_View_QuestionEdit.php:342
614
- #: lib/view/WpProQuiz_View_QuestionEdit.php:348
615
  msgid "Allow HTML"
616
  msgstr "السماح بــ HTML"
617
 
618
- #: lib/view/WpProQuiz_View_QuestionEdit.php:189
619
- #: lib/view/WpProQuiz_View_QuestionEdit.php:238
620
- #: lib/view/WpProQuiz_View_QuestionEdit.php:360
621
  msgid "Add new answer"
622
  msgstr "اضف اجابة جديدة"
623
 
624
- #: lib/view/WpProQuiz_View_QuestionEdit.php:197
625
- #: lib/view/WpProQuiz_View_QuestionEdit.php:213
626
- #: lib/view/WpProQuiz_View_QuestionEdit.php:227
627
  msgid "correct?"
628
  msgstr "صحيح؟"
629
 
630
- #: lib/view/WpProQuiz_View_QuestionEdit.php:242
631
  msgid ""
632
  "In this mode, not a list have to be sorted, but elements must be assigned to "
633
  "matching criterion."
@@ -635,13 +648,13 @@ msgstr ""
635
  "في هذا الوضع، لا يوجد قائمة لا بد من فرزها، ولكن يجب تعيين عناصر مطابقة "
636
  "لمعيار."
637
 
638
- #: lib/view/WpProQuiz_View_QuestionEdit.php:249
639
- #: lib/view/WpProQuiz_View_QuestionEdit.php:289
640
- #: lib/view/WpProQuiz_View_QuestionEdit.php:326
641
  msgid "Criterion"
642
  msgstr "معيار"
643
 
644
- #: lib/view/WpProQuiz_View_QuestionEdit.php:364
645
  msgid ""
646
  "Enclose the searched words with { } e.g. \"I {play} soccer\". Capital and "
647
  "small letters will be ignored."
@@ -786,6 +799,8 @@ msgstr ""
786
  #: lib/view/WpProQuiz_View_QuizEdit.php:190
787
  #: lib/view/WpProQuiz_View_QuizEdit.php:215
788
  #: lib/view/WpProQuiz_View_QuizEdit.php:240
 
 
789
  msgid "Demo"
790
  msgstr ""
791
 
@@ -911,37 +926,87 @@ msgstr ""
911
  msgid "Resets user identification for all users."
912
  msgstr ""
913
 
914
- #: lib/view/WpProQuiz_View_QuizEdit.php:351
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
915
  msgid "Quiz description"
916
  msgstr "وصف الاختبار"
917
 
918
- #: lib/view/WpProQuiz_View_QuizEdit.php:354
919
  msgid "This text will be displayed before start of the quiz."
920
  msgstr "سيتم عرض هذا النص قبل بدء الاختبار."
921
 
922
- #: lib/view/WpProQuiz_View_QuizEdit.php:362
923
  msgid "Results text"
924
  msgstr "نص النتائج"
925
 
926
- #: lib/view/WpProQuiz_View_QuizEdit.php:365
927
  msgid ""
928
  "This text will be displayed at the end of the quiz (in results). (this text "
929
  "is optional)"
930
  msgstr "سيتم عرض هذا النص في نهاية الاختبار (في النتائج). (هذا النص اختياري)"
931
 
932
- #: lib/view/WpProQuiz_View_QuizEdit.php:369
933
  msgid "Activate graduation"
934
  msgstr "تفعيل التقييم"
935
 
936
- #: lib/view/WpProQuiz_View_QuizEdit.php:375
937
  msgid "Hint:"
938
  msgstr "تلميح:"
939
 
940
- #: lib/view/WpProQuiz_View_QuizEdit.php:377
941
  msgid "Maximal 15 levels"
942
  msgstr "اقصى حد 15 مستوى"
943
 
944
- #: lib/view/WpProQuiz_View_QuizEdit.php:379
945
  #, php-format
946
  msgid ""
947
  "Percentages refer to the total score of the quiz. (Current total %d points "
@@ -950,26 +1015,26 @@ msgstr ""
950
  "النسبة المئوية تشير الي الدرجة الكلية للأختبار.( المجموع الحالي %d درجة في "
951
  "%d سؤال"
952
 
953
- #: lib/view/WpProQuiz_View_QuizEdit.php:382
954
  msgid "Values can also be mixed up"
955
  msgstr "يمكن لخبطة القيم"
956
 
957
- #: lib/view/WpProQuiz_View_QuizEdit.php:383
958
  msgid "10,15% or 10.15% allowed (max. two digits after the decimal point)"
959
  msgstr "10.15% او 10.15% مسموح به (اقصى حد هو رقمين بعد النسبة المئوية)"
960
 
961
- #: lib/view/WpProQuiz_View_QuizEdit.php:399
962
- #: lib/view/WpProQuiz_View_QuizEdit.php:410
963
  msgid "from:"
964
  msgstr "من:"
965
 
966
- #: lib/view/WpProQuiz_View_QuizEdit.php:399
967
- #: lib/view/WpProQuiz_View_QuizEdit.php:410
968
  msgid "percent"
969
  msgstr "النسبة المئوية"
970
 
971
- #: lib/view/WpProQuiz_View_QuizEdit.php:399
972
- #: lib/view/WpProQuiz_View_QuizEdit.php:410
973
  #, php-format
974
  msgid ""
975
  "(Will be displayed, when result-percent is >= <span class=\"resultProzent\">"
@@ -978,12 +1043,12 @@ msgstr ""
978
  "(سوف يتم عرضه، عندما تكون نسبة النتيجة>= <span class=\"resultProzent\">%s</"
979
  "span>%%)"
980
 
981
- #: lib/view/WpProQuiz_View_QuizEdit.php:400
982
- #: lib/view/WpProQuiz_View_QuizEdit.php:411
983
  msgid "Delete graduation"
984
  msgstr "حذف التقييم"
985
 
986
- #: lib/view/WpProQuiz_View_QuizEdit.php:418
987
  msgid "Add graduation"
988
  msgstr "اضافة تقييم"
989
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wp-Pro-Quiz\n"
4
+ "POT-Creation-Date: 2013-01-15 11:34+0100\n"
5
+ "PO-Revision-Date: 2013-01-15 11:34+0100\n"
6
  "Last-Translator: Julius Fischer <julius.f@gmx.net>\n"
7
  "Language-Team: abuhassan <sajja2002@hotmail.com>\n"
8
  "Language: Arabic\n"
60
  #: lib/controller/WpProQuiz_Controller_Question.php:51
61
  #: lib/controller/WpProQuiz_Controller_Question.php:128
62
  #: lib/controller/WpProQuiz_Controller_Question.php:143
63
+ #: lib/controller/WpProQuiz_Controller_Question.php:192
64
+ #: lib/controller/WpProQuiz_Controller_Question.php:291
65
  #: lib/controller/WpProQuiz_Controller_Quiz.php:55
66
  #: lib/controller/WpProQuiz_Controller_Quiz.php:69
67
  #: lib/controller/WpProQuiz_Controller_Quiz.php:114
95
  msgid "Edit question"
96
  msgstr "تحرير السؤال"
97
 
98
+ #: lib/controller/WpProQuiz_Controller_Question.php:154
99
  msgid "Question not found"
100
  msgstr "لم يتم العثور على السؤال"
101
 
102
+ #: lib/controller/WpProQuiz_Controller_Question.php:167
103
+ #: lib/controller/WpProQuiz_Controller_Question.php:213
104
  #, php-format
105
  msgid "Question: %d"
106
  msgstr "السؤال: %d"
107
 
108
+ #: lib/controller/WpProQuiz_Controller_Question.php:177
109
  msgid "Question edited"
110
  msgstr "تم تحرير السؤال"
111
 
112
+ #: lib/controller/WpProQuiz_Controller_Question.php:196
113
  msgid "New question"
114
  msgstr "سؤال جديد"
115
 
116
+ #: lib/controller/WpProQuiz_Controller_Question.php:224
117
  msgid "Question added"
118
  msgstr "تم اضافة سؤال"
119
 
216
  msgstr "%d درجات"
217
 
218
  #: lib/view/WpProQuiz_View_FrontQuiz.php:158
219
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:258
220
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:298
221
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:335
222
  msgid "Sort elements"
223
  msgstr "ترتيب العناصر"
224
 
225
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:241
226
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:248
227
  #: lib/view/WpProQuiz_View_Statistics.php:55
228
  #: lib/view/WpProQuiz_View_Statistics.php:147
229
  msgid "Correct"
230
  msgstr "صحيح"
231
 
232
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:243
233
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:261
234
  #: lib/view/WpProQuiz_View_QuestionEdit.php:21
235
  #: lib/view/WpProQuiz_View_QuestionEdit.php:28
236
  #: lib/view/WpProQuiz_View_QuestionOverall.php:29
239
  msgid "Points"
240
  msgstr "درجات"
241
 
242
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:259
243
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:266
244
  #: lib/view/WpProQuiz_View_Statistics.php:56
245
  #: lib/view/WpProQuiz_View_Statistics.php:148
246
  msgid "Incorrect"
247
  msgstr "خطأ"
248
 
249
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:284
250
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:294
251
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:93
252
  msgid "Hint"
253
  msgstr "تلميح"
254
 
255
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:291
256
  msgid "Check"
257
  msgstr "التحقق"
258
 
259
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:292
260
  msgid "Back"
261
  msgstr "العودة"
262
 
263
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:296
264
  msgid "Next exercise"
265
  msgstr "التمرين التالي"
266
 
267
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:309
268
  msgid "Finish quiz"
269
  msgstr ""
270
 
321
  #: lib/view/WpProQuiz_View_QuizEdit.php:234
322
  #: lib/view/WpProQuiz_View_QuizEdit.php:259
323
  #: lib/view/WpProQuiz_View_QuizEdit.php:299
324
+ #: lib/view/WpProQuiz_View_QuizEdit.php:357
325
+ #: lib/view/WpProQuiz_View_QuizEdit.php:407
326
+ #: lib/view/WpProQuiz_View_QuizEdit.php:448
327
  msgid "Activate"
328
  msgstr ""
329
 
381
  msgstr ""
382
 
383
  #: lib/view/WpProQuiz_View_GobalSettings.php:92
384
+ #: lib/view/WpProQuiz_View_QuizEdit.php:382
385
  msgid "Deactivate"
386
  msgstr ""
387
 
411
  msgstr ""
412
 
413
  #: lib/view/WpProQuiz_View_GobalSettings.php:132
414
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:381
415
+ #: lib/view/WpProQuiz_View_QuizEdit.php:542
416
  msgid "Save"
417
  msgstr "حفظ"
418
 
453
  msgstr "العنوان"
454
 
455
  #: lib/view/WpProQuiz_View_QuestionEdit.php:12
456
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:64
457
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:81
458
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:93
459
+ #: lib/view/WpProQuiz_View_QuizEdit.php:436
460
+ #: lib/view/WpProQuiz_View_QuizEdit.php:474
461
  msgid "(optional)"
462
  msgstr "(اختيار)"
463
 
471
 
472
  #: lib/view/WpProQuiz_View_QuestionEdit.php:21
473
  #: lib/view/WpProQuiz_View_QuestionEdit.php:49
474
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:145
475
  #: lib/view/WpProQuiz_View_QuizEdit.php:12
476
+ #: lib/view/WpProQuiz_View_QuizEdit.php:463
477
  msgid "(required)"
478
  msgstr "(مطلوب)"
479
 
497
  msgstr ""
498
 
499
  #: lib/view/WpProQuiz_View_QuestionEdit.php:57
500
+ msgid "Message with the correct / incorrect answer"
501
+ msgstr ""
502
+
503
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:59
504
+ msgid "Deactivated in quiz settings."
505
+ msgstr ""
506
+
507
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:64
508
  msgid "Message with the correct answer"
509
  msgstr "رسالة مع الاجابة الصحيحة"
510
 
511
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:67
512
  msgid ""
513
  "This text will be visible if answered correctly. It can be used as "
514
  "explanation for complex questions. The message \"Right\" or \"Wrong\" is "
517
  "وهذا النص مرئية إذا أجاب بشكل صحيح. ويمكن استخدامه كدليل شرح للمسائل "
518
  "المعقدة. الرسالة\"صحيح \" أو\" خطأ\" دائما يتم عرضها تلقائيا."
519
 
520
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:71
521
  msgid "Same text for correct- and incorrect-message?"
522
  msgstr "نفس النص مع رسالة الاجابة الصحيحة - و الغير صحيحة؟"
523
 
524
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:81
525
  msgid "Message with the incorrect answer"
526
  msgstr "رسالة مع الاجابة الغير صحيحة"
527
 
528
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:84
529
  msgid ""
530
  "This text will be visible if answered incorrectly. It can be used as "
531
  "explanation for complex questions. The message \"Right\" or \"Wrong\" is "
534
  "وهذا النص مرئية إذا أجاب بشكل غير صحيح. ويمكن استخدامه كدليل شرح للمسائل "
535
  "المعقدة. الرسالة\"صحيح \" أو\" خطأ\" دائما يتم عرضها تلقائيا."
536
 
537
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:96
538
  msgid "Here you can enter solution hint."
539
  msgstr "يمكنك وضع هنا تلميح للأجابة."
540
 
541
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:100
542
  msgid "Activate hint for this question?"
543
  msgstr "تفعيل التلميح لهذا السؤال؟"
544
 
545
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:112
546
  msgid "Answer type"
547
  msgstr "نوع السؤال؟"
548
 
549
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:120
550
  msgid "Single choice"
551
  msgstr "اختيار واحد"
552
 
553
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:124
554
  msgid "Multiple choice"
555
  msgstr "أختيار متعدد"
556
 
557
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:128
558
  msgid "\"Free\" choice"
559
  msgstr "\"حر\" اختيار"
560
 
561
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:132
562
  msgid "\"Sorting\" choice"
563
  msgstr "\"ترتيب\" اختيار"
564
 
565
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:136
566
  msgid "\"Matrix Sorting\" choice"
567
  msgstr "\"ترتيب منظمي\" اختيار"
568
 
569
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:140
570
  msgid "Cloze"
571
  msgstr "اكمل"
572
 
573
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:145
574
  msgid "Answers"
575
  msgstr "اجابات"
576
 
577
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:150
578
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:154
579
  msgid ""
580
  "correct answers (one per line) (answers will be converted to lower case)"
581
  msgstr "الإجابات الصحيحة (واحد في كل سطر) (يتم تحويل الإجابات إلى أحرف صغيرة)"
582
 
583
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:160
584
  msgid ""
585
  "Please sort the answers in right order with the \"Move\" - Button. The "
586
  "answers will be displayed randomly."
588
  "يرجى فرز الإجابات في بالترتيب الصحيح بزر \"نقل\" - . سوف يتم عرض الإجابات "
589
  "بشكل عشوائي."
590
 
591
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:166
592
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:178
593
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:188
594
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:207
595
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:223
596
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:237
597
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:287
598
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:327
599
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:364
600
  msgid "Delete answer"
601
  msgstr "حذف الاجابة"
602
 
603
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:167
604
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:179
605
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:189
606
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:208
607
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:224
608
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:238
609
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:286
610
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:326
611
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:363
612
  #: lib/view/WpProQuiz_View_QuestionOverall.php:50
613
  msgid "Move"
614
  msgstr "تحريك"
615
 
616
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:169
617
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:181
618
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:191
619
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:210
620
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:226
621
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:240
622
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:273
623
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:279
624
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:313
625
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:319
626
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:350
627
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:356
628
  msgid "Allow HTML"
629
  msgstr "السماح بــ HTML"
630
 
631
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:197
632
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:246
633
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:368
634
  msgid "Add new answer"
635
  msgstr "اضف اجابة جديدة"
636
 
637
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:205
638
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:221
639
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:235
640
  msgid "correct?"
641
  msgstr "صحيح؟"
642
 
643
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:250
644
  msgid ""
645
  "In this mode, not a list have to be sorted, but elements must be assigned to "
646
  "matching criterion."
648
  "في هذا الوضع، لا يوجد قائمة لا بد من فرزها، ولكن يجب تعيين عناصر مطابقة "
649
  "لمعيار."
650
 
651
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:257
652
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:297
653
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:334
654
  msgid "Criterion"
655
  msgstr "معيار"
656
 
657
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:372
658
  msgid ""
659
  "Enclose the searched words with { } e.g. \"I {play} soccer\". Capital and "
660
  "small letters will be ignored."
799
  #: lib/view/WpProQuiz_View_QuizEdit.php:190
800
  #: lib/view/WpProQuiz_View_QuizEdit.php:215
801
  #: lib/view/WpProQuiz_View_QuizEdit.php:240
802
+ #: lib/view/WpProQuiz_View_QuizEdit.php:363
803
+ #: lib/view/WpProQuiz_View_QuizEdit.php:388
804
  msgid "Demo"
805
  msgstr ""
806
 
926
  msgid "Resets user identification for all users."
927
  msgstr ""
928
 
929
+ #: lib/view/WpProQuiz_View_QuizEdit.php:348
930
+ #: lib/view/WpProQuiz_View_QuizEdit.php:353
931
+ msgid "Hide correct- and incorrect message"
932
+ msgstr ""
933
+
934
+ #: lib/view/WpProQuiz_View_QuizEdit.php:360
935
+ msgid ""
936
+ "If you enable this option, no correct- or incorrect message will be "
937
+ "displayed."
938
+ msgstr ""
939
+
940
+ #: lib/view/WpProQuiz_View_QuizEdit.php:373
941
+ #: lib/view/WpProQuiz_View_QuizEdit.php:378
942
+ msgid "Correct and incorrect answer mark"
943
+ msgstr ""
944
+
945
+ #: lib/view/WpProQuiz_View_QuizEdit.php:385
946
+ msgid ""
947
+ "If you enable this option, answers won't be color highlighted as correct or "
948
+ "incorrect. "
949
+ msgstr ""
950
+
951
+ #: lib/view/WpProQuiz_View_QuizEdit.php:398
952
+ #: lib/view/WpProQuiz_View_QuizEdit.php:403
953
+ msgid "Show only specific number of questions"
954
+ msgstr ""
955
+
956
+ #: lib/view/WpProQuiz_View_QuizEdit.php:410
957
+ msgid ""
958
+ "If you enable this option, maximum number of displayed questions will be X "
959
+ "from X questions. (The output of questions is random)"
960
+ msgstr ""
961
+
962
+ #: lib/view/WpProQuiz_View_QuizEdit.php:413
963
+ msgid "The statistics function is not available in this option."
964
+ msgstr ""
965
+
966
+ #: lib/view/WpProQuiz_View_QuizEdit.php:416
967
+ msgid ""
968
+ "This option doesn't work reliable in connection with Frontend-Cache-Plugins."
969
+ msgstr ""
970
+
971
+ #: lib/view/WpProQuiz_View_QuizEdit.php:420
972
+ msgid "How many questions should be displayed simultaneously:"
973
+ msgstr ""
974
+
975
+ #: lib/view/WpProQuiz_View_QuizEdit.php:425
976
+ msgid "in percent"
977
+ msgstr ""
978
+
979
+ #: lib/view/WpProQuiz_View_QuizEdit.php:463
980
  msgid "Quiz description"
981
  msgstr "وصف الاختبار"
982
 
983
+ #: lib/view/WpProQuiz_View_QuizEdit.php:466
984
  msgid "This text will be displayed before start of the quiz."
985
  msgstr "سيتم عرض هذا النص قبل بدء الاختبار."
986
 
987
+ #: lib/view/WpProQuiz_View_QuizEdit.php:474
988
  msgid "Results text"
989
  msgstr "نص النتائج"
990
 
991
+ #: lib/view/WpProQuiz_View_QuizEdit.php:477
992
  msgid ""
993
  "This text will be displayed at the end of the quiz (in results). (this text "
994
  "is optional)"
995
  msgstr "سيتم عرض هذا النص في نهاية الاختبار (في النتائج). (هذا النص اختياري)"
996
 
997
+ #: lib/view/WpProQuiz_View_QuizEdit.php:481
998
  msgid "Activate graduation"
999
  msgstr "تفعيل التقييم"
1000
 
1001
+ #: lib/view/WpProQuiz_View_QuizEdit.php:487
1002
  msgid "Hint:"
1003
  msgstr "تلميح:"
1004
 
1005
+ #: lib/view/WpProQuiz_View_QuizEdit.php:489
1006
  msgid "Maximal 15 levels"
1007
  msgstr "اقصى حد 15 مستوى"
1008
 
1009
+ #: lib/view/WpProQuiz_View_QuizEdit.php:491
1010
  #, php-format
1011
  msgid ""
1012
  "Percentages refer to the total score of the quiz. (Current total %d points "
1015
  "النسبة المئوية تشير الي الدرجة الكلية للأختبار.( المجموع الحالي %d درجة في "
1016
  "%d سؤال"
1017
 
1018
+ #: lib/view/WpProQuiz_View_QuizEdit.php:494
1019
  msgid "Values can also be mixed up"
1020
  msgstr "يمكن لخبطة القيم"
1021
 
1022
+ #: lib/view/WpProQuiz_View_QuizEdit.php:495
1023
  msgid "10,15% or 10.15% allowed (max. two digits after the decimal point)"
1024
  msgstr "10.15% او 10.15% مسموح به (اقصى حد هو رقمين بعد النسبة المئوية)"
1025
 
1026
+ #: lib/view/WpProQuiz_View_QuizEdit.php:511
1027
+ #: lib/view/WpProQuiz_View_QuizEdit.php:522
1028
  msgid "from:"
1029
  msgstr "من:"
1030
 
1031
+ #: lib/view/WpProQuiz_View_QuizEdit.php:511
1032
+ #: lib/view/WpProQuiz_View_QuizEdit.php:522
1033
  msgid "percent"
1034
  msgstr "النسبة المئوية"
1035
 
1036
+ #: lib/view/WpProQuiz_View_QuizEdit.php:511
1037
+ #: lib/view/WpProQuiz_View_QuizEdit.php:522
1038
  #, php-format
1039
  msgid ""
1040
  "(Will be displayed, when result-percent is >= <span class=\"resultProzent\">"
1043
  "(سوف يتم عرضه، عندما تكون نسبة النتيجة>= <span class=\"resultProzent\">%s</"
1044
  "span>%%)"
1045
 
1046
+ #: lib/view/WpProQuiz_View_QuizEdit.php:512
1047
+ #: lib/view/WpProQuiz_View_QuizEdit.php:523
1048
  msgid "Delete graduation"
1049
  msgstr "حذف التقييم"
1050
 
1051
+ #: lib/view/WpProQuiz_View_QuizEdit.php:530
1052
  msgid "Add graduation"
1053
  msgstr "اضافة تقييم"
1054
 
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: 2013-01-07 23:42+0100\n"
5
- "PO-Revision-Date: 2013-01-07 23:44+0100\n"
6
  "Last-Translator: Julius Fischer <julius.f@gmx.net>\n"
7
  "Language-Team: Julius Fischer\n"
8
  "Language: German\n"
@@ -61,8 +61,8 @@ msgstr "Soll die Statistik wirklich zurückgesetzt werden?"
61
  #: lib/controller/WpProQuiz_Controller_Question.php:51
62
  #: lib/controller/WpProQuiz_Controller_Question.php:128
63
  #: lib/controller/WpProQuiz_Controller_Question.php:143
64
- #: lib/controller/WpProQuiz_Controller_Question.php:189
65
- #: lib/controller/WpProQuiz_Controller_Question.php:284
66
  #: lib/controller/WpProQuiz_Controller_Quiz.php:55
67
  #: lib/controller/WpProQuiz_Controller_Quiz.php:69
68
  #: lib/controller/WpProQuiz_Controller_Quiz.php:114
@@ -96,25 +96,25 @@ msgstr "Fragen kopiert"
96
  msgid "Edit question"
97
  msgstr "Frage bearbeiten"
98
 
99
- #: lib/controller/WpProQuiz_Controller_Question.php:151
100
  msgid "Question not found"
101
  msgstr "Frage nicht gefunden"
102
 
103
- #: lib/controller/WpProQuiz_Controller_Question.php:164
104
- #: lib/controller/WpProQuiz_Controller_Question.php:206
105
  #, php-format
106
  msgid "Question: %d"
107
  msgstr "Frage: %d"
108
 
109
- #: lib/controller/WpProQuiz_Controller_Question.php:174
110
  msgid "Question edited"
111
  msgstr "Frage geändert"
112
 
113
- #: lib/controller/WpProQuiz_Controller_Question.php:193
114
  msgid "New question"
115
  msgstr "Neue Frage"
116
 
117
- #: lib/controller/WpProQuiz_Controller_Question.php:217
118
  msgid "Question added"
119
  msgstr "Frage hinzugefügt"
120
 
@@ -220,21 +220,21 @@ msgid "%d points"
220
  msgstr "%d Punkte"
221
 
222
  #: lib/view/WpProQuiz_View_FrontQuiz.php:158
223
- #: lib/view/WpProQuiz_View_QuestionEdit.php:250
224
- #: lib/view/WpProQuiz_View_QuestionEdit.php:290
225
- #: lib/view/WpProQuiz_View_QuestionEdit.php:327
226
  msgid "Sort elements"
227
  msgstr "Sortierelemente"
228
 
229
- #: lib/view/WpProQuiz_View_FrontQuiz.php:240
230
- #: lib/view/WpProQuiz_View_FrontQuiz.php:247
231
  #: lib/view/WpProQuiz_View_Statistics.php:55
232
  #: lib/view/WpProQuiz_View_Statistics.php:147
233
  msgid "Correct"
234
  msgstr "Korrekt"
235
 
236
- #: lib/view/WpProQuiz_View_FrontQuiz.php:242
237
- #: lib/view/WpProQuiz_View_FrontQuiz.php:260
238
  #: lib/view/WpProQuiz_View_QuestionEdit.php:21
239
  #: lib/view/WpProQuiz_View_QuestionEdit.php:28
240
  #: lib/view/WpProQuiz_View_QuestionOverall.php:29
@@ -243,32 +243,32 @@ msgstr "Korrekt"
243
  msgid "Points"
244
  msgstr "Punkte"
245
 
246
- #: lib/view/WpProQuiz_View_FrontQuiz.php:258
247
- #: lib/view/WpProQuiz_View_FrontQuiz.php:265
248
  #: lib/view/WpProQuiz_View_Statistics.php:56
249
  #: lib/view/WpProQuiz_View_Statistics.php:148
250
  msgid "Incorrect"
251
  msgstr "Inkorrekt"
252
 
253
- #: lib/view/WpProQuiz_View_FrontQuiz.php:282
254
- #: lib/view/WpProQuiz_View_FrontQuiz.php:292
255
- #: lib/view/WpProQuiz_View_QuestionEdit.php:85
256
  msgid "Hint"
257
  msgstr "Tipp"
258
 
259
- #: lib/view/WpProQuiz_View_FrontQuiz.php:289
260
  msgid "Check"
261
  msgstr "Prüfen"
262
 
263
- #: lib/view/WpProQuiz_View_FrontQuiz.php:290
264
  msgid "Back"
265
  msgstr "Zurück"
266
 
267
- #: lib/view/WpProQuiz_View_FrontQuiz.php:294
268
  msgid "Next exercise"
269
  msgstr "Nächste Frage"
270
 
271
- #: lib/view/WpProQuiz_View_FrontQuiz.php:307
272
  msgid "Finish quiz"
273
  msgstr "Quiz abschließen"
274
 
@@ -327,6 +327,9 @@ msgstr "Automatisch [raw] Shortcode hinzufügen"
327
  #: lib/view/WpProQuiz_View_QuizEdit.php:234
328
  #: lib/view/WpProQuiz_View_QuizEdit.php:259
329
  #: lib/view/WpProQuiz_View_QuizEdit.php:299
 
 
 
330
  msgid "Activate"
331
  msgstr "Aktivieren"
332
 
@@ -393,6 +396,7 @@ msgid "Touch Library"
393
  msgstr "Touch Library"
394
 
395
  #: lib/view/WpProQuiz_View_GobalSettings.php:92
 
396
  msgid "Deactivate"
397
  msgstr "Deaktivieren"
398
 
@@ -425,8 +429,8 @@ msgid "e.g. Domain with special characters in combination with IE"
425
  msgstr "z.B. Bei einer Domain mit Sonderzeichen in Kombination mit IE"
426
 
427
  #: lib/view/WpProQuiz_View_GobalSettings.php:132
428
- #: lib/view/WpProQuiz_View_QuestionEdit.php:373
429
- #: lib/view/WpProQuiz_View_QuizEdit.php:430
430
  msgid "Save"
431
  msgstr "Speichern"
432
 
@@ -467,10 +471,11 @@ msgid "Title"
467
  msgstr "Titel"
468
 
469
  #: lib/view/WpProQuiz_View_QuestionEdit.php:12
470
- #: lib/view/WpProQuiz_View_QuestionEdit.php:57
471
- #: lib/view/WpProQuiz_View_QuestionEdit.php:74
472
- #: lib/view/WpProQuiz_View_QuestionEdit.php:85
473
- #: lib/view/WpProQuiz_View_QuizEdit.php:362
 
474
  msgid "(optional)"
475
  msgstr "(Optional)"
476
 
@@ -484,9 +489,9 @@ msgstr ""
484
 
485
  #: lib/view/WpProQuiz_View_QuestionEdit.php:21
486
  #: lib/view/WpProQuiz_View_QuestionEdit.php:49
487
- #: lib/view/WpProQuiz_View_QuestionEdit.php:137
488
  #: lib/view/WpProQuiz_View_QuizEdit.php:12
489
- #: lib/view/WpProQuiz_View_QuizEdit.php:351
490
  msgid "(required)"
491
  msgstr "(Pflichtfeld)"
492
 
@@ -513,10 +518,18 @@ msgid "Show reached points in the correct- and incorrect message?"
513
  msgstr "Erreichte Punkte in der Korrekt- und Inkorrekt-Nachricht anzeigen?"
514
 
515
  #: lib/view/WpProQuiz_View_QuestionEdit.php:57
 
 
 
 
 
 
 
 
516
  msgid "Message with the correct answer"
517
  msgstr "Nachricht bei korrekter Antwort"
518
 
519
- #: lib/view/WpProQuiz_View_QuestionEdit.php:60
520
  msgid ""
521
  "This text will be visible if answered correctly. It can be used as "
522
  "explanation for complex questions. The message \"Right\" or \"Wrong\" is "
@@ -526,15 +539,15 @@ msgstr ""
526
  "für komplexe Aufgaben dienen. Die Nachricht \"Richtig\" oder \"Falsch\" wird "
527
  "immer automatisch angezeigt."
528
 
529
- #: lib/view/WpProQuiz_View_QuestionEdit.php:64
530
  msgid "Same text for correct- and incorrect-message?"
531
  msgstr "Gleicher Text für Korrekt- und Inkorrekt-Nachricht?"
532
 
533
- #: lib/view/WpProQuiz_View_QuestionEdit.php:74
534
  msgid "Message with the incorrect answer"
535
  msgstr "Nachricht bei inkorrekter Antwort"
536
 
537
- #: lib/view/WpProQuiz_View_QuestionEdit.php:77
538
  msgid ""
539
  "This text will be visible if answered incorrectly. It can be used as "
540
  "explanation for complex questions. The message \"Right\" or \"Wrong\" is "
@@ -544,55 +557,55 @@ msgstr ""
544
  "komplexe Aufgaben dienen. Die Nachricht \"Richtig\" oder \"Falsch\" wird "
545
  "immer automatisch angezeigt."
546
 
547
- #: lib/view/WpProQuiz_View_QuestionEdit.php:88
548
  msgid "Here you can enter solution hint."
549
  msgstr "Hier können Sie einen Lösungstipp hinterlegen."
550
 
551
- #: lib/view/WpProQuiz_View_QuestionEdit.php:92
552
  msgid "Activate hint for this question?"
553
  msgstr "Tipp für diese Frage aktivieren?"
554
 
555
- #: lib/view/WpProQuiz_View_QuestionEdit.php:104
556
  msgid "Answer type"
557
  msgstr "Antwort Typ?"
558
 
559
- #: lib/view/WpProQuiz_View_QuestionEdit.php:112
560
  msgid "Single choice"
561
  msgstr "Single choice"
562
 
563
- #: lib/view/WpProQuiz_View_QuestionEdit.php:116
564
  msgid "Multiple choice"
565
  msgstr "Multiple choice"
566
 
567
- #: lib/view/WpProQuiz_View_QuestionEdit.php:120
568
  msgid "\"Free\" choice"
569
  msgstr "\"Free\" choice"
570
 
571
- #: lib/view/WpProQuiz_View_QuestionEdit.php:124
572
  msgid "\"Sorting\" choice"
573
  msgstr "\"Sorting\" choice"
574
 
575
- #: lib/view/WpProQuiz_View_QuestionEdit.php:128
576
  msgid "\"Matrix Sorting\" choice"
577
  msgstr "\"Matrix Sorting\" choice"
578
 
579
- #: lib/view/WpProQuiz_View_QuestionEdit.php:132
580
  msgid "Cloze"
581
  msgstr "Lückentext"
582
 
583
- #: lib/view/WpProQuiz_View_QuestionEdit.php:137
584
  msgid "Answers"
585
  msgstr "Antworten"
586
 
587
- #: lib/view/WpProQuiz_View_QuestionEdit.php:142
588
- #: lib/view/WpProQuiz_View_QuestionEdit.php:146
589
  msgid ""
590
  "correct answers (one per line) (answers will be converted to lower case)"
591
  msgstr ""
592
  "Korrekte Antworten (eine pro Zeile ) (Antworten werden in Kleinbuchstaben "
593
  "umgewandelt)"
594
 
595
- #: lib/view/WpProQuiz_View_QuestionEdit.php:152
596
  msgid ""
597
  "Please sort the answers in right order with the \"Move\" - Button. The "
598
  "answers will be displayed randomly."
@@ -600,59 +613,59 @@ msgstr ""
600
  "Bitte Antworten mit dem \"Verschiebe\"-Button in die richtige Reihenfolge "
601
  "bringen. Die Antworten werden später immer zufällig ausgegeben."
602
 
603
- #: lib/view/WpProQuiz_View_QuestionEdit.php:158
604
- #: lib/view/WpProQuiz_View_QuestionEdit.php:170
605
- #: lib/view/WpProQuiz_View_QuestionEdit.php:180
606
- #: lib/view/WpProQuiz_View_QuestionEdit.php:199
607
- #: lib/view/WpProQuiz_View_QuestionEdit.php:215
608
- #: lib/view/WpProQuiz_View_QuestionEdit.php:229
609
- #: lib/view/WpProQuiz_View_QuestionEdit.php:279
610
- #: lib/view/WpProQuiz_View_QuestionEdit.php:319
611
- #: lib/view/WpProQuiz_View_QuestionEdit.php:356
612
  msgid "Delete answer"
613
  msgstr "Antwort löschen"
614
 
615
- #: lib/view/WpProQuiz_View_QuestionEdit.php:159
616
- #: lib/view/WpProQuiz_View_QuestionEdit.php:171
617
- #: lib/view/WpProQuiz_View_QuestionEdit.php:181
618
- #: lib/view/WpProQuiz_View_QuestionEdit.php:200
619
- #: lib/view/WpProQuiz_View_QuestionEdit.php:216
620
- #: lib/view/WpProQuiz_View_QuestionEdit.php:230
621
- #: lib/view/WpProQuiz_View_QuestionEdit.php:278
622
- #: lib/view/WpProQuiz_View_QuestionEdit.php:318
623
- #: lib/view/WpProQuiz_View_QuestionEdit.php:355
624
  #: lib/view/WpProQuiz_View_QuestionOverall.php:50
625
  msgid "Move"
626
  msgstr "Verschieben"
627
 
628
- #: lib/view/WpProQuiz_View_QuestionEdit.php:161
629
- #: lib/view/WpProQuiz_View_QuestionEdit.php:173
630
- #: lib/view/WpProQuiz_View_QuestionEdit.php:183
631
- #: lib/view/WpProQuiz_View_QuestionEdit.php:202
632
- #: lib/view/WpProQuiz_View_QuestionEdit.php:218
633
- #: lib/view/WpProQuiz_View_QuestionEdit.php:232
634
- #: lib/view/WpProQuiz_View_QuestionEdit.php:265
635
- #: lib/view/WpProQuiz_View_QuestionEdit.php:271
636
- #: lib/view/WpProQuiz_View_QuestionEdit.php:305
637
- #: lib/view/WpProQuiz_View_QuestionEdit.php:311
638
- #: lib/view/WpProQuiz_View_QuestionEdit.php:342
639
- #: lib/view/WpProQuiz_View_QuestionEdit.php:348
640
  msgid "Allow HTML"
641
  msgstr "HTML erlauben"
642
 
643
- #: lib/view/WpProQuiz_View_QuestionEdit.php:189
644
- #: lib/view/WpProQuiz_View_QuestionEdit.php:238
645
- #: lib/view/WpProQuiz_View_QuestionEdit.php:360
646
  msgid "Add new answer"
647
  msgstr "Neue Antwort hinzufügen"
648
 
649
- #: lib/view/WpProQuiz_View_QuestionEdit.php:197
650
- #: lib/view/WpProQuiz_View_QuestionEdit.php:213
651
- #: lib/view/WpProQuiz_View_QuestionEdit.php:227
652
  msgid "correct?"
653
  msgstr "Korrekt?"
654
 
655
- #: lib/view/WpProQuiz_View_QuestionEdit.php:242
656
  msgid ""
657
  "In this mode, not a list have to be sorted, but elements must be assigned to "
658
  "matching criterion."
@@ -660,13 +673,13 @@ msgstr ""
660
  "In diesem Modus muss nicht eine Liste sortiert werden, sondern die "
661
  "Sortierelemente müssen zu den passenden Kriterium zugeordnet werden."
662
 
663
- #: lib/view/WpProQuiz_View_QuestionEdit.php:249
664
- #: lib/view/WpProQuiz_View_QuestionEdit.php:289
665
- #: lib/view/WpProQuiz_View_QuestionEdit.php:326
666
  msgid "Criterion"
667
  msgstr "Kriterium"
668
 
669
- #: lib/view/WpProQuiz_View_QuestionEdit.php:364
670
  msgid ""
671
  "Enclose the searched words with { } e.g. \"I {play} soccer\". Capital and "
672
  "small letters will be ignored."
@@ -815,6 +828,8 @@ msgstr ""
815
  #: lib/view/WpProQuiz_View_QuizEdit.php:190
816
  #: lib/view/WpProQuiz_View_QuizEdit.php:215
817
  #: lib/view/WpProQuiz_View_QuizEdit.php:240
 
 
818
  msgid "Demo"
819
  msgstr "Demo"
820
 
@@ -949,19 +964,77 @@ msgstr "Benutzer-Identifikation wurde zurückgesetzt."
949
  msgid "Resets user identification for all users."
950
  msgstr "Setzt die Benutzer-Identifikation für alle Benutzer zurück."
951
 
952
- #: lib/view/WpProQuiz_View_QuizEdit.php:351
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
953
  msgid "Quiz description"
954
  msgstr "Quiz Beschreibung"
955
 
956
- #: lib/view/WpProQuiz_View_QuizEdit.php:354
957
  msgid "This text will be displayed before start of the quiz."
958
  msgstr "Dieser Text wird vor dem Starten des Quizes angezeigt."
959
 
960
- #: lib/view/WpProQuiz_View_QuizEdit.php:362
961
  msgid "Results text"
962
  msgstr "Ergebnis Text"
963
 
964
- #: lib/view/WpProQuiz_View_QuizEdit.php:365
965
  msgid ""
966
  "This text will be displayed at the end of the quiz (in results). (this text "
967
  "is optional)"
@@ -969,19 +1042,19 @@ msgstr ""
969
  "Dieser Text wird beim Beenden (im Ergebnis) des Quizes angezeigt (Dieser "
970
  "Text ist optional)"
971
 
972
- #: lib/view/WpProQuiz_View_QuizEdit.php:369
973
  msgid "Activate graduation"
974
  msgstr "Abstufungen aktivieren"
975
 
976
- #: lib/view/WpProQuiz_View_QuizEdit.php:375
977
  msgid "Hint:"
978
  msgstr "Hinweis:"
979
 
980
- #: lib/view/WpProQuiz_View_QuizEdit.php:377
981
  msgid "Maximal 15 levels"
982
  msgstr "Maximal 15 Stufen"
983
 
984
- #: lib/view/WpProQuiz_View_QuizEdit.php:379
985
  #, php-format
986
  msgid ""
987
  "Percentages refer to the total score of the quiz. (Current total %d points "
@@ -990,26 +1063,26 @@ msgstr ""
990
  "Prozente beziehen sich auf die Gesamtpunktzahl des Quiz (Aktuell: insgesamt "
991
  "%d Punkte bei %d Fragen)"
992
 
993
- #: lib/view/WpProQuiz_View_QuizEdit.php:382
994
  msgid "Values can also be mixed up"
995
  msgstr "Werte können auch durcheinander sein"
996
 
997
- #: lib/view/WpProQuiz_View_QuizEdit.php:383
998
  msgid "10,15% or 10.15% allowed (max. two digits after the decimal point)"
999
  msgstr "10,15% oder 10.15% erlaubt (maximal 2 Stellen nach dem Komma)"
1000
 
1001
- #: lib/view/WpProQuiz_View_QuizEdit.php:399
1002
- #: lib/view/WpProQuiz_View_QuizEdit.php:410
1003
  msgid "from:"
1004
  msgstr "Ab:"
1005
 
1006
- #: lib/view/WpProQuiz_View_QuizEdit.php:399
1007
- #: lib/view/WpProQuiz_View_QuizEdit.php:410
1008
  msgid "percent"
1009
  msgstr "Prozent"
1010
 
1011
- #: lib/view/WpProQuiz_View_QuizEdit.php:399
1012
- #: lib/view/WpProQuiz_View_QuizEdit.php:410
1013
  #, php-format
1014
  msgid ""
1015
  "(Will be displayed, when result-percent is >= <span class=\"resultProzent\">"
@@ -1018,12 +1091,12 @@ msgstr ""
1018
  "(Wird angezeigt wenn Ergebnis-Prozent >= <span class=\"resultProzent\">%s</"
1019
  "span>%% ist)"
1020
 
1021
- #: lib/view/WpProQuiz_View_QuizEdit.php:400
1022
- #: lib/view/WpProQuiz_View_QuizEdit.php:411
1023
  msgid "Delete graduation"
1024
  msgstr "Stufe löschen"
1025
 
1026
- #: lib/view/WpProQuiz_View_QuizEdit.php:418
1027
  msgid "Add graduation"
1028
  msgstr "Stufe hinzufügen"
1029
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wp-Pro-Quiz\n"
4
+ "POT-Creation-Date: 2013-01-15 11:33+0100\n"
5
+ "PO-Revision-Date: 2013-01-15 11:34+0100\n"
6
  "Last-Translator: Julius Fischer <julius.f@gmx.net>\n"
7
  "Language-Team: Julius Fischer\n"
8
  "Language: German\n"
61
  #: lib/controller/WpProQuiz_Controller_Question.php:51
62
  #: lib/controller/WpProQuiz_Controller_Question.php:128
63
  #: lib/controller/WpProQuiz_Controller_Question.php:143
64
+ #: lib/controller/WpProQuiz_Controller_Question.php:192
65
+ #: lib/controller/WpProQuiz_Controller_Question.php:291
66
  #: lib/controller/WpProQuiz_Controller_Quiz.php:55
67
  #: lib/controller/WpProQuiz_Controller_Quiz.php:69
68
  #: lib/controller/WpProQuiz_Controller_Quiz.php:114
96
  msgid "Edit question"
97
  msgstr "Frage bearbeiten"
98
 
99
+ #: lib/controller/WpProQuiz_Controller_Question.php:154
100
  msgid "Question not found"
101
  msgstr "Frage nicht gefunden"
102
 
103
+ #: lib/controller/WpProQuiz_Controller_Question.php:167
104
+ #: lib/controller/WpProQuiz_Controller_Question.php:213
105
  #, php-format
106
  msgid "Question: %d"
107
  msgstr "Frage: %d"
108
 
109
+ #: lib/controller/WpProQuiz_Controller_Question.php:177
110
  msgid "Question edited"
111
  msgstr "Frage geändert"
112
 
113
+ #: lib/controller/WpProQuiz_Controller_Question.php:196
114
  msgid "New question"
115
  msgstr "Neue Frage"
116
 
117
+ #: lib/controller/WpProQuiz_Controller_Question.php:224
118
  msgid "Question added"
119
  msgstr "Frage hinzugefügt"
120
 
220
  msgstr "%d Punkte"
221
 
222
  #: lib/view/WpProQuiz_View_FrontQuiz.php:158
223
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:258
224
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:298
225
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:335
226
  msgid "Sort elements"
227
  msgstr "Sortierelemente"
228
 
229
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:241
230
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:248
231
  #: lib/view/WpProQuiz_View_Statistics.php:55
232
  #: lib/view/WpProQuiz_View_Statistics.php:147
233
  msgid "Correct"
234
  msgstr "Korrekt"
235
 
236
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:243
237
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:261
238
  #: lib/view/WpProQuiz_View_QuestionEdit.php:21
239
  #: lib/view/WpProQuiz_View_QuestionEdit.php:28
240
  #: lib/view/WpProQuiz_View_QuestionOverall.php:29
243
  msgid "Points"
244
  msgstr "Punkte"
245
 
246
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:259
247
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:266
248
  #: lib/view/WpProQuiz_View_Statistics.php:56
249
  #: lib/view/WpProQuiz_View_Statistics.php:148
250
  msgid "Incorrect"
251
  msgstr "Inkorrekt"
252
 
253
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:284
254
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:294
255
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:93
256
  msgid "Hint"
257
  msgstr "Tipp"
258
 
259
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:291
260
  msgid "Check"
261
  msgstr "Prüfen"
262
 
263
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:292
264
  msgid "Back"
265
  msgstr "Zurück"
266
 
267
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:296
268
  msgid "Next exercise"
269
  msgstr "Nächste Frage"
270
 
271
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:309
272
  msgid "Finish quiz"
273
  msgstr "Quiz abschließen"
274
 
327
  #: lib/view/WpProQuiz_View_QuizEdit.php:234
328
  #: lib/view/WpProQuiz_View_QuizEdit.php:259
329
  #: lib/view/WpProQuiz_View_QuizEdit.php:299
330
+ #: lib/view/WpProQuiz_View_QuizEdit.php:357
331
+ #: lib/view/WpProQuiz_View_QuizEdit.php:407
332
+ #: lib/view/WpProQuiz_View_QuizEdit.php:448
333
  msgid "Activate"
334
  msgstr "Aktivieren"
335
 
396
  msgstr "Touch Library"
397
 
398
  #: lib/view/WpProQuiz_View_GobalSettings.php:92
399
+ #: lib/view/WpProQuiz_View_QuizEdit.php:382
400
  msgid "Deactivate"
401
  msgstr "Deaktivieren"
402
 
429
  msgstr "z.B. Bei einer Domain mit Sonderzeichen in Kombination mit IE"
430
 
431
  #: lib/view/WpProQuiz_View_GobalSettings.php:132
432
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:381
433
+ #: lib/view/WpProQuiz_View_QuizEdit.php:542
434
  msgid "Save"
435
  msgstr "Speichern"
436
 
471
  msgstr "Titel"
472
 
473
  #: lib/view/WpProQuiz_View_QuestionEdit.php:12
474
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:64
475
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:81
476
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:93
477
+ #: lib/view/WpProQuiz_View_QuizEdit.php:436
478
+ #: lib/view/WpProQuiz_View_QuizEdit.php:474
479
  msgid "(optional)"
480
  msgstr "(Optional)"
481
 
489
 
490
  #: lib/view/WpProQuiz_View_QuestionEdit.php:21
491
  #: lib/view/WpProQuiz_View_QuestionEdit.php:49
492
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:145
493
  #: lib/view/WpProQuiz_View_QuizEdit.php:12
494
+ #: lib/view/WpProQuiz_View_QuizEdit.php:463
495
  msgid "(required)"
496
  msgstr "(Pflichtfeld)"
497
 
518
  msgstr "Erreichte Punkte in der Korrekt- und Inkorrekt-Nachricht anzeigen?"
519
 
520
  #: lib/view/WpProQuiz_View_QuestionEdit.php:57
521
+ msgid "Message with the correct / incorrect answer"
522
+ msgstr "Nachricht bei korrekter / inkorrekter Antwort"
523
+
524
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:59
525
+ msgid "Deactivated in quiz settings."
526
+ msgstr "In den Quiz-Einstellungen deaktiviert."
527
+
528
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:64
529
  msgid "Message with the correct answer"
530
  msgstr "Nachricht bei korrekter Antwort"
531
 
532
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:67
533
  msgid ""
534
  "This text will be visible if answered correctly. It can be used as "
535
  "explanation for complex questions. The message \"Right\" or \"Wrong\" is "
539
  "für komplexe Aufgaben dienen. Die Nachricht \"Richtig\" oder \"Falsch\" wird "
540
  "immer automatisch angezeigt."
541
 
542
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:71
543
  msgid "Same text for correct- and incorrect-message?"
544
  msgstr "Gleicher Text für Korrekt- und Inkorrekt-Nachricht?"
545
 
546
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:81
547
  msgid "Message with the incorrect answer"
548
  msgstr "Nachricht bei inkorrekter Antwort"
549
 
550
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:84
551
  msgid ""
552
  "This text will be visible if answered incorrectly. It can be used as "
553
  "explanation for complex questions. The message \"Right\" or \"Wrong\" is "
557
  "komplexe Aufgaben dienen. Die Nachricht \"Richtig\" oder \"Falsch\" wird "
558
  "immer automatisch angezeigt."
559
 
560
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:96
561
  msgid "Here you can enter solution hint."
562
  msgstr "Hier können Sie einen Lösungstipp hinterlegen."
563
 
564
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:100
565
  msgid "Activate hint for this question?"
566
  msgstr "Tipp für diese Frage aktivieren?"
567
 
568
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:112
569
  msgid "Answer type"
570
  msgstr "Antwort Typ?"
571
 
572
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:120
573
  msgid "Single choice"
574
  msgstr "Single choice"
575
 
576
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:124
577
  msgid "Multiple choice"
578
  msgstr "Multiple choice"
579
 
580
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:128
581
  msgid "\"Free\" choice"
582
  msgstr "\"Free\" choice"
583
 
584
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:132
585
  msgid "\"Sorting\" choice"
586
  msgstr "\"Sorting\" choice"
587
 
588
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:136
589
  msgid "\"Matrix Sorting\" choice"
590
  msgstr "\"Matrix Sorting\" choice"
591
 
592
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:140
593
  msgid "Cloze"
594
  msgstr "Lückentext"
595
 
596
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:145
597
  msgid "Answers"
598
  msgstr "Antworten"
599
 
600
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:150
601
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:154
602
  msgid ""
603
  "correct answers (one per line) (answers will be converted to lower case)"
604
  msgstr ""
605
  "Korrekte Antworten (eine pro Zeile ) (Antworten werden in Kleinbuchstaben "
606
  "umgewandelt)"
607
 
608
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:160
609
  msgid ""
610
  "Please sort the answers in right order with the \"Move\" - Button. The "
611
  "answers will be displayed randomly."
613
  "Bitte Antworten mit dem \"Verschiebe\"-Button in die richtige Reihenfolge "
614
  "bringen. Die Antworten werden später immer zufällig ausgegeben."
615
 
616
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:166
617
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:178
618
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:188
619
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:207
620
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:223
621
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:237
622
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:287
623
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:327
624
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:364
625
  msgid "Delete answer"
626
  msgstr "Antwort löschen"
627
 
628
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:167
629
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:179
630
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:189
631
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:208
632
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:224
633
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:238
634
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:286
635
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:326
636
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:363
637
  #: lib/view/WpProQuiz_View_QuestionOverall.php:50
638
  msgid "Move"
639
  msgstr "Verschieben"
640
 
641
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:169
642
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:181
643
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:191
644
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:210
645
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:226
646
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:240
647
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:273
648
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:279
649
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:313
650
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:319
651
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:350
652
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:356
653
  msgid "Allow HTML"
654
  msgstr "HTML erlauben"
655
 
656
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:197
657
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:246
658
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:368
659
  msgid "Add new answer"
660
  msgstr "Neue Antwort hinzufügen"
661
 
662
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:205
663
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:221
664
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:235
665
  msgid "correct?"
666
  msgstr "Korrekt?"
667
 
668
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:250
669
  msgid ""
670
  "In this mode, not a list have to be sorted, but elements must be assigned to "
671
  "matching criterion."
673
  "In diesem Modus muss nicht eine Liste sortiert werden, sondern die "
674
  "Sortierelemente müssen zu den passenden Kriterium zugeordnet werden."
675
 
676
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:257
677
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:297
678
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:334
679
  msgid "Criterion"
680
  msgstr "Kriterium"
681
 
682
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:372
683
  msgid ""
684
  "Enclose the searched words with { } e.g. \"I {play} soccer\". Capital and "
685
  "small letters will be ignored."
828
  #: lib/view/WpProQuiz_View_QuizEdit.php:190
829
  #: lib/view/WpProQuiz_View_QuizEdit.php:215
830
  #: lib/view/WpProQuiz_View_QuizEdit.php:240
831
+ #: lib/view/WpProQuiz_View_QuizEdit.php:363
832
+ #: lib/view/WpProQuiz_View_QuizEdit.php:388
833
  msgid "Demo"
834
  msgstr "Demo"
835
 
964
  msgid "Resets user identification for all users."
965
  msgstr "Setzt die Benutzer-Identifikation für alle Benutzer zurück."
966
 
967
+ #: lib/view/WpProQuiz_View_QuizEdit.php:348
968
+ #: lib/view/WpProQuiz_View_QuizEdit.php:353
969
+ msgid "Hide correct- and incorrect message"
970
+ msgstr "Verstecke Korrekt- und Inkorrekt-Nachricht"
971
+
972
+ #: lib/view/WpProQuiz_View_QuizEdit.php:360
973
+ msgid ""
974
+ "If you enable this option, no correct- or incorrect message will be "
975
+ "displayed."
976
+ msgstr ""
977
+ "Wenn Sie diese Option aktivieren, werden keine Korrekt- oder Inkorrekt-"
978
+ "Nachricht angezeigt."
979
+
980
+ #: lib/view/WpProQuiz_View_QuizEdit.php:373
981
+ #: lib/view/WpProQuiz_View_QuizEdit.php:378
982
+ msgid "Correct and incorrect answer mark"
983
+ msgstr "Korrekt und Inkorrekt-Antwortmarkierung"
984
+
985
+ #: lib/view/WpProQuiz_View_QuizEdit.php:385
986
+ msgid ""
987
+ "If you enable this option, answers won't be color highlighted as correct or "
988
+ "incorrect. "
989
+ msgstr ""
990
+ "Wenn Sie diese Option aktivieren, werden die Antworten nicht mehr farblich "
991
+ "als korrekt oder inkorrekt gegenzeichnet."
992
+
993
+ #: lib/view/WpProQuiz_View_QuizEdit.php:398
994
+ #: lib/view/WpProQuiz_View_QuizEdit.php:403
995
+ msgid "Show only specific number of questions"
996
+ msgstr "Zeige nur bestimmte Anzahl von Fragen"
997
+
998
+ #: lib/view/WpProQuiz_View_QuizEdit.php:410
999
+ msgid ""
1000
+ "If you enable this option, maximum number of displayed questions will be X "
1001
+ "from X questions. (The output of questions is random)"
1002
+ msgstr ""
1003
+ "Wenn Sie diese Option aktivieren, werden immer nur maximal X von X Fragen "
1004
+ "angezeigt. (Die Ausgabe der Fragen erfolgt zufällig)"
1005
+
1006
+ #: lib/view/WpProQuiz_View_QuizEdit.php:413
1007
+ msgid "The statistics function is not available in this option."
1008
+ msgstr "Die Statistik-Funktion ist mit dieser Option nicht verfügbar."
1009
+
1010
+ #: lib/view/WpProQuiz_View_QuizEdit.php:416
1011
+ msgid ""
1012
+ "This option doesn't work reliable in connection with Frontend-Cache-Plugins."
1013
+ msgstr ""
1014
+ "Diese Option funktioniert nicht zu verlässlich in Verbindung mit Frontend-"
1015
+ "Cache-Plugins."
1016
+
1017
+ #: lib/view/WpProQuiz_View_QuizEdit.php:420
1018
+ msgid "How many questions should be displayed simultaneously:"
1019
+ msgstr "Wie viele Fragen sollen gleichzeitig angezeigt werden:"
1020
+
1021
+ #: lib/view/WpProQuiz_View_QuizEdit.php:425
1022
+ msgid "in percent"
1023
+ msgstr "in Prozent"
1024
+
1025
+ #: lib/view/WpProQuiz_View_QuizEdit.php:463
1026
  msgid "Quiz description"
1027
  msgstr "Quiz Beschreibung"
1028
 
1029
+ #: lib/view/WpProQuiz_View_QuizEdit.php:466
1030
  msgid "This text will be displayed before start of the quiz."
1031
  msgstr "Dieser Text wird vor dem Starten des Quizes angezeigt."
1032
 
1033
+ #: lib/view/WpProQuiz_View_QuizEdit.php:474
1034
  msgid "Results text"
1035
  msgstr "Ergebnis Text"
1036
 
1037
+ #: lib/view/WpProQuiz_View_QuizEdit.php:477
1038
  msgid ""
1039
  "This text will be displayed at the end of the quiz (in results). (this text "
1040
  "is optional)"
1042
  "Dieser Text wird beim Beenden (im Ergebnis) des Quizes angezeigt (Dieser "
1043
  "Text ist optional)"
1044
 
1045
+ #: lib/view/WpProQuiz_View_QuizEdit.php:481
1046
  msgid "Activate graduation"
1047
  msgstr "Abstufungen aktivieren"
1048
 
1049
+ #: lib/view/WpProQuiz_View_QuizEdit.php:487
1050
  msgid "Hint:"
1051
  msgstr "Hinweis:"
1052
 
1053
+ #: lib/view/WpProQuiz_View_QuizEdit.php:489
1054
  msgid "Maximal 15 levels"
1055
  msgstr "Maximal 15 Stufen"
1056
 
1057
+ #: lib/view/WpProQuiz_View_QuizEdit.php:491
1058
  #, php-format
1059
  msgid ""
1060
  "Percentages refer to the total score of the quiz. (Current total %d points "
1063
  "Prozente beziehen sich auf die Gesamtpunktzahl des Quiz (Aktuell: insgesamt "
1064
  "%d Punkte bei %d Fragen)"
1065
 
1066
+ #: lib/view/WpProQuiz_View_QuizEdit.php:494
1067
  msgid "Values can also be mixed up"
1068
  msgstr "Werte können auch durcheinander sein"
1069
 
1070
+ #: lib/view/WpProQuiz_View_QuizEdit.php:495
1071
  msgid "10,15% or 10.15% allowed (max. two digits after the decimal point)"
1072
  msgstr "10,15% oder 10.15% erlaubt (maximal 2 Stellen nach dem Komma)"
1073
 
1074
+ #: lib/view/WpProQuiz_View_QuizEdit.php:511
1075
+ #: lib/view/WpProQuiz_View_QuizEdit.php:522
1076
  msgid "from:"
1077
  msgstr "Ab:"
1078
 
1079
+ #: lib/view/WpProQuiz_View_QuizEdit.php:511
1080
+ #: lib/view/WpProQuiz_View_QuizEdit.php:522
1081
  msgid "percent"
1082
  msgstr "Prozent"
1083
 
1084
+ #: lib/view/WpProQuiz_View_QuizEdit.php:511
1085
+ #: lib/view/WpProQuiz_View_QuizEdit.php:522
1086
  #, php-format
1087
  msgid ""
1088
  "(Will be displayed, when result-percent is >= <span class=\"resultProzent\">"
1091
  "(Wird angezeigt wenn Ergebnis-Prozent >= <span class=\"resultProzent\">%s</"
1092
  "span>%% ist)"
1093
 
1094
+ #: lib/view/WpProQuiz_View_QuizEdit.php:512
1095
+ #: lib/view/WpProQuiz_View_QuizEdit.php:523
1096
  msgid "Delete graduation"
1097
  msgstr "Stufe löschen"
1098
 
1099
+ #: lib/view/WpProQuiz_View_QuizEdit.php:530
1100
  msgid "Add graduation"
1101
  msgstr "Stufe hinzufügen"
1102
 
languages/wp-pro-quiz-nb_NO.mo ADDED
Binary file
languages/wp-pro-quiz-nb_NO.po ADDED
@@ -0,0 +1,1240 @@