From: Jo-Philipp Wich Date: Mon, 2 Apr 2012 22:50:26 +0000 (+0000) Subject: admin-full: allow to use translations for 'Not connected' state X-Git-Tag: 0.11.0~942 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=1291f1dbb7d300e946ef3d502388ab5173e7f824 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 --- diff --git a/modules/admin-full/luasrc/view/admin_status/index.htm b/modules/admin-full/luasrc/view/admin_status/index.htm index e54ee9a9a..fb9a08595 100644 --- a/modules/admin-full/luasrc/view/admin_status/index.htm +++ b/modules/admin-full/luasrc/view/admin_status/index.htm @@ -176,7 +176,7 @@ $Id$ else { si.innerHTML = '
?'; - ss.innerHTML = 'Not connected'; + ss.innerHTML = '<%:Not connected%>'; } <% if has_ipv6 then %> @@ -219,7 +219,7 @@ $Id$ else { si6.innerHTML = '
?'; - ss6.innerHTML = 'Not connected'; + ss6.innerHTML = '<%:Not connected%>'; } <% end %>