This commit is contained in:
Timothy Jaeryang Baek 2026-10-14 16:12:30 +04:00
parent 613521a145
commit b412b1b20b
3 changed files with 5 additions and 3 deletions

View file

@ -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.'
)}

View file

@ -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 @@
<footer class="flex shrink-0 flex-wrap items-center gap-2 px-5 py-3">
<p class="mr-auto text-gray-500">
{applyDescription ??
$i18n.t('Apply uses the left working copy. Save your draft afterward.')}
$i18n.t('Apply uses the proposed revision on the right. Save your draft afterward.')}
</p>
<button type="button" class="secondary" on:click={requestClose}>{$i18n.t('Cancel')}</button>
<button type="button" class="primary" disabled={loading} on:click={apply}

View file

@ -1,4 +1,6 @@
{
"Apply uses the proposed revision on the right. Save your draft afterward.": "",
"Uses the proposed revision as your prompt.": "",
"Compare text": "",
"Use in prompt": "",
"Uses the left working copy as your prompt.": "",