From 618af0811a0f017da6d577d29d52702557e337fd Mon Sep 17 00:00:00 2001 From: ScreenTinker Date: Tue, 28 Jul 2026 19:52:52 -0500 Subject: [PATCH] Translate the labels that never went through t() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A title= is a tooltip the user reads and an aria-label is what a screen reader says, but fourteen of them were hardcoded English. They were invisible to the key checks added earlier precisely because they never call t() — so a French user hovering the only route to workspace members read "Manage members", and a German screen reader announced every modal's close button as "Close". The user-visible ones matter most: the workspace switcher's Manage members and Rename, the video wall's rename and remove, and the dashboard's select-for-wall. All are translated into every active locale, along with the close buttons. A test now rejects a capitalised literal in a title or aria-label, since that is the shape this takes and nothing else catches it. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Uaeo9MvzKoyXuN6ZsbhtkL --- frontend/js/components/admin-create-org-modal.js | 2 +- .../js/components/admin-user-workspaces-modal.js | 2 +- frontend/js/components/type-to-confirm-modal.js | 2 +- .../workspace-members-add-user-modal.js | 2 +- .../components/workspace-members-invite-modal.js | 2 +- frontend/js/components/workspace-rename-modal.js | 3 ++- frontend/js/components/workspace-switcher.js | 4 ++-- frontend/js/i18n/de.js | 6 ++++++ frontend/js/i18n/en.js | 6 ++++++ frontend/js/i18n/es.js | 6 ++++++ frontend/js/i18n/fr.js | 6 ++++++ frontend/js/i18n/it.js | 6 ++++++ frontend/js/i18n/pt.js | 6 ++++++ frontend/js/views/dashboard.js | 2 +- frontend/js/views/designer.js | 2 +- frontend/js/views/video-wall.js | 4 ++-- server/test/i18n-keys-exist.test.js | 16 ++++++++++++++++ 17 files changed, 65 insertions(+), 12 deletions(-) diff --git a/frontend/js/components/admin-create-org-modal.js b/frontend/js/components/admin-create-org-modal.js index 65a2467..bce6202 100644 --- a/frontend/js/components/admin-create-org-modal.js +++ b/frontend/js/components/admin-create-org-modal.js @@ -14,7 +14,7 @@ export function openCreateOrgModal(opts = {}) {