Skip to content

Commit be3f3e0

Browse files
committed
Add option to include scores from content in BS
Add a checkbox for dynamic scoring which includes both the "screen score" and the score obtained from tasks within the content. Also fixes a looping bug
1 parent c423440 commit be3f3e0

35 files changed

+169
-19
lines changed

language/.en.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "No scoring"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/af.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Geen telling"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/ar.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "No scoring"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/bg.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Без точки"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/ca.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Sense puntuació"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/cs.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Žádné hodnocení"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/cy.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Dim sgorio"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/de.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Keine Bepunktung"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/el.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Χωρίς βαθμολόγηση"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/es-mx.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Sin puntaje"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/es.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Sin puntaje"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/et.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Punktiarvestust ei ole"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/eu.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Kalifikaziorik ez"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/fi.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Ei pisteytystä"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/fr.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Pas de score"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/gl.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Sen puntuación"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/it.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Nessun punteggio"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/km.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "No scoring"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/ko.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "점수 없음"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/nb.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "No scoring"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/nl.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Geen score"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/nn.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "No scoring"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/pt-br.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Sem pontuação"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/ru.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Без оценки"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/sk.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Bez hodnotenia"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/sl.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Brez točkovanja"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/sma.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "No scoring"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/sme.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "No scoring"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/smj.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "No scoring"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

language/sv.json

+4
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"label": "Ingen poängsättning"
128128
}
129129
]
130+
},
131+
{
132+
"label": "Include scores from interactions within the Branching Scenario",
133+
"description": "If chosen scores from for instance Interactive Videos will be added to the total score obtained. If not chosen only scores specified in the feedback sections of the content items, branching questions and end scenarios will count."
130134
}
131135
]
132136
},

library.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"title": "Branching Scenario (beta)",
33
"description": "description",
44
"majorVersion": 1,
5-
"minorVersion": 4,
6-
"patchVersion": 4,
5+
"minorVersion": 5,
6+
"patchVersion": 0,
77
"runnable": 1,
88
"embedTypes": [
99
"iframe"

scripts/branchingScenario.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ H5P.BranchingScenario = function (params, contentId) {
5252
contentId: -1
5353
}
5454
],
55-
scoringOption: 'no-score',
55+
scoringOptionGroup: {
56+
scoringOption: 'no-score'
57+
},
5658
l10n: {},
5759
behaviour: 'individual'
5860
}, params.branchingScenario); // Account for the wrapper!

0 commit comments

Comments
 (0)