Localize strings in code
This commit is contained in:
parent
2d5ca58bd9
commit
1b4040135e
36 changed files with 626 additions and 334 deletions
|
|
@ -101,8 +101,8 @@ class BasicStaticTableViewController: UITableViewController, MFMailComposeViewCo
|
|||
sendEmail(toRecipients: [urlComponents.path], subject: subject)
|
||||
} else {
|
||||
let email = urlComponents.path
|
||||
let alertTitle = "Cannot open Mail App"
|
||||
let alertMessage = "Email copied: \(email)"
|
||||
let alertTitle = "CannotOpenMail".localize()
|
||||
let alertMessage = "CopiedEmail".localize(email)
|
||||
Utils.copyToPasteboard(textToCopy: email)
|
||||
Utils.alert(title: alertTitle, message: alertMessage, controller: self, completion: nil)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue