chore: format

This commit is contained in:
Timothy J. Baek
2024-05-06 12:58:24 -07:00
parent 6fa88854e3
commit 7f1acf9c2d
32 changed files with 432 additions and 10 deletions

View File

@@ -318,7 +318,6 @@
}}
>
{$i18n.t(`Pull "{{searchValue}}" from Ollama.com`, { searchValue: searchValue })}
</button>
{/if}

View File

@@ -97,9 +97,10 @@
<div class=" text-sm dark:text-gray-300 mb-1">
{#if chat.share_id}
<a href="/s/{chat.share_id}" target="_blank"
>{$i18n.t("You have shared this chat")} <span class=" underline">{$i18n.t("before")}</span>.</a
>{$i18n.t('You have shared this chat')}
<span class=" underline">{$i18n.t('before')}</span>.</a
>
{$i18n.t("Click here to")}
{$i18n.t('Click here to')}
<button
class="underline"
on:click={async () => {
@@ -108,10 +109,14 @@
if (res) {
chat = await getChatById(localStorage.token, chatId);
}
}}>{$i18n.t("delete this link")} </button
> {$i18n.t("and create a new shared link.")}
}}
>{$i18n.t('delete this link')}
</button>
{$i18n.t('and create a new shared link.')}
{:else}
{$i18n.t("Messages you send after creating your link won't be shared. Users with the URL will beable to view the shared chat.")}
{$i18n.t(
"Messages you send after creating your link won't be shared. Users with the URL will beable to view the shared chat."
)}
{/if}
</div>

View File

@@ -419,7 +419,7 @@
await chats.set(await getChatList(localStorage.token));
}}
>
{$i18n.t('all')}
{$i18n.t('all')}
</button>
{#each $tags as tag}
<button

View File

@@ -161,7 +161,9 @@
{/each} -->
</div>
{:else}
<div class="text-left text-sm w-full mb-8">{$i18n.t('You have no archived conversations.')}</div>
<div class="text-left text-sm w-full mb-8">
{$i18n.t('You have no archived conversations.')}
</div>
{/if}
</div>
</div>