Wp-Pro-Quiz - Version 0.25

Version Description

  • Categories overview in the email
  • Autostart option added
  • Support for XML import and exports added
  • Force user to answer a question
  • New point calculation for single choice (new option "different points - mode 2" added)
  • Option "hide question position overview" added
  • Option "hide question numbering" added
  • Updated greek translation
  • Updated dutch translation
  • Translation for czech have been added (Thanks Petr .)
Download this release

Release Info

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

Code changes from version 0.24 to 0.25

Files changed (52) hide show
  1. img/hideQuestionNumbering.png +0 -0
  2. img/hideQuestionPositionOverview.png +0 -0
  3. js/wpProQuiz_admin.js +40 -1
  4. js/wpProQuiz_admin.min.js +17 -15
  5. js/wpProQuiz_front.js +80 -8
  6. js/wpProQuiz_front.min.js +37 -35
  7. languages/wp-pro-quiz-ar.mo +0 -0
  8. languages/wp-pro-quiz-ar.po +410 -283
  9. languages/wp-pro-quiz-cs_CZ.mo +0 -0
  10. languages/wp-pro-quiz-cs_CZ.po +2274 -0
  11. languages/wp-pro-quiz-da_DK.mo +0 -0
  12. languages/wp-pro-quiz-da_DK.po +410 -306
  13. languages/wp-pro-quiz-de_DE.mo +0 -0
  14. languages/wp-pro-quiz-de_DE.po +425 -301
  15. languages/wp-pro-quiz-el.mo +0 -0
  16. languages/wp-pro-quiz-el.po +470 -320
  17. languages/wp-pro-quiz-es_ES.mo +0 -0
  18. languages/wp-pro-quiz-es_ES.po +410 -283
  19. languages/wp-pro-quiz-fr_FR.mo +0 -0
  20. languages/wp-pro-quiz-fr_FR.po +410 -280
  21. languages/wp-pro-quiz-nb_NO.mo +0 -0
  22. languages/wp-pro-quiz-nb_NO.po +410 -283
  23. languages/wp-pro-quiz-nl_NL.mo +0 -0
  24. languages/wp-pro-quiz-nl_NL.po +410 -280
  25. languages/wp-pro-quiz-ru_RU.mo +0 -0
  26. languages/wp-pro-quiz-ru_RU.po +410 -280
  27. languages/wp-pro-quiz-sv_SE.mo +0 -0
  28. languages/wp-pro-quiz-sv_SE.po +410 -283
  29. languages/wp-pro-quiz.pot +408 -278
  30. lib/controller/WpProQuiz_Controller_Front.php +6 -2
  31. lib/controller/WpProQuiz_Controller_ImportExport.php +17 -5
  32. lib/controller/WpProQuiz_Controller_Preview.php +5 -1
  33. lib/controller/WpProQuiz_Controller_Question.php +22 -7
  34. lib/controller/WpProQuiz_Controller_Quiz.php +34 -4
  35. lib/helper/WpProQuiz_Helper_DbUpgrade.php +19 -1
  36. lib/helper/WpProQuiz_Helper_ExportXml.php +215 -0
  37. lib/helper/WpProQuiz_Helper_ImportXml.php +312 -0
  38. lib/helper/WpProQuiz_Helper_Upgrade.php +1 -0
  39. lib/model/WpProQuiz_Model_CategoryMapper.php +12 -0
  40. lib/model/WpProQuiz_Model_PrerequisiteMapper.php +1 -1
  41. lib/model/WpProQuiz_Model_Question.php +22 -0
  42. lib/model/WpProQuiz_Model_QuestionMapper.php +26 -5
  43. lib/model/WpProQuiz_Model_Quiz.php +45 -3
  44. lib/model/WpProQuiz_Model_QuizMapper.php +7 -3
  45. lib/view/WpProQuiz_View_FrontQuiz.php +19 -5
  46. lib/view/WpProQuiz_View_GobalSettings.php +2 -0
  47. lib/view/WpProQuiz_View_Import.php +3 -1
  48. lib/view/WpProQuiz_View_QuestionEdit.php +221 -0
  49. lib/view/WpProQuiz_View_QuizEdit.php +89 -0
  50. lib/view/WpProQuiz_View_QuizOverall.php +22 -5
  51. readme.txt +23 -10
  52. wp-pro-quiz.php +2 -2
img/hideQuestionNumbering.png ADDED
Binary file
img/hideQuestionPositionOverview.png ADDED
Binary file
js/wpProQuiz_admin.js CHANGED
@@ -1731,7 +1731,10 @@ jQuery(document).ready(function($) {
1731
  return false;
1732
  }
1733
 
1734
- if(!findCorrect) {
 
 
 
1735
  alert(wpProQuizLocalize.no_correct_msg);
1736
  return false;
1737
  }
@@ -1866,6 +1869,14 @@ jQuery(document).ready(function($) {
1866
  elements.answerChildren.hide();
1867
  var v = this.value;
1868
 
 
 
 
 
 
 
 
 
1869
  if(v == 'single' || v == 'multiple') {
1870
  var type = (v == 'single') ? 'radio' : 'checkbox';
1871
  v = 'classic_answer';
@@ -1920,6 +1931,15 @@ jQuery(document).ready(function($) {
1920
  global.displayChecked(this, $('.wpProQuiz_answerPoints'));
1921
  global.displayChecked(this, $('#wpProQuiz_showPointsBox'));
1922
  global.displayChecked(this, elements.gPoints, false, true);
 
 
 
 
 
 
 
 
 
1923
  }).change();
1924
 
1925
  $('select[name="category"]').change(function() {
@@ -1938,6 +1958,25 @@ jQuery(document).ready(function($) {
1938
  });
1939
 
1940
  $('.addMedia').click(methode.addMediaClick);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1941
  };
1942
 
1943
  var init = function() {
1731
  return false;
1732
  }
1733
 
1734
+ if(!findCorrect && !($('input[name="disableCorrect"]').is(':checked')
1735
+ && $('input[name="answerPointsDiffModusActivated"]').is(':checked')
1736
+ && $('input[name="answerPointsActivated"]').is(':checked')
1737
+ && $('input[name="answerType"]:checked').val() == 'single')) {
1738
  alert(wpProQuizLocalize.no_correct_msg);
1739
  return false;
1740
  }
1869
  elements.answerChildren.hide();
1870
  var v = this.value;
1871
 
1872
+ if(v == 'single') {
1873
+ $('#singleChoiceOptions').show();
1874
+ $('input[name="disableCorrect"]').change();
1875
+ } else {
1876
+ $('#singleChoiceOptions').hide();
1877
+ $('.classic_answer .wpProQuiz_classCorrect').parent().parent().show();
1878
+ }
1879
+
1880
  if(v == 'single' || v == 'multiple') {
1881
  var type = (v == 'single') ? 'radio' : 'checkbox';
1882
  v = 'classic_answer';
1931
  global.displayChecked(this, $('.wpProQuiz_answerPoints'));
1932
  global.displayChecked(this, $('#wpProQuiz_showPointsBox'));
1933
  global.displayChecked(this, elements.gPoints, false, true);
1934
+ global.displayChecked(this, $('input[name="answerPointsDiffModusActivated"]'), true, true);
1935
+
1936
+ if(this.checked) {
1937
+ $('input[name="answerPointsDiffModusActivated"]').change();
1938
+ $('input[name="disableCorrect"]').change();
1939
+ } else {
1940
+ $('.classic_answer .wpProQuiz_classCorrect').parent().parent().show();
1941
+ $('input[name="disableCorrect"]').attr('disabled', 'disabled');
1942
+ }
1943
  }).change();
1944
 
1945
  $('select[name="category"]').change(function() {
1958
  });
1959
 
1960
  $('.addMedia').click(methode.addMediaClick);
1961
+
1962
+ $('input[name="answerPointsDiffModusActivated"]').change(function() {
1963
+ global.displayChecked(this, $('input[name="disableCorrect"]'), true, true);
1964
+
1965
+ if(this.checked)
1966
+ $('input[name="disableCorrect"]').change();
1967
+ else
1968
+ $('.classic_answer .wpProQuiz_classCorrect').parent().parent().show();
1969
+ }).change();
1970
+
1971
+ $('input[name="disableCorrect"]').change(function() {
1972
+ global.displayChecked(this, $('.classic_answer .wpProQuiz_classCorrect').parent().parent(), true);
1973
+ }).change();
1974
+
1975
+ $('#clickPointDia').click(function() {
1976
+ $('.pointDia').toggle('fast');
1977
+
1978
+ return false;
1979
+ });
1980
  };
1981
 
1982
  var init = function() {
js/wpProQuiz_admin.min.js CHANGED
@@ -40,18 +40,20 @@ a('input[name="answerType"]:checked').val(),b="single"==b||"multiple"==b?"classi
40
  a('input[name="answerType"]:checked').val())return alert(wpProQuizLocalize.dif_points),!1}else{var c=i.val();if(!b.isNumber(c)||1>c)return alert(wpProQuizLocalize.no_nummber_points),!1}return!1===d()?!1:!0},answerRemove:function(){var b=a(this).parent();if(2>b.parent().children().length)return!1;b.remove();return!1},addCategory:function(){var c=a.trim(a('input[name="categoryAdd"]').val());b.isEmpty(c)||b.ajaxPost("categoryAdd",{categoryName:c},function(b){b.err?a("#categoryMsgBox").text(b.err).show("fast").delay(2E3).hide("fast"):
41
  (b=a(document.createElement("option")).val(b.categoryId).text(b.categoryName).attr("selected","selected"),a('select[name="category"]').append(b).change())})},addMediaClick:function(){if("function"!=typeof tb_show)return!1;var b=a(this).closest("li"),c=b.find('input[name="answerData[][html]"]:eq(0)'),d=b.find(".wpProQuiz_text:eq(0)");window.org_send_to_editor=window.send_to_editor;var e=tb_remove;window.send_to_editor=function(b){b=a("img",b)[0].outerHTML;d.val(d.val()+b);c.attr("checked",!0);tb_remove();
42
  window.send_to_editor=window.org_send_to_editor};window.tb_remove=function(){window.send_to_editor=window.org_send_to_editor;tb_remove=e;tb_remove()};tb_show("","media-upload.php?type=image&TB_iframe=true")}},h={classic_answer:function(){var c=0,d=0,e=0;a(".classic_answer .answerList").children().each(function(){var g=a(this);b.isEmpty(g.find('textarea[name="answerData[][answer]"]').val())||(c++,g.find('input[name="answerData[][correct]"]:checked').length&&d++,g=g.find('input[name="answerData[][points]"]').val(),
43
- b.isNumber(g)&&0<=g&&e++)});return!c?(alert(wpProQuizLocalize.no_answer_msg),!1):!d?(alert(wpProQuizLocalize.no_correct_msg),!1):e!=c&&f.is(":checked")?(alert(wpProQuizLocalize.no_nummber_points_new),!1):!0},free_answer:function(){return b.isEmpty(a('.free_answer textarea[name="answerData[][answer]"]').val())?(alert(wpProQuizLocalize.no_answer_msg),!1):!0},cloze_answer:function(){return b.isEmpty(b.getMceContent("cloze"))?(alert(wpProQuizLocalize.no_answer_msg),!1):!0},sort_answer:function(){var c=
44
- 0,d=0;a(".sort_answer .answerList").children().each(function(){var e=a(this);b.isEmpty(e.find('textarea[name="answerData[][answer]"]').val())||(c++,e=e.find('input[name="answerData[][points]"]').val(),b.isNumber(e)&&0<=e&&d++)});return!c?(alert(wpProQuizLocalize.no_answer_msg),!1):d!=c&&f.is(":checked")?(alert(wpProQuizLocalize.no_nummber_points_new),!1):!0},matrix_sort_answer:function(){var c=0,d=0,e=!0,g=0;a(".matrix_sort_answer .answerList").children().each(function(){var f=a(this),h=f.find('input[name="answerData[][points]"]').val();
45
- b.isEmpty(f.find('textarea[name="answerData[][answer]"]').val())?b.isEmpty(f.find('textarea[name="answerData[][sort_string]"]').val())||(g++,b.isNumber(h)&&0<=h&&d++):(c++,g++,b.isEmpty(f.find('textarea[name="answerData[][sort_string]"]').val())&&(e=!1),b.isNumber(h)&&0<=h&&d++)});return!c?(alert(wpProQuizLocalize.no_answer_msg),!1):!e?(alert(wpProQuizLocalize.no_sort_element_criterion),!1):d!=g&&f.is(":checked")?(alert(wpProQuizLocalize.no_nummber_points_new),!1):!0},assessment_answer:function(){return b.isEmpty(b.getMceContent("assessment"))?
46
- (alert(wpProQuizLocalize.no_answer_msg),!1):!0}};e.hide();a("#wpProQuiz_tip").change(function(){b.displayChecked(this,a("#wpProQuiz_tipBox"))}).change();a("#wpProQuiz_correctSameText").change(function(){b.displayChecked(this,a("#wpProQuiz_incorrectMassageBox"),!0)}).change();a('input[name="answerType"]').click(function(){e.hide();var b=this.value;if("single"==b||"multiple"==b){var c="single"==b?"radio":"checkbox",b="classic_answer";a(".wpProQuiz_classCorrect").each(function(){a("<input type="+c+" />").attr({name:this.name,
47
- value:this.value,checked:this.checked}).addClass("wpProQuiz_classCorrect wpProQuiz_checkbox").insertBefore(this)}).remove()}d=void 0!=h[b]?h[b]:a.noop();a("."+b).show()});a('input[name="answerType"]:checked').click();a(".deleteAnswer").click(c.answerRemove);a(".addAnswer").click(function(){var b=a(this).siblings("ul"),d=b.find("li:eq(0)").clone();d.find(".wpProQuiz_checkbox").removeAttr("checked");d.find(".wpProQuiz_text").val("");d.find(".wpProQuiz_points").val(1);d.find(".deleteAnswer").click(c.answerRemove);
48
- d.find(".addMedia").click(c.addMediaClick);d.appendTo(b);return!1});a(".sort_answer ul, .classic_answer ul, .matrix_sort_answer ul").sortable({handle:".wpProQuiz_move"});a("#saveQuestion").click(function(){if(!c.globalValidate())return!1;c.generateArrayIndex();return!0});a(f).change(function(){b.displayChecked(this,a(".wpProQuiz_answerPoints"));b.displayChecked(this,a("#wpProQuiz_showPointsBox"));b.displayChecked(this,i,!1,!0)}).change();a('select[name="category"]').change(function(){var b=a(this),
49
- c=a("#categoryAddBox").hide();"-1"==b.val()&&c.show()}).change();a("#categoryAddBtn").click(function(){c.addCategory()});a(".addMedia").click(c.addMediaClick)},f=function(){var c=this,d=a("#quizId").val(),e="users",f=a("#wpProQuiz_currentPage"),h=a("#wpProQuiz_pageLeft"),j=a("#wpProQuiz_pageRight"),k=a("#testSelect"),c={loadStatistic:function(a){b.ajaxPost("statisticLoad",{userId:a},function(){})},loadUsersStatistic:function(){var e={userId:a("#userSelect").val(),quizId:d,testId:a("#testSelect").val()};
50
- c.toggleLoadBox(!1);b.ajaxPost("statisticLoad",e,function(b){a.each(b.question,function(){var b=a("#wpProQuiz_tr_"+this.questionId);c.setStatisticData(b,this)});a.each(b.category,function(b,d){var e=a("#wpProQuiz_ctr_"+b);c.setStatisticData(e,d)});a("#testSelect option:gt(0)").remove();var d=a("#testSelect");a.each(b.tests,function(){var c=a(document.createElement("option"));c.val(this.id);c.text(this.date);b.testId==this.id&&c.attr("selected",!0);d.append(c)});c.toggleLoadBox(!0)})},setStatisticData:function(a,
51
- b){a.find(".wpProQuiz_cCorrect").text(b.correct);a.find(".wpProQuiz_cIncorrect").text(b.incorrect);a.find(".wpProQuiz_cTip").text(b.hint);a.find(".wpProQuiz_cPoints").text(b.points);a.find(".wpProQuiz_cResult").text(b.result);a.find(".wpProQuiz_cTime").text(b.questionTime)},toggleLoadBox:function(b){var c=a("#wpProQuiz_loadData"),d=a("#wpProQuiz_content");b?(c.hide(),d.show()):(d.hide(),c.show())},reset:function(e){var f=a("#userSelect").val();confirm(wpProQuizLocalize.reset_statistics_msg)&&(e={quizId:d,
52
- userId:f,testId:k.val(),type:e},c.toggleLoadBox(!1),b.ajaxPost("statisticReset",e,function(){c.loadUsersStatistic()}))},loadStatisticOverview:function(e){e={quizId:d,pageLimit:a("#wpProQuiz_pageLimit").val(),onlyCompleted:Number(a("#wpProQuiz_onlyCompleted").is(":checked")),page:f.val(),nav:Number(e)};c.toggleLoadBox(!1);b.ajaxPost("statisticLoadOverview",e,function(b){var d=a("#wpProQuiz_statistics_overview_data"),e=d.children(),f=e.first().clone();e.slice(1).remove();a.each(b.items,function(){var b=
53
- f.clone();c.setStatisticData(b,this);b.find("a").text(this.userName).data("userId",this.userId).click(function(){a("#userSelect").val(a(this).data("userId"));a("#wpProQuiz_typeUser").click();return!1});b.show().appendTo(d)});f.remove();c.toggleLoadBox(!0);void 0!=b.page&&c.handleNav(b.page)})},handleNav:function(b){for(var d=a("#wpProQuiz_currentPage").empty(),e=1;e<=b;e++)a(document.createElement("option")).val(e).text(e).appendTo(d);c.checkNavBar()},checkNavBar:function(){var a=f.val();1==a?h.hide():
54
- h.show();a==f.children().length?j.hide():j.show()},refresh:function(){"users"==e?c.loadUsersStatistic():c.loadStatisticOverview(!0)}};a("#userSelect, #testSelect").change(function(){c.loadUsersStatistic()});a(".wpProQuiz_update").click(function(){c.refresh()});a("#wpProQuiz_reset").click(function(){c.reset(0)});a("#wpProQuiz_resetUser").click(function(){c.reset(1)});a(".wpProQuiz_resetComplete").click(function(){c.reset(2)});a(".wpProQuiz_tab").click(function(){var b=a(this);a(".wpProQuiz_tab").removeClass("button-primary").addClass("button-secondary");
55
- b.removeClass("button-secondary").addClass("button-primary");a(".wpProQuiz_tabContent").hide();"wpProQuiz_typeUser"==b.attr("id")?(e="users",a("#wpProQuiz_tabUsers").show(),c.loadUsersStatistic()):(e="overview",a("#wpProQuiz_tabOverview").show(),c.loadStatisticOverview(!0));return!1});a("#wpProQuiz_onlyCompleted").change(function(){f.val(1);c.loadStatisticOverview(!0)});a("#wpProQuiz_pageLimit").change(function(){f.val(1);c.loadStatisticOverview(!0)});h.click(function(){f.val(Number(f.val())-1);c.loadStatisticOverview(!1);
56
- c.checkNavBar()});j.click(function(){f.val(Number(f.val())+1);c.loadStatisticOverview(!1);c.checkNavBar()});f.change(function(){c.loadStatisticOverview(!1);c.checkNavBar()});c.loadUsersStatistic()};a(".wpProQuiz_tab_wrapper a").click(function(){var b=a(this),d=b.data("tab"),e=b.siblings(".button-primary").removeClass("button-primary").addClass("button-secondary");b.removeClass("button-secondary").addClass("button-primary");a(e.data("tab")).hide("fast");a(d).show("fast");a(document).trigger({type:"changeTab",
57
- tabId:d});return!1});var e=a.noop;a(".wpProQuiz_questionEdit").length?e=d:a(".wpProQuiz_globalSettings").length?e=h:a(".wpProQuiz_statistics").length&&(e=f);e();a(".wpProQuiz_demoImgBox a").mouseover(function(b){var d=a(this),e=a(document).width(),d=d.siblings().outerWidth(!0);b.pageX+d>e&&(b=e-(b.pageX+d+30),a(this).next().css("left",b+"px"));a(this).next().show()}).mouseout(function(){a(this).next().hide()}).click(function(){return!1})})()});
 
 
40
  a('input[name="answerType"]:checked').val())return alert(wpProQuizLocalize.dif_points),!1}else{var c=i.val();if(!b.isNumber(c)||1>c)return alert(wpProQuizLocalize.no_nummber_points),!1}return!1===d()?!1:!0},answerRemove:function(){var b=a(this).parent();if(2>b.parent().children().length)return!1;b.remove();return!1},addCategory:function(){var c=a.trim(a('input[name="categoryAdd"]').val());b.isEmpty(c)||b.ajaxPost("categoryAdd",{categoryName:c},function(b){b.err?a("#categoryMsgBox").text(b.err).show("fast").delay(2E3).hide("fast"):
41
  (b=a(document.createElement("option")).val(b.categoryId).text(b.categoryName).attr("selected","selected"),a('select[name="category"]').append(b).change())})},addMediaClick:function(){if("function"!=typeof tb_show)return!1;var b=a(this).closest("li"),c=b.find('input[name="answerData[][html]"]:eq(0)'),d=b.find(".wpProQuiz_text:eq(0)");window.org_send_to_editor=window.send_to_editor;var e=tb_remove;window.send_to_editor=function(b){b=a("img",b)[0].outerHTML;d.val(d.val()+b);c.attr("checked",!0);tb_remove();
42
  window.send_to_editor=window.org_send_to_editor};window.tb_remove=function(){window.send_to_editor=window.org_send_to_editor;tb_remove=e;tb_remove()};tb_show("","media-upload.php?type=image&TB_iframe=true")}},h={classic_answer:function(){var c=0,d=0,e=0;a(".classic_answer .answerList").children().each(function(){var g=a(this);b.isEmpty(g.find('textarea[name="answerData[][answer]"]').val())||(c++,g.find('input[name="answerData[][correct]"]:checked').length&&d++,g=g.find('input[name="answerData[][points]"]').val(),
43
+ b.isNumber(g)&&0<=g&&e++)});return!c?(alert(wpProQuizLocalize.no_answer_msg),!1):!d&&(!a('input[name="disableCorrect"]').is(":checked")||!a('input[name="answerPointsDiffModusActivated"]').is(":checked")||!(a('input[name="answerPointsActivated"]').is(":checked")&&"single"==a('input[name="answerType"]:checked').val()))?(alert(wpProQuizLocalize.no_correct_msg),!1):e!=c&&f.is(":checked")?(alert(wpProQuizLocalize.no_nummber_points_new),!1):!0},free_answer:function(){return b.isEmpty(a('.free_answer textarea[name="answerData[][answer]"]').val())?
44
+ (alert(wpProQuizLocalize.no_answer_msg),!1):!0},cloze_answer:function(){return b.isEmpty(b.getMceContent("cloze"))?(alert(wpProQuizLocalize.no_answer_msg),!1):!0},sort_answer:function(){var c=0,d=0;a(".sort_answer .answerList").children().each(function(){var e=a(this);b.isEmpty(e.find('textarea[name="answerData[][answer]"]').val())||(c++,e=e.find('input[name="answerData[][points]"]').val(),b.isNumber(e)&&0<=e&&d++)});return!c?(alert(wpProQuizLocalize.no_answer_msg),!1):d!=c&&f.is(":checked")?(alert(wpProQuizLocalize.no_nummber_points_new),
45
+ !1):!0},matrix_sort_answer:function(){var c=0,d=0,e=!0,g=0;a(".matrix_sort_answer .answerList").children().each(function(){var f=a(this),h=f.find('input[name="answerData[][points]"]').val();b.isEmpty(f.find('textarea[name="answerData[][answer]"]').val())?b.isEmpty(f.find('textarea[name="answerData[][sort_string]"]').val())||(g++,b.isNumber(h)&&0<=h&&d++):(c++,g++,b.isEmpty(f.find('textarea[name="answerData[][sort_string]"]').val())&&(e=!1),b.isNumber(h)&&0<=h&&d++)});return!c?(alert(wpProQuizLocalize.no_answer_msg),
46
+ !1):!e?(alert(wpProQuizLocalize.no_sort_element_criterion),!1):d!=g&&f.is(":checked")?(alert(wpProQuizLocalize.no_nummber_points_new),!1):!0},assessment_answer:function(){return b.isEmpty(b.getMceContent("assessment"))?(alert(wpProQuizLocalize.no_answer_msg),!1):!0}};e.hide();a("#wpProQuiz_tip").change(function(){b.displayChecked(this,a("#wpProQuiz_tipBox"))}).change();a("#wpProQuiz_correctSameText").change(function(){b.displayChecked(this,a("#wpProQuiz_incorrectMassageBox"),!0)}).change();a('input[name="answerType"]').click(function(){e.hide();
47
+ var b=this.value;"single"==b?(a("#singleChoiceOptions").show(),a('input[name="disableCorrect"]').change()):(a("#singleChoiceOptions").hide(),a(".classic_answer .wpProQuiz_classCorrect").parent().parent().show());if("single"==b||"multiple"==b){var c="single"==b?"radio":"checkbox",b="classic_answer";a(".wpProQuiz_classCorrect").each(function(){a("<input type="+c+" />").attr({name:this.name,value:this.value,checked:this.checked}).addClass("wpProQuiz_classCorrect wpProQuiz_checkbox").insertBefore(this)}).remove()}d=
48
+ void 0!=h[b]?h[b]:a.noop();a("."+b).show()});a('input[name="answerType"]:checked').click();a(".deleteAnswer").click(c.answerRemove);a(".addAnswer").click(function(){var b=a(this).siblings("ul"),d=b.find("li:eq(0)").clone();d.find(".wpProQuiz_checkbox").removeAttr("checked");d.find(".wpProQuiz_text").val("");d.find(".wpProQuiz_points").val(1);d.find(".deleteAnswer").click(c.answerRemove);d.find(".addMedia").click(c.addMediaClick);d.appendTo(b);return!1});a(".sort_answer ul, .classic_answer ul, .matrix_sort_answer ul").sortable({handle:".wpProQuiz_move"});
49
+ a("#saveQuestion").click(function(){if(!c.globalValidate())return!1;c.generateArrayIndex();return!0});a(f).change(function(){b.displayChecked(this,a(".wpProQuiz_answerPoints"));b.displayChecked(this,a("#wpProQuiz_showPointsBox"));b.displayChecked(this,i,!1,!0);b.displayChecked(this,a('input[name="answerPointsDiffModusActivated"]'),!0,!0);this.checked?(a('input[name="answerPointsDiffModusActivated"]').change(),a('input[name="disableCorrect"]').change()):(a(".classic_answer .wpProQuiz_classCorrect").parent().parent().show(),
50
+ a('input[name="disableCorrect"]').attr("disabled","disabled"))}).change();a('select[name="category"]').change(function(){var b=a(this),c=a("#categoryAddBox").hide();"-1"==b.val()&&c.show()}).change();a("#categoryAddBtn").click(function(){c.addCategory()});a(".addMedia").click(c.addMediaClick);a('input[name="answerPointsDiffModusActivated"]').change(function(){b.displayChecked(this,a('input[name="disableCorrect"]'),!0,!0);this.checked?a('input[name="disableCorrect"]').change():a(".classic_answer .wpProQuiz_classCorrect").parent().parent().show()}).change();
51
+ a('input[name="disableCorrect"]').change(function(){b.displayChecked(this,a(".classic_answer .wpProQuiz_classCorrect").parent().parent(),!0)}).change();a("#clickPointDia").click(function(){a(".pointDia").toggle("fast");return!1})},f=function(){var c=this,d=a("#quizId").val(),e="users",f=a("#wpProQuiz_currentPage"),h=a("#wpProQuiz_pageLeft"),j=a("#wpProQuiz_pageRight"),k=a("#testSelect"),c={loadStatistic:function(a){b.ajaxPost("statisticLoad",{userId:a},function(){})},loadUsersStatistic:function(){var e=
52
+ {userId:a("#userSelect").val(),quizId:d,testId:a("#testSelect").val()};c.toggleLoadBox(!1);b.ajaxPost("statisticLoad",e,function(b){a.each(b.question,function(){var b=a("#wpProQuiz_tr_"+this.questionId);c.setStatisticData(b,this)});a.each(b.category,function(b,d){var e=a("#wpProQuiz_ctr_"+b);c.setStatisticData(e,d)});a("#testSelect option:gt(0)").remove();var d=a("#testSelect");a.each(b.tests,function(){var c=a(document.createElement("option"));c.val(this.id);c.text(this.date);b.testId==this.id&&
53
+ c.attr("selected",!0);d.append(c)});c.toggleLoadBox(!0)})},setStatisticData:function(a,b){a.find(".wpProQuiz_cCorrect").text(b.correct);a.find(".wpProQuiz_cIncorrect").text(b.incorrect);a.find(".wpProQuiz_cTip").text(b.hint);a.find(".wpProQuiz_cPoints").text(b.points);a.find(".wpProQuiz_cResult").text(b.result);a.find(".wpProQuiz_cTime").text(b.questionTime)},toggleLoadBox:function(b){var c=a("#wpProQuiz_loadData"),d=a("#wpProQuiz_content");b?(c.hide(),d.show()):(d.hide(),c.show())},reset:function(e){var f=
54
+ a("#userSelect").val();confirm(wpProQuizLocalize.reset_statistics_msg)&&(e={quizId:d,userId:f,testId:k.val(),type:e},c.toggleLoadBox(!1),b.ajaxPost("statisticReset",e,function(){c.loadUsersStatistic()}))},loadStatisticOverview:function(e){e={quizId:d,pageLimit:a("#wpProQuiz_pageLimit").val(),onlyCompleted:Number(a("#wpProQuiz_onlyCompleted").is(":checked")),page:f.val(),nav:Number(e)};c.toggleLoadBox(!1);b.ajaxPost("statisticLoadOverview",e,function(b){var d=a("#wpProQuiz_statistics_overview_data"),
55
+ e=d.children(),f=e.first().clone();e.slice(1).remove();a.each(b.items,function(){var b=f.clone();c.setStatisticData(b,this);b.find("a").text(this.userName).data("userId",this.userId).click(function(){a("#userSelect").val(a(this).data("userId"));a("#wpProQuiz_typeUser").click();return!1});b.show().appendTo(d)});f.remove();c.toggleLoadBox(!0);void 0!=b.page&&c.handleNav(b.page)})},handleNav:function(b){for(var d=a("#wpProQuiz_currentPage").empty(),e=1;e<=b;e++)a(document.createElement("option")).val(e).text(e).appendTo(d);
56
+ c.checkNavBar()},checkNavBar:function(){var a=f.val();1==a?h.hide():h.show();a==f.children().length?j.hide():j.show()},refresh:function(){"users"==e?c.loadUsersStatistic():c.loadStatisticOverview(!0)}};a("#userSelect, #testSelect").change(function(){c.loadUsersStatistic()});a(".wpProQuiz_update").click(function(){c.refresh()});a("#wpProQuiz_reset").click(function(){c.reset(0)});a("#wpProQuiz_resetUser").click(function(){c.reset(1)});a(".wpProQuiz_resetComplete").click(function(){c.reset(2)});a(".wpProQuiz_tab").click(function(){var b=
57
+ a(this);a(".wpProQuiz_tab").removeClass("button-primary").addClass("button-secondary");b.removeClass("button-secondary").addClass("button-primary");a(".wpProQuiz_tabContent").hide();"wpProQuiz_typeUser"==b.attr("id")?(e="users",a("#wpProQuiz_tabUsers").show(),c.loadUsersStatistic()):(e="overview",a("#wpProQuiz_tabOverview").show(),c.loadStatisticOverview(!0));return!1});a("#wpProQuiz_onlyCompleted").change(function(){f.val(1);c.loadStatisticOverview(!0)});a("#wpProQuiz_pageLimit").change(function(){f.val(1);
58
+ c.loadStatisticOverview(!0)});h.click(function(){f.val(Number(f.val())-1);c.loadStatisticOverview(!1);c.checkNavBar()});j.click(function(){f.val(Number(f.val())+1);c.loadStatisticOverview(!1);c.checkNavBar()});f.change(function(){c.loadStatisticOverview(!1);c.checkNavBar()});c.loadUsersStatistic()};a(".wpProQuiz_tab_wrapper a").click(function(){var b=a(this),d=b.data("tab"),e=b.siblings(".button-primary").removeClass("button-primary").addClass("button-secondary");b.removeClass("button-secondary").addClass("button-primary");
59
+ a(e.data("tab")).hide("fast");a(d).show("fast");a(document).trigger({type:"changeTab",tabId:d});return!1});var e=a.noop;a(".wpProQuiz_questionEdit").length?e=d:a(".wpProQuiz_globalSettings").length?e=h:a(".wpProQuiz_statistics").length&&(e=f);e();a(".wpProQuiz_demoImgBox a").mouseover(function(b){var d=a(this),e=a(document).width(),d=d.siblings().outerWidth(!0);b.pageX+d>e&&(b=e-(b.pageX+d+30),a(this).next().css("left",b+"px"));a(this).next().show()}).mouseout(function(){a(this).next().hide()}).click(function(){return!1})})()});
js/wpProQuiz_front.js CHANGED
@@ -25,7 +25,10 @@
25
  isAddAutomatic: 0,
