From 75b01ac77e921ce38fcaf153d80855926914a1b6 Mon Sep 17 00:00:00 2001 From: sbwml <984419930@qq.com> Date: Sat, 13 Aug 2022 00:58:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9C=9F=E7=9A=84=E4=BC=9A=E8=B0=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-app-oaf/luasrc/controller/appfilter.lua | 2 +- luci-app-oaf/luasrc/model/cbi/appfilter/feature.lua | 4 ++-- luci-app-oaf/po/zh-cn/oaf.po | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/luci-app-oaf/luasrc/controller/appfilter.lua b/luci-app-oaf/luasrc/controller/appfilter.lua index d5f4554..ef6d717 100755 --- a/luci-app-oaf/luasrc/controller/appfilter.lua +++ b/luci-app-oaf/luasrc/controller/appfilter.lua @@ -9,7 +9,7 @@ function index() local page entry({"admin", "network", "appfilter"}, - alias("admin", "network", "appfilter", "user_list"), + alias("admin", "network", "appfilter", "base_setting"), _("App Filter"), 100).dependent = true entry({"admin", "network", "appfilter", "base_setting"}, diff --git a/luci-app-oaf/luasrc/model/cbi/appfilter/feature.lua b/luci-app-oaf/luasrc/model/cbi/appfilter/feature.lua index ee1dcf6..fdaaf2a 100755 --- a/luci-app-oaf/luasrc/model/cbi/appfilter/feature.lua +++ b/luci-app-oaf/luasrc/model/cbi/appfilter/feature.lua @@ -22,9 +22,9 @@ if nixio.fs.access("/tmp/feature.cfg") then version = SYS.exec("cat /tmp/feature.cfg |grep \"#version\" | awk '{print $2}'") end -local display_str = translate("Current Version: ") .. "" .. version .. "" .. "
" .. translate("App Feature Num: ") .. +local display_str = translate("Current Version:") .. "" .. version .. "" .. "
" .. translate("App Feature Num:") .. "" .. rule_count .. "" .. - "
" .. translate("Download Link: ") .. "https://destan19.github.io/feature/" + "
" .. translate("Download Link:") .. "https://destan19.github.io/feature/" s = m:section(TypedSection, "feature", translate("Update feature"), display_str) fu = s:option(FileUpload, "") diff --git a/luci-app-oaf/po/zh-cn/oaf.po b/luci-app-oaf/po/zh-cn/oaf.po index fcf00a5..a9d5af7 100755 --- a/luci-app-oaf/po/zh-cn/oaf.po +++ b/luci-app-oaf/po/zh-cn/oaf.po @@ -95,13 +95,13 @@ msgstr "数据统计" msgid "Feature library is used to describe app features, app filtering effect and number-dependent feature library" msgstr "特征库用于描述app特征,app过滤效果和个数依赖特征库" -msgid "Current Version: " +msgid "Current Version:" msgstr "当前版本:" -msgid "Download Link: " +msgid "Download Link:" msgstr "下载地址:" -msgid "App Feature Num: " +msgid "App Feature Num:" msgstr "特征码个数:" msgid "Update feature"