diff --git a/language/.en.json b/language/.en.json index ff2af3a1..29408c04 100644 --- a/language/.en.json +++ b/language/.en.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Behaviour settings.", "description": "These options will let you override behaviour settings.", diff --git a/language/af.json b/language/af.json index 45da6443..ea88cd8f 100644 --- a/language/af.json +++ b/language/af.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Gedragsinstellings.", "description": "Hierdie opsies sal jou in staat stel om gedragsinstellings te oorskry.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/ar.json b/language/ar.json index 0a23e194..ccbbe6ec 100644 --- a/language/ar.json +++ b/language/ar.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "إعدادات السلوك.", "description": "تتيح لك هذه الخيارات تجاوز إعدادات السلوك.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/bg.json b/language/bg.json index 46e5835d..a05b5b42 100644 --- a/language/bg.json +++ b/language/bg.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Настройки за поведението.", "description": "Тези опции ще ви позволят да промените настройките за поведение.", diff --git a/language/bs.json b/language/bs.json index d6216b15..f7719a6a 100644 --- a/language/bs.json +++ b/language/bs.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Podešavanje ponašanja.", "description": "Ova opcija će vam omogućiti da preskočite podešavanja ponašanja.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/ca.json b/language/ca.json index b3241207..7fb9643d 100644 --- a/language/ca.json +++ b/language/ca.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Configuració de la retroacció.", "description": "Aquestes opcions us permeten modificar el comportament dels suggeriments.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/cs.json b/language/cs.json index 95332544..5467311c 100644 --- a/language/cs.json +++ b/language/cs.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Nastavení chování.", "description": "Tyto možnosti vám umožní přepsat nastavení chování.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/da.json b/language/da.json index e5943380..1aeebd9a 100644 --- a/language/da.json +++ b/language/da.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Indstillinger for handling.", "description": "Disse muligheder vil overskrive indstillinger for handling.", diff --git a/language/de.json b/language/de.json index 68c1509e..2dd823d4 100644 --- a/language/de.json +++ b/language/de.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Verhaltenseinstellungen", "description": "Diese Optionen legen fest, wie die die Präsentation im Detail funktioniert.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/el.json b/language/el.json index 939254c4..23ba1ce1 100644 --- a/language/el.json +++ b/language/el.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Ρυθμίσεις", "description": "Αυτές οι ρυθμίσεις σας επιτρέπουν να αντικαταστήσετε τις προκαθορισμένες ρυθμίσεις λειτουργίας.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/es-mx.json b/language/es-mx.json index 200035b8..99c9741f 100644 --- a/language/es-mx.json +++ b/language/es-mx.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Opciones del comportamiento.", "description": "Estas opciones le permitirán anular los ajustes de comportamiento.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/es.json b/language/es.json index 194589db..4d51de51 100644 --- a/language/es.json +++ b/language/es.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Configuración del comportamiento.", "description": "Estas opciones te permitirán anular los ajustes de comportamiento.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/et.json b/language/et.json index c4948fef..02f4238c 100644 --- a/language/et.json +++ b/language/et.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Käitumisseadistused.", "description": "Nende valikutega saad muuta vaikekäitumist.", diff --git a/language/eu.json b/language/eu.json index 630bbcb3..96fc5747 100644 --- a/language/eu.json +++ b/language/eu.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Portaeraren ezarpenak.", "description": "Aukera hauen bidez zuzendu ahal izango dituzu portaera ezarpenak.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/fi.json b/language/fi.json index 4ba35894..053c166c 100644 --- a/language/fi.json +++ b/language/fi.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Asetukset", "description": "Nämä asetukset mahdollistavat oletusasetusten yliajamisen.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/fr.json b/language/fr.json index 05bed12c..4c050a72 100644 --- a/language/fr.json +++ b/language/fr.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Réglages généraux", "description": "Ces options vous permettent d'enlever certains réglages.", diff --git a/language/gl.json b/language/gl.json index d2dd3138..99805130 100644 --- a/language/gl.json +++ b/language/gl.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Configuración de comportamento.", "description": "Estas opcións permiten anular a configuración do comportamento.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/he.json b/language/he.json index 33f8173b..1bcc562e 100644 --- a/language/he.json +++ b/language/he.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "הגדרות התנהגות.", "description": "הגדרות אלה יאפשרו לכם לעקוף את הגדרות ההתנהגות.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/id.json b/language/id.json index 02e9d41f..7286b1a2 100644 --- a/language/id.json +++ b/language/id.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Setting perilaku.", "description": "Opsi berikut akan memungkinkan Anda menyesuaikan setting perilaku.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/it.json b/language/it.json index 51faafa5..ab22f4b5 100644 --- a/language/it.json +++ b/language/it.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Impostazioni di esecuzione", "description": "Queste opzioni ti consentono di ignorare le impostazioni di esecuzione", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/ja.json b/language/ja.json index 06a243ec..075ee72b 100644 --- a/language/ja.json +++ b/language/ja.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "動作設定", "description": "これらのオプションは動作設定を上書きします。", diff --git a/language/km.json b/language/km.json index d8dde488..9a10e01e 100644 --- a/language/km.json +++ b/language/km.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "ការកំណត់មុខងារ", "description": "ជម្រើសទាំងនេះនឹងអនុញ្ញាតឲ្យអ្នកបង្ខំការកំណត់ផ្សេងៗ។", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/ko.json b/language/ko.json index 4836cc5a..091254c0 100644 --- a/language/ko.json +++ b/language/ko.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "동작 설정", "description": "이 옵션들은 동작 설정을 덮어쓰기 합니다", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/nb.json b/language/nb.json index f814f7d5..a0353498 100644 --- a/language/nb.json +++ b/language/nb.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Oppgaveinnstillinger", "description": "Disse alternativene vil la deg overstyre innstillinger.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/nl.json b/language/nl.json index 97dbb16b..83edcd10 100644 --- a/language/nl.json +++ b/language/nl.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Gedragsinstellingen", "description": "Met deze opties kun je de gedragsinstellingen overschrijven.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/nn.json b/language/nn.json index 8a90c257..5aab60b5 100644 --- a/language/nn.json +++ b/language/nn.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Oppgåveinnstillingar", "description": "Disse alternativene vil la deg overstyre innstillinger.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/pl.json b/language/pl.json index 297abaa9..d0aa48f2 100644 --- a/language/pl.json +++ b/language/pl.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Ustawienia zachowania.", "description": "Te opcje nadpiszą domyślne udstawienia zachowania.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/pt-br.json b/language/pt-br.json index 5cf7fa0a..a29001cb 100644 --- a/language/pt-br.json +++ b/language/pt-br.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Configurações comportamentais.", "description": "Estas opções permitirão que você controle como a tarefa se comporta.", diff --git a/language/pt.json b/language/pt.json index c6702b36..7a630344 100644 --- a/language/pt.json +++ b/language/pt.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Definições de comportamento", "description": "Estas opções vão sobrepor as definições de funcionamento por defeito.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/ru.json b/language/ru.json index 4691922d..a73dbaf4 100644 --- a/language/ru.json +++ b/language/ru.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Настройки поведения.", "description": "Эти параметры позволят вам переопределить настройки поведения.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/sl.json b/language/sl.json index 67bc4152..c7d16efe 100644 --- a/language/sl.json +++ b/language/sl.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Nastavitve interakcije", "description": "Nastavitve omogočajo nadzor nad interakcijo aktivnosti za udeležence.", diff --git a/language/sma.json b/language/sma.json index 583ceec1..8fe08fb8 100644 --- a/language/sma.json +++ b/language/sma.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Behaviour settings.", "description": "These options will let you override behaviour settings.", diff --git a/language/sme.json b/language/sme.json index 583ceec1..8fe08fb8 100644 --- a/language/sme.json +++ b/language/sme.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Behaviour settings.", "description": "These options will let you override behaviour settings.", diff --git a/language/smj.json b/language/smj.json index 583ceec1..8fe08fb8 100644 --- a/language/smj.json +++ b/language/smj.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Behaviour settings.", "description": "These options will let you override behaviour settings.", diff --git a/language/sv.json b/language/sv.json index 7c8884a7..9588bc7c 100644 --- a/language/sv.json +++ b/language/sv.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Beteende-inställningar.", "description": "Dessa inställningar gör det möjligt att ignorera beteende-inställningar.", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/tr.json b/language/tr.json index 922e1046..8bf8abed 100644 --- a/language/tr.json +++ b/language/tr.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Çalışma ayarları.", "description": "Bu seçenekler uygulamanın çalışma ayarlarını değiştirmenize olanak sağlar.", diff --git a/language/uk.json b/language/uk.json index 0943077f..c4f7b216 100644 --- a/language/uk.json +++ b/language/uk.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "Настройки поведінки.", "description": "Ці параметри дозволять Вам переназначити настройки поведінки.", diff --git a/language/zh-hans.json b/language/zh-hans.json index cab61b63..0c472783 100644 --- a/language/zh-hans.json +++ b/language/zh-hans.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "行为设定", "description": "这些设定会覆盖默认值。", @@ -400,4 +437,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/language/zh-tw.json b/language/zh-tw.json index ef4e5b16..caf6c724 100644 --- a/language/zh-tw.json +++ b/language/zh-tw.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "行為設定.", "description": "這些選項將讓您覆蓋行為設定.", diff --git a/language/zh.json b/language/zh.json index 4c479c5c..6522efb3 100644 --- a/language/zh.json +++ b/language/zh.json @@ -300,6 +300,43 @@ } ] }, + { + "label": "Scoring", + "description": "These options will let you set score related settings.", + "fields": [ + { + "label": "Pass percentage", + "description": "Percentage of total score required for passing the course presentation." + }, + { + "label": "Overall Feedback", + "fields": [ + { + "widgets": [ + { + "label": "Default" + } + ], + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "field": { + "fields": [ + { + "label": "Score Range" + }, + {}, + { + "label": "Feedback for defined score range", + "placeholder": "Fill in the feedback" + } + ] + } + } + ] + } + ] + }, { "label": "行為設定", "description": "這些設定會覆蓋預設值。", diff --git a/library.json b/library.json index b85acfc1..b9914a38 100644 --- a/library.json +++ b/library.json @@ -2,8 +2,8 @@ "title": "Course Presentation", "contentType": "Library", "majorVersion": 1, - "minorVersion": 25, - "patchVersion": 3, + "minorVersion": 26, + "patchVersion": 0, "runnable": 1, "fullscreen": 1, "embedTypes": [ @@ -47,7 +47,7 @@ { "machineName": "H5P.CoursePresentation", "majorVersion": 1, - "minorVersion": 25 + "minorVersion": 26 }, { "machineName": "H5PEditor.ShowWhen", @@ -57,7 +57,7 @@ { "machineName": "H5PEditor.CoursePresentation", "majorVersion": 1, - "minorVersion": 25 + "minorVersion": 26 } ] -} \ No newline at end of file +} diff --git a/package.json b/package.json index 1a2e5e43..bd60f1c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "h5p-course-presentation", - "version": "1.20.0", + "version": "1.23.0", "description": "A free HTML5- based presentation content type which allows users to add multiple choice, fill in the blanks, texts and other types of interactions to their presentations using only a web browser.", "private": true, "scripts": { diff --git a/semantics.json b/semantics.json index 30959e8d..faabb3d6 100644 --- a/semantics.json +++ b/semantics.json @@ -675,6 +675,85 @@ } ] }, + { + "name": "scoring", + "type": "group", + "label": "Scoring", + "importance": "low", + "description": "These options will let you set score related settings.", + "optional": true, + "fields": [ + { + "name": "passPercentage", + "type": "number", + "label": "Pass percentage", + "importance": "low", + "description": "Percentage of total score required for passing the course presentation.", + "min": 0, + "max": 100, + "step": 1, + "default": 100 + }, + { + "name": "overallFeedback", + "type": "group", + "label": "Overall Feedback", + "importance": "low", + "expanded": true, + "fields": [ + { + "name": "overallFeedback", + "type": "list", + "widgets": [ + { + "name": "RangeList", + "label": "Default" + } + ], + "importance": "high", + "label": "Define custom feedback for any score range", + "description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!", + "entity": "range", + "min": 1, + "defaultNum": 1, + "optional": true, + "field": { + "name": "overallFeedback", + "type": "group", + "importance": "low", + "fields": [ + { + "name": "from", + "type": "number", + "label": "Score Range", + "min": 0, + "max": 100, + "default": 0, + "unit": "%" + }, + { + "name": "to", + "type": "number", + "min": 0, + "max": 100, + "default": 100, + "unit": "%" + }, + { + "name": "feedback", + "type": "text", + "label": "Feedback for defined score range", + "importance": "low", + "placeholder": "Fill in the feedback", + "optional": true + } + ] + } + } + ] + } + ] + }, { "name": "override", "type": "group", @@ -907,4 +986,4 @@ } ] } -] \ No newline at end of file +] diff --git a/src/scripts/cp.js b/src/scripts/cp.js index d876db74..39945258 100644 --- a/src/scripts/cp.js +++ b/src/scripts/cp.js @@ -24,6 +24,20 @@ const KEYWORD_TITLE_SKIP = null; */ let CoursePresentation = function (params, id, extras) { var that = this; + + // Sanitize params + this.params = $.extend({ + scoring: { + passPercentage: 100, + overallFeedback: [] + } + }, params); + + // Sanitize overall feedback + if (this.params.scoring.overallFeedback.length === 0) { + this.params.scoring.overallFeedback.push({from: 0, to: 100}); + } + this.presentation = params.presentation; this.slides = this.presentation.slides; this.contentId = id; @@ -2250,7 +2264,8 @@ CoursePresentation.prototype.getXAPIData = function () { var score = this.getScore(); var maxScore = this.getMaxScore(); - xAPIEvent.setScoredResult(score, maxScore, this, true, score === maxScore); + const success = score * 100 / maxScore >= this.params.scoring.passPercentage; + xAPIEvent.setScoredResult(score, maxScore, this, true, success); var childrenXAPIData = flattenArray(this.slidesWithSolutions).map((child) => { if (child && child.getXAPIData) { diff --git a/src/scripts/summary-slide.js b/src/scripts/summary-slide.js index 0473872a..68889613 100644 --- a/src/scripts/summary-slide.js +++ b/src/scripts/summary-slide.js @@ -91,6 +91,20 @@ const SummarySlide = (function () { event.preventDefault(); }); }); + + // Update overall feedback + const scoreText = H5P.Question.determineOverallFeedback(that.cp.params.scoring.overallFeedback, totalScores.totalScore / totalScores.totalMaxScore) + .replace('@score', totalScores.totalScore) + .replace('@total', totalScores.totalMaxScore) + .trim(); + + if (scoreText !== '') { + $('.h5p-summary-overall-feedback').removeClass('hidden'); + $('.h5p-summary-overall-feedback-text', that.$summarySlide).html(scoreText); + } + else { + $('.h5p-summary-overall-feedback').addClass('hidden'); + } } // Button container ref @@ -189,8 +203,10 @@ const SummarySlide = (function () { } if (!this.cp.isSolutionMode) { - that.cp.triggerXAPICompleted(totalScore, totalMaxScore); + const success = totalScore * 100 / totalMaxScore >= that.cp.params.scoring.passPercentage; + that.cp.triggerXAPICompleted(totalScore, totalMaxScore, success); } + var shareResultContainer = (that.cp.enableTwitterShare || that.cp.enableFacebookShare || that.cp.enableGoogleShare) ? '' + that.cp.l10n.shareResult + '' : ''; var twitterContainer = (that.cp.enableTwitterShare == true) ? '': ''; var facebookContainer = (that.cp.enableFacebookShare == true) ? '': ''; @@ -218,6 +234,9 @@ const SummarySlide = (function () { '

