summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/luasrc/view/status-olsr
diff options
context:
space:
mode:
authorBalázs Úr <balazs@urbalazs.hu>2020-01-07 08:15:18 +0100
committerBalázs Úr <balazs@urbalazs.hu>2020-01-07 08:15:18 +0100
commit9a25e3e09eaf44a6c6d32041ee1849309d51db7a (patch)
tree44b2fe2604ea022e73a6a9cbf737516a8321085e /applications/luci-app-olsr/luasrc/view/status-olsr
parent55dcc8ab5c60334becd783e1c01f8de8ae3a9977 (diff)
luci-app-olsr: fix typos
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
Diffstat (limited to 'applications/luci-app-olsr/luasrc/view/status-olsr')
-rw-r--r--applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm
index 8cd2088e42..99da8154be 100644
--- a/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm
+++ b/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm
@@ -27,7 +27,7 @@ if luci.http.formvalue("status") == "1" then
proto = gw.IPv4 and '4' or '6',
originator = gw.originator,
selected = gw.selected and luci.i18n.translate('yes') or luci.i18n.translate('no'),
- cost = gw.cost > 0 and string.format("%.3f", gw.cost) or luci.i18n.translate('infinate'),
+ cost = gw.cost > 0 and string.format("%.3f", gw.cost) or luci.i18n.translate('infinite'),
hops = gw.hops,
uplink = gw.uplink,
downlink = gw.downlink,
@@ -131,7 +131,7 @@ XHR.poll(10, '<%=REQUEST_URI%>', { status: 1 },
<% end %>
<div class="td cbi-section-table-cell left"><%=gw.selected and luci.i18n.translate('yes') or luci.i18n.translate('no')%></div>
- <div class="td cbi-section-table-cell left"><%=gw.cost > 0 and string.format("%.3f", gw.cost) or luci.i18n.translate('infinate')%></div>
+ <div class="td cbi-section-table-cell left"><%=gw.cost > 0 and string.format("%.3f", gw.cost) or luci.i18n.translate('infinite')%></div>
<div class="td cbi-section-table-cell left"><%=gw.hops%></div>
<div class="td cbi-section-table-cell left"><%=gw.uplink%></div>
<div class="td cbi-section-table-cell left"><%=gw.downlink%></div>