Spaces:
Sleeping
Sleeping
Kaspar L. Palgi commited on
Commit ·
ecf520e
1
Parent(s): 5e60cbd
fix(ui): Estonian grammar corrections
Browse files
.gitignore
CHANGED
|
@@ -14,4 +14,6 @@ SECRET_CONFIG
|
|
| 14 |
gcp-*.json
|
| 15 |
db
|
| 16 |
models/*
|
| 17 |
-
!models/add-your-models-here.txt
|
|
|
|
|
|
|
|
|
| 14 |
gcp-*.json
|
| 15 |
db
|
| 16 |
models/*
|
| 17 |
+
!models/add-your-models-here.txt
|
| 18 |
+
hfenv
|
| 19 |
+
_notes
|
src/lib/components/NavMenu.svelte
CHANGED
|
@@ -129,7 +129,7 @@
|
|
| 129 |
}}
|
| 130 |
>
|
| 131 |
<CarbonSearch class="text-xs" />
|
| 132 |
-
<span class="block">Otsi
|
| 133 |
{#if !isVirtualKeyboard()}
|
| 134 |
<span class="invisible ml-auto text-xs text-gray-500 group-hover:visible"
|
| 135 |
><kbd>ctrl</kbd>+<kbd>k</kbd></span
|
|
@@ -196,7 +196,7 @@
|
|
| 196 |
href="{base}/login"
|
| 197 |
class="flex h-9 w-full flex-none items-center gap-1.5 rounded-lg pl-2.5 pr-2 text-gray-500 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-700"
|
| 198 |
>
|
| 199 |
-
|
| 200 |
</a>
|
| 201 |
{/if}
|
| 202 |
{#if nModels > 1}
|
|
|
|
| 129 |
}}
|
| 130 |
>
|
| 131 |
<CarbonSearch class="text-xs" />
|
| 132 |
+
<span class="block">Otsi vestluseid</span>
|
| 133 |
{#if !isVirtualKeyboard()}
|
| 134 |
<span class="invisible ml-auto text-xs text-gray-500 group-hover:visible"
|
| 135 |
><kbd>ctrl</kbd>+<kbd>k</kbd></span
|
|
|
|
| 196 |
href="{base}/login"
|
| 197 |
class="flex h-9 w-full flex-none items-center gap-1.5 rounded-lg pl-2.5 pr-2 text-gray-500 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-700"
|
| 198 |
>
|
| 199 |
+
Logi sisse
|
| 200 |
</a>
|
| 201 |
{/if}
|
| 202 |
{#if nModels > 1}
|
src/lib/components/chat/ChatInput.svelte
CHANGED
|
@@ -246,7 +246,7 @@
|
|
| 246 |
>
|
| 247 |
<IconImageGen classNames="text-xl" />
|
| 248 |
{#if imageGenIsOn}
|
| 249 |
-
|
| 250 |
{/if}
|
| 251 |
</button>
|
| 252 |
</HoverTooltip>
|
|
@@ -330,14 +330,14 @@
|
|
| 330 |
</button>
|
| 331 |
{/each}
|
| 332 |
<HoverTooltip
|
| 333 |
-
label="
|
| 334 |
position="right"
|
| 335 |
TooltipClassNames="text-xs !text-left !w-auto whitespace-nowrap !py-1 max-sm:hidden"
|
| 336 |
>
|
| 337 |
<a
|
| 338 |
class="base-tool flex !size-[20px] items-center justify-center rounded-full border !border-gray-200 !bg-white !transition-none dark:!border-gray-500 dark:!bg-transparent"
|
| 339 |
href={`${base}/tools`}
|
| 340 |
-
title="
|
| 341 |
>
|
| 342 |
<IconAdd class="text-sm" />
|
| 343 |
</a>
|
|
|
|
| 246 |
>
|
| 247 |
<IconImageGen classNames="text-xl" />
|
| 248 |
{#if imageGenIsOn}
|
| 249 |
+
Pildi Gen.
|
| 250 |
{/if}
|
| 251 |
</button>
|
| 252 |
</HoverTooltip>
|
|
|
|
| 330 |
</button>
|
| 331 |
{/each}
|
| 332 |
<HoverTooltip
|
| 333 |
+
label="Sirvi veel tööriistu"
|
| 334 |
position="right"
|
| 335 |
TooltipClassNames="text-xs !text-left !w-auto whitespace-nowrap !py-1 max-sm:hidden"
|
| 336 |
>
|
| 337 |
<a
|
| 338 |
class="base-tool flex !size-[20px] items-center justify-center rounded-full border !border-gray-200 !bg-white !transition-none dark:!border-gray-500 dark:!bg-transparent"
|
| 339 |
href={`${base}/tools`}
|
| 340 |
+
title="Sirvi veel tööriistu"
|
| 341 |
>
|
| 342 |
<IconAdd class="text-sm" />
|
| 343 |
</a>
|
src/lib/components/chat/ChatIntroduction.svelte
CHANGED
|
@@ -218,13 +218,13 @@
|
|
| 218 |
class="mb-1 block text-sm font-semibold text-gray-700 dark:text-gray-200"
|
| 219 |
for="email-input"
|
| 220 |
>
|
| 221 |
-
|
| 222 |
</label>
|
| 223 |
<input
|
| 224 |
type="email"
|
| 225 |
id="email-input"
|
| 226 |
bind:value={email}
|
| 227 |
-
placeholder="
|
| 228 |
class="w-full rounded-md border border-gray-300 bg-white px-4 py-2 text-sm text-gray-900 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-400 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-100 dark:placeholder-gray-400 dark:focus:ring-blue-500"
|
| 229 |
/>
|
| 230 |
</div>
|
|
@@ -235,7 +235,7 @@
|
|
| 235 |
class="mb-1 block text-sm font-semibold text-gray-700 dark:text-gray-200"
|
| 236 |
for="phone-input"
|
| 237 |
>
|
| 238 |
-
|
| 239 |
</label>
|
| 240 |
<input
|
| 241 |
type="tel"
|
|
@@ -248,8 +248,8 @@
|
|
| 248 |
</div>
|
| 249 |
|
| 250 |
<p class="mt-4 text-sm font-medium text-gray-600 dark:text-gray-300">
|
| 251 |
-
Annan nöusoleku, et minu e-posti aadressi ja
|
| 252 |
-
meeldetuletusi
|
| 253 |
</p>
|
| 254 |
<div class="mx-auto mt-5 w-full max-w-md space-y-6">
|
| 255 |
<!-- Dropdown Field -->
|
|
@@ -258,7 +258,7 @@
|
|
| 258 |
class="mb-1 block text-sm font-semibold text-gray-700 dark:text-gray-200"
|
| 259 |
for="kordamine-input"
|
| 260 |
>
|
| 261 |
-
|
| 262 |
</label>
|
| 263 |
<div class="relative">
|
| 264 |
<select
|
|
@@ -266,7 +266,7 @@
|
|
| 266 |
class="w-full appearance-none rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-900 focus:outline-none focus:ring-2 focus:ring-blue-400 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-100 dark:focus:ring-blue-500"
|
| 267 |
id="kordamine-input"
|
| 268 |
>
|
| 269 |
-
<option disabled selected value="">
|
| 270 |
{#each options as option}
|
| 271 |
<option>{option}</option>
|
| 272 |
{/each}
|
|
@@ -292,7 +292,7 @@
|
|
| 292 |
disabled={isSubmitting}
|
| 293 |
class="flex w-full items-center justify-center gap-2 rounded-md bg-[#306FC7] py-3 font-semibold text-white hover:bg-blue-700 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-blue-600 dark:hover:bg-blue-700 dark:disabled:opacity-50"
|
| 294 |
>
|
| 295 |
-
{isSubmitting ? "Saadan..." : "
|
| 296 |
<svg
|
| 297 |
class="h-5 w-5"
|
| 298 |
fill="none"
|
|
|
|
| 218 |
class="mb-1 block text-sm font-semibold text-gray-700 dark:text-gray-200"
|
| 219 |
for="email-input"
|
| 220 |
>
|
| 221 |
+
E-post<span class="text-red-500 dark:text-red-400">*</span>
|
| 222 |
</label>
|
| 223 |
<input
|
| 224 |
type="email"
|
| 225 |
id="email-input"
|
| 226 |
bind:value={email}
|
| 227 |
+
placeholder="mina@email.com"
|
| 228 |
class="w-full rounded-md border border-gray-300 bg-white px-4 py-2 text-sm text-gray-900 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-400 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-100 dark:placeholder-gray-400 dark:focus:ring-blue-500"
|
| 229 |
/>
|
| 230 |
</div>
|
|
|
|
| 235 |
class="mb-1 block text-sm font-semibold text-gray-700 dark:text-gray-200"
|
| 236 |
for="phone-input"
|
| 237 |
>
|
| 238 |
+
Telefoni number<span class="text-red-500 dark:text-red-400">*</span>
|
| 239 |
</label>
|
| 240 |
<input
|
| 241 |
type="tel"
|
|
|
|
| 248 |
</div>
|
| 249 |
|
| 250 |
<p class="mt-4 text-sm font-medium text-gray-600 dark:text-gray-300">
|
| 251 |
+
Annan nöusoleku, et minu e-posti aadressi ja telefoni numbrit kasutatkase, et saata mulle
|
| 252 |
+
meeldetuletusi hääletamisega seoses. Millise sagedusega soovid meeldetuletusi saada?
|
| 253 |
</p>
|
| 254 |
<div class="mx-auto mt-5 w-full max-w-md space-y-6">
|
| 255 |
<!-- Dropdown Field -->
|
|
|
|
| 258 |
class="mb-1 block text-sm font-semibold text-gray-700 dark:text-gray-200"
|
| 259 |
for="kordamine-input"
|
| 260 |
>
|
| 261 |
+
Mitu korda<span class="text-red-500 dark:text-red-400">*</span>
|
| 262 |
</label>
|
| 263 |
<div class="relative">
|
| 264 |
<select
|
|
|
|
| 266 |
class="w-full appearance-none rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-900 focus:outline-none focus:ring-2 focus:ring-blue-400 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-100 dark:focus:ring-blue-500"
|
| 267 |
id="kordamine-input"
|
| 268 |
>
|
| 269 |
+
<option disabled selected value="">Vali...</option>
|
| 270 |
{#each options as option}
|
| 271 |
<option>{option}</option>
|
| 272 |
{/each}
|
|
|
|
| 292 |
disabled={isSubmitting}
|
| 293 |
class="flex w-full items-center justify-center gap-2 rounded-md bg-[#306FC7] py-3 font-semibold text-white hover:bg-blue-700 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-blue-600 dark:hover:bg-blue-700 dark:disabled:opacity-50"
|
| 294 |
>
|
| 295 |
+
{isSubmitting ? "Saadan..." : "Saada"}
|
| 296 |
<svg
|
| 297 |
class="h-5 w-5"
|
| 298 |
fill="none"
|
src/lib/components/chat/ChatWindow.svelte
CHANGED
|
@@ -494,7 +494,7 @@
|
|
| 494 |
}}
|
| 495 |
>
|
| 496 |
<p>
|
| 497 |
-
|
| 498 |
{#if !assistant}
|
| 499 |
{#if models.find((m) => m.id === currentModel.id)}
|
| 500 |
<a
|
|
|
|
| 494 |
}}
|
| 495 |
>
|
| 496 |
<p>
|
| 497 |
+
Mudel:
|
| 498 |
{#if !assistant}
|
| 499 |
{#if models.find((m) => m.id === currentModel.id)}
|
| 500 |
<a
|