This commit is contained in:
Timothy Jaeryang Baek 2026-10-09 17:51:14 +04:00
parent a86cac4daf
commit 25457c625c
3 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,7 @@
<script lang="ts">
// Keep keys in nested template expressions visible to i18next-parser.
// $i18n.t("licensed under");
import { getVersionUpdates } from '$lib/apis';
import { getOllamaVersion } from '$lib/apis/ollama';
import { WEBUI_BUILD_CHANNEL, WEBUI_VERSION } from '$lib/constants';

View file

@ -92,7 +92,7 @@
}}
>
<Plus className={compact ? 'size-3' : 'size-4'} /><span
>{$i18n.t(compact ? 'Add parameter' : 'Add Custom Parameter')}</span
>{compact ? $i18n.t('Add parameter') : $i18n.t('Add Custom Parameter')}</span
>
</button>
</div>

View file

@ -251,8 +251,8 @@
on:click={() => (expanded ? (expanded = false) : select(activeId || 'shell'))}
class="tab-button flex h-7 w-7 shrink-0 items-center justify-center"
aria-expanded={expanded}
title={$i18n.t(expanded ? 'Collapse terminal' : 'Expand terminal')}
aria-label={$i18n.t(expanded ? 'Collapse terminal' : 'Expand terminal')}
title={expanded ? $i18n.t('Collapse terminal') : $i18n.t('Expand terminal')}
aria-label={expanded ? $i18n.t('Collapse terminal') : $i18n.t('Expand terminal')}
>
<Icon name={expanded ? 'chevron-down' : 'chevron-up'} size={12} />
</button>