Skip to content

Commit be72a4d

Browse files
committed
feat: updated localized string description
1 parent 8d9ea22 commit be72a4d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

WooCommerce/Classes/ViewRelated/Coupons/Add and Edit Coupons/AddEditCouponViewModel.swift

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,16 @@ private extension AddEditCouponViewModel {
8484

8585
enum Localization {
8686
static let amountPercent = NSLocalizedString("Amount (%)",
87-
comment: "Text field Amount in percentage in the view for adding or editing a coupon.")
87+
comment: "Title of the Amount field in the Coupon Edit" +
88+
" or Creation screen for a percentage discount coupon.")
8889
static let amountFixedDiscount = NSLocalizedString("Amount (fixed discount)",
89-
comment: "Text field Amount with fixed discount in the view for adding or editing a coupon.")
90+
comment: "Title of the Amount field on the Coupon Edit" +
91+
" or Creation screen for a fixed amount discount coupon.")
9092
static let amountPercentSubtitle = NSLocalizedString("Set the percentage of the discount you want to offer.",
91-
comment: "The footer of the text field Amount in percentage in the view for adding or editing a coupon.")
93+
comment: "Subtitle of the Amount field in the Coupon Edit" +
94+
" or Creation screen for a percentage discount coupon.")
9295
static let amountFixedDiscountSubtitle = NSLocalizedString("Set the fixed amount of the discount you want to offer.",
93-
comment: "The footer of the text field Amount with fixed" +
94-
"discount in the view for adding or editing a coupon.")
96+
comment: "Subtitle of the Amount field on the Coupon Edit" +
97+
" or Creation screen for a fixed amount discount coupon.")
9598
}
9699
}

0 commit comments

Comments
 (0)