Skip to content

Commit 6158a2a

Browse files
committed
Use reverse-DNS key for feature image upload localized strings
1 parent 784c2a4 commit 6158a2a

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

WordPress/Classes/ViewRelated/Post/PostSettingsViewController+FeaturedImageUpload.swift

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,26 @@ extension PostSettingsViewController {
118118
}
119119

120120
struct FeaturedImageActionSheet {
121-
static let title = NSLocalizedString("Featured Image Options", comment: "Title for action sheet with featured media options.")
122-
static let dismissActionTitle = NSLocalizedString("Dismiss", comment: "User action to dismiss featured media options.")
123-
static let retryUploadActionTitle = NSLocalizedString("Retry", comment: "User action to retry featured media upload.")
124-
static let removeActionTitle = NSLocalizedString("Remove", comment: "User action to remove featured media.")
121+
static let title = NSLocalizedString(
122+
"postSettings.featuredImageUploadActionSheet.title",
123+
value: "Featured Image Options",
124+
comment: "Title for action sheet with featured media options."
125+
)
126+
static let dismissActionTitle = NSLocalizedString(
127+
"postSettings.featuredImageUploadActionSheet.dismiss",
128+
value: "Dismiss",
129+
comment: "User action to dismiss featured media options."
130+
)
131+
static let retryUploadActionTitle = NSLocalizedString(
132+
"postSettings.featuredImageUploadActionSheet.retryUpload",
133+
value: "Retry",
134+
comment: "User action to retry featured media upload."
135+
)
136+
static let removeActionTitle = NSLocalizedString(
137+
"postSettings.featuredImageUploadActionSheet.remove",
138+
value: "Remove",
139+
comment: "User action to remove featured media."
140+
)
125141
}
126142

127143
}

0 commit comments

Comments
 (0)