Browse Source

Added localisation for the new chat timestamps

Jannik Streidl 1 year ago
parent
commit
755dd85a20

+ 1 - 1
src/lib/components/layout/Sidebar.svelte

@@ -447,7 +447,7 @@
 								? ''
 								: 'pt-5'} pb-0.5"
 						>
-							{chat.time_range}
+						{$i18n.t(chat.time_range)}
 						</div>
 					{/if}
 

+ 18 - 1
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"
 }