applications/luci-ahcp: allow to translate AHCP service status string
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 2 Apr 2012 22:50:34 +0000 (22:50 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 2 Apr 2012 22:50:34 +0000 (22:50 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
applications/luci-ahcp/luasrc/view/ahcp_status.htm

index abe8879a40a27f9cf9ac38635bed667c39265a33..88796cb1c580a485d115e172360f2a2410be2245 100644 (file)
@@ -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);
                        }
                }
        );