25 lines
1.0 KiB
JavaScript
25 lines
1.0 KiB
JavaScript
|
define(['i18n'], function(__) {
|
||
|
|
||
|
const classTitles = {
|
||
|
choiceInteraction: __('Choice Interaction'),
|
||
|
orderInteraction: __('Order Interaction'),
|
||
|
associateInteraction: __('Associate Interaction'),
|
||
|
matchInteraction: __('Match Interaction'),
|
||
|
hottextInteraction: __('Hottext Interaction'),
|
||
|
gapMatchInteraction: __('Gap Match Interaction'),
|
||
|
sliderInteraction: __('Slider Interaction'),
|
||
|
extendedTextInteraction: __('Extended Text Interaction'),
|
||
|
uploadInteraction: __('File Upload Interaction'),
|
||
|
mediaInteraction: __('Media Interaction'),
|
||
|
hotspotInteraction: __('Hotspot Interaction'),
|
||
|
graphicOrderInteraction: __('Graphic Order Interaction'),
|
||
|
graphicAssociateInteraction: __('Graphic Associate Interaction'),
|
||
|
graphicGapMatchInteraction: __('Graphic Gap Match Interaction'),
|
||
|
selectPointInteraction: __('Select Point Interaction')
|
||
|
}
|
||
|
|
||
|
return function (qtiClass) {
|
||
|
return classTitles[qtiClass] || qtiClass;
|
||
|
}
|
||
|
});
|