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 abe8879..88796cb 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);
                        }
                }
        );