File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Modules/Sources/Yosemite/Model/Mocks/Graphs
WooCommerce/WooCommerceScreenshots Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ struct ScreenshotObjectGraph: MockObjectGraph {
333333 self . date = date
334334 }
335335
336- /// Maps the given locale to an appropriate country value for the site setting.
336+ /// Maps the given locale to an appropriate country value for the site setting for all locales in Fastfile IOS_LOCALES .
337337 /// Uses the same format as WooCommerce's default country setting: "COUNTRY:STATE".
338338 private static func countryValue( for locale: String ) -> String {
339339 // Map locales to country values based on IOS_LOCALES from Fastfile
@@ -356,10 +356,10 @@ struct ScreenshotObjectGraph: MockObjectGraph {
356356 " zh-Hans " : " CN " , // China (Simplified Chinese)
357357 " zh-Hant " : " TW " // Taiwan (Traditional Chinese)
358358 ]
359- return localeToCountryMap [ locale] ?? " US:CA " // Default to US:CA
359+ return localeToCountryMap [ locale] ?? " US:CA " // Default to US:CA.
360360 }
361361
362- /// Maps the given locale to an appropriate currency code for the site setting.
362+ /// Maps the given locale to an appropriate currency code for the site setting for all locales in Fastfile IOS_LOCALES .
363363 /// Uses the CurrencyCode enum rawValues.
364364 private static func currencyCode( for locale: String ) -> String {
365365 // Map locales to currency codes based on IOS_LOCALES from Fastfile
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class WooCommerceScreenshots: XCTestCase {
4242 return false
4343 }
4444
45- // Triggers any pending system dialogs (like push notification permissions)
45+ // Triggers any pending system dialogs (like push notification permissions).
4646 // The interruption monitor above only activates when the app receives user interaction.
4747 app. tap ( )
4848
You can’t perform that action at this time.
0 commit comments