diff --git a/ui/v2.5/src/components/Galleries/GalleryDetails/GalleryImagesPanel.tsx b/ui/v2.5/src/components/Galleries/GalleryDetails/GalleryImagesPanel.tsx index 1aa7fa2a5..c00d01722 100644 --- a/ui/v2.5/src/components/Galleries/GalleryDetails/GalleryImagesPanel.tsx +++ b/ui/v2.5/src/components/Galleries/GalleryDetails/GalleryImagesPanel.tsx @@ -65,10 +65,15 @@ export const GalleryImagesPanel: React.FC = ({ gallery_id: gallery.id!, image_ids: Array.from(selectedIds.values()), }); + Toast.success({ content: intl.formatMessage( - { id: "toast.added_entity" }, - { entity: intl.formatMessage({ id: "images" }) } + { id: "toast.removed_entity" }, + { + count: selectedIds.size, + singularEntity: intl.formatMessage({ id: "image" }), + pluralEntity: intl.formatMessage({ id: "images" }), + } ), }); } catch (e) { diff --git a/ui/v2.5/src/locales/en-GB.json b/ui/v2.5/src/locales/en-GB.json index 6b6a81894..f3faa50cb 100644 --- a/ui/v2.5/src/locales/en-GB.json +++ b/ui/v2.5/src/locales/en-GB.json @@ -995,15 +995,15 @@ "tattoos": "Tattoos", "title": "Title", "toast": { - "added_entity": "Added {entity}", + "added_entity": "Added {count, plural, one {{singularEntity}} other {{pluralEntity}}}", "added_generation_job_to_queue": "Added generation job to queue", "created_entity": "Created {entity}", "default_filter_set": "Default filter set", - "delete_entity": "Delete {count, plural, one {{singularEntity}} other {{pluralEntity}}}", "delete_past_tense": "Deleted {count, plural, one {{singularEntity}} other {{pluralEntity}}}", "generating_screenshot": "Generating screenshot…", "merged_tags": "Merged tags", "rescanning_entity": "Rescanning {count, plural, one {{singularEntity}} other {{pluralEntity}}}…", + "removed_entity": "Removed {count, plural, one {{singularEntity}} other {{pluralEntity}}}", "saved_entity": "Saved {entity}", "started_auto_tagging": "Started auto tagging", "started_generating": "Started generating",