' + that.cp.l10n.totalScore + '

' + '' + '' + + '
' + + '
' + + '
' + '' + ''; diff --git a/src/styles/summary-slide.css b/src/styles/summary-slide.css index 3ffe1325..fc531ebf 100644 --- a/src/styles/summary-slide.css +++ b/src/styles/summary-slide.css @@ -180,6 +180,19 @@ padding: 0 0.1em; } +.h5p-course-presentation .h5p-summary-overall-feedback { + margin-top: 4em; +} + +.h5p-course-presentation .h5p-summary-overall-feedback.hidden { + display: none; +} + +.h5p-course-presentation .h5p-summary-overall-feedback .h5p-summary-overall-feedback-text { + color: #1a73d9; + font-weight: bold; +} + /* ---------------------------- Social media styles ---------------------------------------------- */ /* Facebook and Twitter link styling */ diff --git a/upgrades.js b/upgrades.js index 43cd6554..5aabba3e 100644 --- a/upgrades.js +++ b/upgrades.js @@ -331,6 +331,27 @@ H5PUpgrades['H5P.CoursePresentation'] = (function () { } } + // Done + finished(null, parameters); + }, + + /** + * Asynchronous content upgrade hook. + * Upgrades content parameters to support CP 1.26. + * + * Set scoring + * + * @param {Object} parameters + * @param {function} finished + */ + 26: function (parameters, finished) { + if (parameters) { + parameters.scoring = { + passPercentage: 100, + overallFeedback: [{from: 0, to: 100}] + }; + } + // Done finished(null, parameters); }