From 6de11e25bff903411c32cd2761ce17bbfe2983e4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Mar 2026 10:25:34 +0000 Subject: [PATCH] feat(i18n): localize 404, 500, billing_success, about, verify_email_sent templates Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- frontend/templates/404.html | 10 +-- frontend/templates/500.html | 16 ++--- frontend/templates/about.html | 88 +++++++++++------------ frontend/templates/billing_success.html | 12 ++-- frontend/templates/verify_email_sent.html | 24 +++---- frontend/translations/en.json | 65 ++++++++++++++++- 6 files changed, 136 insertions(+), 79 deletions(-) diff --git a/frontend/templates/404.html b/frontend/templates/404.html index ca2f27ac..2bfc673a 100644 --- a/frontend/templates/404.html +++ b/frontend/templates/404.html @@ -1,16 +1,16 @@ {% extends "base.html" %} -{% block title %}404 - Not Found{% endblock %} +{% block title %}{{ _("error.404_title") }}{% endblock %} {% block content %}
- It seems DocuElevate has misplaced the document you were looking for. Don’t worry – we’ve got your back. + {{ _("error.404_message") }}
- ← Return Home + ← {{ _("error.404_home") }}
- Oops! Something Went Wrong. + {{ _("error.500_heading") }}
- Our servers encountered a mishap and need a moment. Maybe the hamsters spilled their coffee? + {{ _("error.500_message1") }}
- We're already on it—sorting files, rebooting servers, and recalibrating flux capacitors. + {{ _("error.500_message2") }}
{% if exc %}{{ exc }}
- Welcome to DocuElevate – your modern, intelligent solution for document processing! - We've built DocuElevate to completely transform the way you handle your documents – from upload - to extraction, from processing to storage. + {{ _("about.intro_pre") }}{{ _("app.name") }}{{ _("about.intro_post") }}
- DocuElevate was created with one goal in mind: to simplify and streamline document management - for everyone, whether you're a small startup or a large enterprise. + {{ _("about.story_p1") }}
- We harness the power of pluggable AI providers (OpenAI, Anthropic Claude, Google Gemini, Ollama, - OpenRouter, Portkey, and more) for metadata extraction and text refinement, integrate seamlessly - with Dropbox, Nextcloud, and Paperless NGX for storage and indexing, leverage Azure Document - Intelligence for OCR, and even use Gotenberg for file-to-PDF conversions. + {{ _("about.story_p2") }}
- DocuElevate is passionately developed by - Christian Krakau-Louis. + {{ _("about.creator_pre") }} + {{ _("about.creator_name") }}.
- We care about your privacy and data security. Please review our: + {{ _("about.legal_description") }}
- Want to dive into the code, contribute ideas, or learn more about DocuElevate? + {{ _("about.involved_description") }}
- Your subscription has been activated. Thank you for choosing DocuElevate! + {{ _("billing.success_message") }}
- We've sent you a verification email. Please click the link in the email to activate your account. + {{ _("auth.verify_email_message") }}
- The link expires in 24 hours. If you don't see the email, check your spam folder. + {{ _("auth.verify_email_expiry") }}
Didn't receive it?
+{{ _("auth.verify_email_resend_prompt") }}