fix(web): small translation issues + remove unused (#10200)

* fix(web): small translation issues + remove unused

* more unused keys

* formatting

* fix(web): incorrectly used translations

* fix and remove unused translations

---------

Co-authored-by: Zack Pollard <zackpollard@ymail.com>
This commit is contained in:
Michel Heusschen
2024-06-12 13:13:10 +02:00
committed by GitHub
parent 476eea44df
commit f99f289f74
10 changed files with 17 additions and 31 deletions

View File

@@ -97,7 +97,7 @@
};
const onCopyShortcut = (event: KeyboardEvent) => {
if (window.getSelection()?.type === $t('range')) {
if (window.getSelection()?.type === 'Range') {
return;
}
event.preventDefault();
@@ -112,7 +112,7 @@
]}
/>
{#if imageError}
<div class="h-full flex items-center justify-center">Error loading image</div>
<div class="h-full flex items-center justify-center">{$t('error_loading_image')}</div>
{/if}
<div bind:this={element} class="relative h-full select-none">
<img