Skip to content

Commit 465e8d9

Browse files
committed
Add German language
1 parent 0870f0b commit 465e8d9

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

public/locales/de.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"menu": {
3+
"title": "Qaboom!",
4+
"1_player": "1 Spieler*in",
5+
"2_player": "2 Spieler*innen",
6+
"high_scores": "High Scores",
7+
"credits": "Credits",
8+
"level": "Level {level}"
9+
},
10+
"credits": {
11+
"title": "Credits",
12+
"concept_development": "Konzept & Programmierung",
13+
"content_coord": "Inhalt & Koordination",
14+
"music": "Musik",
15+
"support": "Unterstützung",
16+
"graphic_design": "Graphik-Design der Arcade-Maschine",
17+
"building": "Bau der Arcade-Maschine",
18+
"funded_by": "Unterstützt durch",
19+
"part_of": "Teil von quantum-arcade.org von"
20+
},
21+
"game": {
22+
"go": "LOS!",
23+
"lvl": "Lvl {level}",
24+
"hold": "PAUSE",
25+
"boom_text": {
26+
"small": "boom.",
27+
"medium": "BOOM!",
28+
"large": "QABOOM!",
29+
"all_clear": "ALLES GEQLÄRT!"
30+
},
31+
"enter_name": "Namen eingeben"
32+
}
33+
}

public/locales/fake.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { loadLanguages } from "./i18n";
44
(async () => {
55
const urlParams = new URLSearchParams(window.location.search);
66
await loadLanguages(["en"], urlParams.get("lang") || "en");
7-
// load "fake" language for testing translations
8-
// await loadLanguages(["en", "fake"], urlParams.get("lang") || "en");
7+
// load more languages for testing translations
8+
// await loadLanguages(["en", "de"], urlParams.get("lang") || "en");
99
const game = new Game();
1010
await game.start();
1111
})();

0 commit comments

Comments
 (0)