mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Standardizing the delete dropdown. (#5176)
Changed to use "delete" rather than "delete_entity"
This commit is contained in:
@@ -189,7 +189,7 @@ export const GalleryPage: React.FC<IProps> = ({ gallery, add }) => {
|
||||
onClick={() => setIsDeleteAlertOpen(true)}
|
||||
>
|
||||
<FormattedMessage
|
||||
id="actions.delete_entity"
|
||||
id="actions.delete"
|
||||
values={{ entityType: intl.formatMessage({ id: "gallery" }) }}
|
||||
/>
|
||||
</Dropdown.Item>
|
||||
|
||||
@@ -193,7 +193,7 @@ const ImagePage: React.FC<IProps> = ({ image }) => {
|
||||
onClick={() => setIsDeleteAlertOpen(true)}
|
||||
>
|
||||
<FormattedMessage
|
||||
id="actions.delete_entity"
|
||||
id="actions.delete"
|
||||
values={{ entityType: intl.formatMessage({ id: "image" }) }}
|
||||
/>
|
||||
</Dropdown.Item>
|
||||
|
||||
@@ -408,7 +408,7 @@ const ScenePage: React.FC<IProps> = ({
|
||||
onClick={() => setIsDeleteAlertOpen(true)}
|
||||
>
|
||||
<FormattedMessage
|
||||
id="actions.delete_entity"
|
||||
id="actions.delete"
|
||||
values={{ entityType: intl.formatMessage({ id: "scene" }) }}
|
||||
/>
|
||||
</Dropdown.Item>
|
||||
|
||||
Reference in New Issue
Block a user