diff --git a/messages/en.json b/messages/en.json
index 08263c2..d873daa 100644
--- a/messages/en.json
+++ b/messages/en.json
@@ -85,6 +85,13 @@
"vertd_generic_yes": "Submit video",
"vertd_generic_no": "Don't submit",
"vertd_failed_to_keep": "Failed to keep the video on the server: {error}",
+ "vertd_details": "View error details",
+ "vertd_details_body": "If you submit your file, your video will also be attached alongside the error log being sent to us for review. The following information is the log that we automatically receive:",
+ "vertd_details_job_id": "Job ID: {jobId}",
+ "vertd_details_from": "From format: {from}",
+ "vertd_details_to": "To format: {to}",
+ "vertd_details_error_message": "Error message: [view_link]View error logs[/view_link]",
+ "vertd_details_close": "Close",
"unsupported_format": "Only image, video, audio, and document files are supported",
"vertd_not_found": "Could not find the vertd instance to start video conversion. Are you sure the instance URL is set correctly?",
"worker_downloading": "The {type} converter is currently being initialized, please wait a few moments.",
diff --git a/src/lib/components/functional/Dialog.svelte b/src/lib/components/functional/Dialog.svelte
index a093108..1bd5f97 100644
--- a/src/lib/components/functional/Dialog.svelte
+++ b/src/lib/components/functional/Dialog.svelte
@@ -3,19 +3,13 @@
import { removeDialog } from "$lib/store/DialogProvider";
import { BanIcon, CheckIcon, InfoIcon, TriangleAlert } from "lucide-svelte";
import { quintOut } from "svelte/easing";
+ import type { Dialog as DialogType } from "$lib/store/DialogProvider";
- type Props = {
- id: number;
- title: string;
- message: string;
- buttons: {
- text: string;
- action: () => void;
- }[];
- type: "success" | "error" | "info" | "warning";
- };
+ type Props = DialogType;
- let { id, title, message, buttons, type }: Props = $props();
+ let props: Props = $props();
+ const { id, title, message, buttons, type } = props;
+ const additional = "additional" in props ? props.additional : undefined;
const colors = {
success: "purple",
@@ -59,7 +53,14 @@