From 8317cb370eb59adf51621296eee531d8d307e3eb Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Mon, 27 Jul 2020 11:49:07 +1000 Subject: [PATCH] Debug --- Signal/src/Loki/View Controllers/JoinPublicChatVC.swift | 2 +- Signal/src/Loki/View Controllers/LinkDeviceVC.swift | 2 +- Signal/src/Loki/View Controllers/RestoreVC.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Signal/src/Loki/View Controllers/JoinPublicChatVC.swift b/Signal/src/Loki/View Controllers/JoinPublicChatVC.swift index 0808d9cb7..a33aad3c4 100644 --- a/Signal/src/Loki/View Controllers/JoinPublicChatVC.swift +++ b/Signal/src/Loki/View Controllers/JoinPublicChatVC.swift @@ -180,7 +180,7 @@ private final class EnterChatURLVC : UIViewController { // MARK: Components private lazy var chatURLTextField: TextField = { - let result = TextField(placeholder: "vc_enter_chat_url_text_field_hint") + let result = TextField(placeholder: NSLocalizedString("vc_enter_chat_url_text_field_hint", comment: "")) result.keyboardType = .URL result.autocapitalizationType = .none return result diff --git a/Signal/src/Loki/View Controllers/LinkDeviceVC.swift b/Signal/src/Loki/View Controllers/LinkDeviceVC.swift index f62d79730..1d6bba838 100644 --- a/Signal/src/Loki/View Controllers/LinkDeviceVC.swift +++ b/Signal/src/Loki/View Controllers/LinkDeviceVC.swift @@ -164,7 +164,7 @@ private final class EnterPublicKeyVC : UIViewController { let explanationLabel = UILabel() explanationLabel.textColor = Colors.text explanationLabel.font = .systemFont(ofSize: Values.smallFontSize) - explanationLabel.text = "vc_enter_session_id_explanation" + explanationLabel.text = NSLocalizedString("vc_enter_session_id_explanation", comment: "") explanationLabel.numberOfLines = 0 explanationLabel.lineBreakMode = .byWordWrapping // Link button diff --git a/Signal/src/Loki/View Controllers/RestoreVC.swift b/Signal/src/Loki/View Controllers/RestoreVC.swift index 7bf9e5109..91084e7c5 100644 --- a/Signal/src/Loki/View Controllers/RestoreVC.swift +++ b/Signal/src/Loki/View Controllers/RestoreVC.swift @@ -46,7 +46,7 @@ final class RestoreVC : BaseVC { let explanationLabel = UILabel() explanationLabel.textColor = Colors.text explanationLabel.font = .systemFont(ofSize: Values.smallFontSize) - explanationLabel.text = "vc_restore_explanation" + explanationLabel.text = NSLocalizedString("vc_restore_explanation", comment: "") explanationLabel.numberOfLines = 0 explanationLabel.lineBreakMode = .byWordWrapping // Set up legal label