mirror of
https://github.com/unraid/webgui.git
synced 2026-04-29 06:19:30 -05:00
DeviceInfo: translation correction
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user