admin-full: allow to use translations for 'Not connected' state
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>
This commit is contained in:
parent
e6056c0a82
commit
1291f1dbb7
1 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ $Id$
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
si.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>';
|
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 %>
|
<% if has_ipv6 then %>
|
||||||
|
@ -219,7 +219,7 @@ $Id$
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
si6.innerHTML = '<img src="<%=resource%>/icons/ethernet_disabled.png" /><br /><small>?</small>';
|
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 %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue