bump to v0.9

This commit is contained in:
jerrykuku 2021-03-09 14:22:37 +08:00
parent 92d63919ca
commit a3430cf523
4 changed files with 20 additions and 3 deletions

View File

@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-argon-config PKG_NAME:=luci-app-argon-config
LUCI_PKGARCH:=all LUCI_PKGARCH:=all
PKG_VERSION:=0.8 PKG_VERSION:=0.9
PKG_RELEASE:=beta PKG_RELEASE:=20210309
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -23,6 +23,7 @@ if nxfs.access('/etc/config/argon') then
blur_opacity = uci:get_first('argon', 'global', 'transparency') blur_opacity = uci:get_first('argon', 'global', 'transparency')
blur_opacity_dark = uci:get_first('argon', 'global', 'transparency_dark') blur_opacity_dark = uci:get_first('argon', 'global', 'transparency_dark')
mode = uci:get_first('argon', 'global', 'mode') mode = uci:get_first('argon', 'global', 'mode')
bing_background = uci:get_first('argon', 'global', 'bing_background')
end end
function glob(...) function glob(...)
@ -54,6 +55,12 @@ br.reset = false
br.submit = false br.submit = false
s = br:section(SimpleSection) s = br:section(SimpleSection)
o = s:option(ListValue, 'bing_background', translate('Wallpaper Source'))
o:value('0', translate('Built-in'))
o:value('1', translate('Bing Wallpapers'))
o.default = bing_background
o.rmempty = false
o = s:option(ListValue, 'mode', translate('Theme mode')) o = s:option(ListValue, 'mode', translate('Theme mode'))
o:value('normal', translate('Follow System')) o:value('normal', translate('Follow System'))
o:value('light', translate('Force Light')) o:value('light', translate('Force Light'))

View File

@ -17,6 +17,15 @@ msgstr "Argon 主题设置"
msgid "Here you can set the blur and transparency of the login page of argon theme, and manage the background pictures and videos.[Chrome is recommended]" msgid "Here you can set the blur and transparency of the login page of argon theme, and manage the background pictures and videos.[Chrome is recommended]"
msgstr "在这里你可以设置argon 主题的登录页面的模糊和透明度,并管理背景图片与视频。[建议使用 Chrome]" msgstr "在这里你可以设置argon 主题的登录页面的模糊和透明度,并管理背景图片与视频。[建议使用 Chrome]"
msgid "Wallpaper Source"
msgstr "壁纸来源"
msgid "Built-in"
msgstr "内建"
msgid "Bing Wallpapers"
msgstr "Bing 壁纸"
msgid "Theme mode" msgid "Theme mode"
msgstr "主题模式" msgstr "主题模式"

View File

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