From e891d5b926b060930300bf23dd3e8a9b7c5c98de Mon Sep 17 00:00:00 2001 From: sbwml <984419930@qq.com> Date: Sat, 13 Aug 2022 00:41:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BA=9B=E6=96=87=E6=9C=AC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../luasrc/model/cbi/appfilter/feature.lua | 6 +++--- luci-app-oaf/luasrc/view/cbi/oaf_upload.htm | 2 +- luci-app-oaf/po/zh-cn/oaf.po | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/luci-app-oaf/luasrc/model/cbi/appfilter/feature.lua b/luci-app-oaf/luasrc/model/cbi/appfilter/feature.lua index ef9e8b1..ee1dcf6 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") .. ": " .. - rule_count .. - "
" .. translate("Download Link") .. ":https://destan19.github.io" +local display_str = translate("Current Version: ") .. "" .. version .. "" .. "
" .. translate("App Feature Num: ") .. + "" .. rule_count .. "" .. + "
" .. 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/luasrc/view/cbi/oaf_upload.htm b/luci-app-oaf/luasrc/view/cbi/oaf_upload.htm index aadf01d..c3a2e11 100644 --- a/luci-app-oaf/luasrc/view/cbi/oaf_upload.htm +++ b/luci-app-oaf/luasrc/view/cbi/oaf_upload.htm @@ -1,5 +1,5 @@ <%+cbi/valueheader%> - + <%+cbi/valuefooter%> diff --git a/luci-app-oaf/po/zh-cn/oaf.po b/luci-app-oaf/po/zh-cn/oaf.po index 5a83a3b..fcf00a5 100755 --- a/luci-app-oaf/po/zh-cn/oaf.po +++ b/luci-app-oaf/po/zh-cn/oaf.po @@ -95,14 +95,14 @@ msgstr "数据统计" msgid "Feature library is used to describe app features, app filtering effect and number-dependent feature library" msgstr "特征库用于描述app特征,app过滤效果和个数依赖特征库" -msgid "Current Version" -msgstr "当前版本" +msgid "Current Version: " +msgstr "当前版本:" -msgid "Download Link" -msgstr "下载地址" +msgid "Download Link: " +msgstr "下载地址:" -msgid "App Feature Num" -msgstr "特征码个数" +msgid "App Feature Num: " +msgstr "特征码个数:" msgid "Update feature" msgstr "特征库更新" @@ -137,8 +137,8 @@ msgstr "更新特征库成功,请刷新页面!" msgid "Failed to update feature file, format error" msgstr "更新特征库失败,格式错误!" -msgid "Select feature file:" -msgstr "选择本地特征库文件:" +msgid "Select feature file" +msgstr "选择特征库文件" msgid "Start Time" msgstr "开始时间"