Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
SebCanet committed Jun 25, 2020
1 parent 32daa30 commit 3a78a09
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 18 deletions.
7 changes: 2 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,11 @@
<input type="range" min="3" max="50" value="4" oninput="Code.changeRenderingConstant(this.value)" onchange="Code.changeRenderingConstant(this.value)" />
<br>
<br>
<span id="keyMappingExplanationSpan" class="UITextSmall"></span>
<br>
<br>
<span id="accessibilitySpan" class="UIText"></span>
<input id="accessibilityModeCheck" type="checkbox" onclick="toggleAccessibilityMode(this.checked)">
<span id="accessibilitySpan" class="UIText"></span>
<br>
<span id="keyMappingSpan" class="UIText"></span>
<input id="displayKeyMappings" type="checkbox" onclick="toggleDisplayKeyMappings(this.checked)">
<span id="keyMappingSpan" class="UIText"></span>
<br>
<select id="cursorChanger" name="cursor" onchange="changeCursor(this.value)">
<option value="default" id="defaultCursorSpan">default</option>
Expand Down
1 change: 0 additions & 1 deletion js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ Code.initLanguage = function () {
document.getElementById('optionFontSizeBlocks').textContent = MSG['optionFontSizeBlocks'];
document.getElementById('optionFontSizePage').textContent = MSG['optionFontSizePage'];
document.getElementById('optionFontSpacingPage').textContent = MSG['optionFontSpacingPage'];
document.getElementById('keyMappingExplanationSpan').innerHTML = MSG['keyMappingExplanationSpan'];
//keyboard nav
Blockly.navigation.ACTION_PREVIOUS.name = MSG['actionName0'];
Blockly.navigation.ACTION_OUT.name = MSG['actionName1'];
Expand Down
3 changes: 1 addition & 2 deletions msg/UI_ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var MSG = {
'<p style="text-aligne left;">v0.8.0',
editorReadOnlyToggle_span: "code editor writable or read-only",
copyCodeButton_span: "Copia codi a porta-retalls",
accessibilitySpan: "habilita mode accessibilitat (Shift + Ctrl + K):",
accessibilitySpan: "habilita mode accessibilitat:",
defaultCursorSpan: "Cursor per defecte",
basicCursorSpan: "Cursor bàsic",
lineCursorSpan: "Cursor línia",
Expand Down Expand Up @@ -105,7 +105,6 @@ var MSG = {
optionFontSizeBlocks: "Mida del tipus de lletra blocs",
optionFontSizePage: "Mida del tipus de lletra pàgina",
optionFontSpacingPage: "Espaiat de lletra pàgina",
keyMappingExplanationSpan: "accessibility: <a href='https://github.com/BlocklyDuino/BlocklyDuino-v2' target='_blank'>online documentation</a>",
//CLI_functions.js
config_sideButton_span: "Control del compilador Arduino CLI",
arduinoCLI_githubLinkButton_span: "documentació",
Expand Down
3 changes: 1 addition & 2 deletions msg/UI_de.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var MSG = {
'<p style="text-aligne left;">v0.8.0',
editorReadOnlyToggle_span: "code editor writable or read-only",
copyCodeButton_span: "copy code to clipboard",
accessibilitySpan: "Enable Accessibility Mode (Shift + Ctrl + K):",
accessibilitySpan: "Enable Accessibility Mode:",
defaultCursorSpan: "Default Cursor",
basicCursorSpan: "Basic Cursor",
lineCursorSpan: "Line Cursor",
Expand Down Expand Up @@ -105,7 +105,6 @@ var MSG = {
optionFontSizeBlocks: "Blocks Font Size",
optionFontSizePage: "Page Font Size",
optionFontSpacingPage: "Page Font Spacing",
keyMappingExplanationSpan: "accessibility: <a href='https://github.com/BlocklyDuino/BlocklyDuino-v2' target='_blank'>online documentation</a>",
//CLI_functions.js
config_sideButton_span: "Arduino CLI control",
CLI_githubLinkButton_span: "documentation",
Expand Down
3 changes: 1 addition & 2 deletions msg/UI_en.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var MSG = {
'<p style="text-aligne left;">v0.8.0',
editorReadOnlyToggle_span: "code editor writable or read-only",
copyCodeButton_span: "copy code to clipboard",
accessibilitySpan: "enable Accessibility Mode (Shift + Ctrl + K):",
accessibilitySpan: "enable Accessibility Mode:",
defaultCursorSpan: "Default Cursor",
basicCursorSpan: "Basic Cursor",
lineCursorSpan: "Line Cursor",
Expand Down Expand Up @@ -105,7 +105,6 @@ var MSG = {
optionFontSizeBlocks: "Blocks Font Size",
optionFontSizePage: "Page Font Size",
optionFontSpacingPage: "Page Font Spacing",
keyMappingExplanationSpan: "accessibility: <a href='https://github.com/A-S-T-U-C-E/STudio4Education#accessibility' target='_blank'>online documentation</a>",
//CLI_functions.js
config_sideButton_span: "Arduino CLI control",
CLI_githubLinkButton_span: "documentation",
Expand Down
3 changes: 1 addition & 2 deletions msg/UI_es.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var MSG = {
'<p style="text-aligne left;">v0.8.0',
editorReadOnlyToggle_span: "code editor writable or read-only",
copyCodeButton_span: "Copia código a portapapeles",
accessibilitySpan: "habilita modo accesibilidad (Shift + Ctrl + K):",
accessibilitySpan: "habilita modo accesibilidad:",
defaultCursorSpan: "Cursor por defecto",
basicCursorSpan: "Cursor básico",
lineCursorSpan: "Cursor linia",
Expand Down Expand Up @@ -105,7 +105,6 @@ var MSG = {
optionFontSizeBlocks: "Tamaño del tipo de letra bloques",
optionFontSizePage: "Tamaño del tipo de letra página",
optionFontSpacingPage: "Espaciado de letra página",
keyMappingExplanationSpan: "accessibility: <a href='https://github.com/BlocklyDuino/BlocklyDuino-v2' target='_blank'>online documentation</a>",
//CLI_functions.js
config_sideButton_span: "Control del compilador Arduino CLI",
CLI_githubLinkButton_span: "documentación",
Expand Down
3 changes: 1 addition & 2 deletions msg/UI_fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var MSG = {
'<p style="text-aligne left;">v0.8.0',
editorReadOnlyToggle_span: "éditeur de code en lecture seule ou non",
copyCodeButton_span: "copier le code dans le presse papiers",
accessibilitySpan: "activer le contrôle clavier (Shift + Ctrl + K) :",
accessibilitySpan: "activer le contrôle clavier :",
defaultCursorSpan: "curseur par défaut",
basicCursorSpan: "curseur classique",
lineCursorSpan: "curseur ligne",
Expand Down Expand Up @@ -105,7 +105,6 @@ var MSG = {
optionFontSizeBlocks: "police des blocs",
optionFontSizePage: "police de l'interface",
optionFontSpacingPage: "espacement entre les lettres",
keyMappingExplanationSpan: "accessibilité : documentation <a href='https://github.com/BlocklyDuino/BlocklyDuino-v2' target='_blank'>en ligne.</a>",
//CLI_functions.js
config_sideButton_span: "gestion du compilateur",
CLI_githubLinkButton_span: "documentation",
Expand Down
3 changes: 1 addition & 2 deletions msg/UI_ja.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var MSG = {
'<p style="text-aligne left;">v0.8.0',
editorReadOnlyToggle_span: "code editor writable or read-only",
copyCodeButton_span: "copy code to clipboard",
accessibilitySpan: "Enable Accessibility Mode (Shift + Ctrl + K):",
accessibilitySpan: "Enable Accessibility Mode:",
defaultCursorSpan: "Default Cursor",
basicCursorSpan: "Basic Cursor",
lineCursorSpan: "Line Cursor",
Expand Down Expand Up @@ -105,7 +105,6 @@ var MSG = {
optionFontSizeBlocks: "Blocks Font Size",
optionFontSizePage: "Page Font Size",
optionFontSpacingPage: "Page Font Spacing",
keyMappingExplanationSpan: "accessibility: <a href='https://github.com/BlocklyDuino/BlocklyDuino-v2' target='_blank'>online documentation</a>",
//CLI_functions.js
config_sideButton_span: "Arduino CLI control",
CLI_githubLinkButton_span: "documentation",
Expand Down

0 comments on commit 3a78a09

Please sign in to comment.