File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ struct StoreInfoWidget: Widget {
2222 }
2323 }
2424 }
25- . configurationDisplayName ( " Store Info " )
25+ . configurationDisplayName ( Localization . storeInfo )
2626 . supportedFamilies ( enableWidgets ? [ . systemMedium] : [ ] )
2727 }
2828}
@@ -151,6 +151,18 @@ private struct UnableToFetchView: View {
151151
152152// MARK: Constants
153153
154+ /// Constants definition
155+ ///
156+ private extension StoreInfoWidget {
157+ enum Localization {
158+ static let storeInfo = AppLocalizedString (
159+ " storeWidgets.displayName " ,
160+ value: " Store Info " ,
161+ comment: " Widget title, displayed when selecting which widget to add "
162+ )
163+ }
164+ }
165+
154166/// Constants definition
155167///
156168private extension StoreInfoView {
You can’t perform that action at this time.
0 commit comments