mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-08-02 23:12:31 +02:00
Fix remaining translation key: common.all_nodes
Replaced non-existent common.all_nodes key with common.all_entity pattern. - advertisements.js: Use common.all_entity with entities.nodes - map.js: Use common.all_entity with entities.nodes All translation keys now properly resolve across the entire dashboard. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -60,7 +60,7 @@ ${content}`, container);
|
||||
<span class="label-text">${t('entities.node')}</span>
|
||||
</label>
|
||||
<select name="public_key" class="select select-bordered select-sm" @change=${autoSubmit}>
|
||||
<option value="">${t('common.all_nodes')}</option>
|
||||
<option value="">${t('common.all_entity', { entity: t('entities.nodes') })}</option>
|
||||
${sortedNodes.map(n => html`<option value=${n.public_key} ?selected=${public_key === n.public_key}>${n._displayName}</option>`)}
|
||||
</select>
|
||||
</div>`
|
||||
|
||||
@@ -189,7 +189,7 @@ export async function render(container, params, router) {
|
||||
<span class="label-text">${t('common.show')}</span>
|
||||
</label>
|
||||
<select id="filter-category" class="select select-bordered select-sm" @change=${applyFilters}>
|
||||
<option value="">${t('common.all_nodes')}</option>
|
||||
<option value="">${t('common.all_entity', { entity: t('entities.nodes') })}</option>
|
||||
<option value="infra">${t('map.infrastructure_only')}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user