Merge pull request #11634 from pratu16x7/variant-modal-fix
[minor] fix plurals spacing
This commit is contained in:
commit
241d64d8c1
@ -344,8 +344,7 @@ $.extend(erpnext.item, {
|
|||||||
let no_of_combinations = lengths.reduce((a, b) => a * b, 1);
|
let no_of_combinations = lengths.reduce((a, b) => a * b, 1);
|
||||||
me.multiple_variant_dialog.get_primary_btn()
|
me.multiple_variant_dialog.get_primary_btn()
|
||||||
.html(__(
|
.html(__(
|
||||||
`Make ${no_of_combinations} Variant
|
`Make ${no_of_combinations} Variant${no_of_combinations === 1 ? '' : 's'}`
|
||||||
${no_of_combinations === 1 ? '' : 's'}`
|
|
||||||
));
|
));
|
||||||
me.multiple_variant_dialog.enable_primary_action();
|
me.multiple_variant_dialog.enable_primary_action();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user