Fix l10n strings.

This commit is contained in:
Matthew Chen 2018-05-09 14:36:05 -04:00
parent b4d24f1c72
commit 65a516685d
2 changed files with 7 additions and 1 deletions

View File

@ -570,7 +570,7 @@ class ContactViewController: OWSViewController, ContactShareViewHelperDelegate {
Logger.info("\(self.logTag) \(#function)")
let actionSheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
actionSheet.addAction(UIAlertAction(title: NSLocalizedString("CONTACT_VIEW_OPEN_ADDRESS_IN_MAPS_APP",
actionSheet.addAction(UIAlertAction(title: NSLocalizedString("CONTACT_VIEW_OPEN_EMAIL_IN_EMAIL_APP",
comment: "Label for 'open email in email app' button in contact view."),
style: .default) { [weak self] _ in
self?.openEmailInEmailApp(email: email)

View File

@ -484,6 +484,12 @@
/* Error indicating that at least one contact field must be selected before sharing a contact. */
"CONTACT_SHARE_NO_FIELDS_SELECTED" = "No contact fields selected.";
/* Label for 'open address in maps app' button in contact view. */
"CONTACT_VIEW_OPEN_ADDRESS_IN_MAPS_APP" = "Open in Maps";
/* Label for 'open email in email app' button in contact view. */
"CONTACT_VIEW_OPEN_EMAIL_IN_EMAIL_APP" = "Send Email";
/* Indicates that a contact has no name. */
"CONTACT_WITHOUT_NAME" = "Unnamed Contact";