From afb168d3e890d4f226537a832a72260f42ffe258 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 18:15:35 +0000 Subject: [PATCH] feat(i18n): localize remaining image zoom controls in files view Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- frontend/templates/files.html | 11 +++++++---- frontend/translations/en.json | 3 +++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/frontend/templates/files.html b/frontend/templates/files.html index effec735..51d5d48a 100644 --- a/frontend/templates/files.html +++ b/frontend/templates/files.html @@ -884,6 +884,9 @@ prevPage: {{ _("files.js_prev_page") | tojson }}, pageInfo: {{ _("files.js_page_info") | tojson }}, nextPage: {{ _("files.js_next_page") | tojson }}, + zoomIn: {{ _("files.js_zoom_in") | tojson }}, + zoomOut: {{ _("files.js_zoom_out") | tojson }}, + resetZoom: {{ _("files.js_reset_zoom") | tojson }}, }; // Modal functionality @@ -1009,12 +1012,12 @@ function _pmRenderImage(body, url, alt) { body.innerHTML = '