From: Jo-Philipp Wich Date: Mon, 2 Apr 2012 22:50:34 +0000 (+0000) Subject: applications/luci-ahcp: allow to translate AHCP service status string X-Git-Tag: 0.11.0~940 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9f729c8d8cf5cc00100a299fba898a680217805c;p=oweals%2Fluci.git applications/luci-ahcp: allow to translate AHCP service status string Signed-off-by: Gabor Juhos --- diff --git a/applications/luci-ahcp/luasrc/view/ahcp_status.htm b/applications/luci-ahcp/luasrc/view/ahcp_status.htm index abe8879a4..88796cb1c 100644 --- a/applications/luci-ahcp/luasrc/view/ahcp_status.htm +++ b/applications/luci-ahcp/luasrc/view/ahcp_status.htm @@ -30,9 +30,9 @@ } if( st.uid == '00:00:00:00:00:00:00:00' ) - tx.innerHTML = 'The AHCP Service is not running.'; + tx.innerHTML = '<%:The AHCP Service is not running.%>'; else - tx.innerHTML = String.format('The AHCP Service is running with ID %s.', st.uid); + tx.innerHTML = String.format('<%:The AHCP Service is running with ID %s.%>', st.uid); } } );