Skip to content

Commit

Permalink
GPII-227: I18ned the text highlighting labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispetsos committed Feb 26, 2014
1 parent f8450cf commit 30c216f
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/shared/adjusters/js/Panels.js
Expand Up @@ -297,9 +297,13 @@ https://github.com/GPII/prefsEditors/LICENSE.txt
textHighlighting: ".gpiic-textHighlighting",
textHighlightingLabel: ".gpiic-textHighlighting-label"
},
stringArrayIndex: {
textHighlightingLevel: ["textHighlighting-word", "textHighlighting-line", "textHighlighting-sentence", "textHighlighting-paragraph"]
},
protoTree: {
textHighlighting: {
selection: "${textHighlighting}",
optionnames: "${{that}.stringBundle.textHighlightingLevel}",
optionlist: "${{that}.options.controlValues.textHighlighting}"
},
textHighlightingLabel: {messagekey: "textHighlightingLabel"}
Expand Down
4 changes: 4 additions & 0 deletions src/shared/adjusters/messages/de/message.json
Expand Up @@ -20,6 +20,10 @@
"universalLanguageLabel": "Sprache",
"screenReaderLanguageLabel": "Sprache des Screenreaders",
"textHighlightingLabel": "Texthervorhebung",
"textHighlighting-word": "Word",
"textHighlighting-line": "Sentence",
"textHighlighting-sentence": "Line",
"textHighlighting-paragraph": "Paragraph",
"punctuationVerbosityLabel": "Satzzeichen",
"announceCapitalsLabel": "Großbuchstaben",
"speakTutorialMessagesLabel": "Anleitungen beim Fokussieren eines interaktiven Elements (z.B. Schaltfläche)",
Expand Down
4 changes: 4 additions & 0 deletions src/shared/adjusters/messages/el/message.json
Expand Up @@ -20,6 +20,10 @@
"universalLanguageLabel": "Γλώσσα",
"screenReaderLanguageLabel": "Γλώσσα ανάγνωσης οθόνης",
"textHighlightingLabel": "Επισήμανση κειμένου",
"textHighlighting-word": "Λέξη",
"textHighlighting-line": "Πρόταση",
"textHighlighting-sentence": "Γραμμή",
"textHighlighting-paragraph": "Παράγραφος",
"punctuationVerbosityLabel": "Σημεία στίξης",
"announceCapitalsLabel": "Κεφαλαία γράμματα",
"speakTutorialMessagesLabel": "Οδηγίες όταν το φόκους πάει σε σημείο αλληλεπίδρασης (π.χ. ένα κουμπί)",
Expand Down
4 changes: 4 additions & 0 deletions src/shared/adjusters/messages/en/message.json
Expand Up @@ -20,6 +20,10 @@
"universalLanguageLabel": "Language",
"screenReaderLanguageLabel": "Screen reader language",
"textHighlightingLabel": "Text highlighting",
"textHighlighting-word": "Word",
"textHighlighting-line": "Sentence",
"textHighlighting-sentence": "Line",
"textHighlighting-paragraph": "Paragraph",
"punctuationVerbosityLabel": "Punctuation marks",
"announceCapitalsLabel": "Uppercase letters",
"speakTutorialMessagesLabel": "Instructions when focused on an interactive (eg. button)",
Expand Down
4 changes: 4 additions & 0 deletions src/shared/adjusters/messages/es/message.json
Expand Up @@ -20,6 +20,10 @@
"universalLanguageLabel": "Idioma",
"screenReaderLanguageLabel": "Idioma del lector de pantalla",
"textHighlightingLabel": "Resaltado de texto",
"textHighlighting-word": "Word",
"textHighlighting-line": "Sentence",
"textHighlighting-sentence": "Line",
"textHighlighting-paragraph": "Paragraph",
"punctuationVerbosityLabel": "Signos de puntuación",
"announceCapitalsLabel": "Letras mayúsculas",
"speakTutorialMessagesLabel": "Instrucciones cuando un interactivo adquiera el foco (p. ej: un botón)",
Expand Down
2 changes: 1 addition & 1 deletion src/shared/schemas/js/primarySchema.js
Expand Up @@ -118,7 +118,7 @@ https://github.com/GPII/prefsEditors/LICENSE.txt
"gpii.primarySchema.textHighlighting": {
"type": "string",
"default": "Word",
"enum": ["Word", "Second option?", "Third option?"]
"enum": ["Word", "Line", "Sentence", "Paragraph"]
},
"gpii.primarySchema.screenReaderTracking": {
"type": "string",
Expand Down

0 comments on commit 30c216f

Please sign in to comment.