Skip to content

Commit

Permalink
Complete sanitization of l10n
Browse files Browse the repository at this point in the history
  • Loading branch information
otacke committed Nov 20, 2020
1 parent eaedf33 commit e4624b3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/scripts/h5p-crossword.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,14 @@ export default class Crossword extends H5P.Question {
enableInstantFeedback: false
},
l10n: {
across: 'across',
down: 'down',
checkAnswer: 'Check answer',
couldNotGenerateCrossword: 'Could not generate a crossword with the given words. Please try again.',
showSolution: 'Show solution',
tryAgain: 'Retry'
tryAgain: 'Retry',
extraClue: 'Extra clue',
closeWindow: 'Close window'
},
a11y: {
crosswordGrid: 'Crossword grid. Use arrow keys to navigate and keyboard to enter characters. Use tab to use input fields instead.',
Expand Down Expand Up @@ -213,7 +217,7 @@ export default class Crossword extends H5P.Question {

if (this.params.behaviour.enableRetry) {
this.showButton('try-again');
}
}
};

/**
Expand Down

0 comments on commit e4624b3

Please sign in to comment.