diff --git a/src/pages/viewer/ModifyImage.svelte b/src/pages/viewer/ModifyImage.svelte index f80e1e554..3865136d1 100644 --- a/src/pages/viewer/ModifyImage.svelte +++ b/src/pages/viewer/ModifyImage.svelte @@ -1,9 +1,9 @@ - -{#if $modification.modifyHasSelection} +{#if modification.modifyHasSelection}
- {#if $modification.hasInsert} - {#if $modification.insert == 0} + {#if modification.hasInsert} + {#if modification.insert == 0} {$_("modifyPane.insertBegin", { - values: { n: $modification.copyBufferLength }, + values: { n: modification.copyBufferLength }, })} - {:else if $modification.insert == $modification.pageCount} + {:else if modification.insert == modification.pageCount} {$_("modifyPane.insertEnd", { - values: { n: $modification.copyBufferLength }, + values: { n: modification.copyBufferLength }, })} {:else} {$_("modifyPane.insertBetween", { values: { - n: $modification.copyBufferLength, - p0: $modification.insert, - p1: $modification.insert + 1, + n: modification.copyBufferLength, + p0: modification.insert, + p1: modification.insert + 1, }, })} {/if} {:else} {$_("modifyPange.click", { - values: { n: $modification.copyBufferLength }, + values: { n: modification.copyBufferLength }, })} {/if}
-{:else if $modification.hasInsert} +{:else if modification.hasInsert}