Skip to content

Commit a534c27

Browse files
committed
Added missing translations for Sphero SPRK+
Implemented some specific fix for the web-app version of Coding with Chrome.
1 parent 5c00a7c commit a534c27

File tree

41 files changed

+346
-776
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+346
-776
lines changed

locales/deu/blocks/blocks.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ Locales['deu']['BLOCKS'] = {
2323
'AS': 'als',
2424
'CHANGE': 'ändere',
2525
'CLEAR_DISPLAY': 'Anzeige löschen',
26+
'CONTROL': 'Steuerung',
2627
'DEFINE': 'definiere',
2728
'DESTROY': 'zerstöre',
2829
'DISABLE': 'deaktivieren',
30+
'DISPLAY': 'Anzeige',
2931
'DISPLAY_TEXT': 'zeige Text',
3032
'DO': 'mache',
3133
'DOWN': 'runter',

locales/deu/blocks/robot_blocks.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
*/
2020
/* eslint-disable max-len */
2121
Locales['deu']['BLOCKS_ROBOT'] = {
22+
'EVENTS': 'Ereignisse',
2223
'HEADING': 'Richtung',
24+
'LIGHTS': 'Lichter',
25+
'MOVEMENTS': 'Bewegungen',
2326
'ON_COLLISION': 'bei Kollision',
2427
'ON_POSITION_CHANGE': 'bei Positionsänderung',
2528
'RESET_ROBOT': 'Roboter zurücksetzten',

locales/deu/connect_screen.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* @fileoverview Translation file for the Connect screen (german).
3+
*
4+
* @license Copyright 2018 The Coding with Chrome Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*
18+
* @author [email protected] (Markus Bordihn)
19+
*/
20+
/* eslint-disable max-len */
21+
Locales['deu']['CONNECT_SCREEN'] = {
22+
'TURN_ON_NOTE': 'Bitte stelle sicher dass das folgende Gerät aufgeladen und eingeschaltet ist:',
23+
'CONNECT_NOTE': 'Bitte stelle sicher dass das Bluetooth Gerät aufgeladen und eingeschaltet ist.',
24+
'SEARCH_FOR': 'Such nach',
25+
'SEARCH_FOR_DEVICE': 'Suche nach Bluetooth Geräte ...',
26+
};

locales/deu/select_screen.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
*/
2020
/* eslint-disable max-len */
2121
Locales['deu']['SELECT_SCREEN'] = {
22-
'LOAD_FILE': 'Load {$title}',
23-
'BLUETOOTH_WEB_NOT_AVAILABLE': 'Erforderliche Web-Bluetooth-Unterstützung ist nicht verfügbar.',
22+
'BLUETOOTH_NOT_AVAILABLE': 'Erforderliche Bluetooth Unterstützung ist nicht verfügbar.',
2423
'BLUETOOTH_WEB_LIGHT': 'Erforderliche Web-Bluetooth-Unterstützung ist derzeit auf Windows-Betriebssystemen eingeschränkt.',
24+
'BLUETOOTH_WEB_NOT_AVAILABLE': 'Erforderliche Web-Bluetooth Unterstützung ist nicht verfügbar.',
25+
'LOAD_FILE': 'Load {$title}',
26+
'USE': 'Verwende',
2527
};
2628

2729

locales/eng/blocks/blocks.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@
1717
*
1818
* @author [email protected] (Markus Bordihn)
1919
*/
20-
/* eslint-disable max-len */
2120
Locales['eng']['BLOCKS'] = {
2221
'ALL': 'all',
2322
'AND': 'and',
2423
'AS': 'as',
2524
'CHANGE': 'change',
2625
'CLEAR_DISPLAY': 'clear_display',
26+
'CONTROL': 'Control',
2727
'DEFINE': 'define',
2828
'DESTROY': 'destroy',
2929
'DISABLE': 'disable',
30+
'DISPLAY': 'Display',
3031
'DISPLAY_TEXT': 'display text',
3132
'DO': 'do',
3233
'DOWN': 'down',

locales/eng/blocks/robot_blocks.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
*/
2020
/* eslint-disable max-len */
2121
Locales['eng']['BLOCKS_ROBOT'] = {
22+
'EVENTS': 'Events',
2223
'HEADING': 'heading',
24+
'LIGHTS': 'Lights',
25+
'MOVEMENTS': 'Movements',
2326
'ON_COLLISION': 'on collision',
2427
'ON_POSITION_CHANGE': 'on position change',
2528
'RESET_ROBOT': 'reset robot',

locales/eng/connect_screen.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* @fileoverview Translation file for the Connect screen (english).
3+
*
4+
* @license Copyright 2018 The Coding with Chrome Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*
18+
* @author [email protected] (Markus Bordihn)
19+
*/
20+
/* eslint-disable max-len */
21+
Locales['eng']['CONNECT_SCREEN'] = {
22+
'TURN_ON_NOTE': 'Please make sure that the following device is charged and turned on:',
23+
'CONNECT_NOTE': 'Please make sure that the bluetooth device is charged and turned on.',
24+
'SEARCH_FOR': 'Search for',
25+
'SEARCH_FOR_DEVICE': 'Search for Bluetooth devices ...',
26+
};

locales/eng/select_screen.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
*/
2020
/* eslint-disable max-len */
2121
Locales['eng']['SELECT_SCREEN'] = {
22-
'LOAD_FILE': 'Load {$title}',
23-
'BLUETOOTH_WEB_NOT_AVAILABLE': 'Required Web Bluetooth support is not available.',
22+
'BLUETOOTH_NOT_AVAILABLE': 'Required Bluetooth support is not available.',
2423
'BLUETOOTH_WEB_LIGHT': 'Required Web Bluetooth support is currently limited on Windows OS.',
24+
'BLUETOOTH_WEB_NOT_AVAILABLE': 'Required Web Bluetooth support is not available.',
25+
'LOAD_FILE': 'Load {$title}',
26+
'USE': 'Use',
2527
};
2628

2729

0 commit comments

Comments
 (0)