mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Modify the modal title to include selected image array length
This commit is contained in:
parent
ec69a58c8d
commit
cc256fee0e
@ -80,7 +80,7 @@ const DeleteImageModal = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<ConfirmationAlertDialog
|
<ConfirmationAlertDialog
|
||||||
title={t('gallery.deleteImage')}
|
title={t(imagesToDelete.length > 1 ? 'gallery.deleteImage_plural' : 'gallery.deleteImage', { 'count': imagesToDelete.length } )}
|
||||||
isOpen={isModalOpen}
|
isOpen={isModalOpen}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
cancelButtonText={t('boards.cancel')}
|
cancelButtonText={t('boards.cancel')}
|
||||||
|
Loading…
Reference in New Issue
Block a user