luci-app-snmpd: fix i18n compile warn
authorPaul Donald <redacted>
Tue, 3 Feb 2026 07:32:47 +0000 (08:32 +0100)
committerPaul Donald <redacted>
Tue, 3 Feb 2026 07:49:05 +0000 (08:49 +0100)
standard input:71: warning:

Empty msgid.  It is reserved by GNU gettext:
gettext("") returns the header entry with
meta information, not the empty string.

Signed-off-by: Paul Donald <redacted>
applications/luci-app-snmpd/htdocs/luci-static/resources/view/snmpd/download.js

index 0fc147adc4799d65c2e755d00d95ef4dd40ab575..479301a3e8904af49373ddf4db0cfb04648e843f 100644 (file)
@@ -67,8 +67,7 @@ return L.view.extend({
                ss = o.subsection;
 
                files.forEach((elem) => {
-                       o = ss.option(form.Button, 'dl_mib', _(elem),
-                               _(''));
+                       o = ss.option(form.Button, 'dl_mib', _(elem));
                        o.inputstyle = 'action important';
                        o.inputtitle = _('Download');
                        o.onclick = ui.createHandlerFn(this, this.handleMIB, elem);
git clone https://git.99rst.org/PROJECT