luci-app-dnscrypt-proxy: Add more translations
Added translate() functions for some UI texts. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
This commit is contained in:
parent
2163284cf7
commit
3d3de97bfd
1 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@ end
|
||||||
|
|
||||||
-- Trigger selection
|
-- Trigger selection
|
||||||
|
|
||||||
s = m:section(TypedSection, "global", "General options")
|
s = m:section(TypedSection, "global", translate("General options"))
|
||||||
s.anonymous = true
|
s.anonymous = true
|
||||||
|
|
||||||
-- Main dnscrypt-proxy resource list
|
-- Main dnscrypt-proxy resource list
|
||||||
|
@ -69,7 +69,7 @@ end
|
||||||
|
|
||||||
-- Trigger settings
|
-- Trigger settings
|
||||||
|
|
||||||
t = s:option(DynamicList, "procd_trigger", "Startup Trigger",
|
t = s:option(DynamicList, "procd_trigger", translate("Startup Trigger"),
|
||||||
translate("By default the DNSCrypt-Proxy startup will be triggered by ifup events of multiple network interfaces. ")
|
translate("By default the DNSCrypt-Proxy startup will be triggered by ifup events of multiple network interfaces. ")
|
||||||
.. translate("To restrict the trigger, add only the relevant network interface(s). ")
|
.. translate("To restrict the trigger, add only the relevant network interface(s). ")
|
||||||
.. translate("Usually the 'wan' interface should work for most users."))
|
.. translate("Usually the 'wan' interface should work for most users."))
|
||||||
|
@ -85,7 +85,7 @@ t.rmempty = true
|
||||||
|
|
||||||
-- Mandatory options per instance
|
-- Mandatory options per instance
|
||||||
|
|
||||||
s = m:section(TypedSection, "dnscrypt-proxy", "Instance options")
|
s = m:section(TypedSection, "dnscrypt-proxy", translate("Instance options"))
|
||||||
s.anonymous = true
|
s.anonymous = true
|
||||||
s.addremove = true
|
s.addremove = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue