diff options
| author | Paul Donald | 2026-02-24 02:32:35 +0000 |
|---|---|---|
| committer | Paul Donald | 2026-02-24 02:32:35 +0000 |
| commit | 0d2059f9b05eccba4379955199541581da8b824a (patch) | |
| tree | 3e0a05652c8878cfe2114197a0f4bc5652791b55 | |
| parent | b3dc47ea078a18dbdc1e138a416959e48fce2bb5 (diff) | |
| download | luci-0d2059f9b05eccba4379955199541581da8b824a.tar.gz | |
luci-app-bmx7: convert to JS
follow-up to f578786152c9e792202a8a9d08312a72849bf6d5
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
3 files changed, 13 insertions, 13 deletions
diff --git a/applications/luci-app-bmx7/ucode/template/bmx7/bmxnodes.ut b/applications/luci-app-bmx7/ucode/template/bmx7/bmxnodes.ut index 6718e33182..032f1060d8 100644 --- a/applications/luci-app-bmx7/ucode/template/bmx7/bmxnodes.ut +++ b/applications/luci-app-bmx7/ucode/template/bmx7/bmxnodes.ut @@ -56,7 +56,7 @@ <div class="cbi-map"> -<h2>Mesh nodes</h2> +<h2>{{ _('Mesh nodes') }}</h2> <div class="cbi-map-descr"></div> <div id="extra-info" class="info"> <br /> @@ -74,7 +74,7 @@ <div class="th"></div> <div class="th">{{_('Name')}}</div> <div class="th">{{_('Short ID')}}</div> - <div class="th">S/s/T/t</div> + <div class="th">{{ _('S/s/T/t') }}</div> <div class="th">{{_('Primary IPv6')}}</div> <div class="th">{{_('Via Neighbour')}}</div> <div class="th">{{_('Metric')}}</div> @@ -120,28 +120,28 @@ + "<h4><u>" + name + '</u></h4>\n' + 'Node ID: ' + shortId + "</div>" + "<div class='inforow'>" - + "<h5>Primary IPv6 address</h5>\n" + + "<h5>{{ _('Primary IPv6 address') }}</h5>\n" + primaryIp + "</div>\n" + "<div class='inforow'>" - + "<h5>Support & Trust</h5>\n" + + "<h5>{{ _('Support & Trust') }}</h5>\n" + SsTt + "</div>\n" + "<div class='inforow'>" - + "<h5>Node key</h5>\n" + + "<h5>{{ _('Node key') }}</h5>\n" + nodeKey + "</div>\n" + "<div class='inforow newline'>" - + "<h5>Via neighbour</h5>\n" + + "<h5>{{ _('Via neighbour') }}</h5>\n" + nbName + "</div>\n" + "<div class='inforow'>" - + "<h5>Via device</h5>\n" + + "<h5>{{ _('Via device') }}</h5>\n" + dev + "</div>\n" + "<div class='inforow'>" - + "<h5>Via link-local IPv6</h5>\n" + + "<h5>{{ _('Via link-local IPv6') }}</h5>\n" + nbLocalIp + "</div>\n" + "<div class='inforow'>" - + "<h5>Route metric</h5>\n" + + "<h5>{{ _('Route metric') }}</h5>\n" + metric + "</div>\n" + "<div class='inforow'>" - + "<h5>Desc. size</h5>\n" + + "<h5>{{ _('Desc. size') }}</h5>\n" + descSize + "</div>\n" + "\n</div>"; diff --git a/applications/luci-app-bmx7/ucode/template/bmx7/bmxstatus.ut b/applications/luci-app-bmx7/ucode/template/bmx7/bmxstatus.ut index 8063868cf9..12a85187e4 100644 --- a/applications/luci-app-bmx7/ucode/template/bmx7/bmxstatus.ut +++ b/applications/luci-app-bmx7/ucode/template/bmx7/bmxstatus.ut @@ -8,8 +8,8 @@ <img src="{{ resource }}/bmx7/bmx7logo.png" /> <br /> <br /> - A mesh routing protocol for Linux devices.<br /> - Visit <a href="http://bmx6.net">bmx6.net</a> for more information.<br /> + {{ _('A mesh routing protocol for Linux devices.') }}<br /> + {{ _('Visit %s for more information.').format('<a href="http://bmx6.net">bmx6.net</a>')}}<br /> <br /> </center> diff --git a/applications/luci-app-bmx7/ucode/template/bmx7/bmxtunnels.ut b/applications/luci-app-bmx7/ucode/template/bmx7/bmxtunnels.ut index 9477aa3cab..81b9f5b73a 100644 --- a/applications/luci-app-bmx7/ucode/template/bmx7/bmxtunnels.ut +++ b/applications/luci-app-bmx7/ucode/template/bmx7/bmxtunnels.ut @@ -27,7 +27,7 @@ <div class="cbi-map"> <h2>Gateway announcements</h2> -<div class="cbi-map-descr">Networks announced by mesh nodes</div> +<div class="cbi-map-descr">{{ _('Networks announced by mesh nodes') }}</div> <div class="cbi-section"> <legend>{{ _('Announcements') }}</legend> |