diff options
author | INAGAKI Hiroshi <musashino.open@gmail.com> | 2017-03-27 14:38:52 +0900 |
---|---|---|
committer | INAGAKI Hiroshi <musashino.open@gmail.com> | 2017-03-27 14:38:52 +0900 |
commit | d3fecae59ebbf4e95e7ca824f0600f801164d03c (patch) | |
tree | 55b48006ebc7b1093098448f5201417006da4981 /applications/luci-app-adblock/luasrc/model/cbi | |
parent | 65a089d6798e60a807fa250c5789dee52bb735f5 (diff) |
luci-app-adblock: Fix display issues with translation
Fixed display issues when applying translation.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'applications/luci-app-adblock/luasrc/model/cbi')
-rw-r--r-- | applications/luci-app-adblock/luasrc/model/cbi/adblock/blacklist_tab.lua | 2 | ||||
-rw-r--r-- | applications/luci-app-adblock/luasrc/model/cbi/adblock/whitelist_tab.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-adblock/luasrc/model/cbi/adblock/blacklist_tab.lua b/applications/luci-app-adblock/luasrc/model/cbi/adblock/blacklist_tab.lua index de24d77fbf..fc6b812d15 100644 --- a/applications/luci-app-adblock/luasrc/model/cbi/adblock/blacklist_tab.lua +++ b/applications/luci-app-adblock/luasrc/model/cbi/adblock/blacklist_tab.lua @@ -16,7 +16,7 @@ m = SimpleForm("input", nil) m:append(Template("adblock/config_css")) s = m:section(SimpleSection, nil, - translate("This form allows you to modify the content of the adblock blacklist (" .. adbinput .. ").<br />") + translatef("This form allows you to modify the content of the adblock blacklist (%s).<br />", adbinput) .. translate("Please add only one domain per line. Comments introduced with '#' are allowed - ip addresses, wildcards & regex are not.")) f = s:option(TextValue, "data") diff --git a/applications/luci-app-adblock/luasrc/model/cbi/adblock/whitelist_tab.lua b/applications/luci-app-adblock/luasrc/model/cbi/adblock/whitelist_tab.lua index 52db9a6941..955969e1fc 100644 --- a/applications/luci-app-adblock/luasrc/model/cbi/adblock/whitelist_tab.lua +++ b/applications/luci-app-adblock/luasrc/model/cbi/adblock/whitelist_tab.lua @@ -16,7 +16,7 @@ m = SimpleForm("input", nil) m:append(Template("adblock/config_css")) s = m:section(SimpleSection, nil, - translate("This form allows you to modify the content of the adblock whitelist (" .. adbinput .. ").<br />") + translatef("This form allows you to modify the content of the adblock whitelist (%s).<br />", adbinput) .. translate("Please add only one domain per line. Comments introduced with '#' are allowed - ip addresses, wildcards & regex are not.")) f = s:option(TextValue, "data") |