Implement typesafe-i18n
This commit is contained in:
parent
0be77164ec
commit
446b4639c7
97 changed files with 1162 additions and 1341 deletions
|
@ -13,7 +13,7 @@
|
|||
import cinemaCloseImg from "../images/cinema-close.svg";
|
||||
import cinemaImg from "../images/cinema.svg";
|
||||
import microphoneImg from "../images/microphone.svg";
|
||||
import { _ } from "../../Translator/Translator";
|
||||
import LL from "../../i18n/i18n-svelte";
|
||||
|
||||
export let game: Game;
|
||||
let selectedCamera: string | undefined = undefined;
|
||||
|
@ -77,7 +77,7 @@
|
|||
|
||||
<form class="enableCameraScene" on:submit|preventDefault={submit}>
|
||||
<section class="text-center">
|
||||
<h2>{_("camera.enable.title")}</h2>
|
||||
<h2>{$LL.camera.enable.title()}</h2>
|
||||
</section>
|
||||
{#if $localStreamStore.type === "success" && $localStreamStore.stream}
|
||||
<video class="myCamVideoSetup" use:srcObject={$localStreamStore.stream} autoplay muted playsinline />
|
||||
|
@ -122,7 +122,7 @@
|
|||
{/if}
|
||||
</section>
|
||||
<section class="action">
|
||||
<button type="submit" class="nes-btn is-primary letsgo">{_("camera.enable.start")}</button>
|
||||
<button type="submit" class="nes-btn is-primary letsgo">{$LL.camera.enable.start()}</button>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue