Skip to content

Commit 5f16297

Browse files
committed
Use reverse-DNS keys in ShareModularViewController retry alert
1 parent 2a38cf8 commit 5f16297

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

WordPress/WordPressShareExtension/ShareModularViewController.swift

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -884,21 +884,25 @@ fileprivate extension ShareModularViewController {
884884

885885
func showRetryAlert() {
886886
let title: String = AppLocalizedString(
887-
"Sharing Error",
887+
"shareModularViewController.retryAlert.title",
888+
value: "Sharing Error",
888889
comment: "Share extension error dialog title."
889890
)
890891
let message: String = AppLocalizedString(
891-
"Whoops, something went wrong while sharing. You can try again, maybe it was a glitch.",
892+
"shareModularViewController.retryAlert.message",
893+
value: "Whoops, something went wrong while sharing. You can try again, maybe it was a glitch.",
892894
comment: "Share extension error dialog text."
893895
)
894896
let dismiss: String = AppLocalizedString(
895-
"Dismiss",
897+
"shareModularViewController.retryAlert.dismiss",
898+
value: "Dismiss",
896899
comment: "Share extension error dialog cancel button label."
897900
)
898901
let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert)
899902

900903
let acceptButtonText = AppLocalizedString(
901-
"Try again",
904+
"shareModularViewController.retryAlert.accept",
905+
value: "Try again",
902906
comment: "Share extension error dialog retry button label."
903907
)
904908
let acceptAction = UIAlertAction(title: acceptButtonText, style: .default) { (action) in

0 commit comments

Comments
 (0)