Skip to content

Commit 7808892

Browse files
committed
Fix error format type
1 parent 570536b commit 7808892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/ViewRelated/Products/Variations/ProductVariationsViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ extension ProductVariationsViewModel {
9696
switch self {
9797
case .tooManyVariations(let variationCount):
9898
let format = NSLocalizedString(
99-
"Currently creation is supported for 100 variations maximum. Generating variations for this product would create %1$@ variations.",
99+
"Currently creation is supported for 100 variations maximum. Generating variations for this product would create %d variations.",
100100
comment: "Error description for when there are too many variations to generate."
101101
)
102102
return String.localizedStringWithFormat(format, variationCount)

0 commit comments

Comments
 (0)