DeviceInfo: translation correction

This commit is contained in:
bergware
2023-02-03 10:46:20 +01:00
parent 8ab901b2c1
commit c8733a62f8
+2 -2
View File
@@ -101,10 +101,10 @@ function selectDiskFsWidth(num_devices,selected_width) {
text: "<?=_('no devices')?>"
}));
} else if ($('#diskFsProfileZFS').val() == '') {
var label = (num_devices == 1) ? "<?=_('device')?>" : "<?=_('devices')?>";
var label = (num_devices == 1) ? "device" : "devices";
$('#diskFsWidthZFS').append($('<option>', {
value: 1,
text: num_devices+' '+label
text: _(sprintf('%s '+label,num_devices))
}));
} else if ($('#diskFsProfileZFS').val() == 'mirror') {
var width;