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

View file

@ -1,3 +1,4 @@
import { translator } from "../../Translator/Translator";
import { TextField } from "../Components/TextField";
import Image = Phaser.GameObjects.Image;
import Sprite = Phaser.GameObjects.Sprite;
@ -38,7 +39,7 @@ export class ReconnectingScene extends Phaser.Scene {
this,
this.game.renderer.width / 2,
this.game.renderer.height / 2,
"Connection lost. Reconnecting..."
translator._("connection-lost")
);
const cat = this.add.sprite(this.game.renderer.width / 2, this.game.renderer.height / 2 - 32, "cat");