Merge pull request #12259 from weisser-dev/dev
Some checks are pending
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Deploy to HuggingFace Spaces / deploy (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Python CI / Format Backend (3.11) (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run

[FEAT] adjust Translations for temporary chat
This commit is contained in:
Timothy Jaeryang Baek 2025-04-01 00:59:27 -07:00 committed by GitHub
commit 15f6e3af12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 25 additions and 22 deletions

View File

@ -67,15 +67,15 @@
</div> </div>
{#if $temporaryChatEnabled} {#if $temporaryChatEnabled}
<Tooltip <Tooltip
content="This chat won't appear in history and your messages will not be saved." content={$i18n.t('This chat wont appear in history and your messages will not be saved.')}
className="w-fit" className="w-full flex justify-center mb-0.5"
placement="top-start" placement="top"
> >
<div class="flex items-center gap-2 text-gray-500 font-medium text-lg my-2 w-fit"> <div class="flex items-center gap-2 text-gray-500 font-medium text-lg my-2 w-fit">
<EyeSlash strokeWidth="2.5" className="size-5" /> Temporary Chat <EyeSlash strokeWidth="2.5" className="size-5" />{$i18n.t('Temporary Chat')}
</div> </div>
</Tooltip> </Tooltip>
{/if} {/if}
<div <div

View File

@ -92,15 +92,15 @@
<div class="m-auto w-full max-w-6xl px-2 @2xl:px-20 translate-y-6 py-24 text-center"> <div class="m-auto w-full max-w-6xl px-2 @2xl:px-20 translate-y-6 py-24 text-center">
{#if $temporaryChatEnabled} {#if $temporaryChatEnabled}
<Tooltip <Tooltip
content="This chat won't appear in history and your messages will not be saved." content={$i18n.t('This chat wont appear in history and your messages will not be saved.')}
className="w-full flex justify-center mb-0.5" className="w-full flex justify-center mb-0.5"
placement="top" placement="top"
> >
<div class="flex items-center gap-2 text-gray-500 font-medium text-lg my-2 w-fit"> <div class="flex items-center gap-2 text-gray-500 font-medium text-lg my-2 w-fit">
<EyeSlash strokeWidth="2.5" className="size-5" /> Temporary Chat <EyeSlash strokeWidth="2.5" className="size-5" />{$i18n.t('Temporary Chat')}
</div> </div>
</Tooltip> </Tooltip>
{/if} {/if}
<div <div

View File

@ -379,7 +379,7 @@
"Enable Mirostat sampling for controlling perplexity.": "", "Enable Mirostat sampling for controlling perplexity.": "",
"Enable New Sign Ups": "Registrierung erlauben", "Enable New Sign Ups": "Registrierung erlauben",
"Enabled": "Aktiviert", "Enabled": "Aktiviert",
"Enforce Temporary Chat": "", "Enforce Temporary Chat": "Temporären Chat erzwingen",
"Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Stellen Sie sicher, dass Ihre CSV-Datei 4 Spalten in dieser Reihenfolge enthält: Name, E-Mail, Passwort, Rolle.", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Stellen Sie sicher, dass Ihre CSV-Datei 4 Spalten in dieser Reihenfolge enthält: Name, E-Mail, Passwort, Rolle.",
"Enter {{role}} message here": "Geben Sie die {{role}}-Nachricht hier ein", "Enter {{role}} message here": "Geben Sie die {{role}}-Nachricht hier ein",
"Enter a detail about yourself for your LLMs to recall": "Geben Sie ein Detail über sich selbst ein, das Ihre Sprachmodelle (LLMs) sich merken sollen", "Enter a detail about yourself for your LLMs to recall": "Geben Sie ein Detail über sich selbst ein, das Ihre Sprachmodelle (LLMs) sich merken sollen",
@ -1021,7 +1021,8 @@
"Tell us more:": "Erzähl uns mehr", "Tell us more:": "Erzähl uns mehr",
"Temperature": "Temperatur", "Temperature": "Temperatur",
"Template": "Vorlage", "Template": "Vorlage",
"Temporary Chat": "Temporärer Chat", "Temporary Chat": "Temporäre Unterhaltung",
"This chat wont appear in history and your messages will not be saved.": "Diese Unterhaltung erscheint nicht in deinem Chat-Verlauf. Alle Nachrichten sind privat und werden nicht gespeichert.",
"Text Splitter": "Text-Splitter", "Text Splitter": "Text-Splitter",
"Text-to-Speech Engine": "Text-zu-Sprache-Engine", "Text-to-Speech Engine": "Text-zu-Sprache-Engine",
"Tfs Z": "Tfs Z", "Tfs Z": "Tfs Z",

View File

@ -1022,6 +1022,7 @@
"Temperature": "", "Temperature": "",
"Template": "", "Template": "",
"Temporary Chat": "", "Temporary Chat": "",
"This chat wont appear in history and your messages will not be saved.": "",
"Text Splitter": "", "Text Splitter": "",
"Text-to-Speech Engine": "", "Text-to-Speech Engine": "",
"Tfs Z": "", "Tfs Z": "",

View File

@ -1022,6 +1022,7 @@
"Temperature": "", "Temperature": "",
"Template": "", "Template": "",
"Temporary Chat": "", "Temporary Chat": "",
"This chat wont appear in history and your messages will not be saved.": "",
"Text Splitter": "", "Text Splitter": "",
"Text-to-Speech Engine": "", "Text-to-Speech Engine": "",
"Tfs Z": "", "Tfs Z": "",