mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +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!,
|
gallery_id: gallery.id!,
|
||||||
image_ids: Array.from(selectedIds.values()),
|
image_ids: Array.from(selectedIds.values()),
|
||||||
});
|
});
|
||||||
|
|
||||||
Toast.success({
|
Toast.success({
|
||||||
content: intl.formatMessage(
|
content: intl.formatMessage(
|
||||||
{ id: "toast.added_entity" },
|
{ id: "toast.removed_entity" },
|
||||||
{ entity: intl.formatMessage({ id: "images" }) }
|
{
|
||||||
|
count: selectedIds.size,
|
||||||
|
singularEntity: intl.formatMessage({ id: "image" }),
|
||||||
|
pluralEntity: intl.formatMessage({ id: "images" }),
|
||||||
|
}
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
@@ -995,15 +995,15 @@
|
|||||||
"tattoos": "Tattoos",
|
"tattoos": "Tattoos",
|
||||||
"title": "Title",
|
"title": "Title",
|
||||||
"toast": {
|
"toast": {
|
||||||
"added_entity": "Added {entity}",
|
"added_entity": "Added {count, plural, one {{singularEntity}} other {{pluralEntity}}}",
|
||||||
"added_generation_job_to_queue": "Added generation job to queue",
|
"added_generation_job_to_queue": "Added generation job to queue",
|
||||||
"created_entity": "Created {entity}",
|
"created_entity": "Created {entity}",
|
||||||
"default_filter_set": "Default filter set",
|
"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}}}",
|
"delete_past_tense": "Deleted {count, plural, one {{singularEntity}} other {{pluralEntity}}}",
|
||||||
"generating_screenshot": "Generating screenshot…",
|
"generating_screenshot": "Generating screenshot…",
|
||||||
"merged_tags": "Merged tags",
|
"merged_tags": "Merged tags",
|
||||||
"rescanning_entity": "Rescanning {count, plural, one {{singularEntity}} other {{pluralEntity}}}…",
|
"rescanning_entity": "Rescanning {count, plural, one {{singularEntity}} other {{pluralEntity}}}…",
|
||||||
|
"removed_entity": "Removed {count, plural, one {{singularEntity}} other {{pluralEntity}}}",
|
||||||
"saved_entity": "Saved {entity}",
|
"saved_entity": "Saved {entity}",
|
||||||
"started_auto_tagging": "Started auto tagging",
|
"started_auto_tagging": "Started auto tagging",
|
||||||
"started_generating": "Started generating",
|
"started_generating": "Started generating",
|
||||||
|
|||||||
Reference in New Issue
Block a user