From 755dd85a20aa7693550bc822874be02462cd6752 Mon Sep 17 00:00:00 2001 From: Jannik Streidl Date: Tue, 7 May 2024 07:51:20 +0200 Subject: [PATCH] Added localisation for the new chat timestamps --- src/lib/components/layout/Sidebar.svelte | 2 +- src/lib/i18n/locales/de-DE/translation.json | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index d4e047f41..9f5933150 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -447,7 +447,7 @@ ? '' : 'pt-5'} pb-0.5" > - {chat.time_range} + {$i18n.t(chat.time_range)} {/if} diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json index 647f2faf8..6b282e942 100644 --- a/src/lib/i18n/locales/de-DE/translation.json +++ b/src/lib/i18n/locales/de-DE/translation.json @@ -465,5 +465,22 @@ "You have shared this chat": "Du hast diesen Chat", "You're a helpful assistant.": "Du bist ein hilfreicher Assistent.", "You're now logged in.": "Du bist nun eingeloggt.", - "Youtube": "" + "Youtube": "YouTube", + "Help": "Hilfe", + "Today": "Heute", + "Yesterday": "Gestern", + "Previous 7 days": "Vorherige 7 Tage", + "Previous 30 days": "Vorherige 30 Tage", + "January": "Januar", + "February": "Februar", + "March": "März", + "April": "April", + "May": "Mai", + "June": "Juni", + "July": "Juli", + "August": "August", + "September": "September", + "October": "Oktober", + "November": "November", + "December": "Dezember" }