From 9a379eaa73cb1f1c5a31511ff035a406b73f9dfd Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 17 Nov 2026 01:21:35 +0900 Subject: [PATCH] refac --- .../components/admin/Analytics/SessionUsageChart.svelte | 1 + .../components/admin/Analytics/SessionWaterfall.svelte | 1 + src/lib/components/automations/AutomationEditor.svelte | 7 +++++++ src/lib/components/chat/Chat.svelte | 5 +++-- src/lib/components/chat/FileNav.svelte | 8 +++++--- src/lib/components/chat/Tabs.svelte | 2 +- src/lib/components/common/ExcelPreview.svelte | 1 + .../common/RichTextInput/FormattingButtons.svelte | 8 ++++++++ src/lib/components/layout/Sidebar.svelte | 3 +++ 9 files changed, 30 insertions(+), 6 deletions(-) diff --git a/src/lib/components/admin/Analytics/SessionUsageChart.svelte b/src/lib/components/admin/Analytics/SessionUsageChart.svelte index 4017345a34..da5e726f86 100644 --- a/src/lib/components/admin/Analytics/SessionUsageChart.svelte +++ b/src/lib/components/admin/Analytics/SessionUsageChart.svelte @@ -142,6 +142,7 @@
+ {bars[0].first}{$i18n.t('Response order')}{bars[bars.length - 1].last} diff --git a/src/lib/components/admin/Analytics/SessionWaterfall.svelte b/src/lib/components/admin/Analytics/SessionWaterfall.svelte index a7b6cc3ad9..e966544333 100644 --- a/src/lib/components/admin/Analytics/SessionWaterfall.svelte +++ b/src/lib/components/admin/Analytics/SessionWaterfall.svelte @@ -70,6 +70,7 @@
{#if sequence} + 1{$i18n.t('Saved order')}{bars.length} {:else} 0s{duration(span / 2)}{duration(span)} diff --git a/src/lib/components/automations/AutomationEditor.svelte b/src/lib/components/automations/AutomationEditor.svelte index acf9d14f48..71dbecd0ed 100644 --- a/src/lib/components/automations/AutomationEditor.svelte +++ b/src/lib/components/automations/AutomationEditor.svelte @@ -551,6 +551,13 @@ aria-hidden="true">{$i18n.t('Next run')} + + {t('This sheet is too large to preview. Download it to view all cells.')}

{/if} diff --git a/src/lib/components/common/RichTextInput/FormattingButtons.svelte b/src/lib/components/common/RichTextInput/FormattingButtons.svelte index 844dc82308..3eb06c23ec 100644 --- a/src/lib/components/common/RichTextInput/FormattingButtons.svelte +++ b/src/lib/components/common/RichTextInput/FormattingButtons.svelte @@ -138,6 +138,14 @@ type="button" > + {$i18n.t(heading.label)} {/each} diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 73a203205c..39a0211b08 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -187,6 +187,9 @@ $: canDeleteChats = $user?.role === 'admin' || ($user?.permissions?.chat?.delete ?? true); setContext('sidebar-chat-selection', chatSelection); + // Keeps the selection bar's aria-labels in the i18n catalogs; the parser misses them in the markup. + // $i18n.t('Archive selected chats') + // $i18n.t('Delete selected chats') const applySelectedChatAction = async (action: 'archive' | 'delete', ids: string[]) => { if ($selectionBusy || ids.length === 0 || (action === 'delete' && !canDeleteChats)) return; selectionBusy.set(true);