26
  quizSummeryHide: 0,
27
  skipButton: 0,
28
- reviewQustion: 0
 
 
 
29
  };
30
 
31
  var quizStatus = {
@@ -365,6 +368,7 @@
365
  var func = {
366
  singleMulti: function() {
367
  var input = $questionList.find('.wpProQuiz_questionInput').attr('disabled', 'disabled');
 
368
 
369
  $questionList.children().each(function(i) {
370
  var $item = $(this);
@@ -372,21 +376,36 @@
372
  var checked = input.eq(i).is(':checked');
373
 
374
  if(data.correct[index]) {
375
- plugin.methode.marker($item, true);
376
-
377
  if(!checked) {
378
  correct = false;
379
  } else {
380
  if(isDiffPoints) {
381
- points += data.points[index];
 
 
 
382
  }
383
  }
 
 
 
 
 
 
 
384
  } else {
385
  if(checked) {
386
- plugin.methode.marker($item, false);
387
- correct = false;
 
 
 
 
 
 
 
388
  } else {
389
- if(isDiffPoints) {
390
  points += data.points[index];
391
  }
392
  }
@@ -538,6 +557,9 @@
538
  bitOptions.reviewQustion = config.bo & ( 1 << 7);
539
  bitOptions.quizSummeryHide = config.bo & (1 << 8);
540
  bitOptions.skipButton = config.bo & (1 << 9);
 
 
 
541
 
542
  var cors = config.bo & (1 << 5);
543
 
@@ -663,7 +685,6 @@
663
  switch (config.mode) {
664
  case 3:
665
  $e.find('input[name="checkSingle"]').show();
666
- $e.find('.wpProQuiz_question_page').hide();
667
  break;
668
  case 2:
669
  $e.find(globalNames.check).show();
@@ -679,6 +700,9 @@
679
  break;
680
  }
681
 
 
 
 
682
  //Change last name
683
  var $lastButton = globalElements.next.last();
684
  lastButtonValue = $lastButton.val();
@@ -795,6 +819,15 @@
795
  },
796
 
797
  showQuestionObject: function(obj) {
 
 
 
 
 
 
 
 
 
798
  currentQuestion.hide();
799
 
800
  currentQuestion = obj.show();
@@ -908,11 +941,15 @@
908
  },
909
 
910
  setCategoryOverview: function() {
 
 
911
  $e.find('.wpProQuiz_catOverview li').each(function() {
912
  var $this = $(this);
913
  var catId = $this.data('category_id');
914
  var r = Math.round(catResults[catId] / config.catPoints[catId] * 100 * 100) / 100;
915
 
 
 
916
  $this.find('.wpProQuiz_catPercent').text(r + '%');
917
  });
918
  },
@@ -1297,6 +1334,13 @@
1297
  });
1298
 
1299
  globalElements.next.click(function() {
 
 
 
 
 
 
 
1300
  plugin.methode.nextQuestion();
1301
  });
1302
 
@@ -1313,10 +1357,26 @@
1313
  });
1314
 
1315
  $e.find(globalNames.check).click(function() {
 
 
 
 
 
 
 
1316
  plugin.methode.checkQuestion();
1317
  });
1318
 
1319
  $e.find('input[name="checkSingle"]').click(function() {
 
 
 
 
 
 
 
 
 
1320
  plugin.methode.showQuizSummary();
1321
  });
1322
 
@@ -1331,6 +1391,15 @@
1331
  $e.find('input[name="quizSummary"]').click(plugin.methode.showQuizSummary);
1332
 
1333
  $e.find('input[name="endQuizSummary"]').click(function() {
 
 
 
 
 
 
 
 
 
1334
  plugin.methode.finishQuiz();
1335
  });
1336
 
@@ -1343,6 +1412,9 @@
1343
  };
1344
 
1345
  plugin.init();
 
 
 
1346
  };
1347
 
1348
  $.fn.wpProQuizFront = function(options) {
25
  isAddAutomatic: 0,
26
  quizSummeryHide: 0,
27
  skipButton: 0,
28
+ reviewQustion: 0,
29
+ autoStart: 0,
30
+ forcingQuestionSolve: 0,
31
+ hideQuestionPositionOverview: 0
32
  };
33
 
34
  var quizStatus = {
368
  var func = {
369
  singleMulti: function() {
370
  var input = $questionList.find('.wpProQuiz_questionInput').attr('disabled', 'disabled');
371
+ var isDiffMode = data.diffMode;
372
 
373
  $questionList.children().each(function(i) {
374
  var $item = $(this);
376
  var checked = input.eq(i).is(':checked');
377
 
378
  if(data.correct[index]) {
 
 
379
  if(!checked) {
380
  correct = false;
381
  } else {
382
  if(isDiffPoints) {
383
+ if(isDiffMode)
384
+ points = data.points[index];
385
+ else
386
+ points += data.points[index];
387
  }
388
  }
389
+
390
+ if(data.disCorrect) {
391
+ correct = true;
392
+ } else {
393
+ plugin.methode.marker($item, true);
394
+ }
395
+
396
  } else {
397
  if(checked) {
398
+ if(!data.disCorrect) {
399
+ plugin.methode.marker($item, false);
400
+ correct = false;
401
+ } else {
402
+ correct = true;
403
+ }
404
+
405
+ if(isDiffMode)
406
+ points = data.points[index];
407
  } else {
408
+ if(isDiffPoints && !isDiffMode) {
409
  points += data.points[index];
410
  }
411
  }
557
  bitOptions.reviewQustion = config.bo & ( 1 << 7);
558
  bitOptions.quizSummeryHide = config.bo & (1 << 8);
559
  bitOptions.skipButton = config.bo & (1 << 9);
560
+ bitOptions.autoStart = config.bo & (1 << 10);
561
+ bitOptions.forcingQuestionSolve = config.bo & (1 << 11);
562
+ bitOptions.hideQuestionPositionOverview = config.bo & (1 << 12);
563
 
564
  var cors = config.bo & (1 << 5);
565
 
685
  switch (config.mode) {
686
  case 3:
687
  $e.find('input[name="checkSingle"]').show();
 
688
  break;
689
  case 2:
690
  $e.find(globalNames.check).show();
700
  break;
701
  }
702
 
703
+ if(bitOptions.hideQuestionPositionOverview || config.mode == 3)
704
+ $e.find('.wpProQuiz_question_page').hide();
705
+
706
  //Change last name
707
  var $lastButton = globalElements.next.last();
708
  lastButtonValue = $lastButton.val();
819
  },
820
 
821
  showQuestionObject: function(obj) {
822
+ if(!obj.length && bitOptions.forcingQuestionSolve && bitOptions.quizSummeryHide && bitOptions.reviewQustion) {
823
+ for(var i = 0, c = $e.find('.wpProQuiz_listItem').length; i < c; i++) {
824
+ if(!quizSolved[i]) {
825
+ alert(WpProQuizGlobal.questionsNotSolved);
826
+ return false;
827
+ }
828
+ }
829
+ }
830
+
831
  currentQuestion.hide();
832
 
833
  currentQuestion = obj.show();
941
  },
942
 
943
  setCategoryOverview: function() {
944
+ results.comp.cats = {};
945
+
946
  $e.find('.wpProQuiz_catOverview li').each(function() {
947
  var $this = $(this);
948
  var catId = $this.data('category_id');
949
  var r = Math.round(catResults[catId] / config.catPoints[catId] * 100 * 100) / 100;
950
 
951
+ results.comp.cats[catId] = r;
952
+
953
  $this.find('.wpProQuiz_catPercent').text(r + '%');
954
  });
955
  },
1334
  });
1335
 
1336
  globalElements.next.click(function() {
1337
+ if(bitOptions.forcingQuestionSolve && !quizSolved[currentQuestion.index()]
1338
+ && (bitOptions.quizSummeryHide || !bitOptions.reviewQustion)) {
1339
+
1340
+ alert(WpProQuizGlobal.questionNotSolved);
1341
+ return false;
1342
+ }
1343
+
1344
  plugin.methode.nextQuestion();
1345
  });
1346
 
1357
  });
1358
 
1359
  $e.find(globalNames.check).click(function() {
1360
+ if(bitOptions.forcingQuestionSolve && !quizSolved[currentQuestion.index()]
1361
+ && (bitOptions.quizSummeryHide || !bitOptions.reviewQustion)) {
1362
+
1363
+ alert(WpProQuizGlobal.questionNotSolved);
1364
+ return false;
1365
+ }
1366
+
1367
  plugin.methode.checkQuestion();
1368
  });
1369
 
1370
  $e.find('input[name="checkSingle"]').click(function() {
1371
+ if(bitOptions.forcingQuestionSolve && (bitOptions.quizSummeryHide || !bitOptions.reviewQustion)) {
1372
+ for(var i = 0, c = $e.find('.wpProQuiz_listItem').length; i < c; i++) {
1373
+ if(!quizSolved[i]) {
1374
+ alert(WpProQuizGlobal.questionsNotSolved);
1375
+ return false;
1376
+ }
1377
+ }
1378
+ }
1379
+
1380
  plugin.methode.showQuizSummary();
1381
  });
1382
 
1391
  $e.find('input[name="quizSummary"]').click(plugin.methode.showQuizSummary);
1392
 
1393
  $e.find('input[name="endQuizSummary"]').click(function() {
1394
+ if(bitOptions.forcingQuestionSolve) {
1395
+ for(var i = 0, c = $e.find('.wpProQuiz_listItem').length; i < c; i++) {
1396
+ if(!quizSolved[i]) {
1397
+ alert(WpProQuizGlobal.questionsNotSolved);
1398
+ return false;
1399
+ }
1400
+ }
1401
+ }
1402
+
1403
  plugin.methode.finishQuiz();
1404
  });
1405
 
1412
  };
1413
 
1414
  plugin.init();
1415
+
1416
+ if(bitOptions.autoStart)
1417
+ plugin.methode.startQuiz();
1418
  };
1419
 
