only show the info when language = en (makes more sense to me)

This commit is contained in:
Jannik Streidl 2024-03-07 16:02:14 +01:00
parent 0d127ffef1
commit 8c596ea2fc
2 changed files with 15 additions and 16 deletions

View File

@ -144,18 +144,20 @@
</select>
</div>
</div>
<div class="mb-2 text-xs text-gray-400 dark:text-gray-500">
{$i18n.t("Didn't find your language?")}
<br />
{$i18n.t('You can help us translate the WebUI.')}
<a
class=" text-gray-300 font-medium underline"
href="https://github.com/open-webui/open-webui/blob/main/docs/CONTRIBUTING.md#-translations-and-internationalization"
target="_blank"
>
{$i18n.t('Click here for a contribution guide.')}
</a>
</div>
{#if $i18n.language === 'en'}
<div class="mb-2 text-xs text-gray-400 dark:text-gray-500">
{$i18n.t("Didn't find your language?")}
<br />
{$i18n.t('You can help us translate the WebUI.')}
<a
class=" text-gray-300 font-medium underline"
href="https://github.com/open-webui/open-webui/blob/main/docs/CONTRIBUTING.md#-translations-and-internationalization"
target="_blank"
>
{$i18n.t('Click here for a contribution guide.')}
</a>
</div>
{/if}
<div>
<div class=" py-0.5 flex w-full justify-between">

View File

@ -55,7 +55,6 @@
"Chunk Overlap": "Chunk Overlap",
"Chunk Params": "Chunk Parameter",
"Chunk Size": "Chunk Size",
"Click here for a contribution guide.": "Klicke hier für eine Anleitung dazu.",
"Click here for help": "Klicke hier für Hilfe",
"Click here to check other modelfiles.": "Klicke hier, um andere Modelfiles zu überprüfen.",
"click here.": "hier klicken.",
@ -96,7 +95,6 @@
"Deleted {tagName}": "{tagName} gelöscht",
"Description": "Beschreibung",
"Desktop Notifications": "Desktop-Benachrichtigungen",
"Didn't find your language?": "Deine Sprache nicht vorhanden?",
"Disabled": "Deaktiviert",
"Discover a modelfile": "Eine Modelfiles entdecken",
"Discover a prompt": "Einen Prompt entdecken",
@ -318,6 +316,5 @@
"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": "Du",
"You're a helpful assistant.": "Du bist ein hilfreicher Assistent.",
"You're now logged in.": "Du bist nun eingeloggt.",
"You can help us translate the WebUI.": "Du kannst uns bei der Übersetzung der WebUI helfen."
"You're now logged in.": "Du bist nun eingeloggt."
}