Skip to content

Commit

Permalink
Merge pull request #29 from Learnosity/LRN-34351/feature/add-rtl-supp…
Browse files Browse the repository at this point in the history
…ort-for-token-highlight

Lrn 34351/feature/add rtl support for token highlight
  • Loading branch information
SalimBensiali authored Feb 18, 2022
2 parents cf2ee43 + 9d364e4 commit 5595f39
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
3 changes: 2 additions & 1 deletion languages/ar-EG/qe_custom_types/question_type_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"184de6ce-4638-4cc5-91c7-e4f37a487f0c",
"14b7af71-e146-4747-aae5-ca71618a5038",
"f109c77c-390e-4595-93b8-2dbd547251b6",
"9de82e14-802c-4bea-a635-bf9ad0b622fb"
"9de82e14-802c-4bea-a635-bf9ad0b622fb",
"47f0db98-79e8-4273-946f-90faf4a2ae49"
]
},
{
Expand Down
24 changes: 24 additions & 0 deletions languages/ar-EG/qe_custom_types/question_type_templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,30 @@
"reference": "9de82e14-802c-4bea-a635-bf9ad0b622fb"
}
],
"tokenhighlight": [
{
"defaults": {
"stimulus": "<p>[هذا هو رأس السؤال.]</p>",
"template": "<p>ها بصورة أكثر عقلانية ومنطقية فيعرضهم هذا لمواجهة الظروف الأليمة، وأكرر بأنه لمن.</p><p> نتيجة لظروف ما قد تكمن السعاده فيما نتحمله م</p><p> الألم الذي ربما تنجم عنه بعض ا.</p>",
"tokenization": "paragraph",
"type": "tokenhighlight",
"validation": {
"scoring_type": "exactMatch",
"valid_response": {
"score": 1
}
}
},
"description": "يمكن للمستخدم النقر فوق الكلمات / الجمل / الفقرات ليتم إبرازها.",
"group_reference": "highlight",
"hidden": [
"description"
],
"image": "https://raw.githubusercontent.com/Learnosity/learnosity-i18n/master/languages/ar-EG/qe_template_thumbnails/token.png",
"name": "Token highlight",
"reference": "47f0db98-79e8-4273-946f-90faf4a2ae49"
}
],
"longtextV2": {
"description": "مقال يصل إلى 10000 كلمة وقد يحتوي علي عناصر تحكم بتنسيق النص.",
"name": "مقال مع نص غني",
Expand Down
Binary file added languages/ar-EG/qe_template_thumbnails/token.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5595f39

Please sign in to comment.