Skip to content

Commit a0968d6

Browse files
Added Swedish Translation
1 parent f11e561 commit a0968d6

18 files changed

+985
-0
lines changed

locales/supported.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ Locales['supportedLanguages'] = [
3131
'fra',
3232
'hin',
3333
'jpn',
34+
'swe',
3435
'vie',
3536
];

locales/swe/_swe.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/**
2+
* @fileoverview Translation file (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] (Brian Levinsen)
19+
*/
20+
window['Locales'] = window['Locales'] || {};
21+
Locales['swe'] = Locales['swe'] || {};

locales/swe/blockly.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/**
2+
* @fileoverview Blockly Translation file (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] (Brian Levinsen)
19+
*/
20+
Locales['swe']['BLOCKLY'] = {
21+
'CREATE_NEW_VARIABLE': 'Skapa ny Variabel',
22+
};

locales/swe/blocks/blocks.js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/**
2+
* @fileoverview Translation file for blocks (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+
Locales['swe']['BLOCKS'] = {
21+
'ALL': 'alla',
22+
'AND': 'och',
23+
'AS': 'som',
24+
'CHANGE': 'ändra',
25+
'CLEAR_DISPLAY': 'rensa_skärm',
26+
'CONTROL': 'Kontrollera',
27+
'DEFINE': 'definera',
28+
'DESTROY': 'förstör',
29+
'DISABLE': 'avaktivera',
30+
'DISPLAY': 'Visa',
31+
'DISPLAY_TEXT': 'visa text',
32+
'DO': 'gör',
33+
'DOWN': 'ner',
34+
'ENABLE': 'aktivera',
35+
'GROUP': 'gruppera',
36+
'HEIGHT': 'höjd',
37+
'IMMEDIATELY': 'omedelbart',
38+
'IN': 'in',
39+
'KILL': 'döda',
40+
'LEFT': 'vänster',
41+
'LISTS': 'Listor',
42+
'PADDING': 'stoppning',
43+
'REPEAT_FOREVER': 'repetera_för_evigt',
44+
'RIGHT': 'höger',
45+
'SEC': 'sek.',
46+
'SET': 'sätt',
47+
'TO': 'till',
48+
'UP': 'upp',
49+
'WAIT': 'vänta',
50+
'WHEN_FINISHED': 'när avslutad',
51+
'WIDTH': 'bredd',
52+
'WITH': 'med',
53+
};

locales/swe/blocks/phaser_blocks.js

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/**
2+
* @fileoverview Translation file for Phaser blocks (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['swe']['BLOCKS_PHASER'] = {
22+
'AUDIO': 'Ljud',
23+
'AUDIO_ADD_BGM': 'som bakgrundsljud',
24+
'AUDIO_PAUSE': 'pausa ljud',
25+
'AUTOSTART': 'autostart',
26+
'CHECK_COLLISION_DOWN': 'kontrollera kollison ner',
27+
'CHECK_COLLISION_LEFT': 'kontrollera kollison vänster',
28+
'CHECK_COLLISION_RIGHT': 'kontrollera kollison höger',
29+
'CHECK_COLLISION_UP': 'kontrollera kollison upp',
30+
'COLLIDE_WITH': 'kollidera med',
31+
'COUNT_LIVING_OBJECTS': 'räkna levande objekt',
32+
'CREATE': 'Skapa',
33+
'EXAMPLE_FILES': 'Exempelfiler',
34+
'FILES': 'Filer',
35+
'GAME': 'Spel',
36+
'GAME_RESTART': 'Starta om spel',
37+
'GAME_START': 'starta spel',
38+
'GENERATOR': 'Generatorer',
39+
'GENERATOR_OBSTACLE': 'generera hinder',
40+
'GENERATOR_RANDOM_VERTICAL_OBSTACLE': 'generera slumpvis vertikala hinder',
41+
'GENERATOR_VERTICAL_OBSTACLE': 'generera vertikala hinder',
42+
'GROUP': 'Gruppera',
43+
'INPUT': 'Inmatning',
44+
'INPUTS': 'Ingångar',
45+
'KEYBOARD_CURSOR_KEYS': 'piltangenter',
46+
'KEYBOARD_KEY': 'tangentbordsknapp',
47+
'KEYBOARD_SPACEBAR': 'mellanrumstangenten',
48+
'KEYBOARD_WASD_KEYS': 'WASD-tangenter',
49+
'LOAD_AUDIO': 'ladda ljud',
50+
'LOAD_IMAGE': 'ladda bild',
51+
'MOUSE_KEYS': 'musknappar',
52+
'NO_AUTOSTART': 'ingen automatisk start',
53+
'ON_CREATE': 'vid skapande',
54+
'ON_OUT_OF_BOUNDS': 'vid utanför banan',
55+
'ON_PRELOAD': 'vid förprogrammering',
56+
'OPEN_FILE_LIBRARY': 'Öppna filbibliotek',
57+
'PHYSICS_ARCADE_ENABLE': 'aktivera arkadfysik för',
58+
'PHYSICS_SPRITE': 'Fysisk-Sprite',
59+
'PRELOAD': 'Förprogrammera',
60+
'RENDERER': 'Rendera',
61+
'SPRITE': 'Sprite',
62+
'TEXT': 'Textobjekt',
63+
'TILE_SPRITE': 'Tile Sprite',
64+
'TIME_LOOP_EVENT': 'repetera varje',
65+
'UPDATE': 'Uppdatera',
66+
'WORLD': 'Världen',
67+
'WORLD_ARCADE_PHYSICS': 'Världen-arkadfysik',
68+
'WORLD_SORT_DIRECTION': 'Världen-sorteringsriktning',
69+
};

locales/swe/blocks/robot_blocks.js

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/**
2+
* @fileoverview Translation file for robot blocks (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['swe']['BLOCKS_ROBOT'] = {
22+
'EVENTS': 'Event',
23+
'HEADING': 'riktning',
24+
'LIGHTS': 'Lampor',
25+
'MOVEMENTS': 'Förflyttning',
26+
'ON_COLLISION': 'vid kollision',
27+
'ON_POSITION_CHANGE': 'vid ändrad riktning',
28+
'RESET_ROBOT': 'nolställ robot',
29+
'ROLL_FOR': 'rulla',
30+
'ROLL_WITH': 'rulla med',
31+
'ROTATE': 'rotara',
32+
'SET_BACKLIGHT': 'sätt bakljus',
33+
'SET_BLINK': 'sätt blinka',
34+
'SET_COLOR': 'sätt färg',
35+
'SET_HEADING': 'sätt riktning',
36+
'SET_SPEED': 'sätt hastighet',
37+
'SET_STABILIZATION': 'sätt stabilisering',
38+
'SPEED': 'hastighet',
39+
'START': 'Programstart',
40+
'STOP_MOTORS': 'stanna motorer',
41+
};

locales/swe/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] (Brian Levinsen)
19+
*/
20+
/* eslint-disable max-len */
21+
Locales['swe']['CONNECT_SCREEN'] = {
22+
'TURN_ON_NOTE': 'Vänligen säkra att följande enhet är laddad och påslagen:',
23+
'CONNECT_NOTE': 'Vänligen säkra att Blåtandsenheten är laddad och påslagen.',
24+
'SEARCH_FOR': 'Sök efter',
25+
'SEARCH_FOR_DEVICE': 'Sök efter Båtandsenheter ...',
26+
};

