From 126443aad5c29a393b48505372a11a1fc51a4722 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Sat, 20 Jan 2024 17:09:08 +0000 Subject: luci-app-adblock-fast: remove unnecessary translation calls Thank you @hnyman! Signed-off-by: Stan Grishin --- .../htdocs/luci-static/resources/view/adblock-fast/overview.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js') diff --git a/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js b/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js index 7b0d93ab9f..e625106483 100644 --- a/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js +++ b/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js @@ -57,6 +57,7 @@ return view.extend({ status = new adb.status(); m = new form.Map(pkg.Name, _("AdBlock-Fast - Configuration")); + s1 = m.section(form.NamedSection, "config", pkg.Name); s1.tab("tab_basic", _("Basic Configuration")); s1.tab("tab_advanced", _("Advanced Configuration")); @@ -238,7 +239,7 @@ return view.extend({ key = element[".name"]; description = element[".name"]; } - o.value(key, _("%s").format(description)); + o.value(key, description); }); o.depends("dnsmasq_instance_option", "+"); o.retain = true; @@ -301,7 +302,7 @@ return view.extend({ key = element[".name"]; description = element[".name"]; } - o.value(key, _("%s").format(description)); + o.value(key, description); }); o.depends("smartdns_instance_option", "+"); o.retain = true; -- cgit v1.2.3