1420
  $.fn.wpProQuizFront = function(options) {
js/wpProQuiz_front.min.js CHANGED
@@ -1,35 +1,37 @@
1
- (function(f){f.wpProQuizFront=function(G,e){var b=f(G),d=this,h={},s={},N=0,i=null,y=[],O="",z=!1,P=0,Q=0,A=0,R=0,B=0,H=0,I=0,S=0,T=0,t=0,U=0,V=0,J=0,W=0,$=b.find('input[name="back"]'),u=b.find('input[name="next"]'),m=b.find(".wpProQuiz_quiz"),v=b.find(".wpProQuiz_list"),w=b.find(".wpProQuiz_results"),C=b.find(".wpProQuiz_text"),D=b.find(".wpProQuiz_time_limit"),K=b.find(".wpProQuiz_toplistShowInButton"),X=f(),Y="",L=0,E=e.timelimit,Z=0,M={stop:function(){E&&(window.clearInterval(Z),D.hide())},start:function(){if(E){var a=
2
- 1E3*E,c=D.find("span").text(d.methode.parseTime(E)),b=D.find(".wpProQuiz_progress");D.show();var f=+new Date;Z=window.setInterval(function(){var g=+new Date-f,e=a-g;500<=g&&c.text(d.methode.parseTime(Math.ceil(e/1E3)));b.css("width",100*(e/a)+"%");0>=e&&(M.stop(),d.methode.finishQuiz(!0))},16)}}},r=new function(){function a(a){var c="",b=x[a];b.review?c="#FFB800":b.solved&&(c="#6CA54C");j.eq(a).css("background-color",c)}function c(a){a.preventDefault();a=a.pageY-l;0>a&&(a=0);a>h&&(a=h);k.attr("style",
3
- "margin-top: "+-(i*a)+"px !important");g.css({top:a})}function aa(a){a.preventDefault();f(document).unbind(".scrollEvent")}var e=[],g=[],k=[],j=[],h=0,l=0,i=0,F=0,q=0,x=[];this.init=function(){e=b.find(".wpProQuiz_reviewQuestion");g=e.find("div");k=e.find("ol");j=k.children();g.mousedown(function(a){a.preventDefault();a.stopPropagation();l=a.pageY-g.offset().top+F;f(document).bind("mouseup.scrollEvent",aa);f(document).bind("mousemove.scrollEvent",c)});j.click(function(){d.methode.showQuestion(f(this).index())});
4
- b.bind("questionSolved",function(c){x[c.values.index].solved=c.values.solved;a(c.values.index)});b.bind("changeQuestion",function(a){j.removeClass("wpProQuiz_reviewQuestionTarget");j.eq(a.values.index).addClass("wpProQuiz_reviewQuestionTarget");var a=j.eq(a.values.index),c=a.offset().top,b=e.offset().top,c=c-b;if(0>c-4||100<c+32)a=b-j.eq(0).offset().top-(b-k.offset().top)+a.position().top,a>q&&(a=q),b=a/i,k.attr("style","margin-top: "+-a+"px !important"),g.css({top:b})});b.bind("reviewQuestion",function(c){x[c.values.index].review=
5
- !x[c.values.index].review;a(c.values.index)});e.bind("mousewheel DOMMouseScroll",function(a){a.preventDefault();a=a.originalEvent;a=20*(a.wheelDelta?-a.wheelDelta/120:a.detail/3);a=F-k.offset().top+a;a>q&&(a=q);0>a&&(a=0);var c=a/i;k.attr("style","margin-top: "+-a+"px !important");g.css({top:c});return!1})};this.show=function(a){t&&e.parent().show();b.find(".wpProQuiz_reviewDiv .wpProQuiz_button2").show();if(!a){k.attr("style","margin-top: 0px !important");g.css({top:0});var a=k.outerHeight(),c=e.height();
6
- h=c-g.height();l=0;q=a-c;i=q/h;this.reset();100<a&&g.show();F=g.offset().top}};this.hide=function(){e.parent().hide()};this.toggle=function(){if(t){e.parent().toggle();j.removeClass("wpProQuiz_reviewQuestionTarget");b.find(".wpProQuiz_reviewDiv .wpProQuiz_button2").hide();k.attr("style","margin-top: 0px !important");g.css({top:0});var a=k.outerHeight(),c=e.height();h=c-g.height();l=0;q=a-c;i=q/h;100<a&&g.show();F=g.offset().top}};this.reset=function(){for(var a=0,c=j.length;a<c;a++)x[a]={};j.removeClass("wpProQuiz_reviewQuestionTarget").css("background-color",
7
- "")}},p=new function(){var a=0,c=-1,b=0,d=!1;this.questionStart=function(b){-1!=c&&this.questionStop();c=b;a=+new Date};this.questionStop=function(){-1!=c&&(h[c].time+=Math.round((new Date-a)/1E3),c=-1)};this.startQuiz=function(){d&&this.stopQuiz();b=+new Date;d=!0};this.stopQuiz=function(){d&&(h.comp.quizTime+=Math.round((new Date-b)/1E3),d=!1)};this.init=function(){}};d.methode={parseBitOptions:function(){if(e.bo){P=e.bo&1;Q=e.bo&2;A=e.bo&4;R=e.bo&8;B=e.bo&16;I=e.bo&64;t=e.bo&128;S=e.bo&256;T=e.bo&
8
- 512;var a=e.bo&32;a&&(void 0!=jQuery.support&&void 0!=jQuery.support.cors&&!1==jQuery.support.cors)&&(H=a)}},setClozeStyle:function(){b.find(".wpProQuiz_cloze input").each(function(){for(var a=f(this),c="",b=a.data("wordlen"),d=0;d<b;d++)c+="w";c=f(document.createElement("span")).css("visibility","hidden").text(c).appendTo(f("body"));b=c.width();c.remove();a.width(b+5)})},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
- ":"+((9<c?"":"0")+c)},cleanupCurlyQuotes:function(a){a=a.replace(/\u2018/,"'");a=a.replace(/\u2019/,"'");a=a.replace(/\u201C/,'"');a=a.replace(/\u201D/,'"');return f.trim(a).toLowerCase()},resetMatrix:function(a){a.each(function(){var a=f(this),b=a.find(".wpProQuiz_sortStringList");a.find(".wpProQuiz_sortStringItem").each(function(){b.append(f(this))})})},marker:function(a,c){A||(c?a.addClass("wpProQuiz_answerCorrect"):a.addClass("wpProQuiz_answerIncorrect"))},startQuiz:function(){if(J)U=1;else if(V)C.hide(),
10
- b.find(".wpProQuiz_lock").show();else if(W)C.hide(),b.find(".wpProQuiz_prerequisite").show();else{d.methode.loadQuizData();Q&&d.methode.random(v);P&&d.methode.random(b.find(".wpProQuiz_questionList"));d.methode.random(b.find(".wpProQuiz_sortStringList"));d.methode.random(b.find('[data-type="sort_answer"]'));b.find(".wpProQuiz_listItem").each(function(a){var b=f(this);b.find(".wpProQuiz_question_page span:eq(0)").text(a+1);b.find("> h5 span").text(a+1);b.find(".wpProQuiz_questionListItem").each(function(a){f(this).find("> span:not(.wpProQuiz_cloze)").text(a+
11
- 1+". ")})});u=b.find('input[name="next"]');switch(e.mode){case 3:b.find('input[name="checkSingle"]').show();b.find(".wpProQuiz_question_page").hide();break;case 2:b.find('input[name="check"]').show();!T&&t&&b.find('input[name="skip"]').show();break;case 1:b.find('input[name="back"]').slice(1).show();case 0:u.show()}var a=u.last();O=a.val();a.val(e.lbn);a=v.children();X=b.find(".wpProQuiz_list > li");3==e.mode?a.show():(i=a.eq(0).show(),a=i.find(".wpProQuiz_questionList").data("question_id"),p.questionStart(a));
12
- p.startQuiz();b.find(".wpProQuiz_sortable").parents("ul").sortable({update:function(){var a=f(this).parents(".wpProQuiz_listItem");b.trigger({type:"questionSolved",values:{item:a,index:a.index(),solved:!0}})}}).disableSelection();b.find(".wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion").sortable({connectWith:".wpProQuiz_maxtrixSortCriterion:not(:has(li)), .wpProQuiz_sortStringList",placeholder:"wpProQuiz_placehold",update:function(){var a=f(this).parents(".wpProQuiz_listItem");b.trigger({type:"questionSolved",
13
- values:{item:a,index:a.index(),solved:!0}})}}).disableSelection();y=[];M.start();N=+new Date;h={comp:{points:0,correctQuestions:0,quizTime:0}};b.find(".wpProQuiz_questionList").each(function(){var a=f(this).data("question_id");h[a]={time:0}});s={};f.each(e.catPoints,function(a){s[a]=0});C.hide();m.show();r.show();3!=e.mode&&b.trigger({type:"changeQuestion",values:{item:i,index:i.index()}})}},nextQuestion:function(){this.showQuestionObject(i.next())},prevQuestion:function(){this.showQuestionObject(i.prev())},
14
- showQuestion:function(a){a=X.eq(a);3==e.mode||z?(d.methode.scrollTo(a,1),p.startQuiz()):this.showQuestionObject(a)},showQuestionObject:function(a){i.hide();i=a.show();d.methode.scrollTo(m);b.trigger({type:"changeQuestion",values:{item:i,index:i.index()}});i.length?(a=i.find(".wpProQuiz_questionList").data("question_id"),p.questionStart(a)):d.methode.showQuizSummary()},skipQuestion:function(){b.trigger({type:"skipQuestion",values:{item:i,index:i.index()}});d.methode.nextQuestion()},reviewQuestion:function(){b.trigger({type:"reviewQuestion",
15
- values:{item:i,index:i.index()}})},showQuizSummary:function(){p.questionStop();p.stopQuiz();if(S||!t)d.methode.finishQuiz();else{var a=b.find(".wpProQuiz_checkPage");a.find("ol:eq(0)").empty().append(b.find(".wpProQuiz_reviewQuestion ol li").clone().removeClass("wpProQuiz_reviewQuestionTarget")).children().click(function(){a.hide();m.show();r.show(!0);d.methode.showQuestion(f(this).index())});for(var c=0,e=0,h=y.length;e<h;e++)y[e]&&c++;a.find("span:eq(0)").text(c);r.hide();m.hide();a.show();d.methode.scrollTo(a)}},
16
- finishQuiz:function(a){p.questionStop();p.stopQuiz();M.stop();var c=(+new Date-N)/1E3,c=e.timelimit&&c>e.timelimit?e.timelimit:c;b.find(".wpProQuiz_quiz_time span").text(d.methode.parseTime(c));a&&w.find(".wpProQuiz_time_limit_expired").show();d.methode.checkQuestion(v.children(),!0);b.find(".wpProQuiz_correct_answer").text(h.comp.correctQuestions);h.comp.result=Math.round(1E4*(h.comp.points/e.globalPoints))/100;$pointFields=b.find(".wpProQuiz_points span");$pointFields.eq(0).text(h.comp.points);
17
- $pointFields.eq(1).text(e.globalPoints);$pointFields.eq(2).text(h.comp.result+"%");b.find(".wpProQuiz_resultsList > li").eq(d.methode.findResultIndex(h.comp.result)).show();d.methode.setAverageResult(h.comp.result,!1);this.setCategoryOverview();d.methode.sendCompletedQuiz();I&&L&&d.methode.addToplist();r.hide();b.find(".wpProQuiz_checkPage").hide();m.hide();w.show();d.methode.scrollTo(w)},setCategoryOverview:function(){b.find(".wpProQuiz_catOverview li").each(function(){var a=f(this),b=a.data("category_id"),
18
- b=Math.round(1E4*(s[b]/e.catPoints[b]))/100;a.find(".wpProQuiz_catPercent").text(b+"%")})},questionSolved:function(a){y[a.values.index]=a.values.solved},sendCompletedQuiz:function(){B||d.methode.ajax({action:"wp_pro_quiz_completed_quiz",quizId:e.quizId,results:h})},findResultIndex:function(a){for(var b=e.resultsGrade,d=-1,f=999999,g=0;g<b.length;g++){var h=b[g];a>=h&&a-h<f&&(f=a-h,d=g)}return d},showQustionList:function(){z=!z;K.hide();m.toggle();b.find(".wpProQuiz_QuestionButton").hide();v.children().show();
19
- r.toggle();b.find(".wpProQuiz_question_page").hide()},random:function(a){a.each(function(){var a=f(this).children().get().sort(function(){return Math.round(Math.random())-0.5});f(a).appendTo(a[0].parentNode)})},restartQuiz:function(){w.hide();C.show();v.children().hide();K.hide();r.hide();b.find(".wpProQuiz_questionInput, .wpProQuiz_cloze input").removeAttr("disabled").removeAttr("checked").css("background-color","");b.find(".wpProQuiz_cloze input").val("");b.find(".wpProQuiz_answerCorrect, .wpProQuiz_answerIncorrect").removeClass("wpProQuiz_answerCorrect wpProQuiz_answerIncorrect");
20
- b.find(".wpProQuiz_listItem").data("check",!1);b.find(".wpProQuiz_response").hide().children().hide();d.methode.resetMatrix(b.find(".wpProQuiz_listItem"));b.find(".wpProQuiz_sortStringItem, .wpProQuiz_sortable").removeAttr("style");b.find(".wpProQuiz_clozeCorrect, .wpProQuiz_QuestionButton, .wpProQuiz_resultsList > li").hide();b.find('.wpProQuiz_question_page, input[name="tip"]').show();w.find(".wpProQuiz_time_limit_expired").hide();u.last().val(O);z=!1},checkQuestion:function(a,c){a=void 0==a?i:
21
- a;a.each(function(){var a,i,g=f(this),k=g.find(".wpProQuiz_questionList"),j=e.json[k.data("question_id")];a=j.type;p.questionStop();if(g.data("check"))return!0;if("single"==j.type||"multiple"==j.type)a="singleMulti";var n=!0,l=0,m=f.isArray(j.points);({singleMulti:function(){var a=k.find(".wpProQuiz_questionInput").attr("disabled","disabled");k.children().each(function(b){var c=f(this),e=c.data("pos"),b=a.eq(b).is(":checked");j.correct[e]?(d.methode.marker(c,!0),b?m&&(l+=j.points[e]):n=!1):b?(d.methode.marker(c,
22
- !1),n=!1):m&&(l+=j.points[e])})},sort_answer:function(){var a=k.children();a.each(function(a){var b=f(this);a==b.data("pos")?(d.methode.marker(b,!0),m&&(l+=j.points[a])):(d.methode.marker(b,!1),n=!1)});a.children().css({"box-shadow":"0 0",cursor:"auto"});k.sortable("destroy");a.sort(function(a,b){return f(a).data("pos")>f(b).data("pos")?1:-1});k.append(a)},matrix_sort_answer:function(){var a=[];k.children().each(function(){var b=f(this),c=b.data("pos"),b=b.find(".wpProQuiz_maxtrixSortCriterion"),
23
- e=b.children();c==e.data("pos")?(d.methode.marker(b,!0),m&&(l+=j.points[c])):(n=!1,d.methode.marker(b,!1));a[c]=b});d.methode.resetMatrix(g);g.find(".wpProQuiz_sortStringItem").each(function(){var b=a[f(this).data("pos")];void 0!=b&&b.append(this)}).css({"box-shadow":"0 0",cursor:"auto"});g.find(".wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion").sortable("destroy")},free_answer:function(){var a=k.children(),b=a.find(".wpProQuiz_questionInput").attr("disabled","disabled").val();0<=f.inArray(f.trim(b).toLowerCase(),
24
- j.correct)?d.methode.marker(a,!0):(d.methode.marker(a,!1),n=!1)},cloze_answer:function(){k.find(".wpProQuiz_cloze").each(function(a){var b=f(this).children(),c=b.eq(0),b=b.eq(1),e=d.methode.cleanupCurlyQuotes(c.val());0<=f.inArray(e,j.correct[a])?(m&&(l+=j.points[a]),A||c.css("background-color","#B0DAB0")):(A||c.css("background-color","#FFBABA"),n=!1,b.show());c.attr("disabled","disabled")})},assessment_answer:function(){n=!0;var a=0;k.find(".wpProQuiz_questionInput").attr("disabled","disabled").filter(":checked").each(function(){a+=
25
- parseInt(f(this).val())});l=a}})[a]();!m&&n&&(l=j.points);a=n;i=l;g.find(".wpProQuiz_response").show();g.find('input[name="check"]').hide();g.find('input[name="skip"]').hide();g.find('input[name="next"]').show();h[j.id].points=i;h[j.id].correct=Number(a);h.comp.points+=i;s[j.catId]+=i;a?(g.find(".wpProQuiz_correct").show(),h.comp.correctQuestions+=1):g.find(".wpProQuiz_incorrect").show();g.find(".wpProQuiz_responsePoints").text(i);g.data("check",!0);c||b.trigger({type:"questionSolved",values:{item:g,
26
- index:g.index(),solved:!0}})})},showTip:function(){var a=f(this),c=a.siblings(".wpProQuiz_question").find(".wpProQuiz_questionList").data("question_id");a.siblings(".wpProQuiz_tipp").toggle("fast");h[c].tip=1;f(document).bind("mouseup.tipEvent",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(document).unbind(".tipEvent"))})},ajax:function(a,b,d){H&&(jQuery.support.cors=!0);f.post(WpProQuizGlobal.ajaxurl,
27
- a,b,d||"json");H&&(jQuery.support.cors=!1)},checkQuizLock:function(){J=1;d.methode.ajax({action:"wp_pro_quiz_check_lock",quizId:e.quizId},function(a){void 0!=a.lock&&(V=a.lock.is,a.lock.pre&&b.find('input[name="restartQuiz"]').hide());void 0!=a.prerequisite&&(W=1,b.find(".wpProQuiz_prerequisite span").text(a.prerequisite));J=0;U&&d.methode.startQuiz()})},loadQuizData:function(){d.methode.ajax({action:"wp_pro_quiz_load_quiz_data",quizId:e.quizId},function(a){a.toplist&&d.methode.handleToplistData(a.toplist);
28
- void 0!=a.averageResult&&d.methode.setAverageResult(a.averageResult,!0)})},setAverageResult:function(a,c){var d=b.find(".wpProQuiz_resultValue:eq("+(c?0:1)+") > * ");d.eq(1).text(a+"%");d.eq(0).css("width",240*a/100+"px")},handleToplistData:function(a){var c=b.find(".wpProQuiz_addToplist"),d=c.find(".wpProQuiz_addBox").show().children("div");a.canAdd?(c.show(),c.find(".wpProQuiz_addToplistMessage").hide(),c.find(".wpProQuiz_toplistButton").show(),Y=a.token,L=0,a.userId?(d.hide(),L=1,I&&c.hide()):
29
- (d.show(),c=d.children().eq(1),a.captcha?(c.find('input[name="wpProQuiz_captchaPrefix"]').val(a.captcha.code),c.find(".wpProQuiz_captchaImg").attr("src",a.captcha.img),c.find('input[name="wpProQuiz_captcha"]').val(""),c.show()):c.hide())):c.hide()},scrollTo:function(a,b){var d=a.offset().top-100;(b||(window.pageYOffset||document.body.scrollTop)>d)&&f("html,body").animate({scrollTop:d},300)},addToplist:function(){if(!B){var a=b.find(".wpProQuiz_addToplistMessage").text(WpProQuizGlobal.loadData).show(),
30
- c=b.find(".wpProQuiz_addBox").hide();d.methode.ajax({action:"wp_pro_quiz_add_toplist",quizId:e.quizId,token:Y,name:c.find('input[name="wpProQuiz_toplistName"]').val(),email:c.find('input[name="wpProQuiz_toplistEmail"]').val(),captcha:c.find('input[name="wpProQuiz_captcha"]').val(),prefix:c.find('input[name="wpProQuiz_captchaPrefix"]').val(),points:h.comp.points,totalPoints:e.globalPoints},function(b){a.text(b.text);b.clear?(c.hide(),d.methode.updateToplist()):c.show();b.captcha&&(c.find(".wpProQuiz_captchaImg").attr("src",
31
- b.captcha.img),c.find('input[name="wpProQuiz_captchaPrefix"]').val(b.captcha.code),c.find('input[name="wpProQuiz_captcha"]').val(""))})}},updateToplist:function(){"function"==typeof wpProQuiz_fetchToplist&&wpProQuiz_fetchToplist()},registerSolved:function(){b.find('.wpProQuiz_questionInput[type="text"]').change(function(){var a=f(this),c=a.parents(".wpProQuiz_listItem"),d=!1;""!=a.val()&&(d=!0);b.trigger({type:"questionSolved",values:{item:c,index:c.index(),solved:d}})});b.find('.wpProQuiz_questionList[data-type="single"] .wpProQuiz_questionInput, .wpProQuiz_questionList[data-type="assessment_answer"] .wpProQuiz_questionInput').change(function(){var a=
32
- f(this).parents(".wpProQuiz_listItem"),c=this.checked;b.trigger({type:"questionSolved",values:{item:a,index:a.index(),solved:c}})});b.find(".wpProQuiz_cloze input").change(function(){var a=f(this).parents(".wpProQuiz_listItem"),c=!0;a.find(".wpProQuiz_cloze input").each(function(){if(""==f(this).val())return c=!1});b.trigger({type:"questionSolved",values:{item:a,index:a.index(),solved:c}})});b.find('.wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_questionInput').change(function(){var a=f(this).parents(".wpProQuiz_listItem"),
33
- c=0;a.find('.wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_questionInput').each(function(){this.checked&&c++});b.trigger({type:"questionSolved",values:{item:a,index:a.index(),solved:c?!0:!1}})})}};d.init=function(){d.methode.parseBitOptions();d.methode.setClozeStyle();d.methode.registerSolved();r.init();R&&!B&&d.methode.checkQuizLock();b.find('input[name="startQuiz"]').click(function(){d.methode.startQuiz();return!1});u.click(function(){d.methode.nextQuestion()});$.click(function(){d.methode.prevQuestion()});
34
- b.find('input[name="reShowQuestion"]').click(function(){d.methode.showQustionList()});b.find('input[name="restartQuiz"]').click(function(){d.methode.restartQuiz()});b.find('input[name="check"]').click(function(){d.methode.checkQuestion()});b.find('input[name="checkSingle"]').click(function(){d.methode.showQuizSummary()});b.find('input[name="tip"]').click(d.methode.showTip);b.find('input[name="skip"]').click(d.methode.skipQuestion);b.find('input[name="review"]').click(d.methode.reviewQuestion);b.find('input[name="wpProQuiz_toplistAdd"]').click(d.methode.addToplist);
35
- b.find('input[name="quizSummary"]').click(d.methode.showQuizSummary);b.find('input[name="endQuizSummary"]').click(function(){d.methode.finishQuiz()});b.find('input[name="showToplist"]').click(function(){m.hide();K.toggle()});b.bind("questionSolved",d.methode.questionSolved)};d.init()};f.fn.wpProQuizFront=function(G){return this.each(function(){void 0==f(this).data("wpProQuizFront")&&f(this).data("wpProQuizFront",new f.wpProQuizFront(this,G))})}})(jQuery);
 
 
1
+ (function(f){f.wpProQuizFront=function(J,e){var b=f(J),d=this,h={},x={},Q=0,j=null,p=[],R="",C=!1,S=0,T=0,D=0,U=0,E=0,K=0,L=0,v=0,V=0,q=0,W=0,w=0,X=0,Y=0,Z=0,M=0,$=0,da=b.find('input[name="back"]'),y=b.find('input[name="next"]'),t=b.find(".wpProQuiz_quiz"),z=b.find(".wpProQuiz_list"),A=b.find(".wpProQuiz_results"),F=b.find(".wpProQuiz_text"),G=b.find(".wpProQuiz_time_limit"),N=b.find(".wpProQuiz_toplistShowInButton"),aa=f(),ba="",O=0,H=e.timelimit,ca=0,P={stop:function(){H&&(window.clearInterval(ca),
2
+ G.hide())},start:function(){if(H){var a=1E3*H,c=G.find("span").text(d.methode.parseTime(H)),b=G.find(".wpProQuiz_progress");G.show();var f=+new Date;ca=window.setInterval(function(){var g=+new Date-f,e=a-g;500<=g&&c.text(d.methode.parseTime(Math.ceil(e/1E3)));b.css("width",100*(e/a)+"%");0>=e&&(P.stop(),d.methode.finishQuiz(!0))},16)}}},u=new function(){function a(a){var c="",b=B[a];b.review?c="#FFB800":b.solved&&(c="#6CA54C");i.eq(a).css("background-color",c)}function c(a){a.preventDefault();a=a.pageY-
3
+ j;0>a&&(a=0);a>h&&(a=h);k.attr("style","margin-top: "+-(m*a)+"px !important");g.css({top:a})}function ea(a){a.preventDefault();f(document).unbind(".scrollEvent")}var e=[],g=[],k=[],i=[],h=0,j=0,m=0,I=0,s=0,B=[];this.init=function(){e=b.find(".wpProQuiz_reviewQuestion");g=e.find("div");k=e.find("ol");i=k.children();g.mousedown(function(a){a.preventDefault();a.stopPropagation();j=a.pageY-g.offset().top+I;f(document).bind("mouseup.scrollEvent",ea);f(document).bind("mousemove.scrollEvent",c)});i.click(function(){d.methode.showQuestion(f(this).index())});
4
+ b.bind("questionSolved",function(c){B[c.values.index].solved=c.values.solved;a(c.values.index)});b.bind("changeQuestion",function(a){i.removeClass("wpProQuiz_reviewQuestionTarget");i.eq(a.values.index).addClass("wpProQuiz_reviewQuestionTarget");var a=i.eq(a.values.index),c=a.offset().top,b=e.offset().top,c=c-b;if(0>c-4||100<c+32)a=b-i.eq(0).offset().top-(b-k.offset().top)+a.position().top,a>s&&(a=s),b=a/m,k.attr("style","margin-top: "+-a+"px !important"),g.css({top:b})});b.bind("reviewQuestion",function(c){B[c.values.index].review=
5
+ !B[c.values.index].review;a(c.values.index)});e.bind("mousewheel DOMMouseScroll",function(a){a.preventDefault();a=a.originalEvent;a=20*(a.wheelDelta?-a.wheelDelta/120:a.detail/3);a=I-k.offset().top+a;a>s&&(a=s);0>a&&(a=0);var c=a/m;k.attr("style","margin-top: "+-a+"px !important");g.css({top:c});return!1})};this.show=function(a){q&&e.parent().show();b.find(".wpProQuiz_reviewDiv .wpProQuiz_button2").show();if(!a){k.attr("style","margin-top: 0px !important");g.css({top:0});var a=k.outerHeight(),c=e.height();
6
+ h=c-g.height();j=0;s=a-c;m=s/h;this.reset();100<a&&g.show();I=g.offset().top}};this.hide=function(){e.parent().hide()};this.toggle=function(){if(q){e.parent().toggle();i.removeClass("wpProQuiz_reviewQuestionTarget");b.find(".wpProQuiz_reviewDiv .wpProQuiz_button2").hide();k.attr("style","margin-top: 0px !important");g.css({top:0});var a=k.outerHeight(),c=e.height();h=c-g.height();j=0;s=a-c;m=s/h;100<a&&g.show();I=g.offset().top}};this.reset=function(){for(var a=0,c=i.length;a<c;a++)B[a]={};i.removeClass("wpProQuiz_reviewQuestionTarget").css("background-color",
7
+ "")}},r=new function(){var a=0,c=-1,b=0,d=!1;this.questionStart=function(b){-1!=c&&this.questionStop();c=b;a=+new Date};this.questionStop=function(){-1!=c&&(h[c].time+=Math.round((new Date-a)/1E3),c=-1)};this.startQuiz=function(){d&&this.stopQuiz();b=+new Date;d=!0};this.stopQuiz=function(){d&&(h.comp.quizTime+=Math.round((new Date-b)/1E3),d=!1)};this.init=function(){}};d.methode={parseBitOptions:function(){if(e.bo){S=e.bo&1;T=e.bo&2;D=e.bo&4;U=e.bo&8;E=e.bo&16;L=e.bo&64;q=e.bo&128;v=e.bo&256;V=e.bo&
8
+ 512;W=e.bo&1024;w=e.bo&2048;X=e.bo&4096;var a=e.bo&32;a&&(void 0!=jQuery.support&&void 0!=jQuery.support.cors&&!1==jQuery.support.cors)&&(K=a)}},setClozeStyle:function(){b.find(".wpProQuiz_cloze input").each(function(){for(var a=f(this),c="",b=a.data("wordlen"),d=0;d<b;d++)c+="w";c=f(document.createElement("span")).css("visibility","hidden").text(c).appendTo(f("body"));b=c.width();c.remove();a.width(b+5)})},parseTime:function(a){var c=parseInt(a%60),b=parseInt(a/60%60),a=parseInt(a/3600%24);return(9<
9
+ a?"":"0")+a+":"+((9<b?"":"0")+b)+":"+((9<c?"":"0")+c)},cleanupCurlyQuotes:function(a){a=a.replace(/\u2018/,"'");a=a.replace(/\u2019/,"'");a=a.replace(/\u201C/,'"');a=a.replace(/\u201D/,'"');return f.trim(a).toLowerCase()},resetMatrix:function(a){a.each(function(){var a=f(this),b=a.find(".wpProQuiz_sortStringList");a.find(".wpProQuiz_sortStringItem").each(function(){b.append(f(this))})})},marker:function(a,c){D||(c?a.addClass("wpProQuiz_answerCorrect"):a.addClass("wpProQuiz_answerIncorrect"))},startQuiz:function(){if(M)Y=
10
+ 1;else if(Z)F.hide(),b.find(".wpProQuiz_lock").show();else if($)F.hide(),b.find(".wpProQuiz_prerequisite").show();else{d.methode.loadQuizData();T&&d.methode.random(z);S&&d.methode.random(b.find(".wpProQuiz_questionList"));d.methode.random(b.find(".wpProQuiz_sortStringList"));d.methode.random(b.find('[data-type="sort_answer"]'));b.find(".wpProQuiz_listItem").each(function(a){var b=f(this);b.find(".wpProQuiz_question_page span:eq(0)").text(a+1);b.find("> h5 span").text(a+1);b.find(".wpProQuiz_questionListItem").each(function(a){f(this).find("> span:not(.wpProQuiz_cloze)").text(a+
11
+ 1+". ")})});y=b.find('input[name="next"]');switch(e.mode){case 3:b.find('input[name="checkSingle"]').show();break;case 2:b.find('input[name="check"]').show();!V&&q&&b.find('input[name="skip"]').show();break;case 1:b.find('input[name="back"]').slice(1).show();case 0:y.show()}(X||3==e.mode)&&b.find(".wpProQuiz_question_page").hide();var a=y.last();R=a.val();a.val(e.lbn);a=z.children();aa=b.find(".wpProQuiz_list > li");3==e.mode?a.show():(j=a.eq(0).show(),a=j.find(".wpProQuiz_questionList").data("question_id"),
12
+ r.questionStart(a));r.startQuiz();b.find(".wpProQuiz_sortable").parents("ul").sortable({update:function(){var a=f(this).parents(".wpProQuiz_listItem");b.trigger({type:"questionSolved",values:{item:a,index:a.index(),solved:!0}})}}).disableSelection();b.find(".wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion").sortable({connectWith:".wpProQuiz_maxtrixSortCriterion:not(:has(li)), .wpProQuiz_sortStringList",placeholder:"wpProQuiz_placehold",update:function(){var a=f(this).parents(".wpProQuiz_listItem");
13
+ b.trigger({type:"questionSolved",values:{item:a,index:a.index(),solved:!0}})}}).disableSelection();p=[];P.start();Q=+new Date;h={comp:{points:0,correctQuestions:0,quizTime:0}};b.find(".wpProQuiz_questionList").each(function(){var a=f(this).data("question_id");h[a]={time:0}});x={};f.each(e.catPoints,function(a){x[a]=0});F.hide();t.show();u.show();3!=e.mode&&b.trigger({type:"changeQuestion",values:{item:j,index:j.index()}})}},nextQuestion:function(){this.showQuestionObject(j.next())},prevQuestion:function(){this.showQuestionObject(j.prev())},
14
+ showQuestion:function(a){a=aa.eq(a);3==e.mode||C?(d.methode.scrollTo(a,1),r.startQuiz()):this.showQuestionObject(a)},showQuestionObject:function(a){if(!a.length&&w&&v&&q)for(var c=0,f=b.find(".wpProQuiz_listItem").length;c<f;c++)if(!p[c])return alert(WpProQuizGlobal.questionsNotSolved),!1;j.hide();j=a.show();d.methode.scrollTo(t);b.trigger({type:"changeQuestion",values:{item:j,index:j.index()}});j.length?(a=j.find(".wpProQuiz_questionList").data("question_id"),r.questionStart(a)):d.methode.showQuizSummary()},
15
+ skipQuestion:function(){b.trigger({type:"skipQuestion",values:{item:j,index:j.index()}});d.methode.nextQuestion()},reviewQuestion:function(){b.trigger({type:"reviewQuestion",values:{item:j,index:j.index()}})},showQuizSummary:function(){r.questionStop();r.stopQuiz();if(v||!q)d.methode.finishQuiz();else{var a=b.find(".wpProQuiz_checkPage");a.find("ol:eq(0)").empty().append(b.find(".wpProQuiz_reviewQuestion ol li").clone().removeClass("wpProQuiz_reviewQuestionTarget")).children().click(function(){a.hide();
16
+ t.show();u.show(!0);d.methode.showQuestion(f(this).index())});for(var c=0,e=0,h=p.length;e<h;e++)p[e]&&c++;a.find("span:eq(0)").text(c);u.hide();t.hide();a.show();d.methode.scrollTo(a)}},finishQuiz:function(a){r.questionStop();r.stopQuiz();P.stop();var c=(+new Date-Q)/1E3,c=e.timelimit&&c>e.timelimit?e.timelimit:c;b.find(".wpProQuiz_quiz_time span").text(d.methode.parseTime(c));a&&A.find(".wpProQuiz_time_limit_expired").show();d.methode.checkQuestion(z.children(),!0);b.find(".wpProQuiz_correct_answer").text(h.comp.correctQuestions);
17
+ h.comp.result=Math.round(1E4*(h.comp.points/e.globalPoints))/100;$pointFields=b.find(".wpProQuiz_points span");$pointFields.eq(0).text(h.comp.points);$pointFields.eq(1).text(e.globalPoints);$pointFields.eq(2).text(h.comp.result+"%");b.find(".wpProQuiz_resultsList > li").eq(d.methode.findResultIndex(h.comp.result)).show();d.methode.setAverageResult(h.comp.result,!1);this.setCategoryOverview();d.methode.sendCompletedQuiz();L&&O&&d.methode.addToplist();u.hide();b.find(".wpProQuiz_checkPage").hide();
18
+ t.hide();A.show();d.methode.scrollTo(A)},setCategoryOverview:function(){h.comp.cats={};b.find(".wpProQuiz_catOverview li").each(function(){var a=f(this),c=a.data("category_id"),b=Math.round(1E4*(x[c]/e.catPoints[c]))/100;h.comp.cats[c]=b;a.find(".wpProQuiz_catPercent").text(b+"%")})},questionSolved:function(a){p[a.values.index]=a.values.solved},sendCompletedQuiz:function(){E||d.methode.ajax({action:"wp_pro_quiz_completed_quiz",quizId:e.quizId,results:h})},findResultIndex:function(a){for(var b=e.resultsGrade,
19
+ d=-1,f=999999,g=0;g<b.length;g++){var h=b[g];a>=h&&a-h<f&&(f=a-h,d=g)}return d},showQustionList:function(){C=!C;N.hide();t.toggle();b.find(".wpProQuiz_QuestionButton").hide();z.children().show();u.toggle();b.find(".wpProQuiz_question_page").hide()},random:function(a){a.each(function(){var a=f(this).children().get().sort(function(){return Math.round(Math.random())-0.5});f(a).appendTo(a[0].parentNode)})},restartQuiz:function(){A.hide();F.show();z.children().hide();N.hide();u.hide();b.find(".wpProQuiz_questionInput, .wpProQuiz_cloze input").removeAttr("disabled").removeAttr("checked").css("background-color",
20
+ "");b.find(".wpProQuiz_cloze input").val("");b.find(".wpProQuiz_answerCorrect, .wpProQuiz_answerIncorrect").removeClass("wpProQuiz_answerCorrect wpProQuiz_answerIncorrect");b.find(".wpProQuiz_listItem").data("check",!1);b.find(".wpProQuiz_response").hide().children().hide();d.methode.resetMatrix(b.find(".wpProQuiz_listItem"));b.find(".wpProQuiz_sortStringItem, .wpProQuiz_sortable").removeAttr("style");b.find(".wpProQuiz_clozeCorrect, .wpProQuiz_QuestionButton, .wpProQuiz_resultsList > li").hide();
21
+ b.find('.wpProQuiz_question_page, input[name="tip"]').show();A.find(".wpProQuiz_time_limit_expired").hide();y.last().val(R);C=!1},checkQuestion:function(a,c){a=void 0==a?j:a;a.each(function(){var a,j,g=f(this),k=g.find(".wpProQuiz_questionList"),i=e.json[k.data("question_id")];a=i.type;r.questionStop();if(g.data("check"))return!0;if("single"==i.type||"multiple"==i.type)a="singleMulti";var n=!0,l=0,m=f.isArray(i.points);({singleMulti:function(){var a=k.find(".wpProQuiz_questionInput").attr("disabled",
22
+ "disabled"),b=i.diffMode;k.children().each(function(c){var e=f(this),g=e.data("pos"),c=a.eq(c).is(":checked");i.correct[g]?(c?m&&(l=b?i.points[g]:l+i.points[g]):n=!1,i.disCorrect?n=!0:d.methode.marker(e,!0)):c?(i.disCorrect?n=!0:(d.methode.marker(e,!1),n=!1),b&&(l=i.points[g])):m&&!b&&(l+=i.points[g])})},sort_answer:function(){var a=k.children();a.each(function(a){var b=f(this);a==b.data("pos")?(d.methode.marker(b,!0),m&&(l+=i.points[a])):(d.methode.marker(b,!1),n=!1)});a.children().css({"box-shadow":"0 0",
23
+ cursor:"auto"});k.sortable("destroy");a.sort(function(a,b){return f(a).data("pos")>f(b).data("pos")?1:-1});k.append(a)},matrix_sort_answer:function(){var a=[];k.children().each(function(){var b=f(this),c=b.data("pos"),b=b.find(".wpProQuiz_maxtrixSortCriterion"),e=b.children();c==e.data("pos")?(d.methode.marker(b,!0),m&&(l+=i.points[c])):(n=!1,d.methode.marker(b,!1));a[c]=b});d.methode.resetMatrix(g);g.find(".wpProQuiz_sortStringItem").each(function(){var b=a[f(this).data("pos")];void 0!=b&&b.append(this)}).css({"box-shadow":"0 0",
24
+ cursor:"auto"});g.find(".wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion").sortable("destroy")},free_answer:function(){var a=k.children(),b=a.find(".wpProQuiz_questionInput").attr("disabled","disabled").val();0<=f.inArray(f.trim(b).toLowerCase(),i.correct)?d.methode.marker(a,!0):(d.methode.marker(a,!1),n=!1)},cloze_answer:function(){k.find(".wpProQuiz_cloze").each(function(a){var b=f(this).children(),c=b.eq(0),b=b.eq(1),e=d.methode.cleanupCurlyQuotes(c.val());0<=f.inArray(e,i.correct[a])?
25
+ (m&&(l+=i.points[a]),D||c.css("background-color","#B0DAB0")):(D||c.css("background-color","#FFBABA"),n=!1,b.show());c.attr("disabled","disabled")})},assessment_answer:function(){n=!0;var a=0;k.find(".wpProQuiz_questionInput").attr("disabled","disabled").filter(":checked").each(function(){a+=parseInt(f(this).val())});l=a}})[a]();!m&&n&&(l=i.points);a=n;j=l;g.find(".wpProQuiz_response").show();g.find('input[name="check"]').hide();g.find('input[name="skip"]').hide();g.find('input[name="next"]').show();
26
+ h[i.id].points=j;h[i.id].correct=Number(a);h.comp.points+=j;x[i.catId]+=j;a?(g.find(".wpProQuiz_correct").show(),h.comp.correctQuestions+=1):g.find(".wpProQuiz_incorrect").show();g.find(".wpProQuiz_responsePoints").text(j);g.data("check",!0);c||b.trigger({type:"questionSolved",values:{item:g,index:g.index(),solved:!0}})})},showTip:function(){var a=f(this),c=a.siblings(".wpProQuiz_question").find(".wpProQuiz_questionList").data("question_id");a.siblings(".wpProQuiz_tipp").toggle("fast");h[c].tip=1;
27
+ f(document).bind("mouseup.tipEvent",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(document).unbind(".tipEvent"))})},ajax:function(a,b,d){K&&(jQuery.support.cors=!0);f.post(WpProQuizGlobal.ajaxurl,a,b,d||"json");K&&(jQuery.support.cors=!1)},checkQuizLock:function(){M=1;d.methode.ajax({action:"wp_pro_quiz_check_lock",quizId:e.quizId},function(a){void 0!=a.lock&&(Z=a.lock.is,a.lock.pre&&b.find('input[name="restartQuiz"]').hide());
28
+ void 0!=a.prerequisite&&($=1,b.find(".wpProQuiz_prerequisite span").text(a.prerequisite));M=0;Y&&d.methode.startQuiz()})},loadQuizData:function(){d.methode.ajax({action:"wp_pro_quiz_load_quiz_data",quizId:e.quizId},function(a){a.toplist&&d.methode.handleToplistData(a.toplist);void 0!=a.averageResult&&d.methode.setAverageResult(a.averageResult,!0)})},setAverageResult:function(a,c){var d=b.find(".wpProQuiz_resultValue:eq("+(c?0:1)+") > * ");d.eq(1).text(a+"%");d.eq(0).css("width",240*a/100+"px")},handleToplistData:function(a){var c=
29
+ b.find(".wpProQuiz_addToplist"),d=c.find(".wpProQuiz_addBox").show().children("div");a.canAdd?(c.show(),c.find(".wpProQuiz_addToplistMessage").hide(),c.find(".wpProQuiz_toplistButton").show(),ba=a.token,O=0,a.userId?(d.hide(),O=1,L&&c.hide()):(d.show(),c=d.children().eq(1),a.captcha?(c.find('input[name="wpProQuiz_captchaPrefix"]').val(a.captcha.code),c.find(".wpProQuiz_captchaImg").attr("src",a.captcha.img),c.find('input[name="wpProQuiz_captcha"]').val(""),c.show()):c.hide())):c.hide()},scrollTo:function(a,
30
+ b){var d=a.offset().top-100;(b||(window.pageYOffset||document.body.scrollTop)>d)&&f("html,body").animate({scrollTop:d},300)},addToplist:function(){if(!E){var a=b.find(".wpProQuiz_addToplistMessage").text(WpProQuizGlobal.loadData).show(),c=b.find(".wpProQuiz_addBox").hide();d.methode.ajax({action:"wp_pro_quiz_add_toplist",quizId:e.quizId,token:ba,name:c.find('input[name="wpProQuiz_toplistName"]').val(),email:c.find('input[name="wpProQuiz_toplistEmail"]').val(),captcha:c.find('input[name="wpProQuiz_captcha"]').val(),
31
+ prefix:c.find('input[name="wpProQuiz_captchaPrefix"]').val(),points:h.comp.points,totalPoints:e.globalPoints},function(b){a.text(b.text);b.clear?(c.hide(),d.methode.updateToplist()):c.show();b.captcha&&(c.find(".wpProQuiz_captchaImg").attr("src",b.captcha.img),c.find('input[name="wpProQuiz_captchaPrefix"]').val(b.captcha.code),c.find('input[name="wpProQuiz_captcha"]').val(""))})}},updateToplist:function(){"function"==typeof wpProQuiz_fetchToplist&&wpProQuiz_fetchToplist()},registerSolved:function(){b.find('.wpProQuiz_questionInput[type="text"]').change(function(){var a=
32
+ f(this),c=a.parents(".wpProQuiz_listItem"),d=!1;""!=a.val()&&(d=!0);b.trigger({type:"questionSolved",values:{item:c,index:c.index(),solved:d}})});b.find('.wpProQuiz_questionList[data-type="single"] .wpProQuiz_questionInput, .wpProQuiz_questionList[data-type="assessment_answer"] .wpProQuiz_questionInput').change(function(){var a=f(this).parents(".wpProQuiz_listItem"),c=this.checked;b.trigger({type:"questionSolved",values:{item:a,index:a.index(),solved:c}})});b.find(".wpProQuiz_cloze input").change(function(){var a=
33
+ f(this).parents(".wpProQuiz_listItem"),c=!0;a.find(".wpProQuiz_cloze input").each(function(){if(""==f(this).val())return c=!1});b.trigger({type:"questionSolved",values:{item:a,index:a.index(),solved:c}})});b.find('.wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_questionInput').change(function(){var a=f(this).parents(".wpProQuiz_listItem"),c=0;a.find('.wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_questionInput').each(function(){this.checked&&c++});b.trigger({type:"questionSolved",
34
+ values:{item:a,index:a.index(),solved:c?!0:!1}})})}};d.init=function(){d.methode.parseBitOptions();d.methode.setClozeStyle();d.methode.registerSolved();u.init();U&&!E&&d.methode.checkQuizLock();b.find('input[name="startQuiz"]').click(function(){d.methode.startQuiz();return!1});y.click(function(){if(w&&!p[j.index()]&&(v||!q))return alert(WpProQuizGlobal.questionNotSolved),!1;d.methode.nextQuestion()});da.click(function(){d.methode.prevQuestion()});b.find('input[name="reShowQuestion"]').click(function(){d.methode.showQustionList()});
35
+ b.find('input[name="restartQuiz"]').click(function(){d.methode.restartQuiz()});b.find('input[name="check"]').click(function(){if(w&&!p[j.index()]&&(v||!q))return alert(WpProQuizGlobal.questionNotSolved),!1;d.methode.checkQuestion()});b.find('input[name="checkSingle"]').click(function(){if(w&&(v||!q))for(var a=0,c=b.find(".wpProQuiz_listItem").length;a<c;a++)if(!p[a])return alert(WpProQuizGlobal.questionsNotSolved),!1;d.methode.showQuizSummary()});b.find('input[name="tip"]').click(d.methode.showTip);
36
+ b.find('input[name="skip"]').click(d.methode.skipQuestion);b.find('input[name="review"]').click(d.methode.reviewQuestion);b.find('input[name="wpProQuiz_toplistAdd"]').click(d.methode.addToplist);b.find('input[name="quizSummary"]').click(d.methode.showQuizSummary);b.find('input[name="endQuizSummary"]').click(function(){if(w)for(var a=0,c=b.find(".wpProQuiz_listItem").length;a<c;a++)if(!p[a])return alert(WpProQuizGlobal.questionsNotSolved),!1;d.methode.finishQuiz()});b.find('input[name="showToplist"]').click(function(){t.hide();
37
+ N.toggle()});b.bind("questionSolved",d.methode.questionSolved)};d.init();W&&d.methode.startQuiz()};f.fn.wpProQuizFront=function(J){return this.each(function(){void 0==f(this).data("wpProQuizFront")&&f(this).data("wpProQuizFront",new f.wpProQuizFront(this,J))})}})(jQuery);
languages/wp-pro-quiz-ar.mo CHANGED
Binary file
languages/wp-pro-quiz-ar.po CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wp-Pro-Quiz\n"
4
- "POT-Creation-Date: 2013-05-13 19:16+0100\n"
5
- "PO-Revision-Date: 2013-05-13 19:16+0100\n"
6
  "Last-Translator: Julius Fischer <julius.f@gmx.net>\n"
