applications/luci-minidlna: load language file in status template
This commit is contained in:
parent
68b915d338
commit
c7a3eeddf3
1 changed files with 3 additions and 1 deletions
|
@ -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>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue