From b412b1b20b2fdf0e28a7860f6afa6dee687b8d2b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 14 Oct 2026 16:12:30 +0400 Subject: [PATCH] refac --- src/lib/components/chat/MessageInput.svelte | 2 +- src/lib/components/common/DiffEditorModal.svelte | 4 ++-- src/lib/i18n/locales/en-US/translation.json | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 970e34246e..c850794648 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -1699,7 +1699,7 @@ title={$i18n.t('Compare text')} initialContent={comparisonTarget?.content ?? ''} applyLabel={$i18n.t('Use in prompt')} - applyDescription={$i18n.t('Uses the left working copy as your prompt.')} + applyDescription={$i18n.t('Uses the proposed revision as your prompt.')} discardMessage={$i18n.t( 'Your comparison changes will be discarded. Your prompt will stay unchanged.' )} diff --git a/src/lib/components/common/DiffEditorModal.svelte b/src/lib/components/common/DiffEditorModal.svelte index 0ff40c903d..632f4d6232 100644 --- a/src/lib/components/common/DiffEditorModal.svelte +++ b/src/lib/components/common/DiffEditorModal.svelte @@ -93,7 +93,7 @@ }; const apply = () => { try { - onApply(working); + onApply(proposal); close(); } catch (cause) { error = cause instanceof Error ? cause.message : String(cause); @@ -527,7 +527,7 @@