mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(web): s (#9663)
This commit is contained in:
parent
ae21781442
commit
f6f82a5662
10 changed files with 25 additions and 22 deletions
|
|
@ -3,6 +3,7 @@
|
|||
import ConfirmDialogue from '../shared-components/confirm-dialogue.svelte';
|
||||
import { showDeleteModal } from '$lib/stores/preferences.store';
|
||||
import Checkbox from '$lib/components/elements/checkbox.svelte';
|
||||
import { s } from '$lib/utils';
|
||||
|
||||
export let size: number;
|
||||
|
||||
|
|
@ -23,7 +24,7 @@
|
|||
|
||||
<ConfirmDialogue
|
||||
id="permanently-delete-asset-modal"
|
||||
title="Permanently delete asset{size > 1 ? 's' : ''}"
|
||||
title="Permanently delete asset{s(size)}"
|
||||
confirmText="Delete"
|
||||
onConfirm={handleConfirm}
|
||||
onClose={() => dispatch('cancel')}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue