add translations

This commit is contained in:
marlon-erler
2024-07-09 19:17:11 +02:00
parent b80c59e00e
commit 6b3ed0121e
4 changed files with 217 additions and 20 deletions
+3 -3
View File
@@ -1,6 +1,5 @@
import * as React from "bloatless-react";
import { Chat, removeChat } from "../Model/chatModel";
import {
cannotCreateChat,
chats,
@@ -10,6 +9,7 @@ import {
selectedChat,
} from "../Model/model";
import { Chat } from "../Model/chatModel";
import { translation } from "../translations";
const chatConverter: React.ListItemConverter<Chat> = (chat) => {
@@ -40,10 +40,10 @@ export function ChatListSection() {
<label class="tile">
<span class="icon">forum</span>
<div>
<span>{translation.newChatPrimaryChannel}</span>
<span>{translation.primaryChannel}</span>
<input
bind:value={newChatName}
placeholder={translation.newChatNamePlaceholder}
placeholder={translation.primaryChannelPlaceholder}
on:enter={createChat}
></input>
</div>
-2
View File
@@ -6,8 +6,6 @@ import { translation } from "../translations";
export function PersonalSection() {
return (
<div class="flex-column">
<h2>{translation.personal}</h2>
<label class="tile">
<span class="icon">account_circle</span>
<div>