mirror of
https://github.com/unraid/webgui.git
synced 2026-05-02 15:59:35 -05:00
DeviceInfo: translation correction
This commit is contained in:
@@ -111,7 +111,7 @@ function selectDiskFsWidth(num_devices,selected_width) {
|
||||
for (width=2; width<=Math.min(num_devices,4); width++) {
|
||||
if ((num_devices % width) == 0) {
|
||||
var groups = num_devices / width;
|
||||
var label = (groups == 1) ? "<?=_('group')?>" : "<?=_('groups')?>";
|
||||
var label = (groups == 1) ? "group" : "groups";
|
||||
$('#diskFsWidthZFS').append($('<option>', {
|
||||
value: width,
|
||||
text: _(sprintf('%s '+label+' of %s devices',groups,width)),
|
||||
@@ -127,7 +127,7 @@ function selectDiskFsWidth(num_devices,selected_width) {
|
||||
for (width=min_width; width<=num_devices; width++) {
|
||||
if ((num_devices % width) == 0) {
|
||||
var groups = num_devices / width;
|
||||
var label = (groups == 1) ? "<?=_('group')?>" : "<?=_('groups')?>";
|
||||
var label = (groups == 1) ? "group" : "groups";
|
||||
$('#diskFsWidthZFS').append($('<option>', {
|
||||
value: width,
|
||||
text: _(sprintf('%s '+label+' of %s devices',groups,width)),
|
||||
|
||||
Reference in New Issue
Block a user