From 904b90e0121af2bccce79c2a4dcd628c6fc8f1bd Mon Sep 17 00:00:00 2001 From: Andrey Petelin Date: Tue, 30 Sep 2025 13:06:52 +0500 Subject: [PATCH] fix: Remove empty string translations from UI labels --- .../htdocs/luci-static/resources/view/podkop/configSection.js | 2 +- .../htdocs/luci-static/resources/view/podkop/podkop.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js index ed4ea15..cc887f2 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js @@ -37,7 +37,7 @@ function createConfigSection(section, map, network) { o.depends('mode', 'proxy'); o.ucisection = s.section; - o = s.taboption('basic', form.TextValue, 'proxy_string', _('Proxy Configuration URL'), _('')); + o = s.taboption('basic', form.TextValue, 'proxy_string', _('Proxy Configuration URL'), ''); o.depends('proxy_config_type', 'url'); o.rows = 5; o.rmempty = false; diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js index ac830dd..35713c9 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js @@ -37,7 +37,7 @@ return view.extend({ `); - const m = new form.Map('podkop', _(''), null, ['main', 'extra']); + const m = new form.Map('podkop', '', null, ['main', 'extra']); // Main Section const mainSection = m.section(form.TypedSection, 'main');