Skip to content

Commit 58acf98

Browse files
committed
Nit: polish comments.
1 parent 567b944 commit 58acf98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Modules/Sources/Yosemite/Model/Mocks/Graphs/ScreenshotsObjectGraph.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

WooCommerce/WooCommerceScreenshots/WooCommerceScreenshots.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)