mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-03-28 17:42:56 +01:00
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 <noreply@anthropic.com>
This commit is contained in:
@@ -53,7 +53,7 @@ export async function render(container, params, router) {
|
||||
<div class="card-body">
|
||||
<h2 class="card-title">
|
||||
${iconUsers('h-6 w-6')}
|
||||
${t('admin.members_title')}
|
||||
${t('entities.members')}
|
||||
</h2>
|
||||
<p>${t('admin.members_description')}</p>
|
||||
</div>
|
||||
@@ -62,9 +62,9 @@ export async function render(container, params, router) {
|
||||
<div class="card-body">
|
||||
<h2 class="card-title">
|
||||
${iconTag('h-6 w-6')}
|
||||
${t('admin.node_tags_title')}
|
||||
${t('entities.tags')}
|
||||
</h2>
|
||||
<p>${t('admin.node_tags_description')}</p>
|
||||
<p>${t('admin.tags_description')}</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>`, container);
|
||||
|
||||
@@ -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}})",
|
||||
|
||||
Reference in New Issue
Block a user