contribution info in the settings

This commit is contained in:
Jannik Streidl 2024-03-07 15:41:18 +01:00
parent f55525c680
commit f5afb0ca52
3 changed files with 23 additions and 5 deletions

View file

@ -131,7 +131,7 @@
<div class=" self-center text-xs font-medium">{$i18n.t('Language')}</div>
<div class="flex items-center relative">
<select
class="dark:bg-gray-900 w-fit pr-8 rounded py-2 px-2 text-xs bg-transparent outline-none text-right"
class="dark:bg-gray-900 w-fit pr-8 rounded pt-2 pl-2 text-xs bg-transparent outline-none text-right"
bind:value={lang}
placeholder="Select a language"
on:change={(e) => {
@ -144,6 +144,18 @@
</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"
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>
<div>
<div class=" py-0.5 flex w-full justify-between">