7
  "Language-Team: abuhassan <sajja2002@hotmail.com>\n"
8
  "Language: Arabic\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.5\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SearchPath-0: .\n"
@@ -61,7 +61,7 @@ msgstr ""
61
  #: lib/controller/WpProQuiz_Controller_Admin.php:107
62
  #: lib/view/WpProQuiz_View_FrontToplist.php:26
63
  #: lib/view/WpProQuiz_View_QuestionOverall.php:71
64
- #: lib/view/WpProQuiz_View_QuizOverall.php:110
65
  msgid "No data available"
66
  msgstr ""
67
 
@@ -87,23 +87,35 @@ msgid "Not all fields completed."
87
  msgstr ""
88
 
89
  #: lib/controller/WpProQuiz_Controller_Front.php:44
90
- #: lib/controller/WpProQuiz_Controller_Front.php:60
91
  #: lib/controller/WpProQuiz_Controller_Preview.php:15
92
  #: lib/view/WpProQuiz_View_AdminToplist.php:47
93
- #: lib/view/WpProQuiz_View_FrontQuiz.php:482
94
  #: lib/view/WpProQuiz_View_QuestionOverall.php:98
95
  #: lib/view/WpProQuiz_View_Statistics.php:40
96
  msgid "Loading"
97
  msgstr ""
