summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dnscrypt-proxy/luasrc/model
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2017-08-18 23:18:44 +0900
committerINAGAKI Hiroshi <musashino.open@gmail.com>2017-08-18 23:18:44 +0900
commit3d3de97bfd8dd98103fb1a8ecbd53d880fb12695 (patch)
treecd50a13f74103add8e3083d508a9fd1fb8552d88 /applications/luci-app-dnscrypt-proxy/luasrc/model
parent2163284cf7c5d1484a9703cc283619f2a58549f1 (diff)
luci-app-dnscrypt-proxy: Add more translations
Added translate() functions for some UI texts. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'applications/luci-app-dnscrypt-proxy/luasrc/model')
-rw-r--r--applications/luci-app-dnscrypt-proxy/luasrc/model/cbi/dnscrypt-proxy/overview_tab.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-dnscrypt-proxy/luasrc/model/cbi/dnscrypt-proxy/overview_tab.lua b/applications/luci-app-dnscrypt-proxy/luasrc/model/cbi/dnscrypt-proxy/overview_tab.lua
index de23ba00da..602076ce0e 100644
--- a/applications/luci-app-dnscrypt-proxy/luasrc/model/cbi/dnscrypt-proxy/overview_tab.lua
+++ b/applications/luci-app-dnscrypt-proxy/luasrc/model/cbi/dnscrypt-proxy/overview_tab.lua
@@ -41,7 +41,7 @@ end
-- Trigger selection
-s = m:section(TypedSection, "global", "General options")
+s = m:section(TypedSection, "global", translate("General options"))
s.anonymous = true
-- Main dnscrypt-proxy resource list
@@ -69,7 +69,7 @@ end
-- 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("To restrict the trigger, add only the relevant network interface(s). ")
.. translate("Usually the 'wan' interface should work for most users."))
@@ -85,7 +85,7 @@ t.rmempty = true
-- 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.addremove = true