Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lrn 34351/feature/add rtl support for token highlight #29

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.