mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
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:
parent
476eea44df
commit
f99f289f74
10 changed files with 17 additions and 31 deletions
|
|
@ -177,7 +177,7 @@
|
|||
color="opaque"
|
||||
icon={asset.isFavorite ? mdiHeart : mdiHeartOutline}
|
||||
on:click={() => dispatch('favorite')}
|
||||
title={asset.isFavorite ? $t('unfavorite') : $t('favorite')}
|
||||
title={asset.isFavorite ? $t('unfavorite') : $t('to_favorite')}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
|
|
@ -242,7 +242,7 @@
|
|||
<MenuOption
|
||||
on:click={() => onMenuClick('toggleArchive')}
|
||||
icon={asset.isArchived ? mdiArchiveArrowUpOutline : mdiArchiveArrowDownOutline}
|
||||
text={asset.isArchived ? $t('unarchive') : $t('archive')}
|
||||
text={asset.isArchived ? $t('unarchive') : $t('to_archive')}
|
||||
/>
|
||||
<MenuOption
|
||||
icon={mdiUpload}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue