applications/luci-ahcp: allow to translate AHCP service status string
[project/luci.git] / 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);
                        }
                }
        );