diff --git a/README.md b/README.md index d050cfb..f435aed 100644 --- a/README.md +++ b/README.md @@ -16,4 +16,4 @@ make V=s -------------- -![](https://camo.githubusercontent.com/fae1a7e14a91f2d748e4999006c94ac5cb519f97f616f46051f6ae1006d212a6/68747470733a2f2f696d672e636f6f6c75632e636f6d2f696d67732f323032322f30352f643335326637306437626366313739302e706e67) +![](https://user-images.githubusercontent.com/16485166/182457881-ac7dfb65-aa3b-41fb-9b55-1770f136aa5e.png) diff --git a/luci-app-alist/luasrc/model/cbi/alist.lua b/luci-app-alist/luasrc/model/cbi/alist.lua index 59d4220..be84605 100644 --- a/luci-app-alist/luasrc/model/cbi/alist.lua +++ b/luci-app-alist/luasrc/model/cbi/alist.lua @@ -3,9 +3,9 @@ local sys = require "luci.sys" if sys.call("pidof alist >/dev/null") == 0 then local password = sys.exec("/usr/bin/alist --conf /etc/alist/config.json -password | awk '{print $3}'") - m = Map("alist", translate("Alist"), translate("A file list program that supports multiple storage.") .. " " .. translate("manage password:") .. "" .. password .. "") + m = Map("alist", translate("Alist"), translate("A file list program that supports multiple storage.") .. " " .. translate("manage password:") .. "" .. password .. "" .. "
" .. [[]] .. translate("User Manual") .. [[]]) else - m = Map("alist", translate("Alist"), translate("A file list program that supports multiple storage.")) + m = Map("alist", translate("Alist"), translate("A file list program that supports multiple storage.") .. "
" .. [[]] .. translate("User Manual") .. [[]]) end m:section(SimpleSection).template = "alist_status" @@ -46,7 +46,7 @@ o = s:option(Value, "cleanup_interval", translate("Clear the invalidation cache o.datatype = "and(uinteger,min(1))" o.rmempty = false -o = s:option(Value, "temp_dir", translate("Temp directory")) +o = s:option(Value, "temp_dir", translate("Cache directory")) o.datatype = "string" o.rmempty = false diff --git a/luci-app-alist/po/zh-cn/alist.po b/luci-app-alist/po/zh-cn/alist.po index 5325952..4016647 100644 --- a/luci-app-alist/po/zh-cn/alist.po +++ b/luci-app-alist/po/zh-cn/alist.po @@ -43,8 +43,8 @@ msgstr "缓存失效时间(分钟)" msgid "Clear the invalidation cache interval (unit: minutes)" msgstr "清理失效缓存间隔(分钟)" -msgid "Temp directory" -msgstr "临时目录" +msgid "Cache directory" +msgstr "缓存目录" msgid "The Alist service is running." msgstr "Alist 服务已启动" @@ -57,3 +57,6 @@ msgstr "收集数据..." msgid "NAS" msgstr "网络存储" + +msgid "User Manual" +msgstr "用户手册"