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") }}
-
FastAPI (MIT License)
@@ -130,7 +130,7 @@
Paramiko (LGPL-2.1 License)
Copyright (c) 2003-2009 Robey Pointer
https://github.com/paramiko/paramiko
- Note: This library is licensed under the GNU Lesser General Public License v2.1 (LGPL-2.1)
+ {{ _("attribution.paramiko_lgpl_note") }}
-
Apprise (MIT License)
@@ -139,7 +139,7 @@
-
Docker Images
+
{{ _("attribution.section_docker") }}
-
Redis (BSD License)
@@ -153,7 +153,7 @@
-
Frontend Dependencies
+
{{ _("attribution.section_frontend") }}
-
Tailwind CSS (MIT License)
diff --git a/frontend/translations/en.json b/frontend/translations/en.json
index 824a0a25..147dc22a 100644
--- a/frontend/translations/en.json
+++ b/frontend/translations/en.json
@@ -41,6 +41,19 @@
"about.story_heading": "Our Story",
"about.story_p1": "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_p2": "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.",
+ "attribution.heading": "Third-Party Software Attributions",
+ "attribution.intro": "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.page_title": "DocuElevate - Third-Party Attributions",
+ "attribution.paramiko_lgpl_note": "Note: This library is licensed under the GNU Lesser General Public License v2.1 (LGPL-2.1)",
+ "attribution.section_docker": "Docker Images",
+ "attribution.section_frontend": "Frontend Dependencies",
+ "attribution.section_python": "Python Dependencies",
+ "attribution.special_lgpl_link": "here",
+ "attribution.special_lgpl_post": ".",
+ "attribution.special_lgpl_pre": "A copy of the LGPL license can be found",
+ "attribution.special_source_post": ".",
+ "attribution.special_source_pre": "This software includes Paramiko, which is licensed under LGPL. The source code for Paramiko is available at",
+ "attribution.special_title": "Special Attribution:",
"api_tokens.col_created": "Created",
"api_tokens.col_last_ip": "Last IP",
"api_tokens.col_last_used": "Last Used",