feat: vertd error details footer

This commit is contained in:
Maya 2025-10-19 15:06:44 +03:00
parent e5ff309d83
commit f97a7e909b
No known key found for this signature in database
2 changed files with 31 additions and 17 deletions

View File

@ -86,7 +86,8 @@
"vertd_generic_no": "Don't submit", "vertd_generic_no": "Don't submit",
"vertd_failed_to_keep": "Failed to keep the video on the server: {error}", "vertd_failed_to_keep": "Failed to keep the video on the server: {error}",
"vertd_details": "View error details", "vertd_details": "View error details",
"vertd_details_body": "If you submit your file, <b>your video will also be attached</b> 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, <b>your video will also be attached</b> 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": "<b>Job ID:</b> {jobId}", "vertd_details_job_id": "<b>Job ID:</b> {jobId}",
"vertd_details_from": "<b>From format:</b> {from}", "vertd_details_from": "<b>From format:</b> {from}",
"vertd_details_to": "<b>To format:</b> {to}", "vertd_details_to": "<b>To format:</b> {to}",

View File

@ -26,7 +26,9 @@
</p> </p>
<p> <p>
<span class="text-black dynadark:text-white"> <span class="text-black dynadark:text-white">
{@html m["convert.errors.vertd_details_from"]({ from: additional.from })} {@html m["convert.errors.vertd_details_from"]({
from: additional.from,
})}
</span> </span>
</p> </p>
<p> <p>
@ -34,19 +36,30 @@
{@html m["convert.errors.vertd_details_to"]({ to: additional.to })} {@html m["convert.errors.vertd_details_to"]({ to: additional.to })}
</span> </span>
</p> </p>
<p> <p>
<span class="text-black dynadark:text-white"> <span class="text-black dynadark:text-white">
{@html link( {@html link(
["view_link"], ["view_link"],
m["convert.errors.vertd_details_error_message"](), m["convert.errors.vertd_details_error_message"](),
[ [
URL.createObjectURL( URL.createObjectURL(
new Blob([additional.errorMessage], { type: "text/plain" }) new Blob([additional.errorMessage], {
) type: "text/plain",
], }),
[true], ),
["text-blue-500 font-normal hover:underline"] ],
)} [true],
</span> ["text-blue-500 font-normal hover:underline"],
</p> )}
</span>
</p>
<p>
{@html link(
["privacy_link"],
m["convert.errors.vertd_details_footer"](),
"/privacy",
[true],
["text-blue-500 font-normal hover:underline"],
)}
</p>
</div> </div>