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

View file

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