diff --git a/package/ctcgfw/luci-app-argon-config/Makefile b/package/ctcgfw/luci-app-argon-config/Makefile index 1333d89ed1..90cdef65b6 100644 --- a/package/ctcgfw/luci-app-argon-config/Makefile +++ b/package/ctcgfw/luci-app-argon-config/Makefile @@ -7,40 +7,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-argon-config -LUCI_PKGARCH:=all PKG_VERSION:=0.7 PKG_RELEASE:=beta -include $(INCLUDE_DIR)/package.mk +LUCI_TITLE:=LuCI page for Argon Config +LUCI_PKGARCH:=all -define Package/luci-app-argon-config - SECTION:=luci - CATEGORY:=LuCI - SUBMENU:=3. Applications - TITLE:=LuCI page for Argon Config - PKGARCH:=all - DEPENDS:= -endef - -define Build/Prepare -endef - -define Build/Compile -endef - - -define Package/luci-app-argon-config/install - $(INSTALL_DIR) $(1)/usr/lib/lua/luci - cp -pR ./luasrc/* $(1)/usr/lib/lua/luci - $(INSTALL_DIR) $(1)/ - cp -pR ./root/* $(1)/ - $(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n - po2lmo ./po/zh-cn/argon-config.po $(1)/usr/lib/lua/luci/i18n/argon-config.zh-cn.lmo -endef - - -$(eval $(call BuildPackage,luci-app-argon-config)) +include $(TOPDIR)/feeds/luci/luci.mk # call BuildPackage - OpenWrt buildroot signature - - diff --git a/package/ctcgfw/luci-app-argon-config/po/zh-cn/argon-config.po b/package/ctcgfw/luci-app-argon-config/po/zh_Hans/argon-config.po similarity index 96% rename from package/ctcgfw/luci-app-argon-config/po/zh-cn/argon-config.po rename to package/ctcgfw/luci-app-argon-config/po/zh_Hans/argon-config.po index 0976e9444b..1ba67fcff4 100644 --- a/package/ctcgfw/luci-app-argon-config/po/zh-cn/argon-config.po +++ b/package/ctcgfw/luci-app-argon-config/po/zh_Hans/argon-config.po @@ -15,7 +15,7 @@ msgid "Argon Config" 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." -msgstr "在这里你可以设置argon 主题的登录页面的模糊和透明度,并管理背景图片与视频。" +msgstr "在这里你可以设置 argon 主题的登录页面的模糊和透明度,并管理背景图片与视频。" msgid "Theme mode" msgstr "主题模式" diff --git a/package/ctcgfw/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json b/package/ctcgfw/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json new file mode 100644 index 0000000000..f6e7e7d6f5 --- /dev/null +++ b/package/ctcgfw/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json @@ -0,0 +1,11 @@ +{ + "luci-app-argon-config": { + "description": "Grant UCI access for luci-app-argon-config", + "read": { + "uci": [ "argon" ] + }, + "write": { + "uci": [ "argon" ] + } + } +}