summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr-viz
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-olsr-viz')
-rw-r--r--applications/luci-app-olsr-viz/luasrc/controller/olsr-viz.lua5
-rw-r--r--applications/luci-app-olsr-viz/po/cs/olsr-viz.po9
-rw-r--r--applications/luci-app-olsr-viz/root/usr/share/luci/menu.d/luci-app-olsr-viz.json10
3 files changed, 14 insertions, 10 deletions
diff --git a/applications/luci-app-olsr-viz/luasrc/controller/olsr-viz.lua b/applications/luci-app-olsr-viz/luasrc/controller/olsr-viz.lua
deleted file mode 100644
index 672486c53b..0000000000
--- a/applications/luci-app-olsr-viz/luasrc/controller/olsr-viz.lua
+++ /dev/null
@@ -1,5 +0,0 @@
-module "luci.controller.olsr-viz"
-
-function index()
- entry({"admin", "status", "olsr", "olsr-viz"}, template("olsr-viz/olsr-viz"), _("OLSR-Viz"), 90)
-end
diff --git a/applications/luci-app-olsr-viz/po/cs/olsr-viz.po b/applications/luci-app-olsr-viz/po/cs/olsr-viz.po
index 6926b3af80..8cfe1639a5 100644
--- a/applications/luci-app-olsr-viz/po/cs/olsr-viz.po
+++ b/applications/luci-app-olsr-viz/po/cs/olsr-viz.po
@@ -1,14 +1,14 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2019-12-16 23:25+0000\n"
-"Last-Translator: Jiri Tersel <jiri.tersel@seznam.cz>\n"
+"PO-Revision-Date: 2020-02-02 09:02+0000\n"
+"Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>\n"
"Language-Team: Czech <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsolsr-viz/cs/>\n"
"Language: cs\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
-"X-Generator: Weblate 3.10-dev\n"
+"X-Generator: Weblate 3.11-dev\n"
#: applications/luci-app-olsr-viz/luasrc/controller/olsr-viz.lua:4
msgid "OLSR-Viz"
@@ -16,5 +16,4 @@ msgstr "OLSR-Viz"
#: applications/luci-app-olsr-viz/luasrc/view/olsr-viz/olsr-viz.htm:4
msgid "You need to allow javascript in your browser to show this page."
-msgstr ""
-"Chcete-li zobrazit tuto stránku, musíte povolit JavaScript v prohlížeči."
+msgstr "Pro zobrazení této stránky je třeba si v prohlížeči povolit JavaScript."
diff --git a/applications/luci-app-olsr-viz/root/usr/share/luci/menu.d/luci-app-olsr-viz.json b/applications/luci-app-olsr-viz/root/usr/share/luci/menu.d/luci-app-olsr-viz.json
new file mode 100644
index 0000000000..02cfd6b646
--- /dev/null
+++ b/applications/luci-app-olsr-viz/root/usr/share/luci/menu.d/luci-app-olsr-viz.json
@@ -0,0 +1,10 @@
+{
+ "admin/status/olsr/olsr-viz": {
+ "title": "OLSR-Viz",
+ "order": 90,
+ "action": {
+ "type": "template",
+ "path": "olsr-viz/olsr-viz"
+ }
+ }
+}