From b2f8e18f13610ffd5eddcefcebcbf6f8e1475ac0 Mon Sep 17 00:00:00 2001 From: Louis King Date: Fri, 13 Feb 2026 21:33:35 +0000 Subject: [PATCH] Fix admin translations to use entity references - Update admin index page to use entities.members and entities.tags - Rename admin.node_tags_description to admin.tags_description - Remove redundant admin.*_title keys in favor of entities Co-Authored-By: Claude Sonnet 4.5 --- src/meshcore_hub/web/static/js/spa/pages/admin/index.js | 6 +++--- src/meshcore_hub/web/static/locales/en.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/meshcore_hub/web/static/js/spa/pages/admin/index.js b/src/meshcore_hub/web/static/js/spa/pages/admin/index.js index 1ce81c4..9196572 100644 --- a/src/meshcore_hub/web/static/js/spa/pages/admin/index.js +++ b/src/meshcore_hub/web/static/js/spa/pages/admin/index.js @@ -53,7 +53,7 @@ export async function render(container, params, router) {

${iconUsers('h-6 w-6')} - ${t('admin.members_title')} + ${t('entities.members')}

${t('admin.members_description')}

@@ -62,9 +62,9 @@ export async function render(container, params, router) {

${iconTag('h-6 w-6')} - ${t('admin.node_tags_title')} + ${t('entities.tags')}

-

${t('admin.node_tags_description')}

+

${t('admin.tags_description')}

`, container); diff --git a/src/meshcore_hub/web/static/locales/en.json b/src/meshcore_hub/web/static/locales/en.json index 0febcf1..0483b4d 100644 --- a/src/meshcore_hub/web/static/locales/en.json +++ b/src/meshcore_hub/web/static/locales/en.json @@ -174,7 +174,7 @@ "auth_required_description": "You must sign in to access the admin interface.", "welcome": "Welcome to the admin panel.", "members_description": "Manage network members and operators.", - "node_tags_description": "Manage custom tags and metadata for network nodes." + "tags_description": "Manage custom tags and metadata for network nodes." }, "admin_members": { "network_members": "Network Members ({{count}})",