Add en-US translations

This commit is contained in:
Nolway
2021-12-19 16:01:51 +01:00
committed by Alexis Faizeau
parent 31b92da6ce
commit bd01a35cc6
45 changed files with 539 additions and 158 deletions
@@ -1,6 +1,7 @@
<script lang="typescript">
import type { Game } from "../../Phaser/Game/Game";
import { SelectCharacterScene, SelectCharacterSceneName } from "../../Phaser/Login/SelectCharacterScene";
import { translator } from "../../Translator/Translator";
export let game: Game;
@@ -25,7 +26,7 @@
<form class="selectCharacterScene">
<section class="text-center">
<h2>Select your WOKA</h2>
<h2>{translator._("select-woka.title")}</h2>
<button class="selectCharacterButton selectCharacterButtonLeft nes-btn" on:click|preventDefault={selectLeft}>
&lt;
</button>
@@ -37,12 +38,12 @@
<button
type="submit"
class="selectCharacterSceneFormSubmit nes-btn is-primary"
on:click|preventDefault={cameraScene}>Continue</button
on:click|preventDefault={cameraScene}>{translator._("select-woka.continue")}</button
>
<button
type="submit"
class="selectCharacterSceneFormCustomYourOwnSubmit nes-btn"
on:click|preventDefault={customizeScene}>Customize your WOKA</button
on:click|preventDefault={customizeScene}>{translator._("select-woka.customize")}</button
>
</section>
</form>