From e46dadbf45bc91f1c14f544538bf143a438b1c0a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 15:56:55 +0000 Subject: [PATCH] feat(ui): localize status page with i18n translations Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- frontend/templates/status_dashboard.html | 212 +++++++++++++---------- frontend/translations/en.json | 106 +++++++++--- 2 files changed, 200 insertions(+), 118 deletions(-) diff --git a/frontend/templates/status_dashboard.html b/frontend/templates/status_dashboard.html index c6e57e40..5777bb73 100644 --- a/frontend/templates/status_dashboard.html +++ b/frontend/templates/status_dashboard.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}System Status{% endblock %} +{% block title %}{{ _("status.page_title") }}{% endblock %} {% block head %} @@ -8,25 +8,25 @@ {% block content %}
- This dashboard shows the status of all configured integrations and targets. + {{ _("status.dashboard_subtitle") }}
App Version: {{ app_version }}{% if release_name %} "{{ release_name }}"{% endif %}
-Build Date: {{ build_date }}
-Debug Mode: {{ "Enabled" if debug_enabled else "Disabled" }}
+{{ _("status.app_version") }}: {{ app_version }}{% if release_name %} "{{ release_name }}"{% endif %}
+{{ _("status.build_date") }}: {{ build_date }}
+{{ _("status.debug_mode") }}: {{ _("common.enabled") if debug_enabled else _("common.disabled") }}
{% if last_check %} -Last Check: {{ last_check }}
+{{ _("status.last_check") }}: {{ last_check }}
{% endif %} {% if container_info.is_docker %} -Container ID: {{ container_info.id }}
+{{ _("status.container_id") }}: {{ container_info.id }}
{% endif %} {% if container_info.git_sha and container_info.git_sha != 'Unknown' %} -Git Commit: {{ container_info.git_sha }}
+{{ _("status.git_commit") }}: {{ container_info.git_sha }}
{% endif %} {% if container_info.runtime_info %} -Container Started: {{ container_info.runtime_info }}
+{{ _("status.container_started") }}: {{ container_info.runtime_info }}
{% endif %}- For more detailed configuration settings and environment variables, check the settings page. + {{ _("status.config_settings_desc") }}
- Operation completed successfully. + {{ _("status.modal_default_message") }}
- Paste the plain-text content of a document below and run it through the configured AI provider - to inspect the raw response, extracted JSON, and tags. + {{ _("status.ai_extraction_desc") }}