aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-11-01 21:22:12 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-11-01 21:22:12 +0100
commitcf569fd0d2e9e328e6e960846debc81d17004521 (patch)
tree20d27ecaf14487c21efd940227fc04fee5854f84
parentDeletion buttons are shown in red (diff)
downloadwireguard-apple-cf569fd0d2e9e328e6e960846debc81d17004521.tar.xz
wireguard-apple-cf569fd0d2e9e328e6e960846debc81d17004521.zip
Global: OK over Ok
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift4
-rw-r--r--WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift2
-rw-r--r--WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift2
-rw-r--r--WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift2
-rw-r--r--WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift2
5 files changed, 6 insertions, 6 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift b/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
index b9db8e9..676e918 100644
--- a/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
+++ b/WireGuard/WireGuard/UI/iOS/ErrorPresenter.swift
@@ -52,7 +52,7 @@ class ErrorPresenter {
static func showErrorAlert(error: Error, from sourceVC: UIViewController?, onDismissal: (() -> Void)? = nil) {
guard let sourceVC = sourceVC else { return }
guard let (title, message) = ErrorPresenter.errorMessage(for: error) else { return }
- let okAction = UIAlertAction(title: "Ok", style: .default) { (_) in
+ let okAction = UIAlertAction(title: "OK", style: .default) { (_) in
onDismissal?()
}
let alert = UIAlertController(title: title, message: message, preferredStyle: .alert)
@@ -63,7 +63,7 @@ class ErrorPresenter {
static func showErrorAlert(title: String, message: String, from sourceVC: UIViewController?, onDismissal: (() -> Void)? = nil) {
guard let sourceVC = sourceVC else { return }
- let okAction = UIAlertAction(title: "Ok", style: .default) { (_) in
+ let okAction = UIAlertAction(title: "OK", style: .default) { (_) in
onDismissal?()
}
let alert = UIAlertController(title: title, message: message, preferredStyle: .alert)
diff --git a/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift b/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift
index fa5f6d0..010cb86 100644
--- a/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift
@@ -89,7 +89,7 @@ class SettingsTableViewController: UITableViewController {
}
func showErrorAlert(title: String, message: String) {
- let okAction = UIAlertAction(title: "Ok", style: .default)
+ let okAction = UIAlertAction(title: "OK", style: .default)
let alert = UIAlertController(title: title, message: message, preferredStyle: .alert)
alert.addAction(okAction)
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
index 4094743..2921ca5 100644
--- a/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
@@ -53,7 +53,7 @@ class TunnelDetailTableViewController: UITableViewController {
}
func showErrorAlert(title: String, message: String) {
- let okAction = UIAlertAction(title: "Ok", style: .default)
+ let okAction = UIAlertAction(title: "OK", style: .default)
let alert = UIAlertController(title: title, message: message, preferredStyle: .alert)
alert.addAction(okAction)
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift
index 7a3c935..7702b11 100644
--- a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift
@@ -106,7 +106,7 @@ class TunnelEditTableViewController: UITableViewController {
}
func showErrorAlert(title: String, message: String) {
- let okAction = UIAlertAction(title: "Ok", style: .default)
+ let okAction = UIAlertAction(title: "OK", style: .default)
let alert = UIAlertController(title: title, message: message, preferredStyle: .alert)
alert.addAction(okAction)
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift
index 67ed4f5..5804973 100644
--- a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift
@@ -119,7 +119,7 @@ class TunnelsListTableViewController: UITableViewController {
}
func showErrorAlert(title: String, message: String) {
- let okAction = UIAlertAction(title: "Ok", style: .default)
+ let okAction = UIAlertAction(title: "OK", style: .default)
let alert = UIAlertController(title: title, message: message, preferredStyle: .alert)
alert.addAction(okAction)