fix: Remove empty string translations from UI labels

This commit is contained in:
Andrey Petelin
2025-09-30 13:06:52 +05:00
parent 5fb8343cf8
commit 904b90e012
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ function createConfigSection(section, map, network) {
o.depends('mode', 'proxy'); o.depends('mode', 'proxy');
o.ucisection = s.section; 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.depends('proxy_config_type', 'url');
o.rows = 5; o.rows = 5;
o.rmempty = false; o.rmempty = false;

View File

@@ -37,7 +37,7 @@ return view.extend({
</style> </style>
`); `);
const m = new form.Map('podkop', _(''), null, ['main', 'extra']); const m = new form.Map('podkop', '', null, ['main', 'extra']);
// Main Section // Main Section
const mainSection = m.section(form.TypedSection, 'main'); const mainSection = m.section(form.TypedSection, 'main');