From 23d952235e6f60c47d3cf542937373c9c434bb03 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 10:17:31 +0000 Subject: [PATCH 1/2] Initial plan From 1f6a3a58037f24fc838b2d4471afa01c68f4178d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 10:23:33 +0000 Subject: [PATCH 2/2] feat(ui): localize imprint page Add 25 imprint.* translation keys to en.json and update imprint.html to use _() helpers for all user-visible strings. Static business data (company name, address, contact details, VAT number) remain hardcoded as proper nouns that must not be altered by translation. Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- frontend/templates/imprint.html | 42 ++++++++++++++++----------------- frontend/translations/en.json | 25 ++++++++++++++++++++ 2 files changed, 46 insertions(+), 21 deletions(-) diff --git a/frontend/templates/imprint.html b/frontend/templates/imprint.html index f0292279..a1938d5b 100644 --- a/frontend/templates/imprint.html +++ b/frontend/templates/imprint.html @@ -1,13 +1,13 @@ {% extends "base.html" %} -{% block title %}Imprint - DocuElevate{% endblock %} +{% block title %}{{ _("imprint.page_title") }}{% endblock %} {% block content %}
Information according to § 5 TMG (German Telemedia Act)
+{{ _("imprint.subtitle") }}
Christian Louis IT Beratung
Alter Steinweg 3
@@ -17,7 +17,7 @@
Fax: +49 40 97074609
Email: christianlouis@gmail.com
@@ -26,16 +26,16 @@
- VAT Identification Number according to §27a Value Added Tax Act: DE202899017 + {{ _("imprint.business_registration_vat") }} DE202899017
- According to § 55 Abs. 2 RStV:
+ {{ _("imprint.responsible_content_rstv") }}
Christian Krakau-Louis
Alter Steinweg 3
20459 Hamburg
@@ -44,36 +44,36 @@
- Despite careful content control, we assume no liability for the content of external links. The operators of the linked pages are solely responsible for their content. + {{ _("imprint.legal_liability") }}
- All content on this website is protected by copyright. Any use outside the limits of copyright law requires the written consent of the respective author or creator. + {{ _("imprint.legal_copyright") }}
- The European Commission provides a platform for online dispute resolution (OS): + {{ _("imprint.dispute_p1") }} https://ec.europa.eu/consumers/odr/
- We are not willing or obligated to participate in dispute resolution proceedings before a consumer arbitration board. + {{ _("imprint.dispute_p2") }}
- Our service is governed by the following policies: + {{ _("imprint.policies_intro") }}