diff options
| -rw-r--r-- | ios/MullvadVPN/AccountViewController.swift | 2 | ||||
| -rw-r--r-- | ios/MullvadVPN/ConnectViewController.swift | 6 | ||||
| -rw-r--r-- | ios/MullvadVPN/LoginViewController.swift | 14 | ||||
| -rw-r--r-- | ios/MullvadVPN/SettingsAccountCell.swift | 2 |
4 files changed, 12 insertions, 12 deletions
diff --git a/ios/MullvadVPN/AccountViewController.swift b/ios/MullvadVPN/AccountViewController.swift index c51a8e6977..eefb680d0b 100644 --- a/ios/MullvadVPN/AccountViewController.swift +++ b/ios/MullvadVPN/AccountViewController.swift @@ -45,7 +45,7 @@ class AccountViewController: UIViewController { let accountExpiry = AccountExpiry(date: expiryDate) if accountExpiry.isExpired { - expiryLabel.text = NSLocalizedString("OUT OF TIME", tableName: "Settings", comment: "") + expiryLabel.text = NSLocalizedString("OUT OF TIME", comment: "") expiryLabel.textColor = .dangerColor } else { expiryLabel.text = accountExpiry.formattedDate diff --git a/ios/MullvadVPN/ConnectViewController.swift b/ios/MullvadVPN/ConnectViewController.swift index 8e9c4f09b7..f5924b224a 100644 --- a/ios/MullvadVPN/ConnectViewController.swift +++ b/ios/MullvadVPN/ConnectViewController.swift @@ -151,13 +151,13 @@ private extension TunnelState { func textForSecureLabel() -> String { switch self { case .connecting, .reconnecting: - return NSLocalizedString("Creating secure connection", tableName: "Connect", comment: "") + return NSLocalizedString("Creating secure connection", comment: "") case .connected: - return NSLocalizedString("Secure connection", tableName: "Connect", comment: "") + return NSLocalizedString("Secure connection", comment: "") case .disconnecting, .disconnected: - return NSLocalizedString("Unsecured connection", tableName: "Connect", comment: "") + return NSLocalizedString("Unsecured connection", comment: "") } } diff --git a/ios/MullvadVPN/LoginViewController.swift b/ios/MullvadVPN/LoginViewController.swift index 5f2733f6a4..faac384f3f 100644 --- a/ios/MullvadVPN/LoginViewController.swift +++ b/ios/MullvadVPN/LoginViewController.swift @@ -259,26 +259,26 @@ private extension LoginState { var localizedTitle: String { switch self { case .default: - return NSLocalizedString("Login", tableName: "Login", comment: "") + return NSLocalizedString("Login", comment: "") case .authenticating: - return NSLocalizedString("Logging in...", tableName: "Login", comment: "") + return NSLocalizedString("Logging in...", comment: "") case .failure: - return NSLocalizedString("Login failed", tableName: "Login", comment: "") + return NSLocalizedString("Login failed", comment: "") case .success: - return NSLocalizedString("Logged in", tableName: "Login", comment: "") + return NSLocalizedString("Logged in", comment: "") } } var localizedMessage: String { switch self { case .default: - return NSLocalizedString("Enter your account number", tableName: "Login", comment: "") + return NSLocalizedString("Enter your account number", comment: "") case .authenticating: - return NSLocalizedString("Checking account number", tableName: "Login", comment: "") + return NSLocalizedString("Checking account number", comment: "") case .failure(let error): if case .login(.invalidAccount) = error { @@ -288,7 +288,7 @@ private extension LoginState { } case .success: - return NSLocalizedString("Correct account number", tableName: "Login", comment: "") + return NSLocalizedString("Correct account number", comment: "") } } } diff --git a/ios/MullvadVPN/SettingsAccountCell.swift b/ios/MullvadVPN/SettingsAccountCell.swift index cc959c7c46..755c57d87d 100644 --- a/ios/MullvadVPN/SettingsAccountCell.swift +++ b/ios/MullvadVPN/SettingsAccountCell.swift @@ -24,7 +24,7 @@ class SettingsAccountCell: SettingsCell { let accountExpiry = AccountExpiry(date: accountExpiryDate) if accountExpiry.isExpired { - expiryLabel.text = NSLocalizedString("OUT OF TIME", tableName: "Settings", comment: "") + expiryLabel.text = NSLocalizedString("OUT OF TIME", comment: "") expiryLabel.textColor = .dangerColor } else { let remainingTime = accountExpiry.formattedRemainingTime |
