X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-app-travelmate%2Fluasrc%2Fview%2Ftravelmate%2Fstations.htm;h=d8ca96607f0f6cb89e355ed63b66f421587d526a;hp=f1c6be162878a311c15a6db6869c3b2e7ed816ed;hb=4142839e0d3196cf74fdeee80de5e01d84ffb861;hpb=81f52d429081bba20a898d3a6ed5ad7241cbadc0 diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm index f1c6be162..d8ca96607 100644 --- a/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm +++ b/applications/luci-app-travelmate/luasrc/view/travelmate/stations.htm @@ -14,7 +14,7 @@ This is free software, licensed under the Apache License, Version 2.0

<%:Wireless Stations%>

- <%: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)%>
@@ -26,8 +26,11 @@ This is free software, licensed under the Apache License, Version 2.0 <%:Actions%> <% - 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 ""