[minor] fix plurals spacing

This commit is contained in:
pratu16x7 2017-11-17 15:33:12 +05:30
parent 877e1bb377
commit 83587c72f6

View File

@ -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();
} }