Add en-US translations
This commit is contained in:
parent
31b92da6ce
commit
bd01a35cc6
45 changed files with 539 additions and 158 deletions
|
@ -3,6 +3,7 @@
|
|||
import megaphoneImg from "./images/megaphone.svg";
|
||||
import { soundPlayingStore } from "../../Stores/SoundPlayingStore";
|
||||
import { afterUpdate } from "svelte";
|
||||
import { translator } from "../../Translator/Translator";
|
||||
|
||||
export let url: string;
|
||||
let audio: HTMLAudioElement;
|
||||
|
@ -18,7 +19,7 @@
|
|||
|
||||
<div class="audio-playing" transition:fly={{ x: 210, duration: 500 }}>
|
||||
<img src={megaphoneImg} alt="Audio playing" />
|
||||
<p>Audio message</p>
|
||||
<p>{translator._("audio.message")}</p>
|
||||
<audio bind:this={audio} src={url} on:ended={soundEnded}>
|
||||
<track kind="captions" />
|
||||
</audio>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue