diff --git a/ui/v2.5/src/components/Shared/AutoTagConfirmDialog.tsx b/ui/v2.5/src/components/Shared/AutoTagConfirmDialog.tsx
index eb08b5e84..0290c7e07 100644
--- a/ui/v2.5/src/components/Shared/AutoTagConfirmDialog.tsx
+++ b/ui/v2.5/src/components/Shared/AutoTagConfirmDialog.tsx
@@ -1,7 +1,8 @@
import React from "react";
-import { useIntl } from "react-intl";
+import { FormattedMessage, useIntl } from "react-intl";
import { faExclamationTriangle } from "@fortawesome/free-solid-svg-icons";
import { ModalComponent } from "./Modal";
+import { Icon } from "./Icon";
interface IAutoTagConfirmDialog {
show: boolean;
@@ -9,6 +10,21 @@ interface IAutoTagConfirmDialog {
onCancel: () => void;
}
+export const AutoTagWarning = () => (
+ <>
+
+
+
+
+
+
+
+
+
+
+ >
+);
+
export const AutoTagConfirmDialog: React.FC = ({
show,
onConfirm,
@@ -30,12 +46,7 @@ export const AutoTagConfirmDialog: React.FC = ({
onClick: onCancel,
}}
>
-
- {intl.formatMessage({
- id: "config.tasks.auto_tag_based_on_filenames",
- })}
-
- {intl.formatMessage({ id: "config.tasks.auto_tag_confirm" })}
+
);
};
diff --git a/ui/v2.5/src/locales/en-GB.json b/ui/v2.5/src/locales/en-GB.json
index 2a80cf8fd..996e9fb37 100644
--- a/ui/v2.5/src/locales/en-GB.json
+++ b/ui/v2.5/src/locales/en-GB.json
@@ -512,7 +512,8 @@
"auto_tagging_paths": "Auto tagging the following paths"
},
"auto_tag_based_on_filenames": "Auto tag content based on file paths.",
- "auto_tag_confirm": "This will attempt to match your content against existing metadata. This process cannot be undone and may produce incorrect matches. Are you sure you want to continue?",
+ "auto_tag_confirm": "This will attempt to match your content against existing metadata.",
+ "auto_tag_warning": "This process cannot be undone and may produce incorrect matches.",
"auto_tagging": "Auto tagging",
"backing_up_database": "Backing up database",
"backup_and_download": "Performs a backup of the database and downloads the resulting file.",