From 19843e39fd679fbf609713e614e41e5b7a63f7c3 Mon Sep 17 00:00:00 2001 From: Jannik Streidl Date: Sun, 28 Apr 2024 14:39:06 +0200 Subject: [PATCH] Added more german translations + added more i18n keys --- .../components/admin/UserChatsModal.svelte | 6 +-- .../chat/Messages/ResponseMessage.svelte | 16 +++---- .../chat/Messages/UserMessage.svelte | 6 +-- src/lib/components/chat/ModelSelector.svelte | 2 +- .../chat/ModelSelector/Selector.svelte | 2 +- src/lib/components/common/Tags.svelte | 5 +- src/lib/components/layout/Navbar.svelte | 4 +- src/lib/components/layout/Navbar/Menu.svelte | 13 ++++-- src/lib/components/layout/Sidebar.svelte | 2 +- .../components/layout/Sidebar/ChatMenu.svelte | 5 +- src/lib/i18n/locales/de-DE/translation.json | 46 +++++++++++++++---- src/routes/(app)/admin/+page.svelte | 4 +- src/routes/s/[id]/+page.svelte | 2 +- 13 files changed, 74 insertions(+), 39 deletions(-) diff --git a/src/lib/components/admin/UserChatsModal.svelte b/src/lib/components/admin/UserChatsModal.svelte index 9b1cacb33..34998834b 100644 --- a/src/lib/components/admin/UserChatsModal.svelte +++ b/src/lib/components/admin/UserChatsModal.svelte @@ -70,7 +70,7 @@ > {$i18n.t('Name')} - {$i18n.t('Created At')} + {$i18n.t('Created at')} @@ -96,7 +96,7 @@
- +
{:else} -
{user.name} has no conversations.
+
{user.name} {$i18n.t('has no conversations.')}
{/if} diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 23397603a..35ac3f8ef 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -492,7 +492,7 @@ {/if} {#if !readOnly} - +