From: Jo-Philipp Wich Date: Sat, 6 Jun 2009 09:20:31 +0000 (+0000) Subject: luci-0.8: splash: add i18n tags to splash status template X-Git-Tag: 0.8.8~24 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=3411f32d58623b0fba1e65067858774b1d686e7f;p=project%2Fluci.git luci-0.8: splash: add i18n tags to splash status template --- diff --git a/applications/luci-splash/luasrc/view/admin_status/splash.htm b/applications/luci-splash/luasrc/view/admin_status/splash.htm index c3a12c959d..20ea25b873 100644 --- a/applications/luci-splash/luasrc/view/admin_status/splash.htm +++ b/applications/luci-splash/luasrc/view/admin_status/splash.htm @@ -114,19 +114,19 @@ end <%+header%>
-

Splash-Leases

+

<%:ff_splash Client-Splash%>

- Active Leases + <%:ff_splash_clients Active Clients%>
<% if is_admin then %>
<% end %> - - - - - - + + + + + + <%- @@ -144,25 +144,25 @@ end count = count + 1 -%> - - + + <%- end -%>
HostnameIP AddressMAC AddressTime remainingOutgoing trafficPolicy<%:ff_splash_hostname Hostname%><%:ff_splash_ip IP Address%><%:ff_splash_mac MAC Address%><%:ff_splash_timeleft Time remaining%><%:ff_splash_traffic Outgoing traffic%><%:ff_splash_policy Policy%>
<%=c.hostname or "unknown"%><%=c.ip or "unknown"%><%=c.hostname or "" .. translate("ff_splash_unknown", "unknown") .. ""%><%=c.ip or "" .. translate("ff_splash_unknown", "unknown") .. ""%> <%=showmac(c.mac)%> <%= (c.limit >= os.time()) and wat.date_format(c.limit-os.time()) or - (c.policy ~= "normal") and "-" or "expired" + (c.policy ~= "normal") and "-" or "" .. translate("ff_splash_expired", "expired") .. "" %> <%=wat.byte_format(c.bytes)%> <% if is_admin then %> - + <% else %> <%=c.policy%> <% end %> @@ -176,7 +176,7 @@ end -%>
-
No clients connected
+
<%:ff_splash_noclients No clients connected%>