Skip to content

Commit

Permalink
Removed double spaces after punctuation in user-facing strings
Browse files Browse the repository at this point in the history
  • Loading branch information
nostodnayr committed Dec 8, 2019
1 parent 2d69fdf commit 1414754
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class AccountsFeedWranglerWindowController: NSWindowController {

case .failure:

self.errorMessageLabel.stringValue = NSLocalizedString("Network error. Try again later.", comment: "Credentials Error")
self.errorMessageLabel.stringValue = NSLocalizedString("Network error. Try again later.", comment: "Credentials Error")

}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class AccountsFeedbinWindowController: NSWindowController {

case .failure:

self.errorMessageLabel.stringValue = NSLocalizedString("Network error. Try again later.", comment: "Credentials Error")
self.errorMessageLabel.stringValue = NSLocalizedString("Network error. Try again later.", comment: "Credentials Error")

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ final class AccountsPreferencesViewController: NSViewController {
alert.alertStyle = .warning
let deletePrompt = NSLocalizedString("Delete", comment: "Delete")
alert.messageText = "\(deletePrompt)\(acctName)”?"
alert.informativeText = NSLocalizedString("Are you sure you want to delete the account “\(acctName)”? This cannot be undone.", comment: "Delete text")
alert.informativeText = NSLocalizedString("Are you sure you want to delete the account “\(acctName)”? This cannot be undone.", comment: "Delete text")

alert.addButton(withTitle: NSLocalizedString("Delete", comment: "Delete Account"))
alert.addButton(withTitle: NSLocalizedString("Cancel", comment: "Cancel Delete Account"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class AccountsReaderAPIWindowController: NSWindowController {
}

case .failure:
self.errorMessageLabel.stringValue = NSLocalizedString("Network error. Try again later.", comment: "Credentials Error")
self.errorMessageLabel.stringValue = NSLocalizedString("Network error. Try again later.", comment: "Credentials Error")
}

}
Expand Down
4 changes: 2 additions & 2 deletions iOS/Inspector/AccountInspectorViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ class AccountInspectorViewController: UITableViewController {
let message: String = {
switch account.type {
case .feedly:
return NSLocalizedString("Are you sure you want to delete this account? NetNewsWire will no longer be able to access articles and feeds unless the account is added again.", comment: "Log Out and Delete Account")
return NSLocalizedString("Are you sure you want to delete this account? NetNewsWire will no longer be able to access articles and feeds unless the account is added again.", comment: "Log Out and Delete Account")
default:
return NSLocalizedString("Are you sure you want to delete this account? This cannot be undone.", comment: "Delete Account")
return NSLocalizedString("Are you sure you want to delete this account? This cannot be undone.", comment: "Delete Account")
}
}()
let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert)
Expand Down

0 comments on commit 1414754

Please sign in to comment.