luci-mod-system: add translation string for language
authorAndy Chiang <[email protected]>
Thu, 20 Nov 2025 09:03:28 +0000 (16:03 +0700)
committerPaul Donald <[email protected]>
Thu, 20 Nov 2025 12:03:52 +0000 (13:03 +0100)
add translation string for language

Signed-off-by: Andy Chiang <[email protected]>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js

index 430c67e81bdb5a9fd06abaee74d8759fd116235c..e0835d1f4a19613a98c66188e97be78607bfd9fb 100644 (file)
@@ -234,7 +234,7 @@ return view.extend({
                o.uciconfig = 'luci';
                o.ucisection = 'main';
                o.ucioption = 'lang';
-               o.value('auto');
+               o.value('auto', _('auto'));
 
                var l = Object.assign({ en: 'English' }, uci.get('luci', 'languages')),
                    k = Object.keys(l).sort();