Skip to content

Commit 4874e1e

Browse files
committed
Address a couple of AppLocalizedStrings violations
1 parent 1170399 commit 4874e1e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

WooCommerce/StoreWidgets/StoreInfoProvider.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ private extension StoreInfoProvider {
141141
comment: "Generic store name for the store info widget preview"
142142
)
143143
static let today = AppLocalizedString(
144-
"storWidgets.infoProvider.today",
145-
value "Today",
144+
"storeWidgets.infoProvider.today",
145+
value: "Today",
146146
comment: "Range title for the today store info widget"
147147
)
148148
}

WooCommerce/StoreWidgets/StoreInfoWidget.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,11 @@ private extension NotLoggedInView {
209209
///
210210
private extension UnableToFetchView {
211211
enum Localization {
212-
static let unableToFetch = NSLocalizedString("Unable to fetch today's stats",
213-
comment: "Title label when the widget can't fetch data.")
212+
static let unableToFetch = AppLocalizedString(
213+
"storeWidgets.unableToFetchView.unableToFetch",
214+
value: "Unable to fetch today's stats",
215+
comment: "Title label when the widget can't fetch data."
216+
)
214217
}
215218

216219
enum Layout {

0 commit comments

Comments
 (0)