From 4d305d166e7e5c4bcebc37fff2ef612494d25c7d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 15:31:58 +0000 Subject: [PATCH 1/2] Initial plan From 246ef702453fdfbca240b2bf0d1aa410abd9f179 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 15:37:47 +0000 Subject: [PATCH 2/2] feat(i18n): localize attribution page Add 13 attribution.* keys to en.json and replace all hardcoded English strings in attribution.html with _() helper calls. Also adds aria-hidden to the decorative warning SVG icon. Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- frontend/templates/attribution.html | 28 ++++++++++++++-------------- frontend/translations/en.json | 13 +++++++++++++ 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/frontend/templates/attribution.html b/frontend/templates/attribution.html index 95ffd433..1abc46bd 100644 --- a/frontend/templates/attribution.html +++ b/frontend/templates/attribution.html @@ -1,40 +1,40 @@ {% extends "base.html" %} -{% block title %}DocuElevate - Third-Party Attributions{% endblock %} +{% block title %}{{ _("attribution.page_title") }}{% endblock %} {% block content %}
-

Third-Party Software Attributions

+

{{ _("attribution.heading") }}

- DocuElevate uses several open source libraries and tools. We are grateful to the - developers of these projects for their contributions to open source software. + {{ _("attribution.intro") }}

- +

- Special Attribution: This software includes Paramiko, which is licensed under LGPL. The source code for Paramiko is available at + {{ _("attribution.special_title") }} + {{ _("attribution.special_source_pre") }} https://github.com/paramiko/paramiko - . - A copy of the LGPL license can be found + {{ _("attribution.special_source_post") }} + {{ _("attribution.special_lgpl_pre") }} - here - . + {{ _("attribution.special_lgpl_link") }} + {{ _("attribution.special_lgpl_post") }}

-

Python Dependencies

+

{{ _("attribution.section_python") }}

-

Docker Images

+

{{ _("attribution.section_docker") }}

-

Frontend Dependencies

+

{{ _("attribution.section_frontend") }}