From f162289fe4de00bf228ab66aaccff1235b41cfd9 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Sat, 20 Jan 2024 17:09:28 +0000 Subject: [PATCH] luci-app-https-dns-proxy: remove unnecessary translation call Thank you @hnyman! Signed-off-by: Stan Grishin --- .../luci-static/resources/view/https-dns-proxy/overview.js | 2 +- .../luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/view/https-dns-proxy/overview.js b/applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/view/https-dns-proxy/overview.js index 253525fb4a..a67d720f79 100644 --- a/applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/view/https-dns-proxy/overview.js +++ b/applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/view/https-dns-proxy/overview.js @@ -129,7 +129,7 @@ return view.extend({ key = element[".name"]; description = element[".name"]; } - o.value(key, _("%s").format(description)); + o.value(key, description); }); o.depends("dnsmasq_config_update_option", "+"); o.retain = true; diff --git a/applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot b/applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot index b566cc8001..bf270c8620 100644 --- a/applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot +++ b/applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot @@ -1,10 +1,6 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#: applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/view/https-dns-proxy/overview.js:132 -msgid "%s" -msgstr "" - #: applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/https-dns-proxy/status.js:258 msgid "%s%s%s proxy at %s on port %s.%s" msgstr "" -- 2.30.2