一些文本显示更改

This commit is contained in:
sbwml 2022-08-13 00:41:33 +08:00
parent 9dd7ad3333
commit e891d5b926
3 changed files with 12 additions and 12 deletions

View File

@ -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 = "<strong>" .. translate("Current Version") .. ": </strong>" .. version .. "<br><strong>" .. translate("App Feature Num") .. ":</strong> " ..
rule_count ..
"<br><strong> " .. translate("Download Link") .. ":</strong><a href=\"https://destan19.github.io\" target=\"_blank\">https://destan19.github.io</a>"
local display_str = translate("Current Version: ") .. "<font color='#00bd3e'>" .. version .. "</font>" .. "<br>" .. translate("App Feature Num: ") ..
"<font color='#00bd3e'>" .. rule_count .. "</font>" ..
"<br>" .. translate("Download Link: ") .. "<a href=\"https://destan19.github.io/feature/\" target=\"_blank\">https://destan19.github.io/feature/</a>"
s = m:section(TypedSection, "feature", translate("Update feature"), display_str)
fu = s:option(FileUpload, "")

View File

@ -1,5 +1,5 @@
<%+cbi/valueheader%>
<label class="cbi-value" style="display:inline-block; width: 130px" for="ulfile"><%:Select feature file:%></label>
<label class="cbi-value" style="display:inline-block; width: 130px" for="ulfile"><%:Select feature file%></label>
<input class="cbi-input-file" style="width: 500px" type="file" id="ulfile" name="ulfile" />
<input type="submit" class="cbi-button cbi-input-apply" name="upload" value="<%:Upload%>" />
<%+cbi/valuefooter%>

View File

@ -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 "开始时间"