admin-full: allow to use translations for 'Not connected' state
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 2 Apr 2012 22:50:26 +0000 (22:50 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 2 Apr 2012 22:50:26 +0000 (22:50 +0000)
This allows to use translated version of the 'Net connected' string in
the Status/Overview/Network section.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
modules/admin-full/luasrc/view/admin_status/index.htm

index e54ee9a9a3ad1b201810e27af73015c02c7fd3e7..fb9a0859576602b6511c88fb295107cb5528deb3 100644 (file)
@@ -176,7 +176,7 @@ $Id$
                        else
                        {
                                si.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>';
-                               ss.innerHTML = '<em>Not connected</em>';
+                               ss.innerHTML = '<em><%:Not connected%></em>';
                        }
 
                        <% if has_ipv6 then %>
@@ -219,7 +219,7 @@ $Id$
                        else
                        {
                                si6.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>';
-                               ss6.innerHTML = '<em>Not connected</em>';
+                               ss6.innerHTML = '<em><%:Not connected%></em>';
                        }
                        <% end %>