forked from adaptlearning/adapt-contrib-languagePicker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.json
More file actions
44 lines (43 loc) · 2.02 KB
/
Copy pathexample.json
File metadata and controls
44 lines (43 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// To go on in config
"_languagePicker": {
"_isEnabled": true,
"title": "Language selection",
"displayTitle": "Please select a language",
"body": "This course is available in the following languages:",
"_showOnCourseLoad": true,
"_comment": "default class names are: icon-globe, icon-language-1, icon-language-2",
"_languagePickerIconClass": "icon-language-2",
"_languages": [
{
"_language": "en",
"_direction": "ltr",
"displayName": "English",
"warningTitle": "Change language?",
"warningMessage": "Changing the language will reset course progress.<br><br>Would you like to proceed?",
"_buttons": {
"yes": "Yes",
"no": "No"
}
},
{
"_language": "de",
"_direction": "ltr",
"displayName": "Deutsch",
"warningTitle": "Sprache ändern?",
"warningMessage": "Ändern der Sprache wird den Fortschritt des Kurses zurücksetzen.<br><br>Möchte Sie fortfahren?",
"_buttons": {
"yes": "Ja",
"no": "Nein"
}
}
],
"_accessibility": {
"accessibilityToggleTextOn": "Turn accessibility on?",
"accessibilityToggleTextOff": "Turn accessibility off?",
"_accessibilityInstructions": {
"touch": "Usage instructions. Use swipe right for next. Use swipe left for previous. Use a double tap to select. Use a two finger slide up to go to the top of the page.",
"notouch": "Usage instructions. Use tab for next. Use shift tab for previous. Use enter to select. Use escape to go to the top of the page.",
"ipad": "Usage instructions for touchscreens. Use swipe right for next. Use swipe left for previous. Use a double tap to select. Use a two finger slide up to go to the top of the page. Usage instructions for keyboard access. Use right for next. Use left for previous. Use up and down together to select."
}
}
}