diff --git a/GME Remit.xcodeproj/project.pbxproj b/GME Remit.xcodeproj/project.pbxproj index 6417c6bb..6442bdc6 100644 --- a/GME Remit.xcodeproj/project.pbxproj +++ b/GME Remit.xcodeproj/project.pbxproj @@ -7568,7 +7568,7 @@ CODE_SIGN_ENTITLEMENTS = "GME Remit.entitlements"; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 31; + CURRENT_PROJECT_VERSION = 40; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = 68KRG7GPAV; ENABLE_BITCODE = NO; @@ -7609,7 +7609,7 @@ CODE_SIGN_ENTITLEMENTS = "GME Remit.entitlements"; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 31; + CURRENT_PROJECT_VERSION = 40; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = 68KRG7GPAV; ENABLE_BITCODE = NO; diff --git a/GME Remit/Modules/Home/User Interface/View/.DS_Store b/GME Remit/Modules/Home/User Interface/View/.DS_Store index 5008ddfc..82650a77 100644 Binary files a/GME Remit/Modules/Home/User Interface/View/.DS_Store and b/GME Remit/Modules/Home/User Interface/View/.DS_Store differ diff --git a/GME Remit/Modules/Home/User Interface/View/HomeViewController.swift b/GME Remit/Modules/Home/User Interface/View/HomeViewController.swift index d863c68d..df424d46 100644 --- a/GME Remit/Modules/Home/User Interface/View/HomeViewController.swift +++ b/GME Remit/Modules/Home/User Interface/View/HomeViewController.swift @@ -356,7 +356,7 @@ class HomeViewController: UIViewController { extension HomeViewController: OtpDelegate { func getOtp(otp: String, tappedButton: String) { guard let userId = GMEDB.shared.user.string(.userId) else {return} - if tappedButton == "okay" { + if tappedButton == "ok_text".localized(){ self.presenter?.checkOtp(otp: otp, userId: userId) } @@ -410,7 +410,7 @@ extension HomeViewController { messageTitleLabel.text = "Change Password" messageLabel.text = "Please change your password" messageLeftImageview.image = UIImage(named: "Documents") - let tap = UITapGestureRecognizer(target: self, action: #selector(self.changetxnPin(_:))) + let tap = UITapGestureRecognizer(target: self, action: #selector(self.changePassword(_:))) messageView.addGestureRecognizer(tap) } diff --git a/GME Remit/Modules/Notice/NotificationHistory/User Interface/View/NotificationHistory.storyboard b/GME Remit/Modules/Notice/NotificationHistory/User Interface/View/NotificationHistory.storyboard index 4838db21..3ab6f9c2 100644 --- a/GME Remit/Modules/Notice/NotificationHistory/User Interface/View/NotificationHistory.storyboard +++ b/GME Remit/Modules/Notice/NotificationHistory/User Interface/View/NotificationHistory.storyboard @@ -1,9 +1,9 @@ - + - + @@ -32,11 +32,11 @@ - + - + diff --git a/GME Remit/Modules/Notice/NotificationHistory/User Interface/View/NotificationHistoryViewController.swift b/GME Remit/Modules/Notice/NotificationHistory/User Interface/View/NotificationHistoryViewController.swift index e8ad254e..00c1b78d 100644 --- a/GME Remit/Modules/Notice/NotificationHistory/User Interface/View/NotificationHistoryViewController.swift +++ b/GME Remit/Modules/Notice/NotificationHistory/User Interface/View/NotificationHistoryViewController.swift @@ -32,7 +32,8 @@ class NotificationHistoryViewController: UIViewController { override func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated) setupNormalNavigation() - title = "Notice" + title = "notice_text".localized() + noticeErrorLabel.text = "donot_have_notification_text".localized() if self.presentingViewController == nil { self.navigationItem.leftBarButtonItem = nil diff --git a/GME Remit/Modules/RegisterModules/ExistingUserRegistration/UserAccessRequest/User Interface/View/ExistingUserRegistrationViewController.swift b/GME Remit/Modules/RegisterModules/ExistingUserRegistration/UserAccessRequest/User Interface/View/ExistingUserRegistrationViewController.swift index aae8f37f..1fac0d0f 100644 --- a/GME Remit/Modules/RegisterModules/ExistingUserRegistration/UserAccessRequest/User Interface/View/ExistingUserRegistrationViewController.swift +++ b/GME Remit/Modules/RegisterModules/ExistingUserRegistration/UserAccessRequest/User Interface/View/ExistingUserRegistrationViewController.swift @@ -14,7 +14,7 @@ import RxCocoa class ExistingUserRegistrationViewController: UIViewController { struct StringConstants { - let userIdTitle = "id_number_text".localized() + let userIdTitle = "residence_id_placeholder".localized() let dobTitlePlaceholder = "dob_text".localized() diff --git a/GME Remit/Modules/RegisterModules/ExistingUserRegistration/UserRegistration/User Interface/View/UserRegistrationViewController.swift b/GME Remit/Modules/RegisterModules/ExistingUserRegistration/UserRegistration/User Interface/View/UserRegistrationViewController.swift index 56959b64..a47c57a7 100644 --- a/GME Remit/Modules/RegisterModules/ExistingUserRegistration/UserRegistration/User Interface/View/UserRegistrationViewController.swift +++ b/GME Remit/Modules/RegisterModules/ExistingUserRegistration/UserRegistration/User Interface/View/UserRegistrationViewController.swift @@ -210,7 +210,7 @@ class UserRegistrationViewController: UIViewController { extension UserRegistrationViewController: OtpDelegate { func getOtp(otp: String, tappedButton: String) { - if tappedButton == "okay" { + if tappedButton == "ok_text".localized() { self.presenter?.checkOtp(otp: otp, userId: self.userIDTxtField.text ?? "", model: self.registerModel) } diff --git a/GME Remit/Modules/RegisterModules/NewUserRegister/User Interface/View/NewUserRegisterViewController.swift b/GME Remit/Modules/RegisterModules/NewUserRegister/User Interface/View/NewUserRegisterViewController.swift index 511e7a34..f2f494bf 100644 --- a/GME Remit/Modules/RegisterModules/NewUserRegister/User Interface/View/NewUserRegisterViewController.swift +++ b/GME Remit/Modules/RegisterModules/NewUserRegister/User Interface/View/NewUserRegisterViewController.swift @@ -186,7 +186,7 @@ class NewUserRegisterViewController: UIViewController { extension NewUserRegisterViewController: OtpDelegate { func getOtp(otp: String, tappedButton: String) { - if tappedButton == "okay" { + if tappedButton == "ok_text".localized() { self.presenter?.checkOtp(otp: otp, userId: self.idTextField.text ?? "", model: self.registerModel) } diff --git a/GME Remit/Modules/RegisterModules/OtpVerification/User Interface/View/OtpVerificationViewController.swift b/GME Remit/Modules/RegisterModules/OtpVerification/User Interface/View/OtpVerificationViewController.swift index b56a08bd..cf6be0b7 100644 --- a/GME Remit/Modules/RegisterModules/OtpVerification/User Interface/View/OtpVerificationViewController.swift +++ b/GME Remit/Modules/RegisterModules/OtpVerification/User Interface/View/OtpVerificationViewController.swift @@ -36,14 +36,14 @@ class OtpVerificationViewController: UIViewController { // MARK: IBActions @IBAction func cancelTapped(_ sender: UIButton) { if delegate != nil { - delegate?.getOtp(otp: "", tappedButton: "cancel") + delegate?.getOtp(otp: "", tappedButton: "cancel_text".localized()) } self.dismiss(animated: true, completion: nil) } @IBAction func okayTapped(_ sender: UIButton) { if delegate != nil { - delegate?.getOtp(otp: self.otpTextfield.text ?? "", tappedButton: "okay") + delegate?.getOtp(otp: self.otpTextfield.text ?? "", tappedButton: "ok_text".localized()) } self.dismiss(animated: true, completion: nil) } @@ -52,6 +52,9 @@ class OtpVerificationViewController: UIViewController { private func setup() { self.otpView.layer.cornerRadius = 5 self.titleLabel.text = "enterCodeFromEmail_text".localized() + self.otpTextfield.placeholder = "emailCode_text".localized() + self.okButton.setTitle("ok_text".localized(), for: .normal) + self.cancelButton.setTitle("cancel_text".localized(), for: .normal) } } diff --git a/GME Remit/Modules/RegisterModules/UserAuthentication/ExistingUserKyc/User Interface/View/ExistingUserKycViewController.swift b/GME Remit/Modules/RegisterModules/UserAuthentication/ExistingUserKyc/User Interface/View/ExistingUserKycViewController.swift index 21954e62..a49f2375 100644 --- a/GME Remit/Modules/RegisterModules/UserAuthentication/ExistingUserKyc/User Interface/View/ExistingUserKycViewController.swift +++ b/GME Remit/Modules/RegisterModules/UserAuthentication/ExistingUserKyc/User Interface/View/ExistingUserKycViewController.swift @@ -565,7 +565,7 @@ class ExistingUserKycViewController: UIViewController { }).disposed(by: disposeBag) output.occupation.drive(onNext: {[weak self] in - let configure = TablePresenterConfiguration(presenterTitle: "Select Occupation") + let configure = TablePresenterConfiguration(presenterTitle: "select_occupation_text".localized()) self?.occupationTextField.useAsDropDown(with: configure, items: $0) }).disposed(by: disposeBag) diff --git a/GME Remit/Modules/RegisterModules/UserAuthentication/KYCVerifyStep1/User Interface/Presenter/KYCVerifyStep1Presenter.swift b/GME Remit/Modules/RegisterModules/UserAuthentication/KYCVerifyStep1/User Interface/Presenter/KYCVerifyStep1Presenter.swift index 91281ce4..ef2d3182 100644 --- a/GME Remit/Modules/RegisterModules/UserAuthentication/KYCVerifyStep1/User Interface/Presenter/KYCVerifyStep1Presenter.swift +++ b/GME Remit/Modules/RegisterModules/UserAuthentication/KYCVerifyStep1/User Interface/Presenter/KYCVerifyStep1Presenter.swift @@ -241,7 +241,7 @@ class KYCVerifyStep1Presenter: ViewModelType { viewController?.alert(message: "kyc_verification_id_error".localized()) } if viewController?.additionalIDTextField.text == nil || viewController?.additionalIDTextField.text == "" { - viewController?.alert(message: "Please Select Additional ID Type") + viewController?.alert(message: "selectAdditionalIdType_text".localized()) } else if (viewController?.occupationTxtField.text != "") && (viewController?.monthlyIncomeTextField.text != "") && (viewController?.mobileNumberTextField.text != "") && (viewController?.addressTextField.text != "") && (viewController?.businessTypeTextField.text != "") && (viewController?.puroposeOfRegisterField.text != "") && (viewController?.idTypeTextField.text != "") && (viewController?.additionalIDTextField.text != "") { diff --git a/GME Remit/Modules/RegisterModules/UserAuthentication/KYCVerifyStep1/User Interface/View/KYCVerifyStep1ViewController.swift b/GME Remit/Modules/RegisterModules/UserAuthentication/KYCVerifyStep1/User Interface/View/KYCVerifyStep1ViewController.swift index 9a3e5832..1fa2187c 100644 --- a/GME Remit/Modules/RegisterModules/UserAuthentication/KYCVerifyStep1/User Interface/View/KYCVerifyStep1ViewController.swift +++ b/GME Remit/Modules/RegisterModules/UserAuthentication/KYCVerifyStep1/User Interface/View/KYCVerifyStep1ViewController.swift @@ -763,7 +763,7 @@ extension KYCVerifyStep1ViewController { }).disposed(by: disposeBag) output.occupation.drive(onNext: {[weak self] in - let configure = TablePresenterConfiguration(presenterTitle: "Select Occupation") + let configure = TablePresenterConfiguration(presenterTitle: "select_occupation_text".localized()) self?.occupationTxtField.useAsDropDown(with: configure, items: $0) }).disposed(by: disposeBag) diff --git a/GME Remit/Modules/RegisterModules/VerifyIDNumber/User Interface/View/VerifyIDNumberViewController.swift b/GME Remit/Modules/RegisterModules/VerifyIDNumber/User Interface/View/VerifyIDNumberViewController.swift index 224b7722..c1435229 100644 --- a/GME Remit/Modules/RegisterModules/VerifyIDNumber/User Interface/View/VerifyIDNumberViewController.swift +++ b/GME Remit/Modules/RegisterModules/VerifyIDNumber/User Interface/View/VerifyIDNumberViewController.swift @@ -11,8 +11,8 @@ import UIKit class VerifyIDNumberViewController: UIViewController { struct StringConstants { - let residenceIdTitle = "residence_id_card_no_text".localized() - let residenceIdPlaceholder = "id_number_text".localized() + let residenceIdTitle = "residence_id_placeholder".localized() + let residenceIdPlaceholder = "residence_id_placeholder".localized() let residenceIdError = "residence_id_error".localized() let headerTitle = "register_title_text".localized() let verifyBtnTitle = "verify_text".localized() diff --git a/GME Remit/Modules/RemittanceModules/OverseasModules/CDDIViewController/User Interface/View/CDDIViewControllerViewController.swift b/GME Remit/Modules/RemittanceModules/OverseasModules/CDDIViewController/User Interface/View/CDDIViewControllerViewController.swift index 93a088ea..ebaca3ca 100644 --- a/GME Remit/Modules/RemittanceModules/OverseasModules/CDDIViewController/User Interface/View/CDDIViewControllerViewController.swift +++ b/GME Remit/Modules/RemittanceModules/OverseasModules/CDDIViewController/User Interface/View/CDDIViewControllerViewController.swift @@ -50,6 +50,7 @@ class CDDIViewControllerViewController: UIViewController { goodsOrigin.titleText = "goods_origin_text".localized() goodsType.titleText = "goods_type_text".localized() portofShipment.titleText = "port_of_shipment_text".localized() + continueButton.setTitle("continue_text".localized(), for: .normal) self.importsGoodsView.isHidden = true } diff --git a/GME Remit/Modules/RemittanceModules/OverseasModules/TermsAndCondition/User Interface/View/TermsAndConditionViewController.swift b/GME Remit/Modules/RemittanceModules/OverseasModules/TermsAndCondition/User Interface/View/TermsAndConditionViewController.swift index bb180190..16cffd4b 100644 --- a/GME Remit/Modules/RemittanceModules/OverseasModules/TermsAndCondition/User Interface/View/TermsAndConditionViewController.swift +++ b/GME Remit/Modules/RemittanceModules/OverseasModules/TermsAndCondition/User Interface/View/TermsAndConditionViewController.swift @@ -139,7 +139,7 @@ class TermsAndConditionViewController: UIViewController { extension TermsAndConditionViewController: OtpDelegate { func getOtp(otp: String, tappedButton: String) { guard let userId = GMEDB.shared.user.string(.userId) else {return} - if tappedButton == "okay" { + if tappedButton == "ok_text".localized() { self.presenter?.checkOtp(otp: otp, userId: userId, receiverID: self.reciepient?.receiverID ?? "") } diff --git a/GME Remit/Modules/RemittanceModules/TransactionHistoryModules/TransactionHistory/User Interface/View/TransactionHistory.storyboard b/GME Remit/Modules/RemittanceModules/TransactionHistoryModules/TransactionHistory/User Interface/View/TransactionHistory.storyboard index 0e986faf..80ba436c 100644 --- a/GME Remit/Modules/RemittanceModules/TransactionHistoryModules/TransactionHistory/User Interface/View/TransactionHistory.storyboard +++ b/GME Remit/Modules/RemittanceModules/TransactionHistoryModules/TransactionHistory/User Interface/View/TransactionHistory.storyboard @@ -1,9 +1,9 @@ - + - + @@ -80,7 +80,7 @@