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
+2 -1
View File
@@ -5,6 +5,7 @@
import ChatElement from "./ChatElement.svelte";
import { afterUpdate, beforeUpdate, onMount } from "svelte";
import { HtmlUtils } from "../../WebRtc/HtmlUtils";
import { translator } from "../../Translator/Translator";
let listDom: HTMLElement;
let chatWindowElement: HTMLElement;
@@ -45,7 +46,7 @@
<p class="close-icon" on:click={closeChat}>&times</p>
<section class="messagesList" bind:this={listDom}>
<ul>
<li><p class="system-text">Here is your chat history:</p></li>
<li><p class="system-text">{translator._("chat.intro")}</p></li>
{#each $chatMessagesStore as message, i}
<li><ChatElement {message} line={i} /></li>
{/each}