tao-test/app/taoQtiItem/views/js/qtiCreator/helper/classTitles.js

25 lines
1.0 KiB
JavaScript
Raw Normal View History

2022-08-29 20:14:13 +02:00
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;
}
});