98
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  #: lib/controller/WpProQuiz_Controller_GlobalSettings.php:11
100
  #: lib/controller/WpProQuiz_Controller_ImportExport.php:23
101
- #: lib/controller/WpProQuiz_Controller_ImportExport.php:43
102
  #: lib/controller/WpProQuiz_Controller_Question.php:51
103
  #: lib/controller/WpProQuiz_Controller_Question.php:128
104
  #: lib/controller/WpProQuiz_Controller_Question.php:143
105
- #: lib/controller/WpProQuiz_Controller_Question.php:204
106
- #: lib/controller/WpProQuiz_Controller_Question.php:374
107
  #: lib/controller/WpProQuiz_Controller_Quiz.php:175
108
  #: lib/controller/WpProQuiz_Controller_Quiz.php:189
109
  #: lib/controller/WpProQuiz_Controller_Quiz.php:249
@@ -117,7 +129,7 @@ msgstr ""
117
  msgid "Settings saved"
118
  msgstr ""
119
 
120
- #: lib/controller/WpProQuiz_Controller_ImportExport.php:79
121
  #: lib/helper/WpProQuiz_Helper_Import.php:59
122
  #: lib/helper/WpProQuiz_Helper_Import.php:68
123
  #: lib/helper/WpProQuiz_Helper_Import.php:75
@@ -143,20 +155,20 @@ msgid "Question not found"
143
  msgstr "لم يتم العثور على السؤال"
144
 
145
  #: lib/controller/WpProQuiz_Controller_Question.php:173
146
- #: lib/controller/WpProQuiz_Controller_Question.php:233
147
  #, php-format
148
  msgid "Question: %d"
149
  msgstr "السؤال: %d"
150
 
151
- #: lib/controller/WpProQuiz_Controller_Question.php:187
152
  msgid "Question edited"
153
  msgstr "تم تحرير السؤال"
154
 
155
- #: lib/controller/WpProQuiz_Controller_Question.php:208
156
  msgid "New question"
157
  msgstr "سؤال جديد"
158
 
159
- #: lib/controller/WpProQuiz_Controller_Question.php:248
160
  msgid "Question added"
161
  msgstr "تم اضافة سؤال"
162
 
@@ -183,6 +195,16 @@ msgstr "انشاء اختبار"
183
  msgid "Quiz deleted"
184
  msgstr "تم حذف الاختبار"
185
 
 
 
 
 
 
 
 
 
 
 
186
  #: lib/controller/WpProQuiz_Controller_Statistics.php:44
187
  #: lib/view/WpProQuiz_View_QuestionEdit.php:77
188
  msgid "No category"
@@ -219,6 +241,7 @@ msgid "You entered wrong captcha code."
219
  msgstr ""
220
 
221
  #: lib/helper/WpProQuiz_Helper_Import.php:9
 
222
  msgid "File was not uploaded"
223
  msgstr "لم يتم رفع الملف"
224
 
@@ -230,6 +253,11 @@ msgstr "صيغة الملف خاطئة"
230
  msgid "File is not compatible with the current version"
231
  msgstr ""
232
 
 
 
 
 
 
233
  #: lib/model/WpProQuiz_Model_GlobalSettingsMapper.php:47
234
  #: lib/model/WpProQuiz_Model_GlobalSettingsMapper.php:79
235
  msgid "Wp-Pro-Quiz: One user completed a quiz"
@@ -271,14 +299,15 @@ msgid "A powerful and beautiful quiz plugin for WordPress."
271
  msgstr ""
272
 
273
  #: lib/plugin/WpProQuiz_Plugin_BpAchievementsV3.php:21
 
274
  msgid "WP-Pro-Quiz"
275
  msgstr ""
276
 
277
  #: lib/view/WpProQuiz_View_AdminToplist.php:7
278
  #: lib/view/WpProQuiz_View_FrontToplist.php:8
279
- #: lib/view/WpProQuiz_View_QuizEdit.php:805
280
- #: lib/view/WpProQuiz_View_QuizEdit.php:817
281
- #: lib/view/WpProQuiz_View_QuizOverall.php:95
282
  msgid "Leaderboard"
283
  msgstr ""
284
 
@@ -303,17 +332,17 @@ msgid "Sort by:"
303
  msgstr ""
304
 
305
  #: lib/view/WpProQuiz_View_AdminToplist.php:18
306
- #: lib/view/WpProQuiz_View_QuizEdit.php:897
307
  msgid "best user"
308
  msgstr ""
309
 
310
  #: lib/view/WpProQuiz_View_AdminToplist.php:19
311
- #: lib/view/WpProQuiz_View_QuizEdit.php:901
312
  msgid "newest entry"
313
  msgstr ""
314
 
315
  #: lib/view/WpProQuiz_View_AdminToplist.php:20
316
- #: lib/view/WpProQuiz_View_QuizEdit.php:905
317
  msgid "oldest entry"
318
  msgstr ""
319
 
@@ -337,7 +366,7 @@ msgid "User"
337
  msgstr ""
338
 
339
  #: lib/view/WpProQuiz_View_AdminToplist.php:56
340
- #: lib/view/WpProQuiz_View_FrontQuiz.php:490
341
  msgid "E-Mail"
342
  msgstr ""
343
 
@@ -347,14 +376,14 @@ msgid "Entered on"
347
  msgstr ""
348
 
349
  #: lib/view/WpProQuiz_View_AdminToplist.php:59
350
- #: lib/view/WpProQuiz_View_FrontQuiz.php:361
351
- #: lib/view/WpProQuiz_View_FrontQuiz.php:379
352
  #: lib/view/WpProQuiz_View_FrontToplist.php:17
353
  #: lib/view/WpProQuiz_View_QuestionEdit.php:35
354
  #: lib/view/WpProQuiz_View_QuestionEdit.php:42
355
- #: lib/view/WpProQuiz_View_QuestionEdit.php:274
356
- #: lib/view/WpProQuiz_View_QuestionEdit.php:312
357
- #: lib/view/WpProQuiz_View_QuestionEdit.php:371
358
  #: lib/view/WpProQuiz_View_QuestionOverall.php:30
359
  #: lib/view/WpProQuiz_View_Statistics.php:96
360
  #: lib/view/WpProQuiz_View_Statistics.php:231
@@ -371,7 +400,7 @@ msgstr "النتائج"
371
  #: lib/view/WpProQuiz_View_AdminToplist.php:72
372
  #: lib/view/WpProQuiz_View_GobalSettings.php:140
373
  #: lib/view/WpProQuiz_View_QuestionOverall.php:51
374
- #: lib/view/WpProQuiz_View_QuizOverall.php:79
375
  msgid "Edit"
376
  msgstr "تحرير"
377
 
@@ -379,7 +408,7 @@ msgstr "تحرير"
379
  #: lib/view/WpProQuiz_View_AdminToplist.php:100
380
  #: lib/view/WpProQuiz_View_GobalSettings.php:139
381
  #: lib/view/WpProQuiz_View_QuestionOverall.php:55
382
- #: lib/view/WpProQuiz_View_QuizOverall.php:83
383
  msgid "Delete"
384
  msgstr "حذف"
385
 
@@ -411,12 +440,11 @@ msgstr "الوقت المحدد"
411
 
412
  #: lib/view/WpProQuiz_View_FrontQuiz.php:52
413
  #: lib/view/WpProQuiz_View_FrontQuiz.php:207
414
- #: lib/view/WpProQuiz_View_FrontQuiz.php:433
415
- #: lib/view/WpProQuiz_View_FrontQuiz.php:469
416
  #: lib/view/WpProQuiz_View_QuizEdit.php:355
417
  #: lib/view/WpProQuiz_View_QuizEdit.php:365
418
  #: lib/view/WpProQuiz_View_QuizEdit.php:370
419
- #: lib/view/WpProQuiz_View_QuizEdit.php:599
420
  msgid "Quiz-summary"
421
  msgstr ""
422
 
@@ -427,13 +455,13 @@ msgstr ""
427
 
428
  #: lib/view/WpProQuiz_View_FrontQuiz.php:56
429
  #: lib/view/WpProQuiz_View_Import.php:44
430
- #: lib/view/WpProQuiz_View_QuizOverall.php:74
431
  msgid "Questions"
432
  msgstr "اسئلة"
433
 
434
  #: lib/view/WpProQuiz_View_FrontQuiz.php:65
435
- #: lib/view/WpProQuiz_View_FrontQuiz.php:435
436
- #: lib/view/WpProQuiz_View_FrontQuiz.php:469
437
  msgid "Finish quiz"
438
  msgstr ""
439
 
@@ -476,14 +504,6 @@ msgstr ""
476
  msgid "Your score"
477
  msgstr ""
478
 
479
- #: lib/view/WpProQuiz_View_FrontQuiz.php:128
480
- msgid "Categories"
481
- msgstr ""
482
-
483
- #: lib/view/WpProQuiz_View_FrontQuiz.php:133
484
- msgid "Not categorized"
485
- msgstr ""
486
-
487
  #: lib/view/WpProQuiz_View_FrontQuiz.php:166
488
  msgid "Restart quiz"
489
  msgstr "اعادة الاختبار"
@@ -508,82 +528,82 @@ msgstr ""
508
  msgid "Review question"
509
  msgstr ""
510
 
511
- #: lib/view/WpProQuiz_View_FrontQuiz.php:240
512
  #, php-format
513
  msgid "Question %s of %s"
514
  msgstr "اسئلة %s من %s "
515
 
516
- #: lib/view/WpProQuiz_View_FrontQuiz.php:243
517
  #: lib/view/WpProQuiz_View_QuestionEdit.php:96
518
  #: lib/view/WpProQuiz_View_Statistics.php:95
519
  msgid "Question"
520
  msgstr "اسئلة"
521
 
522
- #: lib/view/WpProQuiz_View_FrontQuiz.php:247
523
  #, php-format
524
  msgid "%d points"
525
  msgstr "%d درجات"
526
 
527
- #: lib/view/WpProQuiz_View_FrontQuiz.php:257
528
- #: lib/view/WpProQuiz_View_QuestionEdit.php:304
529
  msgid "Sort elements"
530
  msgstr "ترتيب العناصر"
531
 
532
- #: lib/view/WpProQuiz_View_FrontQuiz.php:359
533
- #: lib/view/WpProQuiz_View_FrontQuiz.php:366
534
- #: lib/view/WpProQuiz_View_QuestionEdit.php:262
535
  #: lib/view/WpProQuiz_View_Statistics.php:97
536
  #: lib/view/WpProQuiz_View_Statistics.php:232
537
  msgid "Correct"
538
  msgstr "صحيح"
539
 
540
- #: lib/view/WpProQuiz_View_FrontQuiz.php:377
541
- #: lib/view/WpProQuiz_View_FrontQuiz.php:384
542
  #: lib/view/WpProQuiz_View_Statistics.php:98
543
  #: lib/view/WpProQuiz_View_Statistics.php:233
544
  msgid "Incorrect"
545
  msgstr "خطأ"
546
 
547
- #: lib/view/WpProQuiz_View_FrontQuiz.php:405
548
  #: lib/view/WpProQuiz_View_FrontQuiz.php:416
 
549
  #: lib/view/WpProQuiz_View_QuestionEdit.php:140
550
  msgid "Hint"
551
  msgstr "تلميح"
552
 
553
- #: lib/view/WpProQuiz_View_FrontQuiz.php:412
554
  #: lib/view/WpProQuiz_View_QuizEdit.php:384
555
  #: lib/view/WpProQuiz_View_QuizEdit.php:389
556
  msgid "Skip question"
557
  msgstr ""
558
 
559
- #: lib/view/WpProQuiz_View_FrontQuiz.php:414
560
  msgid "Back"
561
  msgstr "العودة"
562
 
563
- #: lib/view/WpProQuiz_View_FrontQuiz.php:418
564
  msgid "Check"
565
  msgstr "التحقق"
566
 
567
- #: lib/view/WpProQuiz_View_FrontQuiz.php:419
568
  msgid "Next"
569
  msgstr ""
570
 
571
- #: lib/view/WpProQuiz_View_FrontQuiz.php:480
572
  msgid "Your result has been entered into leaderboard"
573
  msgstr ""
574
 
575
- #: lib/view/WpProQuiz_View_FrontQuiz.php:487
576
  #: lib/view/WpProQuiz_View_FrontToplist.php:15
577
  #: lib/view/WpProQuiz_View_QuestionOverall.php:28
578
- #: lib/view/WpProQuiz_View_QuizOverall.php:57
579
  msgid "Name"
580
  msgstr "الاسم"
581
 
582
- #: lib/view/WpProQuiz_View_FrontQuiz.php:495
583
  msgid "Captcha"
584
  msgstr ""
585
 
586
- #: lib/view/WpProQuiz_View_FrontQuiz.php:501
587
  msgid "Send"
588
  msgstr ""
589
 
@@ -616,13 +636,13 @@ msgid "E-Mail settings"
616
  msgstr ""
617
 
618
  #: lib/view/WpProQuiz_View_GobalSettings.php:14
619
- #: lib/view/WpProQuiz_View_GobalSettings.php:319
620
  msgid "Settings in case of problems"
621
  msgstr ""
622
 
623
  #: lib/view/WpProQuiz_View_GobalSettings.php:30
624
- #: lib/view/WpProQuiz_View_QuestionEdit.php:236
625
- #: lib/view/WpProQuiz_View_QuizEdit.php:541
626
  #: lib/view/WpProQuiz_View_WpqSupport.php:45
627
  msgid "Save"
628
  msgstr "حفظ"
@@ -660,7 +680,7 @@ msgid "Category management"
660
  msgstr ""
661
 
662
  #: lib/view/WpProQuiz_View_GobalSettings.php:155
663
- #: lib/view/WpProQuiz_View_GobalSettings.php:433
664
  msgid "Admin e-mail settings"
665
  msgstr ""
666
 
@@ -675,25 +695,25 @@ msgid ""
675
  msgstr ""
676
 
677
  #: lib/view/WpProQuiz_View_GobalSettings.php:174
678
- #: lib/view/WpProQuiz_View_GobalSettings.php:245
679
  msgid "From:"
680
  msgstr ""
681
 
682
  #: lib/view/WpProQuiz_View_GobalSettings.php:187
683
- #: lib/view/WpProQuiz_View_GobalSettings.php:255
684
  msgid "Subject:"
685
  msgstr ""
686
 
687
  #: lib/view/WpProQuiz_View_GobalSettings.php:197
688
- #: lib/view/WpProQuiz_View_GobalSettings.php:265
689
  msgid "HTML"
690
  msgstr ""
691
 
692
  #: lib/view/WpProQuiz_View_GobalSettings.php:201
693
- #: lib/view/WpProQuiz_View_GobalSettings.php:269
694
- #: lib/view/WpProQuiz_View_GobalSettings.php:334
695
- #: lib/view/WpProQuiz_View_GobalSettings.php:356
696
- #: lib/view/WpProQuiz_View_GobalSettings.php:408
697
  #: lib/view/WpProQuiz_View_QuizEdit.php:39
698
  #: lib/view/WpProQuiz_View_QuizEdit.php:58
699
  #: lib/view/WpProQuiz_View_QuizEdit.php:77
@@ -705,105 +725,114 @@ msgstr ""
705
  #: lib/view/WpProQuiz_View_QuizEdit.php:279
706
  #: lib/view/WpProQuiz_View_QuizEdit.php:340
707
  #: lib/view/WpProQuiz_View_QuizEdit.php:442
708
- #: lib/view/WpProQuiz_View_QuizEdit.php:566
709
- #: lib/view/WpProQuiz_View_QuizEdit.php:591
710
- #: lib/view/WpProQuiz_View_QuizEdit.php:617
711
- #: lib/view/WpProQuiz_View_QuizEdit.php:643
712
- #: lib/view/WpProQuiz_View_QuizEdit.php:669
713
- #: lib/view/WpProQuiz_View_QuizEdit.php:711
714
  #: lib/view/WpProQuiz_View_QuizEdit.php:730
715
- #: lib/view/WpProQuiz_View_QuizEdit.php:755
716
- #: lib/view/WpProQuiz_View_QuizEdit.php:822
717
- #: lib/view/WpProQuiz_View_QuizEdit.php:855
 
718
  #: lib/view/WpProQuiz_View_QuizEdit.php:869
719
- #: lib/view/WpProQuiz_View_QuizEdit.php:917
720
- #: lib/view/WpProQuiz_View_QuizEdit.php:999
721
- #: lib/view/WpProQuiz_View_QuizEdit.php:1000
722
- #: lib/view/WpProQuiz_View_QuizEdit.php:1001
723
- #: lib/view/WpProQuiz_View_QuizEdit.php:1002
 
 
 
724
  msgid "Activate"
725
  msgstr ""
726
 
727
  #: lib/view/WpProQuiz_View_GobalSettings.php:207
728
- #: lib/view/WpProQuiz_View_GobalSettings.php:275
729
  msgid "Message body:"
730
  msgstr ""
731
 
732
  #: lib/view/WpProQuiz_View_GobalSettings.php:215
733
- #: lib/view/WpProQuiz_View_GobalSettings.php:283
734
  msgid "Allowed variables"
735
  msgstr ""
736
 
737
  #: lib/view/WpProQuiz_View_GobalSettings.php:217
738
- #: lib/view/WpProQuiz_View_GobalSettings.php:285
739
  msgid "User-ID"
740
  msgstr ""
741
 
742
  #: lib/view/WpProQuiz_View_GobalSettings.php:218
743
- #: lib/view/WpProQuiz_View_GobalSettings.php:286
744
  msgid "Username"
745
  msgstr ""
746
 
747
  #: lib/view/WpProQuiz_View_GobalSettings.php:219
748
- #: lib/view/WpProQuiz_View_GobalSettings.php:287
749
  msgid "Quiz-Name"
750
  msgstr ""
751
 
752
  #: lib/view/WpProQuiz_View_GobalSettings.php:220
753
- #: lib/view/WpProQuiz_View_GobalSettings.php:288
754
  msgid "Result in precent"
755
  msgstr ""
756
 
757
  #: lib/view/WpProQuiz_View_GobalSettings.php:221
