Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
3fe5f001
Commit
3fe5f001
authored
Mar 04, 2024
by
Jannik Streidl
Browse files
more translations
parent
304006aa
Changes
24
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
14 deletions
+20
-14
src/routes/(app)/admin/+page.svelte
src/routes/(app)/admin/+page.svelte
+2
-2
src/routes/(app)/documents/+page.svelte
src/routes/(app)/documents/+page.svelte
+2
-2
src/routes/(app)/prompts/+page.svelte
src/routes/(app)/prompts/+page.svelte
+1
-1
src/routes/auth/+page.svelte
src/routes/auth/+page.svelte
+15
-9
No files found.
src/routes/(app)/admin/+page.svelte
View file @
3fe5f001
...
...
@@ -90,7 +90,7 @@
<div class=" flex flex-col justify-center">
<div class=" flex justify-between items-center">
<div class="flex items-center text-2xl font-semibold">
All Users
{$i18n.t('
All Users
')}
<div class="flex self-center w-[1px] h-6 mx-2.5 bg-gray-200 dark:bg-gray-700" />
<span class="text-lg font-medium text-gray-500 dark:text-gray-300"
>{users.length}</span
...
...
@@ -122,7 +122,7 @@
</div>
</div>
<div class=" text-gray-500 text-xs mt-1">
ⓘ Click on the user role button to change a user's role.
ⓘ
{$i18n.t("
Click on the user role button to change a user's role.
")}
</div>
<hr class=" my-3 dark:border-gray-600" />
...
...
src/routes/(app)/documents/+page.svelte
View file @
3fe5f001
...
...
@@ -219,7 +219,7 @@
</div>
</div>
<div class=" text-gray-500 text-xs mt-1">
ⓘ Use '#' in the prompt input to load and select your documents.
ⓘ
{$i18n.t("
Use '#' in the prompt input to load and select your documents.
")}
</div>
</div>
...
...
@@ -242,7 +242,7 @@
<input
class=" w-full text-sm pr-4 py-1 rounded-r-xl outline-none bg-transparent"
bind:value={query}
placeholder=
"
Search Document
"
placeholder=
{$i18n.t('
Search Document
s')}
/>
</div>
...
...
src/routes/(app)/prompts/+page.svelte
View file @
3fe5f001
...
...
@@ -70,7 +70,7 @@
<input
class=" w-full text-sm pr-4 py-1 rounded-r-xl outline-none bg-transparent"
bind:value={query}
placeholder=
"
Search Prompt
"
placeholder=
{$i18n.t('
Search Prompt
s')}
/>
</div>
...
...
src/routes/auth/+page.svelte
View file @
3fe5f001
...
...
@@ -98,13 +98,17 @@
}}
>
<div class=" text-xl sm:text-2xl font-bold">
{mode === 'signin' ? 'Sign in' : 'Sign up'} to {$WEBUI_NAME}
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Sign up')}
{$i18n.t('to')}
{$WEBUI_NAME}
</div>
{#if mode === 'signup'}
<div class=" mt-1 text-xs font-medium text-gray-500">
ⓘ {$WEBUI_NAME} does not make any external connections, and your data stays securely on
your locally hosted server.
ⓘ {$WEBUI_NAME}
{$i18n.t(
'does not make any external connections, and your data stays securely on your locally hosted server.'
)}
</div>
{/if}
...
...
@@ -117,7 +121,7 @@
type="text"
class=" border px-4 py-2.5 rounded-2xl w-full text-sm"
autocomplete="name"
placeholder=
"
Enter Your Full Name
"
placeholder=
{$i18n.t('
Enter Your Full Name
')}
required
/>
</div>
...
...
@@ -132,7 +136,7 @@
type="email"
class=" border px-4 py-2.5 rounded-2xl w-full text-sm"
autocomplete="email"
placeholder=
"
Enter Your Email
"
placeholder=
{$i18n.t('
Enter Your Email
')}
required
/>
</div>
...
...
@@ -143,7 +147,7 @@
bind:value={password}
type="password"
class=" border px-4 py-2.5 rounded-2xl w-full text-sm"
placeholder=
"
Enter Your Password
"
placeholder=
{$i18n.t('
Enter Your Password
')}
autocomplete="current-password"
required
/>
...
...
@@ -155,11 +159,13 @@
class=" bg-gray-900 hover:bg-gray-800 w-full rounded-full text-white font-semibold text-sm py-3 transition"
type="submit"
>
{mode === 'signin' ? 'Sign
I
n' : 'Create Account'}
{mode === 'signin' ?
$i18n.t(
'Sign
i
n'
)
:
$i18n.t(
'Create Account'
)
}
</button>
<div class=" mt-4 text-sm text-center">
{mode === 'signin' ? `Don't have an account?` : `Already have an account?`}
{mode === 'signin'
? $i18n.t("Don't have an account?")
: $i18n.t('Already have an account?')}
<button
class=" font-medium underline"
...
...
@@ -172,7 +178,7 @@
}
}}
>
{mode === 'signin' ?
`
Sign up
`
:
`
Sign
In`
}
{mode === 'signin' ?
$i18n.t('
Sign up
')
:
$i18n.t('
Sign
in')
}
</button>
</div>
</div>
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment