1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Little text changes for mail interface

This commit is contained in:
Ycarus 2018-11-09 17:38:15 +01:00
parent b3cc953368
commit fd8a335e85
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
module("luci.controller.mail", package.seeall) module("luci.controller.mail", package.seeall)
function index() function index()
entry({"admin", "services", "mail"}, alias("admin", "services", "mail", "index"), _("Mail")) entry({"admin", "services", "mail"}, alias("admin", "services", "mail", "index"), _("Mail settings"))
entry({"admin", "services", "mail", "index"}, cbi("mail")) entry({"admin", "services", "mail", "index"}, cbi("mail"))
end end

View file

@ -1,7 +1,7 @@
-- Copyright 2018 Ycarus (Yannick Chabanois) <ycarus@zugaina.org> -- Copyright 2018 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
-- Licensed to the public under the Apache License 2.0. -- Licensed to the public under the Apache License 2.0.
m = Map("mail", translate("Send mail"), translate("Set mail settings for services that need to send mails.")) m = Map("mail", translate("Mail settings"), translate("Set mail settings for services that need to send mails."))
s = m:section(TypedSection, "smtp", translate("SMTP")) s = m:section(TypedSection, "smtp", translate("SMTP"))
s.anonymous = true s.anonymous = true
@ -24,7 +24,7 @@ tls.rmempty = false
tls_starttls = s:option(Flag, "tls_starttls", translate("STARTTLS")) tls_starttls = s:option(Flag, "tls_starttls", translate("STARTTLS"))
tls_starttls.rmempty = false tls_starttls.rmempty = false
user = s:option(Value, "user", translate("User")) user = s:option(Value, "user", translate("Username"))
user.rmempty = true user.rmempty = true
password = s:option(Value, "password", translate("Password")) password = s:option(Value, "password", translate("Password"))