Skip to content

Commit

Permalink
Merge branch 'jerrykuku-master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jjm2473 committed Apr 24, 2022
2 parents 45ffc27 + d1474ba commit f8d6446
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=luci-app-argon-config
PKG_VERSION:=0.9
PKG_RELEASE:=20220326
PKG_RELEASE:=20220424

PKG_MAINTAINER:=jerrykuku <[email protected]>

Expand Down
7 changes: 2 additions & 5 deletions luasrc/controller/argon-config.lua
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
--[[
luci-app-argon-config
]]--

module("luci.controller.argon-config", package.seeall)

function index()
if not nixio.fs.access('/www/luci-static/argon/css/cascade.css') then
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
25 changes: 14 additions & 11 deletions po/es/argon-config.po
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: 2021-03-15 21:25-0300\n"
"PO-Revision-Date: 2021-03-15 21:58-0300\n"
"PO-Revision-Date: 2022-04-23 15:21-0300\n"
"Last-Translator: Franco Castillo <[email protected]>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.4.2\n"
"Last-Translator: Franco Castillo <[email protected]>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
"X-Generator: Poedit 3.0.1\n"

#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:97
msgid "0 transparent - 1 opaque ; ( Suggest: Black translucent preset: 0.5 )"
Expand All @@ -33,7 +33,7 @@ msgstr "Un color HEX; (Predeterminado: #483d8b)"
msgid "A HEX Color ; ( Default: #5e72e4 )"
msgstr "Un color HEX; (Predeterminado: #5e72e4)"

#: applications/luci-app-argon-config/luasrc/controller/argon-config.lua:11
#: applications/luci-app-argon-config/luasrc/controller/argon-config.lua:8
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:53
msgid "Argon Config"
msgstr "Configuración de Argon"
Expand Down Expand Up @@ -72,12 +72,16 @@ msgstr "Seguir el sistema"

#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:67
msgid "Force Dark"
msgstr "Fuerza oscuro"
msgstr "Forzar oscuro"

#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:66
msgid "Force Light"
msgstr "Forzar claro"

#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
msgid "Grant UCI access for luci-app-argon-config"
msgstr "Otorgar acceso UCI para luci-app-argon-config"

#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:53
msgid ""
"Here you can set the blur and transparency of the login page of argon theme, "
Expand All @@ -95,10 +99,6 @@ msgstr ""
"El valor más grande se verá más borroso; (Sugerencia: claro: 1 o desenfoque "
"predeterminado: 10)"

#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
msgid "Luci Argon theme config"
msgstr "Configuración del tema Luci Argon"

#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:201
msgid "Modify time"
msgstr "Modificar la hora"
Expand Down Expand Up @@ -174,3 +174,6 @@ msgstr "[Modo claro] Color primario"
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:79
msgid "[Light mode] Transparency"
msgstr "[Modo claro] Transparencia"

#~ msgid "Luci Argon theme config"
#~ msgstr "Configuración del tema Luci Argon"
10 changes: 5 additions & 5 deletions po/templates/argon-config.pot
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ msgstr ""
msgid "A HEX Color ; ( Default: #5e72e4 )"
msgstr ""

#: applications/luci-app-argon-config/luasrc/controller/argon-config.lua:11
#: applications/luci-app-argon-config/luasrc/controller/argon-config.lua:8
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:53
msgid "Argon Config"
msgstr ""
Expand Down Expand Up @@ -64,6 +64,10 @@ msgstr ""
msgid "Force Light"
msgstr ""

#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
msgid "Grant UCI access for luci-app-argon-config"
msgstr ""

#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:53
msgid ""
"Here you can set the blur and transparency of the login page of argon theme, "
Expand All @@ -76,10 +80,6 @@ msgid ""
"Larger value will more blurred ; ( Suggest: clear: 1 or blur preset: 10 )"
msgstr ""

#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
msgid "Luci Argon theme config"
msgstr ""

#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:201
msgid "Modify time"
msgstr ""
Expand Down
4 changes: 0 additions & 4 deletions po/zh-cn/argon-config.po
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ msgstr "十六进制颜色值 ( 预设为:#483d8b )"
msgid "[Light mode] Transparency"
msgstr "[亮色模式] 透明度"

msgid "[Light mode] Transparency"
msgstr "[亮色模式] 透明度"

msgid "[Dark mode] Transparency"
msgstr "[暗色模式] 透明度"

Expand Down Expand Up @@ -92,7 +89,6 @@ msgstr "无法打开文件:"
msgid "Create upload file error."
msgstr "创建上传文件失败。"


msgid "File name"
msgstr "文件名"

Expand Down
1 change: 1 addition & 0 deletions po/zh_Hans
2 changes: 1 addition & 1 deletion root/etc/config/argon
Original file line number Diff line number Diff line change
Expand Up @@ -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'
6 changes: 3 additions & 3 deletions root/usr/share/rpcd/acl.d/luci-app-argon-config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"luci-argon-config": {
"description": "Luci Argon theme config ",
"luci-app-argon-config": {
"description": "Grant UCI access for luci-app-argon-config",
"read": {
"uci": [ "argon" ]
},
"write": {
"uci": [ "argon" ]
}
}
}
}

0 comments on commit f8d6446

Please sign in to comment.