From f97a7e909b7c7411ee6b1ca12357ab6503e7de9c Mon Sep 17 00:00:00 2001
From: Maya
Date: Sun, 19 Oct 2025 15:06:44 +0300
Subject: [PATCH] feat: vertd error details footer
---
messages/en.json | 3 +-
.../functional/VertdErrorDetails.svelte | 45 ++++++++++++-------
2 files changed, 31 insertions(+), 17 deletions(-)
diff --git a/messages/en.json b/messages/en.json
index d873daa..84fe77c 100644
--- a/messages/en.json
+++ b/messages/en.json
@@ -86,7 +86,8 @@
"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_body": "If you press submit, 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_footer": "This information will only be used for troubleshooting purposes and will never be shared. View our [privacy_link]privacy policy[/privacy_link] for more details.",
"vertd_details_job_id": "Job ID: {jobId}",
"vertd_details_from": "From format: {from}",
"vertd_details_to": "To format: {to}",
diff --git a/src/lib/components/functional/VertdErrorDetails.svelte b/src/lib/components/functional/VertdErrorDetails.svelte
index 140b09d..44b0cee 100644
--- a/src/lib/components/functional/VertdErrorDetails.svelte
+++ b/src/lib/components/functional/VertdErrorDetails.svelte
@@ -26,7 +26,9 @@
- {@html m["convert.errors.vertd_details_from"]({ from: additional.from })}
+ {@html m["convert.errors.vertd_details_from"]({
+ from: additional.from,
+ })}
@@ -34,19 +36,30 @@
{@html m["convert.errors.vertd_details_to"]({ to: additional.to })}
-
-
- {@html link(
- ["view_link"],
- m["convert.errors.vertd_details_error_message"](),
- [
- URL.createObjectURL(
- new Blob([additional.errorMessage], { type: "text/plain" })
- )
- ],
- [true],
- ["text-blue-500 font-normal hover:underline"]
- )}
-
-
+
+
+ {@html link(
+ ["view_link"],
+ m["convert.errors.vertd_details_error_message"](),
+ [
+ URL.createObjectURL(
+ new Blob([additional.errorMessage], {
+ type: "text/plain",
+ }),
+ ),
+ ],
+ [true],
+ ["text-blue-500 font-normal hover:underline"],
+ )}
+
+
+
+ {@html link(
+ ["privacy_link"],
+ m["convert.errors.vertd_details_footer"](),
+ "/privacy",
+ [true],
+ ["text-blue-500 font-normal hover:underline"],
+ )}
+