From e56af3c3e58d355d5128de638afb9497804a359a Mon Sep 17 00:00:00 2001 From: Zheng Qian Date: Sat, 15 Dec 2018 21:38:40 +0800 Subject: luci-app-aria2: fix the log option According to the package aria2, the log option is enable_logging, so fix this option name. As luci-app-aria2 can't set custom log file dir, the default log file is /var/log/aria2.log but not in the config file dir. Signed-off-by: Zheng Qian --- applications/luci-app-aria2/po/zh-tw/aria2.po | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'applications/luci-app-aria2/po/zh-tw/aria2.po') diff --git a/applications/luci-app-aria2/po/zh-tw/aria2.po b/applications/luci-app-aria2/po/zh-tw/aria2.po index 691c26eeb..c911e0fc3 100644 --- a/applications/luci-app-aria2/po/zh-tw/aria2.po +++ b/applications/luci-app-aria2/po/zh-tw/aria2.po @@ -36,7 +36,7 @@ msgstr "Aria2" msgid "Aria2 Settings" msgstr "Aria2 配置" -#: applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm:77 +#: applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm:80 msgid "Aria2 Status" msgstr "Aria2 狀態" @@ -58,7 +58,7 @@ msgstr "BitTorrent 設定" msgid "BitTorrent listen port" msgstr "BitTorrent 監聽埠" -#: applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm:79 +#: applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm:82 msgid "Collecting data..." msgstr "正在收集資料..." @@ -126,10 +126,6 @@ msgstr "附加 Bt tracker 列表" msgid "List of extra settings" msgstr "附加選項列表" -#: applications/luci-app-aria2/luasrc/model/cbi/aria2.lua:92 -msgid "Log file is in the config file dir." -msgstr "日誌檔案在配置檔案目錄下" - #: applications/luci-app-aria2/luasrc/model/cbi/aria2.lua:96 msgid "Log level" msgstr "日誌記錄等級" @@ -254,6 +250,10 @@ msgstr "Aria2 未執行" msgid "The Aria2 service is running." msgstr "Aria2 正在執行" +#: applications/luci-app-aria2/luasrc/model/cbi/aria2.lua:92 +msgid "The default log file is /var/log/aria2.log" +msgstr "" + #: applications/luci-app-aria2/luasrc/model/cbi/aria2.lua:74 msgid "Token" msgstr "令牌" @@ -293,5 +293,8 @@ msgstr "單位 B, 您可以在數字後跟上 K 或 M。" msgid "in bytes/sec, You can append K or M." msgstr "單位 B/s, 您可以在數字後跟上 K 或 M。" +#~ msgid "Log file is in the config file dir." +#~ msgstr "日誌檔案在配置檔案目錄下" + #~ msgid "General settings" #~ msgstr "基本設定" -- cgit v1.2.3