forked from h5p/h5p-blanks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8d243e
commit f2ace10
Showing
9 changed files
with
176 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
files: | ||
- source: /language/.en.json | ||
translation: /language/%two_letters_code%.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
{ | ||
"semantics": [ | ||
{ | ||
"label": "Media", | ||
"fields": [ | ||
{ | ||
"label": "Type", | ||
"description": "Optional media to display above the question." | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "Task description", | ||
"default": "Fill in the missing words", | ||
"description": "A guide telling the user how to answer this task." | ||
}, | ||
{ | ||
"label": "Text blocks", | ||
"entity": "text block", | ||
"field": { | ||
"label": "Line of text", | ||
"placeholder": "Oslo is the capital of *Norway*.", | ||
"description": "", | ||
"important": { | ||
"description": "<ul><li>Blanks are added with an asterisk (*) in front and behind the correct word/phrase.</li><li>Alternative answers are separated with a forward slash (/).</li><li>You may add a textual tip, using a colon (:) in front of the tip.</li></ul>" | ||
} | ||
} | ||
}, | ||
{ | ||
"label": "Feedback text", | ||
"default": "You got @score of @total points", | ||
"description": "Feedback text, variables available: @score and @total. Example: 'You got @score of @total possible points'" | ||
}, | ||
{ | ||
"label": "Text for \"Show solutions\" button", | ||
"default": "Show solution" | ||
}, | ||
{ | ||
"label": "Text for \"Retry\" button", | ||
"default": "Retry" | ||
}, | ||
{ | ||
"label": "Text for \"Check\" button", | ||
"default": "Check" | ||
}, | ||
{ | ||
"label": "Text for \"Not filled out\" message", | ||
"default": "Please fill in all blanks to view solution" | ||
}, | ||
{ | ||
"label": "Text for \"':ans' is correct\" message", | ||
"default": "':ans' is correct" | ||
}, | ||
{ | ||
"label": "Text for \"':ans' is wrong\" message", | ||
"default": "':ans' is wrong" | ||
}, | ||
{ | ||
"label": "Text for \"Answered correctly\" message", | ||
"default": "Answered correctly" | ||
}, | ||
{ | ||
"label": "Text for \"Answered incorrectly\" message", | ||
"default": "Answered incorrectly" | ||
}, | ||
{ | ||
"label": "Assistive technology label for solution", | ||
"default": "Correct answer:" | ||
}, | ||
{ | ||
"label": "Assistive technology label for input field", | ||
"description": "Use @num and @total to replace current cloze number and total cloze number", | ||
"default": "Blank input @num of @total" | ||
}, | ||
{ | ||
"label": "Assistive technology label for saying an input has a tip tied to it", | ||
"default": "Tip available" | ||
}, | ||
{ | ||
"label": "Tip icon label", | ||
"default": "Tip" | ||
}, | ||
{ | ||
"label": "Behavioural settings.", | ||
"description": "These options will let you control how the task behaves.", | ||
"fields": [ | ||
{ | ||
"label": "Enable \"Retry\"" | ||
}, | ||
{ | ||
"label": "Enable \"Show solutions\" button" | ||
}, | ||
{ | ||
"label": "Automatically check answers after input" | ||
}, | ||
{ | ||
"label": "Case sensitive", | ||
"description": "Makes sure the user input has to be exactly the same as the answer." | ||
}, | ||
{ | ||
"label": "Require all fields to be answered before the solution can be viewed" | ||
}, | ||
{ | ||
"label": "Put input fields on separate lines" | ||
}, | ||
{ | ||
"label": "Disable image zooming for question image" | ||
}, | ||
{ | ||
"label": "Show confirmation dialog on \"Check\"", | ||
"description": "This options is not compatible with the \"Automatically check answers after input\" option" | ||
}, | ||
{ | ||
"label": "Show confirmation dialog on \"Retry\"" | ||
}, | ||
{ | ||
"label": "Accept minor spelling errors", | ||
"description": "If activated, an answer will also count as correct with minor spelling errors" | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "Check confirmation dialog", | ||
"fields": [ | ||
{ | ||
"label": "Header text", | ||
"default": "Finish ?" | ||
}, | ||
{ | ||
"label": "Body text", | ||
"default": "Are you sure you wish to finish ?" | ||
}, | ||
{ | ||
"label": "Cancel button label", | ||
"default": "Cancel" | ||
}, | ||
{ | ||
"label": "Confirm button label", | ||
"default": "Finish" | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "Retry confirmation dialog", | ||
"fields": [ | ||
{ | ||
"label": "Header text", | ||
"default": "Retry ?" | ||
}, | ||
{ | ||
"label": "Body text", | ||
"default": "Are you sure you wish to retry ?" | ||
}, | ||
{ | ||
"label": "Cancel button label", | ||
"default": "Cancel" | ||
}, | ||
{ | ||
"label": "Confirm button label", | ||
"default": "Confirm" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,4 +159,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,4 +159,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,4 +159,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,4 +159,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,4 +159,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,4 +163,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters