<div class="cbi-map">
<h2 name="content"><%:Wireless Stations%></h2>
<div class="cbi-map-descr">
- <%:Provides an overview of all configured uplinks for the travelmate interface (%><%=trmiface%><%:). You can edit, delete or re-order existing uplinks or scan for a new one. The currently used uplink is emphasized in blue.%>
+ <%=translatef("Provides an overview of all configured uplinks for the travelmate interface (%s). You can edit, delete or re-order existing uplinks or scan for a new one. The currently used uplink is emphasized in blue.", trmiface)%>
</div>
<fieldset class="cbi-section">
<th class="cbi-section-table-cell" style="text-align:center" colspan="2"><%:Actions%></th>
</tr>
<%
- local pos = 1
- uci:foreach("wireless", "wifi-iface", function(s)
+ local pos = -1
+ uci:foreach("wireless", "wifi-device", function(s)
+ pos = pos + 1
+ end)
+ uci:foreach("wireless", "wifi-iface", function(s)
pos = pos + 1
local section = s['.name']
local device = s.device or ""