758
- #: lib/view/WpProQuiz_View_GobalSettings.php:289
759
  msgid "Reached points"
760
  msgstr ""
761
 
762
  #: lib/view/WpProQuiz_View_GobalSettings.php:222
763
- #: lib/view/WpProQuiz_View_GobalSettings.php:290
764
  msgid "IP-address of the user"
765
  msgstr ""
766
 
767
- #: lib/view/WpProQuiz_View_GobalSettings.php:239
768
- #: lib/view/WpProQuiz_View_GobalSettings.php:434
 
 
 
 
 
769
  msgid "User e-mail settings"
770
  msgstr ""
771
 
772
- #: lib/view/WpProQuiz_View_GobalSettings.php:305
773
  msgid "to activate"
774
  msgstr ""
775
 
776
- #: lib/view/WpProQuiz_View_GobalSettings.php:307
777
  msgid "not to activate"
778
  msgstr ""
779
 
780
- #: lib/view/WpProQuiz_View_GobalSettings.php:313
781
  #: lib/view/WpProQuiz_View_WpqSupport.php:50
782
  msgid "Please note"
783
  msgstr ""
784
 
785
- #: lib/view/WpProQuiz_View_GobalSettings.php:315
786
  msgid ""
787
  "These settings should only be set in cases of problems with Wp-Pro-Quiz."
788
  msgstr ""
789
 
790
- #: lib/view/WpProQuiz_View_GobalSettings.php:325
791
- #: lib/view/WpProQuiz_View_GobalSettings.php:330
792
  msgid "Automatically add [raw] shortcode"
793
  msgstr ""
794
 
795
- #: lib/view/WpProQuiz_View_GobalSettings.php:334
796
  #, php-format
797
  msgid "It is recommended %s this option on your system."
798
  msgstr ""
799
 
800
- #: lib/view/WpProQuiz_View_GobalSettings.php:337
801
  msgid ""
802
  "If this option is activated, a [raw] shortcode is automatically set around "
803
  "WpProQuiz shortcode ( [WpProQuiz X] ) into [raw] [WpProQuiz X] [/raw]"
804
  msgstr ""
805
 
806
- #: lib/view/WpProQuiz_View_GobalSettings.php:340
807
  #: lib/view/WpProQuiz_View_QuizOverall.php:42
808
  msgid ""
809
  "Own themes changes internal order of filters, what causes the problems. "
@@ -812,75 +841,75 @@ msgstr ""
812
  "الثيمات الخاصة تغير النظام الداخلي للمرشحات، مما يسبب المشاكل. مع الرمز "
813
  "القصير إضافية [الخام] يتم منع هذا. MIB"
814
 
815
- #: lib/view/WpProQuiz_View_GobalSettings.php:347
816
- #: lib/view/WpProQuiz_View_GobalSettings.php:352
817
  msgid "Do not load the Javascript-files in the footer"
818
  msgstr ""
819
 
820
- #: lib/view/WpProQuiz_View_GobalSettings.php:359
821
  msgid ""
822
  "Generally all WpProQuiz-Javascript files are loaded in the footer and only "
823
  "when they are really needed."
824
  msgstr ""
825
 
826
- #: lib/view/WpProQuiz_View_GobalSettings.php:362
827
  msgid "In very old Wordpress themes this can lead to problems."
828
  msgstr ""
829
 
830
- #: lib/view/WpProQuiz_View_GobalSettings.php:365
831
  msgid ""
832
  "If you activate this option, all WpProQuiz-Javascript files are loaded in "
833
  "the header even if they are not needed."
834
  msgstr ""
835
 
836
- #: lib/view/WpProQuiz_View_GobalSettings.php:368
837
  #, php-format
838
  msgid ""
839
  "Anyone who wants to learn more about this topic should read through the "
840
  "following websites %s and %s."
841
  msgstr ""
842
 
843
- #: lib/view/WpProQuiz_View_GobalSettings.php:377
844
- #: lib/view/WpProQuiz_View_GobalSettings.php:382
845
  msgid "Touch Library"
846
  msgstr ""
847
 
848
- #: lib/view/WpProQuiz_View_GobalSettings.php:386
849
  #: lib/view/WpProQuiz_View_QuizEdit.php:374
850
  #: lib/view/WpProQuiz_View_QuizEdit.php:393
851
  #: lib/view/WpProQuiz_View_QuizEdit.php:412
852
- #: lib/view/WpProQuiz_View_QuizEdit.php:780
853
  msgid "Deactivate"
854
  msgstr ""
855
 
856
- #: lib/view/WpProQuiz_View_GobalSettings.php:389
857
  msgid "In Version 0.13 a new Touch Library was added for mobile devices."
858
  msgstr ""
859
 
860
- #: lib/view/WpProQuiz_View_GobalSettings.php:392
861
  msgid "If you have any problems with the Touch Library, please deactivate it."
862
  msgstr ""
863
 
864
- #: lib/view/WpProQuiz_View_GobalSettings.php:399
865
- #: lib/view/WpProQuiz_View_GobalSettings.php:404
866
  msgid "jQuery support cors"
867
  msgstr ""
868
 
869
- #: lib/view/WpProQuiz_View_GobalSettings.php:411
870
  msgid "Is required only in rare cases."
871
  msgstr ""
872
 
873
- #: lib/view/WpProQuiz_View_GobalSettings.php:414
874
  msgid "If you have problems with the front ajax, please activate it."
875
  msgstr ""
876
 
877
- #: lib/view/WpProQuiz_View_GobalSettings.php:417
878
  msgid "e.g. Domain with special characters in combination with IE"
879
  msgstr ""
880
 
881
  #: lib/view/WpProQuiz_View_Import.php:21
882
- #: lib/view/WpProQuiz_View_QuizOverall.php:119
883
- #: lib/view/WpProQuiz_View_QuizOverall.php:136
884
  msgid "Import"
885
  msgstr "استيراد"
886
 
@@ -900,8 +929,8 @@ msgstr "تم الاستيراد بنجاح"
900
  msgid "Quiz name"
901
  msgstr "اسم الاختبار"
902
 
903
- #: lib/view/WpProQuiz_View_Import.php:67
904
- #: lib/view/WpProQuiz_View_QuizOverall.php:147
905
  msgid "Start import"
906
  msgstr "ابدأ الاستيراد"
907
 
@@ -914,8 +943,8 @@ msgstr "العنوان"
914
  #: lib/view/WpProQuiz_View_QuestionEdit.php:111
915
  #: lib/view/WpProQuiz_View_QuestionEdit.php:128
916
  #: lib/view/WpProQuiz_View_QuestionEdit.php:140
917
- #: lib/view/WpProQuiz_View_QuizEdit.php:473
918
- #: lib/view/WpProQuiz_View_QuizEdit.php:805
919
  msgid "(optional)"
920
  msgstr "(اختيار)"
921
 
@@ -929,10 +958,10 @@ msgstr ""
929
 
930
  #: lib/view/WpProQuiz_View_QuestionEdit.php:35
931
  #: lib/view/WpProQuiz_View_QuestionEdit.php:96
932
- #: lib/view/WpProQuiz_View_QuestionEdit.php:196
933
  #: lib/view/WpProQuiz_View_QuizEdit.php:18
934
- #: lib/view/WpProQuiz_View_QuizEdit.php:462
935
- #: lib/view/WpProQuiz_View_QuizEdit.php:986
936
  msgid "(required)"
937
  msgstr "(مطلوب)"
938
 
@@ -1061,11 +1090,11 @@ msgstr "اكمل"
1061
  msgid "Assessment"
1062
  msgstr ""
1063
 
1064
- #: lib/view/WpProQuiz_View_QuestionEdit.php:196
1065
  msgid "Answers"
1066
  msgstr "اجابات"
1067
 
1068
- #: lib/view/WpProQuiz_View_QuestionEdit.php:203
1069
  msgid ""
1070
  "Please sort the answers in right order with the \"Move\" - Button. The "
1071
  "answers will be displayed randomly."
@@ -1073,13 +1102,13 @@ msgstr ""
1073
  "يرجى فرز الإجابات في بالترتيب الصحيح بزر \"نقل\" - . سوف يتم عرض الإجابات "
1074
  "بشكل عشوائي."
1075
 
1076
- #: lib/view/WpProQuiz_View_QuestionEdit.php:208
1077
- #: lib/view/WpProQuiz_View_QuestionEdit.php:214
1078
- #: lib/view/WpProQuiz_View_QuestionEdit.php:226
1079
  msgid "Add new answer"
1080
  msgstr "اضف اجابة جديدة"
1081
 
1082
- #: lib/view/WpProQuiz_View_QuestionEdit.php:218
1083
  msgid ""
1084
  "In this mode, not a list have to be sorted, but elements must be assigned to "
1085
  "matching criterion."
@@ -1087,60 +1116,60 @@ msgstr ""
1087
  "في هذا الوضع، لا يوجد قائمة لا بد من فرزها، ولكن يجب تعيين عناصر مطابقة "
1088
  "لمعيار."
1089
 
1090
- #: lib/view/WpProQuiz_View_QuestionEdit.php:221
1091
  msgid ""
1092
  "You can create sort elements with empty criteria, which can't be assigned by "
1093
  "user."
1094
  msgstr ""
1095
 
1096
- #: lib/view/WpProQuiz_View_QuestionEdit.php:252
1097
- #: lib/view/WpProQuiz_View_QuestionEdit.php:302
1098
- #: lib/view/WpProQuiz_View_QuestionEdit.php:355
1099
  #: lib/view/WpProQuiz_View_QuizEdit.php:24
1100
  msgid "Options"
1101
  msgstr "خيارات"
1102
 
1103
- #: lib/view/WpProQuiz_View_QuestionEdit.php:253
1104
- #: lib/view/WpProQuiz_View_QuestionEdit.php:356
1105
  msgid "Answer"
1106
  msgstr ""
1107
 
1108
- #: lib/view/WpProQuiz_View_QuestionEdit.php:268
1109
- #: lib/view/WpProQuiz_View_QuestionEdit.php:327
1110
- #: lib/view/WpProQuiz_View_QuestionEdit.php:333
1111
- #: lib/view/WpProQuiz_View_QuestionEdit.php:365
1112
  msgid "Allow HTML"
1113
  msgstr "السماح بــ HTML"
1114
 
1115
- #: lib/view/WpProQuiz_View_QuestionEdit.php:285
1116
- #: lib/view/WpProQuiz_View_QuestionEdit.php:340
1117
- #: lib/view/WpProQuiz_View_QuestionEdit.php:382
1118
- msgid "Delete answer"
1119
- msgstr "حذف الاجابة"
1120
-
1121
  #: lib/view/WpProQuiz_View_QuestionEdit.php:286
1122
  #: lib/view/WpProQuiz_View_QuestionEdit.php:341
1123
  #: lib/view/WpProQuiz_View_QuestionEdit.php:383
1124
- msgid "Add Media"
1125
- msgstr ""
1126
 
1127
  #: lib/view/WpProQuiz_View_QuestionEdit.php:287
1128
  #: lib/view/WpProQuiz_View_QuestionEdit.php:342
1129
  #: lib/view/WpProQuiz_View_QuestionEdit.php:384
 
 
 
 
 
 
1130
  #: lib/view/WpProQuiz_View_QuestionOverall.php:59
1131
  msgid "Move"
1132
  msgstr "تحريك"
1133
 
1134
- #: lib/view/WpProQuiz_View_QuestionEdit.php:303
1135
  msgid "Criterion"
1136
  msgstr "معيار"
1137
 
1138
- #: lib/view/WpProQuiz_View_QuestionEdit.php:395
1139
  msgid ""
1140
  "correct answers (one per line) (answers will be converted to lower case)"
1141
  msgstr "الإجابات الصحيحة (واحد في كل سطر) (يتم تحويل الإجابات إلى أحرف صغيرة)"
1142
 
1143
- #: lib/view/WpProQuiz_View_QuestionEdit.php:408
1144
  msgid ""
1145
  "Enclose the searched words with { } e.g. \"I {play} soccer\". Capital and "
1146
  "small letters will be ignored."
@@ -1148,7 +1177,7 @@ msgstr ""
1148
  "لاحتوائه مع قاموس رواجا مثل {} \"{} I كرة القدم ألعاب \". يتم تجاهل الحروف "
1149
  "الكبيرة والصغيرة."
1150
 
1151
- #: lib/view/WpProQuiz_View_QuestionEdit.php:411
1152
  msgid ""
1153
  "You can specify multiple options for a search word. Enclose the word with "
1154
  "[ ] e.g. <span style=\"font-style: normal; letter-spacing: 2px;\"> \"I "
@@ -1156,64 +1185,105 @@ msgid ""
1156
  "hate are correct."
1157
  msgstr ""
1158
 
1159
- #: lib/view/WpProQuiz_View_QuestionEdit.php:414
1160
  msgid ""
1161
  "If mode \"Different points for every answer\" is activated, you can assign "
1162
  "points with |POINTS. Otherwise 1 point will be awarded for every answer."
1163
  msgstr ""
1164
 
1165
- #: lib/view/WpProQuiz_View_QuestionEdit.php:417
1166
  msgid ""
1167
  "e.g. \"I {play} soccer, with a {ball|3}\" - \"play\" gives 1 point and \"ball"
1168
  "\" 3 points."
1169
  msgstr ""
1170
 
1171
- #: lib/view/WpProQuiz_View_QuestionEdit.php:429
1172
  msgid "Here you can create an assessment question."
1173
  msgstr ""
1174
 
1175
- #: lib/view/WpProQuiz_View_QuestionEdit.php:432
1176
  msgid ""
1177
  "Enclose a assesment with {}. The individual assessments are marked with []."
1178
  msgstr ""
1179
 
1180
- #: lib/view/WpProQuiz_View_QuestionEdit.php:434
1181
  msgid "The number of options in the maximum score."
1182
  msgstr ""
1183
 
1184
- #: lib/view/WpProQuiz_View_QuestionEdit.php:437
1185
  msgid "Examples:"
1186
  msgstr ""
1187
 
1188
- #: lib/view/WpProQuiz_View_QuestionEdit.php:439
1189
  msgid "less true { [1] [2] [3] [4] [5] } more true"
1190
  msgstr ""
1191
 
1192
- #: lib/view/WpProQuiz_View_QuestionEdit.php:442
1193
- #: lib/view/WpProQuiz_View_QuestionEdit.php:451
1194
  #: lib/view/WpProQuiz_View_QuizEdit.php:349
1195
  #: lib/view/WpProQuiz_View_QuizEdit.php:355
1196
- #: lib/view/WpProQuiz_View_QuizEdit.php:572
1197
- #: lib/view/WpProQuiz_View_QuizEdit.php:599
1198
- #: lib/view/WpProQuiz_View_QuizEdit.php:625
1199
- #: lib/view/WpProQuiz_View_QuizEdit.php:651
1200
- #: lib/view/WpProQuiz_View_QuizEdit.php:677
1201
- #: lib/view/WpProQuiz_View_QuizEdit.php:736
1202
- #: lib/view/WpProQuiz_View_QuizEdit.php:761
1203
- #: lib/view/WpProQuiz_View_QuizEdit.php:786
1204
- #: lib/view/WpProQuiz_View_QuizEdit.php:958
1205
- #: lib/view/WpProQuiz_View_QuizEdit.php:968
1206
- #: lib/view/WpProQuiz_View_QuizEdit.php:1021
1207
- #: lib/view/WpProQuiz_View_QuizEdit.php:1029
1208
- #: lib/view/WpProQuiz_View_QuizEdit.php:1037
1209
- #: lib/view/WpProQuiz_View_QuizEdit.php:1045
 
 
1210
  msgid "Demo"
1211
  msgstr ""
1212
 
1213
- #: lib/view/WpProQuiz_View_QuestionEdit.php:448
1214
  msgid "less true { [a] [b] [c] } more true"
1215
  msgstr ""
1216
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1217
  #: lib/view/WpProQuiz_View_QuestionOverall.php:17
1218
  msgid "Questions sorted"
1219
  msgstr "ترتيب الاسئلة"
@@ -1300,7 +1370,7 @@ msgstr "0 = بدون وقت محدد"
1300
 
1301
  #: lib/view/WpProQuiz_View_QuizEdit.php:137
1302
  #: lib/view/WpProQuiz_View_QuizEdit.php:142
1303
- #: lib/view/WpProQuiz_View_QuizOverall.php:91
1304
  msgid "Statistics"
1305
  msgstr "احصائيات"
1306
 
@@ -1347,17 +1417,17 @@ msgid "This option applies to:"
1347
  msgstr ""
1348
 
1349
  #: lib/view/WpProQuiz_View_QuizEdit.php:201
1350
- #: lib/view/WpProQuiz_View_QuizEdit.php:833
1351
  msgid "all users"
1352
  msgstr ""
1353
 
1354
  #: lib/view/WpProQuiz_View_QuizEdit.php:205
1355
- #: lib/view/WpProQuiz_View_QuizEdit.php:837
1356
  msgid "registered useres only"
1357
  msgstr ""
1358
 
1359
  #: lib/view/WpProQuiz_View_QuizEdit.php:209
1360
- #: lib/view/WpProQuiz_View_QuizEdit.php:841
1361
  msgid "anonymous users only"
1362
  msgstr ""
1363
 
@@ -1501,37 +1571,48 @@ msgid ""
1501
  "user. (only registered users)"
1502
  msgstr ""
1503
 
1504
- #: lib/view/WpProQuiz_View_QuizEdit.php:462
 
 
 
 
 
 
 
 
 
 
 
1505
  msgid "Quiz description"
1506
  msgstr "وصف الاختبار"
1507
 
1508
- #: lib/view/WpProQuiz_View_QuizEdit.php:465
1509
  msgid "This text will be displayed before start of the quiz."
1510
  msgstr "سيتم عرض هذا النص قبل بدء الاختبار."
1511
 
1512
- #: lib/view/WpProQuiz_View_QuizEdit.php:473
1513
  msgid "Results text"
1514
  msgstr "نص النتائج"
1515
 
1516
- #: lib/view/WpProQuiz_View_QuizEdit.php:476
1517
  msgid ""
1518
  "This text will be displayed at the end of the quiz (in results). (this text "
1519
  "is optional)"
1520
  msgstr "سيتم عرض هذا النص في نهاية الاختبار (في النتائج). (هذا النص اختياري)"
1521
 
1522
- #: lib/view/WpProQuiz_View_QuizEdit.php:480
1523
  msgid "Activate graduation"
1524
  msgstr "تفعيل التقييم"
1525
 
1526
- #: lib/view/WpProQuiz_View_QuizEdit.php:486
1527
  msgid "Hint:"
1528
  msgstr "تلميح:"
1529
 
1530
- #: lib/view/WpProQuiz_View_QuizEdit.php:488
1531
  msgid "Maximal 15 levels"
1532
  msgstr "اقصى حد 15 مستوى"
1533
 
1534
- #: lib/view/WpProQuiz_View_QuizEdit.php:490
1535
  #, php-format
1536
  msgid ""
1537
  "Percentages refer to the total score of the quiz. (Current total %d points "
@@ -1540,26 +1621,26 @@ msgstr ""
1540
  "النسبة المئوية تشير الي الدرجة الكلية للأختبار.( المجموع الحالي %d درجة في "
1541
  "%d سؤال"
1542
 
1543
- #: lib/view/WpProQuiz_View_QuizEdit.php:493
1544
  msgid "Values can also be mixed up"
1545
  msgstr "يمكن لخبطة القيم"
1546
 
1547
- #: lib/view/WpProQuiz_View_QuizEdit.php:494
1548
  msgid "10,15% or 10.15% allowed (max. two digits after the decimal point)"
1549
  msgstr "10.15% او 10.15% مسموح به (اقصى حد هو رقمين بعد النسبة المئوية)"
1550
 
1551
- #: lib/view/WpProQuiz_View_QuizEdit.php:510
1552
- #: lib/view/WpProQuiz_View_QuizEdit.php:521
1553
  msgid "from:"
1554
  msgstr "من:"
1555
 
1556
- #: lib/view/WpProQuiz_View_QuizEdit.php:510
1557
- #: lib/view/WpProQuiz_View_QuizEdit.php:521
1558
  msgid "percent"
1559
  msgstr "النسبة المئوية"
1560
 
1561
- #: lib/view/WpProQuiz_View_QuizEdit.php:510
1562
- #: lib/view/WpProQuiz_View_QuizEdit.php:521
1563
  #, php-format
1564
  msgid ""
1565
  "(Will be displayed, when result-percent is >= <span class=\"resultProzent\">"
@@ -1568,249 +1649,282 @@ msgstr ""
1568
  "(سوف يتم عرضه، عندما تكون نسبة النتيجة>= <span class=\"resultProzent\">%s</"
1569
  "span>%%)"
1570
 
1571
- #: lib/view/WpProQuiz_View_QuizEdit.php:511
1572
- #: lib/view/WpProQuiz_View_QuizEdit.php:522
1573
  msgid "Delete graduation"
1574
  msgstr "حذف التقييم"
1575
 
1576
- #: lib/view/WpProQuiz_View_QuizEdit.php:529
1577
  msgid "Add graduation"
1578
  msgstr "اضافة تقييم"
1579
 
1580
- #: lib/view/WpProQuiz_View_QuizEdit.php:551
1581
  msgid "Result-Options"
1582
  msgstr ""
1583
 
1584
- #: lib/view/WpProQuiz_View_QuizEdit.php:557
1585
- #: lib/view/WpProQuiz_View_QuizEdit.php:562
1586
  msgid "Show average points"
1587
  msgstr ""
1588
 
1589
- #: lib/view/WpProQuiz_View_QuizEdit.php:569
1590
  msgid "Statistics-function must be enabled."
1591
  msgstr ""
1592
 
1593
- #: lib/view/WpProQuiz_View_QuizEdit.php:582
1594
- #: lib/view/WpProQuiz_View_QuizEdit.php:587
1595
  msgid "Show category score"
1596
  msgstr ""
1597
 
1598
- #: lib/view/WpProQuiz_View_QuizEdit.php:594
1599
  msgid ""
1600
  "If you enable this option, the results of each category is displayed on the "
