luci-base: make translatable default values for dhcp hostname
[project/luci.git] / modules / luci-base / htdocs / luci-static / resources / protocol / dhcp.js
index 28f06ecb8cfaca4e3c8af56552b1cb1a66daa259..bacbf559f9ef334e516b24b76369d752b8c22573 100644 (file)
@@ -21,8 +21,8 @@ return network.registerProtocol('dhcp', {
 
                o = s.taboption('general', form.Value, 'hostname', _('Hostname to send when requesting DHCP'));
                o.default = '';
-               o.value('', 'Send the hostname of this device');
-               o.value('*', 'Do not send a hostname');
+               o.value('', _('Send the hostname of this device'));
+               o.value('*', _('Do not send a hostname'));
                o.datatype    = 'or(hostname, "*")';
                o.load = function(section_id) {
                        return callFileRead('/proc/sys/kernel/hostname').then(L.bind(function(hostname) {