Implement typesafe-i18n
This commit is contained in:
parent
0be77164ec
commit
446b4639c7
97 changed files with 1162 additions and 1341 deletions
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import LL from "../../i18n/i18n-svelte";
|
||||
import { chatMessagesStore, chatInputFocusStore } from "../../Stores/ChatStore";
|
||||
import { _ } from "../../Translator/Translator";
|
||||
|
||||
export const handleForm = {
|
||||
blur() {
|
||||
|
@ -28,7 +28,7 @@
|
|||
<input
|
||||
type="text"
|
||||
bind:value={newMessageText}
|
||||
placeholder={_("chat.enter")}
|
||||
placeholder={$LL.chat.enter()}
|
||||
on:focus={onFocus}
|
||||
on:blur={onBlur}
|
||||
bind:this={inputElement}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue