luci: fix option description

This commit is contained in:
Nick Peng
2022-12-31 09:27:38 +08:00
parent 69ab9585d7
commit 98498bf444
2 changed files with 5 additions and 5 deletions

View File

@@ -25,11 +25,11 @@ msgstr "自动设置Dnsmasq"
msgid "Automatically set as upstream of dnsmasq when port changes."
msgstr "端口更改时自动设为 dnsmasq 的上游。"
msgid "Block domain type"
msgstr "屏蔽域名类型"
msgid "Block domain"
msgstr "屏蔽域名"
msgid "Block domain type."
msgstr "屏蔽域名类型。"
msgid "Block domain."
msgstr "屏蔽域名。"
msgid "Cache Size"
msgstr "缓存大小"

View File

@@ -786,7 +786,7 @@ return view.extend({
so.rempty = true
so.root_directory = "/etc/smartdns/domain-set"
so = ss.option(form.ListValue, "block_domain_type", _("Block domain type"), _("Block domain type."));
so = ss.option(form.ListValue, "block_domain_type", _("Block domain"), _("Block domain."));
so.rmempty = true;
so.value("none", _("None"));
so.value("all", "IPv4/IPv6");