Skip to content

Commit e5be296

Browse files
committed
Fixed smaller language issues and added a draft of an basic Phaser tutorial.
1 parent f7ce44f commit e5be296

File tree

20 files changed

+3101
-2764
lines changed

20 files changed

+3101
-2764
lines changed

app/chrome_app/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"short_name": "Coding with Chrome",
1010
"description": "Learn, improve, or teach coding skills within a Chrome browser.",
1111
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgSWdCJSwkgFTY9d993Quot277oCS2PCM2H/F6U28NE8D3Z21GXS/7qW8XCGShB054Wboq62pP679f9tB9F+GRHzOh/an4zIu+Uhb3ZKVzZLJbHsP8N+E5wk3wgwOBgE+UXCy9I8i1RpfzutJ4aha+YEzvCsVpo6UwsuWiXORB9yRU5NuooYX+fhVpWZmrZJo4vqzQhuoJ/uWiQujABXXo4qdrclwSw8+JlpWLMqHHQ6HE8Sf7VWDdGvRdYP6LRZobWqovb659qEumJ0bxhwXtHkWgPHQWtW35T/r/oH8uuke35pH+YtBtaOqN5U3bYGPinP0bYrI33OSLUJx/DrC1wIDAQAB",
12-
"version": "5.4.23",
12+
"version": "5.4.24",
1313
"oauth2": {
1414
"client_id": "418162477970-2qmsb2sp3m522hf292154favsjgpsj9n.apps.googleusercontent.com",
1515
"scopes": [

app/nw_app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "binary",
3-
"version": "5.4.23",
3+
"version": "5.4.24",
44
"main": "js/background.js",
55
"window": {
66
"title": "Coding with Chrome",

locales/deu/blocks/phaser_blocks.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ Object.assign(Locales['deu'], {
3333
'BLOCKS_PHASER_EXAMPLE_FILES': 'Beispiel Dateien',
3434
'BLOCKS_PHASER_FILES': 'Dateien',
3535
'BLOCKS_PHASER_GAME': 'Spiel',
36+
'BLOCKS_PHASER_GAME_RESTART': 'Spiel neustarten',
3637
'BLOCKS_PHASER_GENERATOR': 'Generatoren',
3738
'BLOCKS_PHASER_INPUT': 'Eingabe',
3839
'BLOCKS_PHASER_INPUTS': 'Eingaben',
3940
'BLOCKS_PHASER_ON_CREATE': 'beim Erstellen',
41+
'BLOCKS_PHASER_ON_PRELOAD': 'beim Vorausladen',
4042
'BLOCKS_PHASER_OPEN_FILE_LIBRARY': 'Öffne Datei Bibliothek',
4143
'BLOCKS_PHASER_PHYSICS_SPRITE': 'Physics Sprite',
42-
'BLOCKS_PHASER_PRELOAD': 'Vorrausladen',
44+
'BLOCKS_PHASER_PRELOAD': 'Vorausladen',
4345
'BLOCKS_PHASER_RENDERER': 'Renderer',
4446
'BLOCKS_PHASER_SPRITE': 'Sprite',
4547
'BLOCKS_PHASER_TEXT': 'Text Objekt',

locales/deu/setting_screen.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/**
2+
* @fileoverview Translation file for the Setting 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+
window['Locales'] = window['Locales'] || {};
21+
Locales['deu'] = Locales['deu'] || {};
22+
23+
24+
/**
25+
* @final
26+
* @export
27+
*/
28+
/* eslint-disable max-len */
29+
Object.assign(Locales['deu'], {
30+
'SETTING_SCREEN_TITLE': 'Einstellungen',
31+
'SETTING_SCREEN_GENERAL': 'Allgemein',
32+
'SETTING_SCREEN_MODULES': 'Module',
33+
'SETTING_SCREEN_EDITOR': 'Editor',
34+
'SETTING_SCREEN_MISC': 'Verschiedenes',
35+
'SETTING_SCREEN_NOTE_RESTART': 'Die Anwendung muss nach dem aktieren oder deaktivieren einer oder mehrere Optionen neugestartet werden.',
36+
});

locales/deu/translation.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ Object.assign(Locales['deu'], {
115115
'Search for Images on Google': 'Suche auf Google nach Bildern',
116116
'Search': 'Suchen',
117117
'Serial is disabled!': 'Serielle Schnittstelle ist deaktiviert!',
118-
'Settings': 'Einstellungen',
119118
'Shared with me': 'Für mich freigegeben',
120119
'Starred': 'Makiert',
121120
'Start a file': 'Start eine neue Datei',

locales/eng/blocks/phaser_blocks.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ Object.assign(Locales['eng'], {
3333
'BLOCKS_PHASER_EXAMPLE_FILES': 'Example Files',
3434
'BLOCKS_PHASER_FILES': 'Files',
3535
'BLOCKS_PHASER_GAME': 'Game',
36+
'BLOCKS_PHASER_GAME_RESTART': 'Restart game',
3637
'BLOCKS_PHASER_GENERATOR': 'Generators',
3738
'BLOCKS_PHASER_INPUT': 'Input',
3839
'BLOCKS_PHASER_INPUTS': 'Inputs',
3940
'BLOCKS_PHASER_ON_CREATE': 'on create',
41+
'BLOCKS_PHASER_ON_PRELOAD': 'on preload',
4042
'BLOCKS_PHASER_OPEN_FILE_LIBRARY': 'Open file library',
4143
'BLOCKS_PHASER_PHYSICS_SPRITE': 'Physics Sprite',
4244
'BLOCKS_PHASER_PRELOAD': 'Preload',

locales/eng/setting_screen.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/**
2+
* @fileoverview Translation file for the Setting 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+
window['Locales'] = window['Locales'] || {};
21+
Locales['eng'] = Locales['eng'] || {};
22+
23+
24+
/**
25+
* @final
26+
* @export
27+
*/
28+
/* eslint-disable max-len */
29+
Object.assign(Locales['eng'], {
30+
'SETTING_SCREEN_TITLE': 'Settings',
31+
'SETTING_SCREEN_GENERAL': 'General',
32+
'SETTING_SCREEN_MODULES': 'Modules',
33+
'SETTING_SCREEN_EDITOR': 'Editor',
34+
'SETTING_SCREEN_MISC': 'Misc',
35+
'SETTING_SCREEN_NOTE_RESTART': 'You need to restart the application after enabling or disabling an options',
36+
});

locales/eng/translation.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ Locales['eng'] = Locales['eng'] || {};
2828
/* eslint-disable max-len */
2929
Object.assign(Locales['eng'], {
3030
' steps)': ' steps)',
31-
'* You need to restart the application after enabling or disabling these options': '* You need to restart the application after enabling or disabling these options',
3231
'About Coding with Chrome': 'About Coding with Chrome',
3332
'Address: {$address}': 'Address: {$address}',
3433
'Advanced Coding': 'Advanced Coding',
@@ -360,7 +359,6 @@ Object.assign(Locales['eng'], {
360359
'Write code in the simplified CoffeeScript language': 'Write code in the simplified CoffeeScript language',
361360
'Write code with Pencil Code': 'Write code with Pencil Code',
362361
'Write many things on the screen with a repeating program (a loop)': 'Write many things on the screen with a repeating program (a loop)',
363-
'You need to restart the application after enabling or disabling any module': 'You need to restart the application after enabling or disabling any module',
364362
'acceleration': 'acceleration',
365363
'ambient light intensity': 'ambient light intensity',
366364
'angle': 'angle',

0 commit comments

Comments
 (0)