Merge pull request #2350 from TDT-AG/pr/20181204-luci-mod-system
[oweals/luci.git] / applications / luci-app-aria2 / luasrc / model / cbi / aria2.lua
index f713ad5beb54b34bd2f3bb8091f2433fdc242bc7..9e9df9aa71963021e32d6d8aac50d027e0eef08e 100644 (file)
@@ -44,7 +44,7 @@ end
 
 m = Map("aria2", translate("Aria2"), translate("Aria2 is a multi-protocol & multi-source download utility, here you can configure the settings."))
 
-m:section(SimpleSection).template  = "aria2/web_script"
+m:section(SimpleSection).template  = "aria2/overview_status"
 
 s = m:section(TypedSection, "aria2", translate("Aria2 Settings"))
 s.addremove = false
@@ -89,12 +89,12 @@ o.rmempty = true
 o = s:taboption("file", Value, "config_dir", translate("Config file directory"))
 o.placeholder = "/var/etc/aria2"
 
-o = s:taboption("file", Flag, "enable_log", translate("Enable log"), translate("Log file is in the config file dir."))
+o = s:taboption("file", Flag, "enable_logging", translate("Enable log"), translate("The default log file is /var/log/aria2.log"))
 o.enabled = "true"
 o.disabled = "false"
  
 o = s:taboption("file", ListValue, "log_level", translate("Log level"))
-o:depends("enable_log", "true")
+o:depends("enable_logging", "true")
 o:value("debug", translate("Debug"))
 o:value("info", translate("Info"))
 o:value("notice", translate("Notice"))