1601
  "results page."
1602
  msgstr ""
1603
 
1604
- #: lib/view/WpProQuiz_View_QuizEdit.php:608
1605
- #: lib/view/WpProQuiz_View_QuizEdit.php:613
1606
  msgid "Hide correct questions - display"
1607
  msgstr ""
1608
 
1609
- #: lib/view/WpProQuiz_View_QuizEdit.php:620
1610
  msgid ""
1611
  "If you select this option, no longer the number of correctly answered "
1612
  "questions are displayed on the results page."
1613
  msgstr ""
1614
 
1615
- #: lib/view/WpProQuiz_View_QuizEdit.php:634
1616
- #: lib/view/WpProQuiz_View_QuizEdit.php:639
1617
  msgid "Hide quiz time - display"
1618
  msgstr ""
1619
 
1620
- #: lib/view/WpProQuiz_View_QuizEdit.php:646
1621
  msgid ""
1622
  "If you enable this option, the time for finishing the quiz won't be "
1623
  "displayed on the results page anymore."
1624
  msgstr ""
1625
 
1626
- #: lib/view/WpProQuiz_View_QuizEdit.php:660
1627
- #: lib/view/WpProQuiz_View_QuizEdit.php:665
1628
  msgid "Hide score - display"
1629
  msgstr ""
1630
 
1631
- #: lib/view/WpProQuiz_View_QuizEdit.php:672
1632
  msgid ""
1633
  "If you enable this option, final score won't be displayed on the results "
1634
  "page anymore."
1635
  msgstr ""
1636
 
1637
- #: lib/view/WpProQuiz_View_QuizEdit.php:696
1638
  msgid "Question-Options"
1639
  msgstr ""
1640
 
1641
- #: lib/view/WpProQuiz_View_QuizEdit.php:702
1642
- #: lib/view/WpProQuiz_View_QuizEdit.php:707
1643
  msgid "Show points"
1644
  msgstr "اعرض الدرجات"
1645
 
1646
- #: lib/view/WpProQuiz_View_QuizEdit.php:714
1647
  msgid "Shows in quiz, how many points are reachable for respective question."
1648
  msgstr "يظهر في الاختبار، كم عدد نقاط يمكن الوصول للأسئلة المعنية."
1649
 
1650
- #: lib/view/WpProQuiz_View_QuizEdit.php:721
1651
- #: lib/view/WpProQuiz_View_QuizEdit.php:726
1652
  msgid "Number answers"
1653
  msgstr ""
1654
 
1655
- #: lib/view/WpProQuiz_View_QuizEdit.php:733
1656
  msgid ""
1657
  "If this option is activated, all answers are numbered (only single and "
1658
  "multiple choice)"
1659
  msgstr ""
1660
 
1661
- #: lib/view/WpProQuiz_View_QuizEdit.php:746
1662
- #: lib/view/WpProQuiz_View_QuizEdit.php:751
1663
  msgid "Hide correct- and incorrect message"
1664
  msgstr ""
1665
 
1666
- #: lib/view/WpProQuiz_View_QuizEdit.php:758
1667
  msgid ""
1668
  "If you enable this option, no correct- or incorrect message will be "
1669
  "displayed."
1670
  msgstr ""
1671
 
1672
- #: lib/view/WpProQuiz_View_QuizEdit.php:771
1673
- #: lib/view/WpProQuiz_View_QuizEdit.php:776
1674
  msgid "Correct and incorrect answer mark"
1675
  msgstr ""
1676
 
1677
- #: lib/view/WpProQuiz_View_QuizEdit.php:783
1678
  msgid ""
1679
  "If you enable this option, answers won't be color highlighted as correct or "
1680
  "incorrect. "
1681
  msgstr ""
1682
 
1683
- #: lib/view/WpProQuiz_View_QuizEdit.php:808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1684
  msgid ""
1685
  "The leaderboard allows users to enter results in public list and to share "
1686
  "the result this way."
1687
  msgstr ""
1688
 
1689
- #: lib/view/WpProQuiz_View_QuizEdit.php:811
1690
  msgid "The leaderboard works independent from internal statistics function."
1691
  msgstr ""
1692
 
1693
- #: lib/view/WpProQuiz_View_QuizEdit.php:828
1694
  msgid "Who can sign up to the list"
1695
  msgstr ""
1696
 
1697
- #: lib/view/WpProQuiz_View_QuizEdit.php:844
1698
  msgid ""
1699
  "Not registered users have to enter name and e-mail (e-mail won't be "
1700
  "displayed)"
1701
  msgstr ""
1702
 
1703
- #: lib/view/WpProQuiz_View_QuizEdit.php:850
1704
  msgid "insert automatically"
1705
  msgstr ""
1706
 
1707
- #: lib/view/WpProQuiz_View_QuizEdit.php:858
1708
  msgid ""
1709
  "If you enable this option, logged in users will be automatically entered "
1710
  "into leaderboard"
1711
  msgstr ""
1712
 
1713
- #: lib/view/WpProQuiz_View_QuizEdit.php:864
1714
  msgid "display captcha"
1715
  msgstr ""
1716
 
1717
- #: lib/view/WpProQuiz_View_QuizEdit.php:872
1718
  msgid ""
1719
  "If you enable this option, additional captcha will be displayed for users "
1720
  "who are not registered."
1721
  msgstr ""
1722
 
1723
- #: lib/view/WpProQuiz_View_QuizEdit.php:875
1724
  msgid "This option requires additional plugin:"
1725
  msgstr ""
1726
 
1727
- #: lib/view/WpProQuiz_View_QuizEdit.php:880
1728
  msgid "Plugin has been detected."
1729
  msgstr ""
1730
 
1731
- #: lib/view/WpProQuiz_View_QuizEdit.php:884
1732
  msgid "Plugin is not installed."
1733
  msgstr ""
1734
 
1735
- #: lib/view/WpProQuiz_View_QuizEdit.php:892
1736
  msgid "Sort list by"
1737
  msgstr ""
1738
 
1739
- #: lib/view/WpProQuiz_View_QuizEdit.php:911
1740
  msgid "Users can apply multiple times"
1741
  msgstr ""
1742
 
1743
- #: lib/view/WpProQuiz_View_QuizEdit.php:922
1744
  msgid "User can apply after:"
1745
  msgstr ""
1746
 
1747
- #: lib/view/WpProQuiz_View_QuizEdit.php:924
1748
  msgid "minute"
1749
  msgstr ""
1750
 
1751
- #: lib/view/WpProQuiz_View_QuizEdit.php:931
1752
  msgid "How many entries should be displayed"
1753
  msgstr ""
1754
 
1755
- #: lib/view/WpProQuiz_View_QuizEdit.php:937
1756
  msgid "Entries"
1757
  msgstr ""
1758
 
1759
- #: lib/view/WpProQuiz_View_QuizEdit.php:944
1760
  msgid "Automatically display leaderboard in quiz result"
1761
  msgstr ""
1762
 
1763
- #: lib/view/WpProQuiz_View_QuizEdit.php:948
1764
  msgid "Where should leaderboard be displayed:"
1765
  msgstr ""
1766
 
1767
- #: lib/view/WpProQuiz_View_QuizEdit.php:951
1768
  msgid "don't display"
1769
  msgstr ""
1770
 
1771
- #: lib/view/WpProQuiz_View_QuizEdit.php:955
1772
  msgid "below the \"result text\""
1773
  msgstr ""
1774
 
1775
- #: lib/view/WpProQuiz_View_QuizEdit.php:965
1776
  msgid "in a button"
1777
  msgstr ""
1778
 
1779
- #: lib/view/WpProQuiz_View_QuizEdit.php:986
1780
  msgid "Quiz-Mode"
1781
  msgstr ""
1782
 
1783
- #: lib/view/WpProQuiz_View_QuizEdit.php:991
1784
  msgid "Normal"
1785
  msgstr ""
1786
 
1787
- #: lib/view/WpProQuiz_View_QuizEdit.php:992
1788
  msgid "Normal + Back-Button"
1789
  msgstr ""
1790
 
1791
- #: lib/view/WpProQuiz_View_QuizEdit.php:993
1792
  msgid "Check -> continue"
1793
  msgstr "فحص->استكمال"
1794
 
1795
- #: lib/view/WpProQuiz_View_QuizEdit.php:994
1796
  msgid "Questions below each other"
1797
  msgstr ""
1798
 
1799
- #: lib/view/WpProQuiz_View_QuizEdit.php:1006
1800
  msgid ""
1801
  "Displays all questions sequentially, \"right\" or \"false\" will be "
1802
  "displayed at the end of the quiz."
1803
  msgstr ""
1804
 
1805
- #: lib/view/WpProQuiz_View_QuizEdit.php:1009
1806
  msgid "Allows to use the back button in a question."
1807
  msgstr ""
1808
 
1809
- #: lib/view/WpProQuiz_View_QuizEdit.php:1012
1810
  msgid "Shows \"right or wrong\" after each question."
1811
  msgstr ""
1812
 
1813
- #: lib/view/WpProQuiz_View_QuizEdit.php:1015
1814
  msgid ""
1815
  "If this option is activated, all answers are displayed below each other, i."
1816
  "e. all questions are on a single page."
@@ -1837,46 +1951,62 @@ msgstr ""
1837
  msgid "Support WP-Pro-Quiz"
1838
  msgstr ""
1839
 
1840
- #: lib/view/WpProQuiz_View_QuizOverall.php:56
1841
  msgid "ID"
1842
  msgstr "الرقم"
1843
 
1844
- #: lib/view/WpProQuiz_View_QuizOverall.php:58
1845
  msgid "Shortcode"
1846
  msgstr "الكود"
1847
 
1848
- #: lib/view/WpProQuiz_View_QuizOverall.php:59
1849
  msgid "Shortcode-Leaderboard"
1850
  msgstr ""
1851
 
1852
- #: lib/view/WpProQuiz_View_QuizOverall.php:87
1853
  msgid "Preview"
1854
  msgstr "استعراض"
1855
 
1856
- #: lib/view/WpProQuiz_View_QuizOverall.php:117
1857
  msgid "Add quiz"
1858
  msgstr "اضف اختبار"
1859
 
1860
- #: lib/view/WpProQuiz_View_QuizOverall.php:121
1861
- #: lib/view/WpProQuiz_View_QuizOverall.php:126
1862
  msgid "Export"
1863
  msgstr "تصدير"
1864
 
1865
- #: lib/view/WpProQuiz_View_QuizOverall.php:127
1866
  msgid ""
1867
  "Choose the respective question, which you would like to export and press on "
1868
  "\"Start export\""
1869
  msgstr "اختار سؤال، الذي تود أن تقوم بتصديره و اضغط على \"ابدأ التصدير\""
1870
 
1871
- #: lib/view/WpProQuiz_View_QuizOverall.php:131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1872
  msgid "Start export"
1873
  msgstr "ابدأ التصدير"
1874
 
1875
- #: lib/view/WpProQuiz_View_QuizOverall.php:137
1876
- msgid "Import only *.wpq files from known and trusted sources."
1877
- msgstr "استورد ملفات *.wpq فقط من مصدر معروف او موثوق به"
1878
 
1879
- #: lib/view/WpProQuiz_View_QuizOverall.php:145
1880
  #, php-format
1881
  msgid "Maximal %d MiB"
1882
  msgstr "الحد الاقصى من %d MIB"
@@ -2045,9 +2175,6 @@ msgstr ""
2045
  #~ msgid "correct?"
2046
  #~ msgstr "صحيح؟"
2047
 
2048
- #~ msgid "One question is one point"
2049
- #~ msgstr "سؤال واحد يعني درجة واحدة"
2050
-
2051
  #~ msgid "Right"
2052
  #~ msgstr "صحيح"
2053
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Wp-Pro-Quiz\n"
4
+ "POT-Creation-Date: 2013-07-21 18:54+0100\n"
5
+ "PO-Revision-Date: 2013-07-21 18:55+0100\n"
6
  "Last-Translator: Julius Fischer <julius.f@gmx.net>\n"
7
  "Language-Team: abuhassan <sajja2002@hotmail.com>\n"
8
  "Language: Arabic\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SearchPath-0: .\n"
61
  #: lib/controller/WpProQuiz_Controller_Admin.php:107
62
  #: lib/view/WpProQuiz_View_FrontToplist.php:26
63
  #: lib/view/WpProQuiz_View_QuestionOverall.php:71
64
+ #: lib/view/WpProQuiz_View_QuizOverall.php:121
65
  msgid "No data available"
66
  msgstr ""
67
 
87
  msgstr ""
88
 
89
  #: lib/controller/WpProQuiz_Controller_Front.php:44
90
+ #: lib/controller/WpProQuiz_Controller_Front.php:62
91
  #: lib/controller/WpProQuiz_Controller_Preview.php:15
92
  #: lib/view/WpProQuiz_View_AdminToplist.php:47
93
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:496
94
  #: lib/view/WpProQuiz_View_QuestionOverall.php:98
95
  #: lib/view/WpProQuiz_View_Statistics.php:40
96
  msgid "Loading"
97
  msgstr ""
98
 
99
+ #: lib/controller/WpProQuiz_Controller_Front.php:45
100
+ #: lib/controller/WpProQuiz_Controller_Front.php:63
101
+ #: lib/controller/WpProQuiz_Controller_Preview.php:16
102
+ msgid "You must answer this question."
103
+ msgstr ""
104
+
105
+ #: lib/controller/WpProQuiz_Controller_Front.php:46
106
+ #: lib/controller/WpProQuiz_Controller_Front.php:64
107
+ #: lib/controller/WpProQuiz_Controller_Preview.php:17
108
+ msgid "You must answer all questions before you can completed the quiz."
109
+ msgstr ""
110
+
111
  #: lib/controller/WpProQuiz_Controller_GlobalSettings.php:11
112
  #: lib/controller/WpProQuiz_Controller_ImportExport.php:23
113
+ #: lib/controller/WpProQuiz_Controller_ImportExport.php:47
114
  #: lib/controller/WpProQuiz_Controller_Question.php:51
115
  #: lib/controller/WpProQuiz_Controller_Question.php:128
116
  #: lib/controller/WpProQuiz_Controller_Question.php:143
117
+ #: lib/controller/WpProQuiz_Controller_Question.php:208
118
+ #: lib/controller/WpProQuiz_Controller_Question.php:389
119
  #: lib/controller/WpProQuiz_Controller_Quiz.php:175
120
  #: lib/controller/WpProQuiz_Controller_Quiz.php:189
121
  #: lib/controller/WpProQuiz_Controller_Quiz.php:249
129
  msgid "Settings saved"
130
  msgstr ""
131
 
132
+ #: lib/controller/WpProQuiz_Controller_ImportExport.php:91
133
  #: lib/helper/WpProQuiz_Helper_Import.php:59
134
  #: lib/helper/WpProQuiz_Helper_Import.php:68
135
  #: lib/helper/WpProQuiz_Helper_Import.php:75
155
  msgstr "لم يتم العثور على السؤال"
156
 
157
  #: lib/controller/WpProQuiz_Controller_Question.php:173
158
+ #: lib/controller/WpProQuiz_Controller_Question.php:237
159
  #, php-format
160
  msgid "Question: %d"
161
  msgstr "السؤال: %d"
162
 
163
+ #: lib/controller/WpProQuiz_Controller_Question.php:191
164
  msgid "Question edited"
165
  msgstr "تم تحرير السؤال"
166
 
167
+ #: lib/controller/WpProQuiz_Controller_Question.php:212
168
  msgid "New question"
169
  msgstr "سؤال جديد"
170
 
171
+ #: lib/controller/WpProQuiz_Controller_Question.php:256
172
  msgid "Question added"
173
  msgstr "تم اضافة سؤال"
174
 
195
  msgid "Quiz deleted"
196
  msgstr "تم حذف الاختبار"
197
 
198
+ #: lib/controller/WpProQuiz_Controller_Quiz.php:540
199
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:133
200
+ msgid "Not categorized"
201
+ msgstr ""
202
+
203
+ #: lib/controller/WpProQuiz_Controller_Quiz.php:546
204
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:128
205
+ msgid "Categories"
206
+ msgstr ""
207
+
208
  #: lib/controller/WpProQuiz_Controller_Statistics.php:44
209
  #: lib/view/WpProQuiz_View_QuestionEdit.php:77
210
  msgid "No category"
241
  msgstr ""
242
 
243
  #: lib/helper/WpProQuiz_Helper_Import.php:9
244
+ #: lib/helper/WpProQuiz_Helper_ImportXml.php:8
245
  msgid "File was not uploaded"
246
  msgstr "لم يتم رفع الملف"
247
 
253
  msgid "File is not compatible with the current version"
254
  msgstr ""
255
 
256
+ #: lib/helper/WpProQuiz_Helper_ImportXml.php:27
257
+ #: lib/helper/WpProQuiz_Helper_ImportXml.php:40
258
+ msgid "XML could not be loaded."
259
+ msgstr ""
260
+
261
  #: lib/model/WpProQuiz_Model_GlobalSettingsMapper.php:47
262
  #: lib/model/WpProQuiz_Model_GlobalSettingsMapper.php:79
263
  msgid "Wp-Pro-Quiz: One user completed a quiz"
299
  msgstr ""
300
 
301
  #: lib/plugin/WpProQuiz_Plugin_BpAchievementsV3.php:21
302
+ #: lib/view/WpProQuiz_View_QuizOverall.php:54
303
  msgid "WP-Pro-Quiz"
304
  msgstr ""
305
 
306
  #: lib/view/WpProQuiz_View_AdminToplist.php:7
307
  #: lib/view/WpProQuiz_View_FrontToplist.php:8
308
+ #: lib/view/WpProQuiz_View_QuizEdit.php:894
309
+ #: lib/view/WpProQuiz_View_QuizEdit.php:906
310
+ #: lib/view/WpProQuiz_View_QuizOverall.php:106
311
  msgid "Leaderboard"
312
  msgstr ""
313
 
332
  msgstr ""
333
 
334
  #: lib/view/WpProQuiz_View_AdminToplist.php:18
335
+ #: lib/view/WpProQuiz_View_QuizEdit.php:986
336
  msgid "best user"
337
  msgstr ""
338
 
339
  #: lib/view/WpProQuiz_View_AdminToplist.php:19
340
+ #: lib/view/WpProQuiz_View_QuizEdit.php:990
341
  msgid "newest entry"
342
  msgstr ""
343
 
344
  #: lib/view/WpProQuiz_View_AdminToplist.php:20
345
+ #: lib/view/WpProQuiz_View_QuizEdit.php:994
346
  msgid "oldest entry"
347
  msgstr ""
348
 
366
  msgstr ""
367
 
368
  #: lib/view/WpProQuiz_View_AdminToplist.php:56
369
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:504
370
  msgid "E-Mail"
371
  msgstr ""
372
 
376
  msgstr ""
377
 
378
  #: lib/view/WpProQuiz_View_AdminToplist.php:59
379
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:372
380
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:390
381
  #: lib/view/WpProQuiz_View_FrontToplist.php:17
382
  #: lib/view/WpProQuiz_View_QuestionEdit.php:35
383
  #: lib/view/WpProQuiz_View_QuestionEdit.php:42
384
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:275
385
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:313
386
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:372
387
  #: lib/view/WpProQuiz_View_QuestionOverall.php:30
388
  #: lib/view/WpProQuiz_View_Statistics.php:96
389
  #: lib/view/WpProQuiz_View_Statistics.php:231
400
  #: lib/view/WpProQuiz_View_AdminToplist.php:72
401
  #: lib/view/WpProQuiz_View_GobalSettings.php:140
402
  #: lib/view/WpProQuiz_View_QuestionOverall.php:51
403
+ #: lib/view/WpProQuiz_View_QuizOverall.php:90
404
  msgid "Edit"
405
  msgstr "تحرير"
406
 
408
  #: lib/view/WpProQuiz_View_AdminToplist.php:100
409
  #: lib/view/WpProQuiz_View_GobalSettings.php:139
410
  #: lib/view/WpProQuiz_View_QuestionOverall.php:55
411
+ #: lib/view/WpProQuiz_View_QuizOverall.php:94
412
  msgid "Delete"
413
  msgstr "حذف"
414
 
440
 
441
  #: lib/view/WpProQuiz_View_FrontQuiz.php:52
442
  #: lib/view/WpProQuiz_View_FrontQuiz.php:207
443
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:444
444
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:483
445
  #: lib/view/WpProQuiz_View_QuizEdit.php:355
446
  #: lib/view/WpProQuiz_View_QuizEdit.php:365
447
  #: lib/view/WpProQuiz_View_QuizEdit.php:370
 
448
  msgid "Quiz-summary"
449
  msgstr ""
450
 
455
 
456
  #: lib/view/WpProQuiz_View_FrontQuiz.php:56
457
  #: lib/view/WpProQuiz_View_Import.php:44
458
+ #: lib/view/WpProQuiz_View_QuizOverall.php:85
459
  msgid "Questions"
460
  msgstr "اسئلة"
461
 
462
  #: lib/view/WpProQuiz_View_FrontQuiz.php:65
463
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:446
464
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:483
465
  msgid "Finish quiz"
466
  msgstr ""
467
 
504
  msgid "Your score"
505
  msgstr ""
506
 
 
 
 
 
 
 
 
 
507
  #: lib/view/WpProQuiz_View_FrontQuiz.php:166
508
  msgid "Restart quiz"
509
  msgstr "اعادة الاختبار"
528
  msgid "Review question"
529
  msgstr ""
530
 
531
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:250
532
  #, php-format
533
  msgid "Question %s of %s"
534
  msgstr "اسئلة %s من %s "
535
 
536
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:253
537
  #: lib/view/WpProQuiz_View_QuestionEdit.php:96
538
  #: lib/view/WpProQuiz_View_Statistics.php:95
539
  msgid "Question"
540
  msgstr "اسئلة"
541
 
542
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:257
543
  #, php-format
544
  msgid "%d points"
545
  msgstr "%d درجات"
546
 
547
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:267
548
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:305
549
  msgid "Sort elements"
550
  msgstr "ترتيب العناصر"
551
 
552
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:370
553
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:377
554
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:263
555
  #: lib/view/WpProQuiz_View_Statistics.php:97
