Skip to content

Commit

Permalink
HFP-1210 Set up Crowdin
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyylim committed Jun 22, 2017
1 parent b8d243e commit f2ace10
Show file tree
Hide file tree
Showing 9 changed files with 176 additions and 8 deletions.
3 changes: 3 additions & 0 deletions crowdin.yml
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
165 changes: 165 additions & 0 deletions language/.en.json
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"
}
]
}
]
}
2 changes: 1 addition & 1 deletion language/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion language/bs.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion language/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion language/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion language/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion language/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions language/nn.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"placeholder": "Oslo er hovudstaden i *Noreg*",
"description": "",
"important": {
"description":"<ul><li>Opne felt merkast med ei stjerne * foran og bak det korrekte ordet/uttrykket.</li><li>Alternativ angis med ein skråstrek (/)</li><li>Tips angis med eit kolon (:) før tipset</li></ul>",
"description": "<ul><li>Opne felt merkast med ei stjerne * foran og bak det korrekte ordet/uttrykket.</li><li>Alternativ angis med ein skråstrek (/)</li><li>Tips angis med eit kolon (:) før tipset</li></ul>",
"example": "H5P innhold kan lages i ein *nettleser:Noe du bruker til å navigere internett med*."
}
}
Expand Down Expand Up @@ -163,4 +163,4 @@
]
}
]
}
}

0 comments on commit f2ace10

Please sign in to comment.