From ad5c2f87e25cf22caf9435333b8150885acae93d Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 14 Oct 2026 16:16:20 +0400 Subject: [PATCH] refac --- src/lib/components/common/DiffEditorModal.svelte | 14 +++++++------- src/lib/i18n/locales/en-US/translation.json | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/lib/components/common/DiffEditorModal.svelte b/src/lib/components/common/DiffEditorModal.svelte index 632f4d6232..67082c381d 100644 --- a/src/lib/components/common/DiffEditorModal.svelte +++ b/src/lib/components/common/DiffEditorModal.svelte @@ -202,7 +202,7 @@ indentUnit.of(' '), EditorView.lineWrapping, EditorView.contentAttributes.of({ - 'aria-label': side === 'a' ? $i18n.t('Working copy') : $i18n.t('Proposed revision') + 'aria-label': side === 'a' ? $i18n.t('Original') : $i18n.t('Proposed revision') }), themes[index].of(document.documentElement.classList.contains('dark') ? oneDark : []), language[index].of([]), @@ -378,9 +378,9 @@ type="button" class="secondary" disabled={!chunkCount} - aria-label={$i18n.t('Copy change to working copy')} - title={$i18n.t('Copy change to working copy')} - on:click={() => copy('to-working')}>← {$i18n.t('Working copy')} copy('to-working')}>← {$i18n.t('Original')}