556
  #: lib/view/WpProQuiz_View_Statistics.php:232
557
  msgid "Correct"
558
  msgstr "صحيح"
559
 
560
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:388
561
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:395
562
  #: lib/view/WpProQuiz_View_Statistics.php:98
563
  #: lib/view/WpProQuiz_View_Statistics.php:233
564
  msgid "Incorrect"
565
  msgstr "خطأ"
566
 
 
567
  #: lib/view/WpProQuiz_View_FrontQuiz.php:416
568
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:427
569
  #: lib/view/WpProQuiz_View_QuestionEdit.php:140
570
  msgid "Hint"
571
  msgstr "تلميح"
572
 
573
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:423
574
  #: lib/view/WpProQuiz_View_QuizEdit.php:384
575
  #: lib/view/WpProQuiz_View_QuizEdit.php:389
576
  msgid "Skip question"
577
  msgstr ""
578
 
579
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:425
580
  msgid "Back"
581
  msgstr "العودة"
582
 
583
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:429
584
  msgid "Check"
585
  msgstr "التحقق"
586
 
587
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:430
588
  msgid "Next"
589
  msgstr ""
590
 
591
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:494
592
  msgid "Your result has been entered into leaderboard"
593
  msgstr ""
594
 
595
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:501
596
  #: lib/view/WpProQuiz_View_FrontToplist.php:15
597
  #: lib/view/WpProQuiz_View_QuestionOverall.php:28
598
+ #: lib/view/WpProQuiz_View_QuizOverall.php:68
599
  msgid "Name"
600
  msgstr "الاسم"
601
 
602
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:509
603
  msgid "Captcha"
604
  msgstr ""
605
 
606
+ #: lib/view/WpProQuiz_View_FrontQuiz.php:515
607
  msgid "Send"
608
  msgstr ""
609
 
636
  msgstr ""
637
 
638
  #: lib/view/WpProQuiz_View_GobalSettings.php:14
639
+ #: lib/view/WpProQuiz_View_GobalSettings.php:321
640
  msgid "Settings in case of problems"
641
  msgstr ""
642
 
643
  #: lib/view/WpProQuiz_View_GobalSettings.php:30
644
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:237
645
+ #: lib/view/WpProQuiz_View_QuizEdit.php:560
646
  #: lib/view/WpProQuiz_View_WpqSupport.php:45
647
  msgid "Save"
648
  msgstr "حفظ"
680
  msgstr ""
681
 
682
  #: lib/view/WpProQuiz_View_GobalSettings.php:155
683
+ #: lib/view/WpProQuiz_View_GobalSettings.php:435
684
  msgid "Admin e-mail settings"
685
  msgstr ""
686
 
695
  msgstr ""
696
 
697
  #: lib/view/WpProQuiz_View_GobalSettings.php:174
698
+ #: lib/view/WpProQuiz_View_GobalSettings.php:246
699
  msgid "From:"
700
  msgstr ""
701
 
702
  #: lib/view/WpProQuiz_View_GobalSettings.php:187
703
+ #: lib/view/WpProQuiz_View_GobalSettings.php:256
704
  msgid "Subject:"
705
  msgstr ""
706
 
707
  #: lib/view/WpProQuiz_View_GobalSettings.php:197
708
+ #: lib/view/WpProQuiz_View_GobalSettings.php:266
709
  msgid "HTML"
710
  msgstr ""
711
 
712
  #: lib/view/WpProQuiz_View_GobalSettings.php:201
713
+ #: lib/view/WpProQuiz_View_GobalSettings.php:270
714
+ #: lib/view/WpProQuiz_View_GobalSettings.php:336
715
+ #: lib/view/WpProQuiz_View_GobalSettings.php:358
716
+ #: lib/view/WpProQuiz_View_GobalSettings.php:410
717
  #: lib/view/WpProQuiz_View_QuizEdit.php:39
718
  #: lib/view/WpProQuiz_View_QuizEdit.php:58
719
  #: lib/view/WpProQuiz_View_QuizEdit.php:77
725
  #: lib/view/WpProQuiz_View_QuizEdit.php:279
726
  #: lib/view/WpProQuiz_View_QuizEdit.php:340
727
  #: lib/view/WpProQuiz_View_QuizEdit.php:442
728
+ #: lib/view/WpProQuiz_View_QuizEdit.php:464
729
+ #: lib/view/WpProQuiz_View_QuizEdit.php:585
730
+ #: lib/view/WpProQuiz_View_QuizEdit.php:610
731
+ #: lib/view/WpProQuiz_View_QuizEdit.php:636
732
+ #: lib/view/WpProQuiz_View_QuizEdit.php:662
733
+ #: lib/view/WpProQuiz_View_QuizEdit.php:688
734
  #: lib/view/WpProQuiz_View_QuizEdit.php:730
735
+ #: lib/view/WpProQuiz_View_QuizEdit.php:749
736
+ #: lib/view/WpProQuiz_View_QuizEdit.php:774
737
+ #: lib/view/WpProQuiz_View_QuizEdit.php:824
738
+ #: lib/view/WpProQuiz_View_QuizEdit.php:844
739
  #: lib/view/WpProQuiz_View_QuizEdit.php:869
740
+ #: lib/view/WpProQuiz_View_QuizEdit.php:911
741
+ #: lib/view/WpProQuiz_View_QuizEdit.php:944
742
+ #: lib/view/WpProQuiz_View_QuizEdit.php:958
743
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1006
744
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1088
745
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1089
746
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1090
747
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1091
748
  msgid "Activate"
749
  msgstr ""
750
 
751
  #: lib/view/WpProQuiz_View_GobalSettings.php:207
752
+ #: lib/view/WpProQuiz_View_GobalSettings.php:276
753
  msgid "Message body:"
754
  msgstr ""
755
 
756
  #: lib/view/WpProQuiz_View_GobalSettings.php:215
757
+ #: lib/view/WpProQuiz_View_GobalSettings.php:284
758
  msgid "Allowed variables"
759
  msgstr ""
760
 
761
  #: lib/view/WpProQuiz_View_GobalSettings.php:217
762
+ #: lib/view/WpProQuiz_View_GobalSettings.php:286
763
  msgid "User-ID"
764
  msgstr ""
765
 
766
  #: lib/view/WpProQuiz_View_GobalSettings.php:218
767
+ #: lib/view/WpProQuiz_View_GobalSettings.php:287
768
  msgid "Username"
769
  msgstr ""
770
 
771
  #: lib/view/WpProQuiz_View_GobalSettings.php:219
772
+ #: lib/view/WpProQuiz_View_GobalSettings.php:288
773
  msgid "Quiz-Name"
774
  msgstr ""
775
 
776
  #: lib/view/WpProQuiz_View_GobalSettings.php:220
777
+ #: lib/view/WpProQuiz_View_GobalSettings.php:289
778
  msgid "Result in precent"
779
  msgstr ""
780
 
781
  #: lib/view/WpProQuiz_View_GobalSettings.php:221
782
+ #: lib/view/WpProQuiz_View_GobalSettings.php:290
783
  msgid "Reached points"
784
  msgstr ""
785
 
786
  #: lib/view/WpProQuiz_View_GobalSettings.php:222
787
+ #: lib/view/WpProQuiz_View_GobalSettings.php:291
788
  msgid "IP-address of the user"
789
  msgstr ""
790
 
791
+ #: lib/view/WpProQuiz_View_GobalSettings.php:223
792
+ #: lib/view/WpProQuiz_View_GobalSettings.php:292
793
+ msgid "Category-Overview"
794
+ msgstr ""
795
+
796
+ #: lib/view/WpProQuiz_View_GobalSettings.php:240
797
+ #: lib/view/WpProQuiz_View_GobalSettings.php:436
798
  msgid "User e-mail settings"
799
  msgstr ""
800
 
801
+ #: lib/view/WpProQuiz_View_GobalSettings.php:307
802
  msgid "to activate"
803
  msgstr ""
804
 
805
+ #: lib/view/WpProQuiz_View_GobalSettings.php:309
806
  msgid "not to activate"
807
  msgstr ""
808
 
809
+ #: lib/view/WpProQuiz_View_GobalSettings.php:315
810
  #: lib/view/WpProQuiz_View_WpqSupport.php:50
811
  msgid "Please note"
812
  msgstr ""
813
 
814
+ #: lib/view/WpProQuiz_View_GobalSettings.php:317
815
  msgid ""
816
  "These settings should only be set in cases of problems with Wp-Pro-Quiz."
817
  msgstr ""
818
 
819
+ #: lib/view/WpProQuiz_View_GobalSettings.php:327
820
+ #: lib/view/WpProQuiz_View_GobalSettings.php:332
821
  msgid "Automatically add [raw] shortcode"
822
  msgstr ""
823
 
824
+ #: lib/view/WpProQuiz_View_GobalSettings.php:336
825
  #, php-format
826
  msgid "It is recommended %s this option on your system."
827
  msgstr ""
828
 
829
+ #: lib/view/WpProQuiz_View_GobalSettings.php:339
830
  msgid ""
831
  "If this option is activated, a [raw] shortcode is automatically set around "
832
  "WpProQuiz shortcode ( [WpProQuiz X] ) into [raw] [WpProQuiz X] [/raw]"
833
  msgstr ""
834
 
835
+ #: lib/view/WpProQuiz_View_GobalSettings.php:342
836
  #: lib/view/WpProQuiz_View_QuizOverall.php:42
837
  msgid ""
838
  "Own themes changes internal order of filters, what causes the problems. "
841
  "الثيمات الخاصة تغير النظام الداخلي للمرشحات، مما يسبب المشاكل. مع الرمز "
842
  "القصير إضافية [الخام] يتم منع هذا. MIB"
843
 
844
+ #: lib/view/WpProQuiz_View_GobalSettings.php:349
845
+ #: lib/view/WpProQuiz_View_GobalSettings.php:354
846
  msgid "Do not load the Javascript-files in the footer"
847
  msgstr ""
848
 
849
+ #: lib/view/WpProQuiz_View_GobalSettings.php:361
850
  msgid ""
851
  "Generally all WpProQuiz-Javascript files are loaded in the footer and only "
852
  "when they are really needed."
853
  msgstr ""
854
 
855
+ #: lib/view/WpProQuiz_View_GobalSettings.php:364
856
  msgid "In very old Wordpress themes this can lead to problems."
857
  msgstr ""
858
 
859
+ #: lib/view/WpProQuiz_View_GobalSettings.php:367
860
  msgid ""
861
  "If you activate this option, all WpProQuiz-Javascript files are loaded in "
862
  "the header even if they are not needed."
863
  msgstr ""
864
 
865
+ #: lib/view/WpProQuiz_View_GobalSettings.php:370
866
  #, php-format
867
  msgid ""
868
  "Anyone who wants to learn more about this topic should read through the "
869
  "following websites %s and %s."
870
  msgstr ""
871
 
872
+ #: lib/view/WpProQuiz_View_GobalSettings.php:379
873
+ #: lib/view/WpProQuiz_View_GobalSettings.php:384
874
  msgid "Touch Library"
875
  msgstr ""
876
 
877
+ #: lib/view/WpProQuiz_View_GobalSettings.php:388
878
  #: lib/view/WpProQuiz_View_QuizEdit.php:374
879
  #: lib/view/WpProQuiz_View_QuizEdit.php:393
880
  #: lib/view/WpProQuiz_View_QuizEdit.php:412
881
+ #: lib/view/WpProQuiz_View_QuizEdit.php:799
882
  msgid "Deactivate"
883
  msgstr ""
884
 
885
+ #: lib/view/WpProQuiz_View_GobalSettings.php:391
886
  msgid "In Version 0.13 a new Touch Library was added for mobile devices."
887
  msgstr ""
888
 
889
+ #: lib/view/WpProQuiz_View_GobalSettings.php:394
890
  msgid "If you have any problems with the Touch Library, please deactivate it."
891
  msgstr ""
892
 
893
+ #: lib/view/WpProQuiz_View_GobalSettings.php:401
894
+ #: lib/view/WpProQuiz_View_GobalSettings.php:406
895
  msgid "jQuery support cors"
896
  msgstr ""
897
 
898
+ #: lib/view/WpProQuiz_View_GobalSettings.php:413
899
  msgid "Is required only in rare cases."
900
  msgstr ""
901
 
902
+ #: lib/view/WpProQuiz_View_GobalSettings.php:416
903
  msgid "If you have problems with the front ajax, please activate it."
904
  msgstr ""
905
 
906
+ #: lib/view/WpProQuiz_View_GobalSettings.php:419
907
  msgid "e.g. Domain with special characters in combination with IE"
908
  msgstr ""
909
 
910
  #: lib/view/WpProQuiz_View_Import.php:21
911
+ #: lib/view/WpProQuiz_View_QuizOverall.php:130
912
+ #: lib/view/WpProQuiz_View_QuizOverall.php:153
913
  msgid "Import"
914
  msgstr "استيراد"
915
 
929
  msgid "Quiz name"
930
  msgstr "اسم الاختبار"
931
 
932
+ #: lib/view/WpProQuiz_View_Import.php:69
933
+ #: lib/view/WpProQuiz_View_QuizOverall.php:164
934
  msgid "Start import"
935
  msgstr "ابدأ الاستيراد"
936
 
943
  #: lib/view/WpProQuiz_View_QuestionEdit.php:111
944
  #: lib/view/WpProQuiz_View_QuestionEdit.php:128
945
  #: lib/view/WpProQuiz_View_QuestionEdit.php:140
946
+ #: lib/view/WpProQuiz_View_QuizEdit.php:492
947
+ #: lib/view/WpProQuiz_View_QuizEdit.php:894
948
  msgid "(optional)"
949
  msgstr "(اختيار)"
950
 
958
 
959
  #: lib/view/WpProQuiz_View_QuestionEdit.php:35
960
  #: lib/view/WpProQuiz_View_QuestionEdit.php:96
961
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:197
962
  #: lib/view/WpProQuiz_View_QuizEdit.php:18
963
+ #: lib/view/WpProQuiz_View_QuizEdit.php:481
964
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1075
965
  msgid "(required)"
966
  msgstr "(مطلوب)"
967
 
1090
  msgid "Assessment"
1091
  msgstr ""
1092
 
1093
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:197
1094
  msgid "Answers"
1095
  msgstr "اجابات"
1096
 
1097
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:204
1098
  msgid ""
1099
  "Please sort the answers in right order with the \"Move\" - Button. The "
1100
  "answers will be displayed randomly."
1102
  "يرجى فرز الإجابات في بالترتيب الصحيح بزر \"نقل\" - . سوف يتم عرض الإجابات "
1103
  "بشكل عشوائي."
1104
 
1105
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:209
1106
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:215
1107
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:227
1108
  msgid "Add new answer"
1109
  msgstr "اضف اجابة جديدة"
1110
 
1111
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:219
1112
  msgid ""
1113
  "In this mode, not a list have to be sorted, but elements must be assigned to "
1114
  "matching criterion."
1116
  "في هذا الوضع، لا يوجد قائمة لا بد من فرزها، ولكن يجب تعيين عناصر مطابقة "
1117
  "لمعيار."
1118
 
1119
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:222
1120
  msgid ""
1121
  "You can create sort elements with empty criteria, which can't be assigned by "
1122
  "user."
1123
  msgstr ""
1124
 
1125
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:253
1126
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:303
1127
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:356
1128
  #: lib/view/WpProQuiz_View_QuizEdit.php:24
1129
  msgid "Options"
1130
  msgstr "خيارات"
1131
 
1132
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:254
1133
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:357
1134
  msgid "Answer"
1135
  msgstr ""
1136
 
1137
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:269
1138
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:328
1139
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:334
1140
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:366
1141
  msgid "Allow HTML"
1142
  msgstr "السماح بــ HTML"
1143
 
 
 
 
 
 
 
1144
  #: lib/view/WpProQuiz_View_QuestionEdit.php:286
1145
  #: lib/view/WpProQuiz_View_QuestionEdit.php:341
1146
  #: lib/view/WpProQuiz_View_QuestionEdit.php:383
1147
+ msgid "Delete answer"
1148
+ msgstr "حذف الاجابة"
1149
 
1150
  #: lib/view/WpProQuiz_View_QuestionEdit.php:287
1151
  #: lib/view/WpProQuiz_View_QuestionEdit.php:342
1152
  #: lib/view/WpProQuiz_View_QuestionEdit.php:384
1153
+ msgid "Add Media"
1154
+ msgstr ""
1155
+
1156
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:288
1157
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:343
1158
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:385
1159
  #: lib/view/WpProQuiz_View_QuestionOverall.php:59
1160
  msgid "Move"
1161
  msgstr "تحريك"
1162
 
1163
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:304
1164
  msgid "Criterion"
1165
  msgstr "معيار"
1166
 
1167
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:396
1168
  msgid ""
1169
  "correct answers (one per line) (answers will be converted to lower case)"
1170
  msgstr "الإجابات الصحيحة (واحد في كل سطر) (يتم تحويل الإجابات إلى أحرف صغيرة)"
1171
 
1172
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:409
1173
  msgid ""
1174
  "Enclose the searched words with { } e.g. \"I {play} soccer\". Capital and "
1175
  "small letters will be ignored."
1177
  "لاحتوائه مع قاموس رواجا مثل {} \"{} I كرة القدم ألعاب \". يتم تجاهل الحروف "
1178
  "الكبيرة والصغيرة."
1179
 
1180
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:412
1181
  msgid ""
1182
  "You can specify multiple options for a search word. Enclose the word with "
1183
  "[ ] e.g. <span style=\"font-style: normal; letter-spacing: 2px;\"> \"I "
1185
  "hate are correct."
1186
  msgstr ""
1187
 
1188
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:415
1189
  msgid ""
1190
  "If mode \"Different points for every answer\" is activated, you can assign "
1191
  "points with |POINTS. Otherwise 1 point will be awarded for every answer."
1192
  msgstr ""
1193
 
1194
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:418
1195
  msgid ""
1196
  "e.g. \"I {play} soccer, with a {ball|3}\" - \"play\" gives 1 point and \"ball"
1197
  "\" 3 points."
1198
  msgstr ""
1199
 
1200
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:430
1201
  msgid "Here you can create an assessment question."
1202
  msgstr ""
1203
 
1204
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:433
1205
  msgid ""
1206
  "Enclose a assesment with {}. The individual assessments are marked with []."
1207
  msgstr ""
1208
 
1209
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:435
1210
  msgid "The number of options in the maximum score."
1211
  msgstr ""
1212
 
1213
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:438
1214
  msgid "Examples:"
1215
  msgstr ""
1216
 
1217
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:440
1218
  msgid "less true { [1] [2] [3] [4] [5] } more true"
1219
  msgstr ""
1220
 
1221
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:443
1222
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:452
1223
  #: lib/view/WpProQuiz_View_QuizEdit.php:349
1224
  #: lib/view/WpProQuiz_View_QuizEdit.php:355
1225
+ #: lib/view/WpProQuiz_View_QuizEdit.php:591
1226
+ #: lib/view/WpProQuiz_View_QuizEdit.php:618
1227
+ #: lib/view/WpProQuiz_View_QuizEdit.php:644
1228
+ #: lib/view/WpProQuiz_View_QuizEdit.php:670
1229
+ #: lib/view/WpProQuiz_View_QuizEdit.php:696
1230
+ #: lib/view/WpProQuiz_View_QuizEdit.php:755
1231
+ #: lib/view/WpProQuiz_View_QuizEdit.php:780
1232
+ #: lib/view/WpProQuiz_View_QuizEdit.php:805
1233
+ #: lib/view/WpProQuiz_View_QuizEdit.php:850
1234
+ #: lib/view/WpProQuiz_View_QuizEdit.php:875
1235
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1047
1236
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1057
1237
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1110
1238
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1118
1239
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1126
1240
+ #: lib/view/WpProQuiz_View_QuizEdit.php:1134
1241
  msgid "Demo"
1242
  msgstr ""
1243
 
1244
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:449
1245
  msgid "less true { [a] [b] [c] } more true"
1246
  msgstr ""
1247
 
1248
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:468
1249
+ msgid "Single choice options"
1250
+ msgstr ""
1251
+
1252
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:471
1253
+ msgid ""
1254
+ "If \"Different points for each answer\" is activated, you can activate a "
1255
+ "special mode.<br> This changes the calculation of the points"
1256
+ msgstr ""
1257
+
1258
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:475
1259
+ msgid "Different points - modus 2 activate"
1260
+ msgstr ""
1261
+
1262
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:479
1263
+ msgid "Disables the distinction between correct and incorrect."
1264
+ msgstr ""
1265
+
1266
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:483
1267
+ msgid "disable correct and incorrent"
1268
+ msgstr ""
1269
+
1270
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:487
1271
+ msgid "Explanation of points calculation"
1272
+ msgstr ""
1273
+
1274
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:507
1275
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:512
1276
+ msgid "\"Different points for each answer\" enabled"
1277
+ msgstr ""
1278
+
1279
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:509
1280
+ msgid "\"Different points - mode 2\" disable"
1281
+ msgstr ""
1282
+
1283
+ #: lib/view/WpProQuiz_View_QuestionEdit.php:514
1284
+ msgid "\"Different points - mode 2\" enabled"
1285
+ msgstr ""
1286
+
1287
  #: lib/view/WpProQuiz_View_QuestionOverall.php:17
1288
  msgid "Questions sorted"
1289
  msgstr "ترتيب الاسئلة"
1370
 
1371
  #: lib/view/WpProQuiz_View_QuizEdit.php:137
1372
  #: lib/view/WpProQuiz_View_QuizEdit.php:142
1373
+ #: lib/view/WpProQuiz_View_QuizOverall.php:102
1374
  msgid "Statistics"
1375
  msgstr "احصائيات"
1376
 
1417
  msgstr ""
1418
 
1419
  #: lib/view/WpProQuiz_View_QuizEdit.php:201
1420
+ #: lib/view/WpProQuiz_View_QuizEdit.php:922
1421
  msgid "all users"
1422
  msgstr ""
1423
 
1424
  #: lib/view/WpProQuiz_View_QuizEdit.php:205
1425
+ #: lib/view/WpProQuiz_View_QuizEdit.php:926