applications/luci-minidlna: load language file in status template

This commit is contained in:
Jo-Philipp Wich 2012-04-09 15:19:47 +00:00
parent 68b915d338
commit c7a3eeddf3

View file

@ -1,3 +1,5 @@
<%- luci.i18n.loadc("minidlna") -%>
<script type="text/javascript">//<![CDATA[
XHR.poll(5, '<%=luci.dispatcher.build_url("admin/services/minidlna_status")%>', null,
function(x, st)
@ -14,7 +16,7 @@
}
else
{
tb.innerHTML = '<%:The miniDLNA service is not running.%>';
tb.innerHTML = '<em><%:The miniDLNA service is not running.%></em>';
}
}
}