luci-mod-network: add translation string for log level
authortry496 <[email protected]>
Wed, 26 Nov 2025 23:11:36 +0000 (07:11 +0800)
committerPaul Donald <[email protected]>
Wed, 26 Nov 2025 23:31:02 +0000 (00:31 +0100)
 add translation string for log level

Signed-off-by: He Ping <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index 416b50ff9ae95029c068e9fb04522b80627c90c0..b412f754073535a7b6ed50ddf8e41f68f81fafcc 100644 (file)
@@ -611,14 +611,14 @@ return view.extend({
                o = s.taboption('general', form.Value, 'loglevel',
                        _('Log level'),
                        _('Log level of the <code>odhcpd</code> daemon.'));
-               o.value('0', 'Emergency');
-               o.value('1', 'Alert');
-               o.value('2', 'Critical');
-               o.value('3', 'Error');
-               o.value('4', 'Warning');
-               o.value('5', 'Notice');
-               o.value('6', 'Info');
-               o.value('7', 'Debug');
+               o.value('0', _('Emergency'));
+               o.value('1', _('Alert'));
+               o.value('2', _('Critical'));
+               o.value('3', _('Error'));
+               o.value('4', _('Warning'));
+               o.value('5', _('Notice'));
+               o.value('6', _('Info'));
+               o.value('7', _('Debug'));
                // End general
 
                // Begin pxe6