Add en-US translations
This commit is contained in:
parent
31b92da6ce
commit
bd01a35cc6
45 changed files with 539 additions and 158 deletions
|
@ -13,6 +13,7 @@
|
|||
import cinemaCloseImg from "../images/cinema-close.svg";
|
||||
import cinemaImg from "../images/cinema.svg";
|
||||
import microphoneImg from "../images/microphone.svg";
|
||||
import { translator } from "../../Translator/Translator";
|
||||
|
||||
export let game: Game;
|
||||
let selectedCamera: string | undefined = undefined;
|
||||
|
@ -76,7 +77,7 @@
|
|||
|
||||
<form class="enableCameraScene" on:submit|preventDefault={submit}>
|
||||
<section class="text-center">
|
||||
<h2>Turn on your camera and microphone</h2>
|
||||
<h2>{translator._("camera.enable.title")}</h2>
|
||||
</section>
|
||||
{#if $localStreamStore.type === "success" && $localStreamStore.stream}
|
||||
<video class="myCamVideoSetup" use:srcObject={$localStreamStore.stream} autoplay muted playsinline />
|
||||
|
@ -121,7 +122,7 @@
|
|||
{/if}
|
||||
</section>
|
||||
<section class="action">
|
||||
<button type="submit" class="nes-btn is-primary letsgo">Let's go!</button>
|
||||
<button type="submit" class="nes-btn is-primary letsgo">{translator._("camera.enable.start")}</button>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue