tidy up code

This commit is contained in:
Beginner-Go 2022-04-23 05:22:30 +00:00
parent c5c28baf5f
commit 52657d20d1
6 changed files with 8 additions and 14 deletions

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-argon-config
PKG_VERSION:=0.9
PKG_RELEASE:=20210904
PKG_RELEASE:=20220423
PKG_MAINTAINER:=jerrykuku <jerrykuku@qq.com>

View File

@ -1,7 +1,3 @@
--[[
luci-app-argon-config
]]--
module("luci.controller.argon-config", package.seeall)
function index()
@ -9,5 +5,6 @@ function index()
return
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

View File

@ -56,9 +56,6 @@ msgstr "十六进制颜色值 ( 预设为:#483d8b )"
msgid "[Light mode] Transparency"
msgstr "[亮色模式] 透明度"
msgid "[Light mode] Transparency"
msgstr "[亮色模式] 透明度"
msgid "[Dark mode] Transparency"
msgstr "[暗色模式] 透明度"
@ -92,7 +89,6 @@ msgstr "无法打开文件:"
msgid "Create upload file error."
msgstr "创建上传文件失败。"
msgid "File name"
msgstr "文件名"

1
po/zh_Hans Symbolic link
View File

@ -0,0 +1 @@
zh-cn

View File

@ -6,4 +6,4 @@ config global
option transparency '0.5'
option transparency_dark '0.5'
option mode 'normal'
option bing_background '0'
option bing_background '0'

View File

@ -1,6 +1,6 @@
{
"luci-argon-config": {
"description": "Luci Argon theme config ",
"luci-app-argon-config": {
"description": "Grant UCI access for luci-app-argon-config",
"read": {
"uci": [ "argon" ]
},
@ -8,4 +8,4 @@
"uci": [ "argon" ]
}
}
}
}