瀏覽代碼

fixed you var + added ua translation for the new playground

Jannik Streidl 1 年之前
父節點
當前提交
53f69ace6c

+ 2 - 2
src/lib/components/chat/Messages/UserMessage.svelte

@@ -67,13 +67,13 @@
 					{#if $modelfiles.map((modelfile) => modelfile.tagName).includes(message.user)}
 						{$modelfiles.find((modelfile) => modelfile.tagName === message.user)?.title}
 					{:else}
-						{$i18n.t('Sie')}
+						{$i18n.t('You')}
 						<span class=" text-gray-500 text-sm font-medium">{message?.user ?? ''}</span>
 					{/if}
 				{:else if $settings.showUsername}
 					{user.name}
 				{:else}
-					{$i18n.t('Sie')}
+					{$i18n.t('You')}
 				{/if}
 
 				{#if message.timestamp}

+ 1 - 1
src/lib/i18n/locales/de/common.json

@@ -322,5 +322,5 @@
 	"Write a prompt suggestion (e.g. Who are you?)": "Schreiben Sie einen Prompt-Vorschlag (z.B. Wer bist du?)",
 	"Write a summary in 50 words that summarizes [topic or keyword]": "Schreibe eine kurze Zusammenfassung in 50 Wörtern, die [Thema oder Schlüsselwort] zusammenfasst.",
 	"You're a helpful assistant.": "Du bist ein hilfreicher Assistent.",
-	"You're now logged in.": "Sie sind jetzt angemeldet."
+	"You": "Sie"
 }

+ 2 - 1
src/lib/i18n/locales/fa/common.json

@@ -322,5 +322,6 @@
 	"Add message": "Add message",
 	"Enter a user message here": "Enter a user message here",
 	"Enter an assistant message here": "Enter an assistant message here",
-	"Drop any files here to add to the conversation": "Drop any files here to add to the conversation"
+	"Drop any files here to add to the conversation": "Drop any files here to add to the conversation",
+	"You": "You"
 }

+ 12 - 1
src/lib/i18n/locales/ua/common.json

@@ -311,5 +311,16 @@
 	"Whisper (Local)": "Шепіт (локально)",
 	"Write a prompt suggestion (e.g. Who are you?)": "Напишіть запит (напр. Хто ти?)",
 	"Write a summary in 50 words that summarizes [topic or keyword]": "Напишіть стислий зміст у 50 слів, який узагальнює [тему або ключове слово]",
-	"You're now logged in.": "Ви увійшли в систему."
+	"You're now logged in.": "Ви увійшли в систему.",
+	"You": "Ви",
+	"Playground": "Майданчик",
+	"Add message": "Додати повідомлення",
+	"Enter a user message here": "Введіть тут повідомлення користувача",
+	"Enter an assistant message here": "Введіть тут повідомлення асистента",
+	"Drop any files here to add to the conversation": "Перетягніть сюди файли, щоб додати до розмови",
+	"You're a helpful assistant.": "Ви корисний асистент.",
+	"assistant": "асистент",
+	"Submit": "Надіслати",
+	"Chat": "Чат",
+	"Text Completion": "Завершення тексту"
 }