]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/post/post-form.tsx
Fixing up popup code.
[lemmy-ui.git] / src / shared / components / post / post-form.tsx
index 8addc859fc03bcba2303f85982bede3b35c43cd8..0f8ea0bbc11e068b1c95144a5d7213df0812aa75 100644 (file)
@@ -641,8 +641,9 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
           i.state.postForm.url = Some(url);
           i.setState({ imageLoading: false });
           pictrsDeleteToast(
-            i18n.t("click_to_delete_picture"),
-            i18n.t("picture_deleted"),
+            `${i18n.t("click_to_delete_picture")}: ${file.name}`,
+            `${i18n.t("picture_deleted")}: ${file.name}`,
+            `${i18n.t("failed_to_delete_picture")}: ${file.name}`,
             deleteUrl
           );
         } else {