tidy up code
This commit is contained in:
parent
c5c28baf5f
commit
52657d20d1
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luci-app-argon-config
|
PKG_NAME:=luci-app-argon-config
|
||||||
PKG_VERSION:=0.9
|
PKG_VERSION:=0.9
|
||||||
PKG_RELEASE:=20210904
|
PKG_RELEASE:=20220423
|
||||||
|
|
||||||
PKG_MAINTAINER:=jerrykuku <jerrykuku@qq.com>
|
PKG_MAINTAINER:=jerrykuku <jerrykuku@qq.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
--[[
|
|
||||||
luci-app-argon-config
|
|
||||||
]]--
|
|
||||||
|
|
||||||
module("luci.controller.argon-config", package.seeall)
|
module("luci.controller.argon-config", package.seeall)
|
||||||
|
|
||||||
function index()
|
function index()
|
||||||
@ -9,5 +5,6 @@ function index()
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
entry({"admin", "system", "argon-config"}, form("argon-config"), _("Argon Config"), 90)
|
local page = entry({"admin", "system", "argon-config"}, form("argon-config"), _("Argon Config"), 90)
|
||||||
|
page.acl_depends = { "luci-app-argon-config" }
|
||||||
end
|
end
|
||||||
|
@ -56,9 +56,6 @@ msgstr "十六进制颜色值 ( 预设为:#483d8b )"
|
|||||||
msgid "[Light mode] Transparency"
|
msgid "[Light mode] Transparency"
|
||||||
msgstr "[亮色模式] 透明度"
|
msgstr "[亮色模式] 透明度"
|
||||||
|
|
||||||
msgid "[Light mode] Transparency"
|
|
||||||
msgstr "[亮色模式] 透明度"
|
|
||||||
|
|
||||||
msgid "[Dark mode] Transparency"
|
msgid "[Dark mode] Transparency"
|
||||||
msgstr "[暗色模式] 透明度"
|
msgstr "[暗色模式] 透明度"
|
||||||
|
|
||||||
@ -92,7 +89,6 @@ msgstr "无法打开文件:"
|
|||||||
msgid "Create upload file error."
|
msgid "Create upload file error."
|
||||||
msgstr "创建上传文件失败。"
|
msgstr "创建上传文件失败。"
|
||||||
|
|
||||||
|
|
||||||
msgid "File name"
|
msgid "File name"
|
||||||
msgstr "文件名"
|
msgstr "文件名"
|
||||||
|
|
||||||
|
1
po/zh_Hans
Symbolic link
1
po/zh_Hans
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
zh-cn
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"luci-argon-config": {
|
"luci-app-argon-config": {
|
||||||
"description": "Luci Argon theme config ",
|
"description": "Grant UCI access for luci-app-argon-config",
|
||||||
"read": {
|
"read": {
|
||||||
"uci": [ "argon" ]
|
"uci": [ "argon" ]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user