From 9c73ab8e5963ae061c5ca3b494efb5620d4c8468 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 14:11:42 +0000 Subject: [PATCH] feat(ui): localize license page with i18n translation keys Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- frontend/templates/license.html | 25 ++++++++++++------------- frontend/translations/en.json | 13 +++++++++++++ 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/frontend/templates/license.html b/frontend/templates/license.html index cbbe6406..1982cd11 100644 --- a/frontend/templates/license.html +++ b/frontend/templates/license.html @@ -1,36 +1,35 @@ {% extends "base.html" %} -{% block title %}DocuElevate - License{% endblock %} +{% block title %}{{ _("license.page_title") }}{% endblock %} {% block content %}
{{ license_text }}
- DocuElevate is distributed under the Apache License 2.0, which is a permissive - open-source software license that allows you to use, modify, distribute, and - contribute to the project. + {{ _("license.apache_description") }}
- While this license governs the use of our software, please also review our - Terms of Service and - Privacy Policy for - information about using the DocuElevate service. + {{ _("license.related_p1_pre") }} + {{ _("license.related_terms_link") }} + {{ _("license.related_and") }} + {{ _("license.related_privacy_link") }} + {{ _("license.related_p1_post") }}
- For more information about DocuElevate, please visit the - About page. + {{ _("license.related_p2_pre") }} + {{ _("license.related_about_link") }}{{ _("license.related_p2_post") }}