Add zh-cn po for luci-app-qBittorrent (#5057)

* translate `Open Web Interface`

* 打开管理页面自适应 http 和 https
This commit is contained in:
Charles Chin 2020-07-10 11:56:56 +08:00 committed by GitHub
parent 6fb7d552d4
commit 74f1dce2c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,7 @@ local a=(luci.sys.call("pidof qbittorrent-nox > /dev/null")==0)
local t=""
if a then
t="<br /><br /><input class=\"cbi-button cbi-button-apply\" type=\"button\" value=\" "..translate("Open Web Interface").." \" onclick=\"window.open('http://'+window.location.hostname+':"..o.."')\"/>"
t="<br /><br /><input class=\"cbi-button cbi-button-apply\" type=\"button\" value=\" "..translate("Open Web Interface").." \" onclick=\"window.open('//'+window.location.hostname+':"..o.."')\"/>"
end
function titlesplit(Value)

View File

@ -576,3 +576,6 @@ msgid ""
"This page is the content of the configuration document under /etc/config/"
"qbittorrent."
msgstr "本页是/etc/config/qbittorrent下的配置文档内容。"
msgid "Open Web Interface"
msgstr "打开管理页面"