Skip to content

Commit 9a0ccf9

Browse files
committed
Update suggestion copy based on the latest design.
1 parent ab25a25 commit 9a0ccf9

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

WooCommerce/Classes/POS/TabBar/POSIneligibleView.swift

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ struct POSIneligibleView: View {
112112
private var suggestionText: String {
113113
switch reason {
114114
case .unsupportedIOSVersion:
115-
return NSLocalizedString("pos.ineligible.suggestion.unsupportedIOSVersion",
116-
value: "Point of Sale requires iOS 17 or later. Please update your device to iOS 17+ to use this feature.",
115+
return NSLocalizedString("pos.ineligible.suggestion.unsupportedIOSVersion.1",
116+
value: "The POS system requires iOS 17 or later. Please update your device to iOS 17+ to use this feature.",
117117
comment: "Suggestion for unsupported iOS version: update iOS")
118118
case let .unsupportedWooCommerceVersion(minimumVersion):
119119
let format = NSLocalizedString("pos.ineligible.suggestion.unsupportedWooCommerceVersion",
@@ -123,14 +123,15 @@ struct POSIneligibleView: View {
123123
"%1$@ is a placeholder for the minimum required version.")
124124
return String.localizedStringWithFormat(format, minimumVersion)
125125
case .wooCommercePluginNotFound:
126-
return NSLocalizedString("pos.ineligible.suggestion.wooCommercePluginNotFound.2",
127-
value: "Please make sure the WooCommerce plugin is installed and activated from your WordPress admin. " +
128-
"If there is still an issue, please contact support for assistance.",
126+
return NSLocalizedString("pos.ineligible.suggestion.wooCommercePluginNotFound.3",
127+
value: "We were unable to load the WooCommerce plugin info. Please make sure the WooCommerce plugin is installed " +
128+
"and activated from your WordPress admin. If there is still an issue, contact support for assistance.",
129129
comment: "Suggestion for missing WooCommerce plugin: install plugin")
130130
case .featureSwitchDisabled:
131-
return NSLocalizedString("pos.ineligible.suggestion.featureSwitchDisabled.2",
131+
return NSLocalizedString("pos.ineligible.suggestion.featureSwitchDisabled.3",
132132
value: "Point of Sale must be enabled to proceed. " +
133-
"You can enable the POS feature below or from your WordPress admin under WooCommerce settings > Advanced > Features.",
133+
"Please enable the POS feature below or from your WordPress admin under WooCommerce settings > Advanced > Features " +
134+
"and try again.",
134135
comment: "Suggestion for disabled feature switch: enable feature in WooCommerce settings")
135136
case let .unsupportedCurrency(countryCode, supportedCurrencies):
136137
let currencyList = supportedCurrencies.map { $0.rawValue }
@@ -145,8 +146,9 @@ struct POSIneligibleView: View {
145146
)
146147
return String.localizedStringWithFormat(format, countryCode.readableCountry, formattedCurrencyList)
147148
case .siteSettingsNotAvailable:
148-
return NSLocalizedString("pos.ineligible.suggestion.siteSettingsNotAvailable",
149-
value: "Check your internet connection and try again. If the issue persists, please contact support.",
149+
return NSLocalizedString("pos.ineligible.suggestion.siteSettingsNotAvailable.1",
150+
value: "We were unable to load the site settings info. Please check your internet connection and try again. " +
151+
"If the issue persists, contact support for assistance.",
150152
comment: "Suggestion for site settings unavailable: check connection or contact support")
151153
case .selfDeallocated:
152154
return NSLocalizedString("pos.ineligible.suggestion.selfDeallocated",

0 commit comments

Comments
 (0)