Skip to content

Commit 3a12a6d

Browse files
committed
Update ITN format error notice
1 parent e8a728b commit 3a12a6d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Details/Shipping Labels/WooShipping Create Shipping Labels/WooShipping Customs/WooShippingCustomsFormViewModel.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,10 @@ extension WooShippingCustomsFormViewModel.ITNValidationError {
245245

246246
private enum Localization {
247247
static let itnInvalidFormat = NSLocalizedString(
248-
"wooShippingCustomsFormViewModel.ITNValidationError.invalidFormat",
249-
value: "Please enter a valid ITN in one of these formats: X12345678901234, AES X12345678901234, or NOEEI 30.37(a).",
250-
comment: "Message when the ITN field is invalid in the customs form of a shipping label"
248+
"wooShippingCustomsFormViewModel.ITNValidationError.invalidFormat.mandatoryAES",
249+
value: "Please enter a valid ITN in one of these formats: AES X12345678901234, or NOEEI 30.37(a).",
250+
comment: "Message when the ITN field is invalid in the customs form of a shipping label. " +
251+
"Doesn't contain X12345678901234 format example."
251252
)
252253
static let itnRequiredForTariffClass = NSLocalizedString(
253254
"wooShippingCustomsFormViewModel.ITNValidationError.missingForTariffClass",

0 commit comments

Comments
 (0)