luci-app-alist: add usage documentation link
This commit is contained in:
parent
fc5e327475
commit
caceafb2ba
@ -16,4 +16,4 @@ make V=s
|
||||
|
||||
--------------
|
||||
|
||||

|
||||

|
||||
|
@ -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:") .. "<font color=\"green\">" .. password .. "</font>")
|
||||
m = Map("alist", translate("Alist"), translate("A file list program that supports multiple storage.") .. " " .. translate("manage password:") .. "<font color=\"green\">" .. password .. "</font>" .. "<br/>" .. [[<a href="https://alist-doc.nn.ci/docs/driver/native" target="_blank">]] .. translate("User Manual") .. [[</a>]])
|
||||
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.") .. "<br/>" .. [[<a href="https://alist-doc.nn.ci/docs/driver/native" target="_blank">]] .. translate("User Manual") .. [[</a>]])
|
||||
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
|
||||
|
||||
|
@ -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 "用户手册"
|
||||
|
Loading…
Reference in New Issue
Block a user