summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-minidlna/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-04-09 15:19:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-04-09 15:19:47 +0000
commitc7a3eeddf3eaa44b1232c55d2c0c3d2be561a257 (patch)
tree7410a8240c58ea8fa3d005da197ca770d56bd5d5 /applications/luci-minidlna/luasrc
parent68b915d338fcac5e4f7b1d1303536433e6925d0b (diff)
applications/luci-minidlna: load language file in status template
Diffstat (limited to 'applications/luci-minidlna/luasrc')
-rw-r--r--applications/luci-minidlna/luasrc/view/minidlna_status.htm4
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-minidlna/luasrc/view/minidlna_status.htm b/applications/luci-minidlna/luasrc/view/minidlna_status.htm
index ba23bedcc4..a2336f76a7 100644
--- a/applications/luci-minidlna/luasrc/view/minidlna_status.htm
+++ b/applications/luci-minidlna/luasrc/view/minidlna_status.htm
@@ -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>';
}
}
}