mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Fix messages when adding/removing gallery image (#2748)
This commit is contained in:
@@ -65,10 +65,15 @@ export const GalleryImagesPanel: React.FC<IGalleryDetailsProps> = ({
|
||||
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) {
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user