Update 'luasrc/model/cbi/shortcutmenu.lua'

main
ben 1 year ago
parent ed1e8b3cc3
commit d0c2502db1

@ -15,18 +15,18 @@ local sys = require "luci.sys"
local i18n = require "luci.i18n" local i18n = require "luci.i18n"
local a,b,c,d local a,b,c,d
m = Map("shortcutmenu", i18n.translate("Shortcutmenu"), m = Map("shortcutmenu", i18n.translate("Quick Links"),
i18n.translatef("Shortcutmenu is used to provide quick access to web pages.")) i18n.translatef("Short cut links for quick access to web pages."))
s = m:section(TypedSection, "lists", i18n.translate("Lists")) s = m:section(TypedSection, "lists", i18n.translate("Lists"))
s.template = "cbi/tblsection" s.template = "cbi/tblsection"
s.anonymous = true s.anonymous = true
s.addremove = true s.addremove = true
a = s:option(Value, "webname", i18n.translate("Webname")) a = s:option(Value, "webname", i18n.translate("Name"))
b = s:option(Value,"weburl", i18n.translate("Weburl<font color=\"green\">(without http:// or https:// )</font>")) b = s:option(Value,"weburl", i18n.translate("URL<font color=\"green\">(without http:// or https:// )</font>"))
c = s:option(Value,"webpath",i18n.translate("Webpath")) c = s:option(Value,"webpath",i18n.translate("Path"))
c.default = '/' c.default = '/'
d = s:option(DummyValue,"operator",i18n.translate("Operator")) d = s:option(DummyValue,"operator",i18n.translate("Operator"))

Loading…
Cancel
Save