locales/swe/console.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* @fileoverview Translation file for the Console (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] (Brian Levinsen)
19+
*/
20+
Locales['swe']['CONSOLE'] = {
21+
'BUTTON_TOOLTIP': 'Visa/dölj konsol',
22+
'CLEAR': 'Rensa konsol (CTRL + L)',
23+
'COMMAND_PLACEHOLDER': 'Skriv ditt kommando här',
24+
};

locales/swe/general.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/**
2+
* @fileoverview General Translation file (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] (Brian Levinsen)
19+
*/
20+
Locales['swe']['GENERAL'] = {
21+
'ABOUT': 'Om',
22+
'BACK': 'Tillbaka',
23+
'CANCEL': 'Avbryt',
24+
'CLOSE': 'Stäng',
25+
'CONTINUE': 'Fortsätt',
26+
'DONE': 'Klar',
27+
'EXIT': 'Avsluta',
28+
'HELP': 'Hjälp',
29+
'NEXT': 'Nästa',
30+
'NO': 'Nej',
31+
'OK': 'Ok',
32+
'SETTINGS': 'Inställningar',
33+
'YES': 'Ja',
34+
};

locales/swe/library.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/**
2+
* @fileoverview Library Translation file (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] (Brian Levinsen)
19+
*/
20+
/* eslint-disable max-len */
21+
Locales['swe']['LIBRARY'] = {
22+
'TOUR_ALL_TAB': 'Här hittar du alla dina filer.',
23+
'TOUR_AUDIO_TAB': 'Här hittar du dina ljudfiler.',
24+
'TOUR_CLOSE_DIALOG': 'För att stänga fönstret, tryck Stäng.',
25+
'TOUR_IMAGE_TAB': 'Här hittar du dina bilder.',
26+
'TOUR_INTRO': 'Med filbiblioteket har du alla dina filer lättillgängliga.',
27+
'TOUR_SEARCH_TAB': 'Denna sökning hjälper dig att hitta fler bilder till ditt projekt.',
28+
'TOUR_UPLOAD_BUTTON': 'Tryck här för att ladda upp en fil till ditt bibliotek.',
29+
};

0 commit comments

Comments
 (0)