diff --git a/src/components/ui/Notice.svelte b/src/components/ui/Notice.svelte
new file mode 100644
index 0000000..7258afb
--- /dev/null
+++ b/src/components/ui/Notice.svelte
@@ -0,0 +1,32 @@
+
+
+
+ {@render children?.()}
+
+
+
diff --git a/src/routes/features/groups/import/+page.svelte b/src/routes/features/groups/import/+page.svelte
index b477756..0b1c8ad 100644
--- a/src/routes/features/groups/import/+page.svelte
+++ b/src/routes/features/groups/import/+page.svelte
@@ -9,6 +9,7 @@
import EntitiesTransporter from "$lib/extension/EntitiesTransporter";
import { tagGroups } from "$stores/entities/tag-groups";
import { popupTitle } from "$stores/popup";
+ import Notice from "$components/ui/Notice.svelte";
const groupTransporter = new EntitiesTransporter(TagGroup);
@@ -81,7 +82,7 @@
{#if errorMessage}
- Failed to import: {errorMessage}
+ Failed to import: {errorMessage}
@@ -98,9 +99,10 @@
{:else}
{#if existingGroup}
-
+
This group will replace the existing "{existingGroup.settings.name}" group, since it have the same ID.
-
+
+
{/if}
{/if}
-
-
diff --git a/src/routes/features/maintenance/import/+page.svelte b/src/routes/features/maintenance/import/+page.svelte
index 4aa5c77..19202fd 100644
--- a/src/routes/features/maintenance/import/+page.svelte
+++ b/src/routes/features/maintenance/import/+page.svelte
@@ -9,6 +9,7 @@
import { goto } from "$app/navigation";
import EntitiesTransporter from "$lib/extension/EntitiesTransporter";
import { popupTitle } from "$stores/popup";
+ import Notice from "$components/ui/Notice.svelte";
const profilesTransporter = new EntitiesTransporter(MaintenanceProfile);
@@ -80,7 +81,7 @@
{#if errorMessage}
- Failed to import: {errorMessage}
+ Failed to import: {errorMessage}
@@ -97,9 +98,10 @@
{:else}
{#if existingProfile}
-
+
This profile will replace the existing "{existingProfile.settings.name}" profile, since it have the same ID.
-
+
+
{/if}
{/if}
-
-
diff --git a/src/routes/transporting/import/+page.svelte b/src/routes/transporting/import/+page.svelte
index 89a2fdb..0b12cb6 100644
--- a/src/routes/transporting/import/+page.svelte
+++ b/src/routes/transporting/import/+page.svelte
@@ -15,6 +15,7 @@
import { goto } from "$app/navigation";
import type { SameSiteStatus } from "$lib/extension/EntitiesTransporter";
import { popupTitle } from "$stores/popup";
+ import Notice from "$components/ui/Notice.svelte";
let importedString = $state('');
let errorMessage = $state('');
@@ -182,7 +183,7 @@
{#if errorMessage}
- {errorMessage}
+ {errorMessage}
@@ -214,18 +215,18 @@
{/if}
{#if lastImportStatus === "different"}
-
+
Warning!
Looks like these entities were exported for the different extension! There are many differences between tagging
systems of Furobooru and Derpibooru, so make sure to check if these settings are correct before using them!
-
+
{/if}
{#if lastImportStatus === 'unknown'}
-
+
Warning!
We couldn't verify if these settings are meant for this site or not. There are many differences between tagging
systems of Furbooru and Derpibooru, so make sure to check if these settings are correct before using them.
-
+
{/if}
{/if}
-
-