luci-proto-yggdrasil: fix empty translation string 7048/head
authorJo-Philipp Wich <jo@mein.io>
Mon, 8 Apr 2024 13:33:50 +0000 (15:33 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 8 Apr 2024 13:34:37 +0000 (15:34 +0200)
The empty string is not a legal translation key.

Fixes: f5ccfd3df4 ("luci-proto-yggdrasil: add `yggdrasil-jumper` support")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js

index 66159764cec0b5f98906aabdf9b6da67cca37879..d02095beb4c4d8868a3b1b4f9da887c3645367e1 100644 (file)
@@ -332,8 +332,7 @@ return network.registerProtocol('yggdrasil',
                                'jumper',
                                form.ListValue,
                                'jumper_loglevel',
-                               _('Log level'),
-                               _('')
+                               _('Log level')
                        );
                        o.value('off', _('Off'));
                        o.value('error', _('Error'));