Browse Source

init multi language

pull/1/head
InKwon James Kim 5 years ago
parent
commit
a8ac4d6c33
  1. 4
      GME Remit/Modules/ManageAccountsModules/AutoDebitModules/AddAccount/User Interface/View/AddAccountViewController.swift
  2. 18
      GME Remit/Modules/ManageAgreement/User Interface/View/ManageAgreementViewController.swift
  3. 3
      GME Remit/Modules/RegisterModules/UserAuthentication/NewRegister/User Interface/View/NewRegister.storyboard
  4. 28
      GME Remit/Modules/RegisterModules/UserAuthentication/NewRegister/User Interface/View/NewRegisterViewController.swift
  5. 15
      GME Remit/Modules/RegisterModules/UserAuthentication/NewRegister/User Interface/Wireframe/NewRegisterWireframe.swift
  6. 10
      GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep1/User Interface/View/NewRegisterStep1.storyboard
  7. 96
      GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep1/User Interface/View/NewRegisterStep1ViewController.swift
  8. 1
      GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep2/User Interface/View/NewRegisterStep2.storyboard
  9. 9
      GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep2/User Interface/View/NewRegisterStep2ViewController.swift
  10. 3
      GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep3/User Interface/View/NewRegisterStep3.storyboard
  11. 13
      GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep3/User Interface/View/NewRegisterStep3ViewController.swift
  12. 51
      GME Remit/MultiLanguages/en.lproj/Localizable.strings
  13. 51
      GME Remit/MultiLanguages/ko.lproj/Localizable.strings

4
GME Remit/Modules/ManageAccountsModules/AutoDebitModules/AddAccount/User Interface/View/AddAccountViewController.swift

@ -43,10 +43,10 @@ class AddAccountViewController: UIViewController {
private var model: (bankList: [BankInformation]?, kftcModel: KFTCModel?) {
didSet {
let bankConfigure = TablePresenterConfiguration(presenterTitle: "Select Bank")
let bankConfigure = TablePresenterConfiguration(presenterTitle: "bank_placeholder_text".localized())
bankNameTextField.useAsDropDown(with: bankConfigure, items: model.bankList)
let languageConfigure = TablePresenterConfiguration(presenterTitle: "Select Language")
let languageConfigure = TablePresenterConfiguration(presenterTitle: "select_language_text".localized())
languageTextField.useAsDropDown(with: languageConfigure, items: model.kftcModel?.languages)
if delegate != nil {

18
GME Remit/Modules/ManageAgreement/User Interface/View/ManageAgreementViewController.swift

@ -50,7 +50,7 @@ class ManageAgreementViewController: UIViewController {
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
title = "Terms And Conditions"
title = "terms_and_conditions_text".localized()
setupNormalNavigation()
}
@ -139,6 +139,8 @@ extension ManageAgreementViewController {
csManager = CSManagement(self)
csManager?.setNavigationRightBarbutton(type: .call)
setMultiLanguages()
}
private func setUIBinding() {
@ -197,6 +199,20 @@ extension ManageAgreementViewController {
@objc private func close() {
dismiss(animated: true, completion: nil)
}
private func setMultiLanguages() {
titleLabel.text = "terms_and_conditions_title_text".localized()
infoLabel.text = "terms_and_conditions_content_text".localized()
documentTitleLabel1.text = "personal_info_treatment_policy_text".localized()
documentTitleLabel2.text = "personal_info_usesage_text".localized()
documentTitleLabel3.text = "agreement_legal_text".localized()
documentTitleLabel4.text = "small_scale_amount_text".localized()
documentTitleLabel5.text = "openbanking_service_text".localized()
documentTitleLabel6.text = "eletronic_finance_text".localized()
agreeButton.setTitle("agree_text".localized(), for: .normal)
}
}
// MARK: CheckBoxDelegate

3
GME Remit/Modules/RegisterModules/UserAuthentication/NewRegister/User Interface/View/NewRegister.storyboard

@ -183,10 +183,13 @@ Penny Test</string>
<connections>
<outlet property="containerView" destination="nOZ-1k-J0A" id="IQm-3S-6nX"/>
<outlet property="step1Button" destination="yuy-WN-CNw" id="0YR-ok-glW"/>
<outlet property="step1TitleLabel" destination="8f2-5L-Ga0" id="nIf-Uv-aZF"/>
<outlet property="step1ToStep2Line" destination="kaH-VB-BAK" id="Keb-XI-2m6"/>
<outlet property="step2Button" destination="evZ-O2-BrJ" id="Vgz-Me-HYB"/>
<outlet property="step2TitleLabel" destination="seW-FC-zhm" id="qJ5-wq-CUf"/>
<outlet property="step2ToStep3Line" destination="rqk-dx-qaH" id="nR0-Tq-CQs"/>
<outlet property="step3Button" destination="mK0-xl-sty" id="OmQ-Hv-pLG"/>
<outlet property="step3TitleLabel" destination="BfC-V2-5BA" id="kvM-1E-yDm"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="8je-5K-XuW" userLabel="First Responder" sceneMemberID="firstResponder"/>

28
GME Remit/Modules/RegisterModules/UserAuthentication/NewRegister/User Interface/View/NewRegisterViewController.swift

@ -36,12 +36,15 @@ class NewRegisterViewController: UIViewController {
// MARK: Computed Properties
// MARK: IBOutlets
@IBOutlet weak var step1Button: UIButton!
@IBOutlet weak var step2Button: UIButton!
@IBOutlet weak var step3Button: UIButton!
@IBOutlet private weak var step1Button: UIButton!
@IBOutlet private weak var step2Button: UIButton!
@IBOutlet private weak var step3Button: UIButton!
@IBOutlet private weak var step1TitleLabel: UILabel!
@IBOutlet private weak var step2TitleLabel: UILabel!
@IBOutlet private weak var step3TitleLabel: UILabel!
@IBOutlet weak var step1ToStep2Line: UIView!
@IBOutlet weak var step2ToStep3Line: UIView!
@IBOutlet private weak var step1ToStep2Line: UIView!
@IBOutlet private weak var step2ToStep3Line: UIView!
@IBOutlet weak var containerView: UIView!
@ -53,7 +56,9 @@ class NewRegisterViewController: UIViewController {
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
title = "Tell us about you for remittance"
title = "new_registration_title_text".localized()
setupNormalNavigation()
setupNavigationShadow(isUse: true)
navigationItem.setHidesBackButton(true, animated: true)
@ -72,6 +77,9 @@ class NewRegisterViewController: UIViewController {
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
title = ""
setupNavigationShadow(isUse: false)
}
@ -109,6 +117,8 @@ extension NewRegisterViewController {
csManager = CSManagement(self)
csManager?.setNavigationRightBarbutton(type: .call)
setMultilanguages()
}
private func setUIBinding() {
@ -151,4 +161,10 @@ extension NewRegisterViewController {
@objc private func close() {
dismiss(animated: true, completion: nil)
}
func setMultilanguages() {
step1TitleLabel.text = "step1_sub_title_text".localized()
step2TitleLabel.text = "step2_sub_title_text".localized()
step3TitleLabel.text = "step3_sub_title_text".localized()
}
}

15
GME Remit/Modules/RegisterModules/UserAuthentication/NewRegister/User Interface/Wireframe/NewRegisterWireframe.swift

@ -64,24 +64,19 @@ extension NewRegisterWireframe: NewRegisterWireframeInput {
case .second: move(step2VC)
case .third:
view.alert(
message: "To verify your bank account, move to the last step, the penny test"
message: "move_step2_to_step3_text".localized(),
title: ""
) { [weak self] in
guard let `self` = self else { return }
self.move(self.step3VC)
}
case .finish:
let message = """
Thank you for registering for GME.
We are verifying your information.
Once approved, you will receive SMS.
"""
view.alertWithOk(
type: .success,
message: message,
title: "Success",
okTitle: "Ok"
message: "registration_success_message_text".localized(),
title: "success_text".localized(),
okTitle: "ok_text".localized()
) {[weak self] in
guard let `self` = self else {return}

10
GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep1/User Interface/View/NewRegisterStep1.storyboard

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="HSb-ou-7T5">
<device id="retina4_7" orientation="portrait" appearance="dark"/>
<device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
@ -830,14 +830,18 @@
<size key="freeformSize" width="375" height="2200"/>
<connections>
<outlet property="additionalInformationGroupImageView" destination="SDN-v0-IIX" id="Hfc-If-v0S"/>
<outlet property="additionalInformationLabel" destination="EBJ-eX-liE" id="Jqk-Go-yAM"/>
<outlet property="addressTextField" destination="0zs-zK-6RT" id="zmJ-9P-PB1"/>
<outlet property="anotherIDClearButton" destination="iy7-W8-jRs" id="Mfj-ck-CnI"/>
<outlet property="anotherIDImageButton" destination="Iad-sc-UZO" id="2E4-DM-alI"/>
<outlet property="anotherIDImageContainerView" destination="ugJ-bN-OAD" id="K63-Ip-DJY"/>
<outlet property="anotherIDImageLabel" destination="OEE-Gl-1fp" id="Fev-zX-LtF"/>
<outlet property="anotherIDInformationGroupImageView" destination="cLq-sq-miq" id="ORk-QR-Ez6"/>
<outlet property="anotherIDLabel" destination="Knm-yY-Ukr" id="rLE-cq-Cnf"/>
<outlet property="anotherIDSampleButton" destination="0l3-Xp-kqb" id="H8J-kw-Dll"/>
<outlet property="bankAccountTextField" destination="df7-Dx-in0" id="Vcf-ph-Lcg"/>
<outlet property="bankInformationGroupImageView" destination="nHY-c1-Lkz" id="qKl-0X-AFm"/>
<outlet property="bankInformationLabel" destination="yNd-7g-Gyy" id="oal-Ym-TK0"/>
<outlet property="bankSaveButton" destination="2bu-5I-m19" id="aD6-kc-HTT"/>
<outlet property="bankTextField" destination="0XK-To-osD" id="mCc-YE-RCE"/>
<outlet property="branchTextField" destination="Vos-oh-AKP" id="Yq9-z2-JO3"/>
@ -853,11 +857,14 @@
<outlet property="passportExpiryDateTextField" destination="Mu4-CD-K1w" id="aXS-DF-nL9"/>
<outlet property="passportImageButton" destination="qou-bC-xTf" id="OmA-W8-P6p"/>
<outlet property="passportImageContainerView" destination="Sjo-qu-9Td" id="Ujw-5z-hEY"/>
<outlet property="passportImageLabel" destination="cZ9-FO-Ycz" id="hcH-NN-GkP"/>
<outlet property="passportInformationGroupImageView" destination="u7V-aP-p2P" id="QM5-wJ-m4Y"/>
<outlet property="passportInformationLabel" destination="w2o-dq-Dwq" id="SDE-Fi-iFp"/>
<outlet property="passportIssueDateTextField" destination="XR0-EY-ObA" id="YbT-PY-mCh"/>
<outlet property="passportNumberTextField" destination="Saz-Yf-6le" id="Ahb-ME-Xiv"/>
<outlet property="passportSampleButton" destination="5bW-bG-7tS" id="G1W-Ev-Wnj"/>
<outlet property="personalInformationGroupImageView" destination="XYt-Np-U5M" id="Pvu-kN-1XP"/>
<outlet property="personalInformationLabel" destination="gYv-nJ-MpW" id="rlM-ds-ggX"/>
<outlet property="personalSaveButton" destination="Qut-dC-Nuf" id="8oa-Vw-76Q"/>
<outlet property="picturesInformationGroupImageView" destination="LBl-eB-PBw" id="0Lh-F2-Y0p"/>
<outlet property="picturesSaveButton" destination="7Mi-XW-eEl" id="Yqy-m3-I5p"/>
@ -865,6 +872,7 @@
<outlet property="referralTextField" destination="fSE-TQ-HgI" id="v8E-Vs-fIk"/>
<outlet property="scrollView" destination="oNZ-lD-63n" id="6Cz-DE-s2D"/>
<outlet property="uploadPicturesContainerView" destination="1qD-b2-Vjx" id="pHp-o6-UHk"/>
<outlet property="uploadPicturesLabel" destination="34Q-CC-sfq" id="fwi-sO-g4v"/>
<outlet property="userNameTextField" destination="M26-6H-7g6" id="SPp-ol-lfU"/>
</connections>
</viewController>

96
GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep1/User Interface/View/NewRegisterStep1ViewController.swift

@ -44,6 +44,7 @@ class NewRegisterStep1ViewController: UIViewController {
// MARK: IBOutlets
@IBOutlet private weak var scrollView: UIScrollView!
@IBOutlet private weak var personalInformationLabel: UILabel!
@IBOutlet private weak var userNameTextField: ValidationTextField!
@IBOutlet private weak var genderTextField: ValidationTextField!
@IBOutlet private weak var dobTextField: ValidationTextField!
@ -61,18 +62,22 @@ class NewRegisterStep1ViewController: UIViewController {
@IBOutlet private weak var bankSaveButton: UIButton!
@IBOutlet private weak var picturesSaveButton: UIButton!
@IBOutlet private weak var bankInformationLabel: UILabel!
@IBOutlet private weak var bankTextField: ValidationTextField!
@IBOutlet private weak var bankAccountTextField: ValidationTextField!
@IBOutlet private weak var passportInformationLabel: UILabel!
@IBOutlet private weak var passportNumberTextField: ValidationTextField!
@IBOutlet private weak var passportIssueDateTextField: ValidationTextField!
@IBOutlet private weak var passportExpiryDateTextField: ValidationTextField!
@IBOutlet private weak var anotherIDLabel: UILabel!
@IBOutlet private weak var idTypeTextField: ValidationTextField!
@IBOutlet private weak var idNumberTextField: ValidationTextField!
@IBOutlet private weak var idIssueDateTextField: ValidationTextField!
@IBOutlet private weak var idExpiryDateTextField: ValidationTextField!
@IBOutlet private weak var additionalInformationLabel: UILabel!
@IBOutlet private weak var branchTextField: ValidationTextField!
@IBOutlet private weak var referralTextField: ValidationTextField!
@ -81,6 +86,7 @@ class NewRegisterStep1ViewController: UIViewController {
@IBOutlet private weak var passportImageButton: UIButton!
@IBOutlet private weak var anotherIDImageButton: UIButton!
@IBOutlet private weak var uploadPicturesLabel: UILabel!
@IBOutlet private weak var passportSampleButton: UIButton!
@IBOutlet private weak var anotherIDSampleButton: UIButton!
@IBOutlet private weak var anotherIDClearButton: UIButton!
@ -92,6 +98,9 @@ class NewRegisterStep1ViewController: UIViewController {
@IBOutlet private weak var additionalInformationGroupImageView: UIImageView!
@IBOutlet private weak var picturesInformationGroupImageView: UIImageView!
@IBOutlet private weak var passportImageLabel: UILabel!
@IBOutlet private weak var anotherIDImageLabel: UILabel!
// MARK: VC's Life cycle
override func viewDidLoad() {
super.viewDidLoad()
@ -208,7 +217,7 @@ extension NewRegisterStep1ViewController {
idIssueDateTextField.isHidden = true
idExpiryDateTextField.isHidden = true
let genderConfigure = TablePresenterConfiguration(presenterTitle: "Select Gender")
let genderConfigure = TablePresenterConfiguration(presenterTitle: "gender_placeholder_text".localized())
genderTextField.useAsDropDown(
with: genderConfigure,
@ -233,16 +242,7 @@ extension NewRegisterStep1ViewController {
idIssueDateTextField.validCondition = { _ in true }
idExpiryDateTextField.validCondition = { _ in true }
referralTextField.validCondition = { _ in true }
userNameTextField.errorMessage = "kyc_first_name_error".localized()
emailTextField.errorMessage = "Invalid email address".localized()
addressTextField.errorMessage = "The address cannot exceed 50 characters.".localized()
bankAccountTextField.errorMessage = "invalid_account_error_text".localized()
passportNumberTextField.errorMessage = "Invalid possport number".localized()
idNumberTextField.errorMessage = "Invalid ID number".localized()
idNumberTextField.delegate = self
setDatePicker(textField: dobTextField, useMaximum: true)
@ -251,6 +251,7 @@ extension NewRegisterStep1ViewController {
setDatePicker(textField: idIssueDateTextField, useMaximum: true)
setDatePicker(textField: idExpiryDateTextField, useMaximum: false, useMinimum: true)
setMultiLanguages()
}
private func setUIBinding() {
@ -495,22 +496,22 @@ extension NewRegisterStep1ViewController {
}).disposed(by: disposeBag)
output.cities.drive(onNext: {[weak self] in
let configure = TablePresenterConfiguration(presenterTitle: "Select City")
let configure = TablePresenterConfiguration(presenterTitle: "select_city_text".localized())
self?.cityTextField.useAsDropDown(with: configure, items: $0)
}).disposed(by: disposeBag)
output.banks.drive(onNext: {[weak self] in
let configure = TablePresenterConfiguration(presenterTitle: "Select Bank")
let configure = TablePresenterConfiguration(presenterTitle: "select_bank_text".localized())
self?.bankTextField.useAsDropDown(with: configure, items: $0)
}).disposed(by: disposeBag)
output.idTypes.drive(onNext: {[weak self] in
let configure = TablePresenterConfiguration(presenterTitle: "Select ID Type")
let configure = TablePresenterConfiguration(presenterTitle: "select_id_type_text".localized())
self?.idTypeTextField.useAsDropDown(with: configure, items: $0)
}).disposed(by: disposeBag)
output.branches.drive(onNext: {[weak self] in
let configure = TablePresenterConfiguration(presenterTitle: "Select Branch")
let configure = TablePresenterConfiguration(presenterTitle: "select_branch_text".localized())
self?.branchTextField.useAsDropDown(with: configure, items: $0)
}).disposed(by: disposeBag)
@ -647,6 +648,69 @@ extension NewRegisterStep1ViewController {
textField.sendActions(for: .editingChanged)
}).disposed(by: disposeBag)
}
private func setMultiLanguages() {
personalInformationLabel.text = "personal_information_text".localized()
userNameTextField.placeholder = "fullname_placeholder_text".localized()
userNameTextField.errorMessage = "kyc_first_name_error".localized()
genderTextField.placeholder = "gender_text".localized()
dobTextField.placeholder = "dob_text".localized()
emailTextField.placeholder = "email_text".localized()
emailTextField.errorMessage = "email_error_text".localized()
cityTextField.placeholder = "city_text".localized()
addressTextField.placeholder = "address_text".localized()
addressTextField.errorMessage = "address_error_text".localized()
personalSaveButton.setTitle("save_and_continue_text".localized(), for: .normal)
bankInformationLabel.text = "korea_bank_infornation_text".localized()
bankTextField.placeholder = "korea_bank_placeholder_text".localized()
bankAccountTextField.placeholder = "account_text".localized()
bankAccountTextField.errorMessage = "invalid_account_error_text".localized()
passportInformationLabel.text = "passport_information_text".localized()
passportNumberTextField.placeholder = "passport_number_text".localized()
passportNumberTextField.errorMessage = "passport_error_text".localized()
passportIssueDateTextField.placeholder = "passport_issue_date_text".localized()
passportExpiryDateTextField.placeholder = "passport_expiry_date_text".localized()
anotherIDLabel.text = "another_id_information_text".localized()
idTypeTextField.placeholder = "id_type_text".localized()
idNumberTextField.placeholder = "id_number_text".localized()
idIssueDateTextField.placeholder = "another_id_issue_date_text".localized()
idExpiryDateTextField.placeholder = "another_id_expiry_date_text".localized()
idNumberTextField.errorMessage = "Invalid ID number".localized()
anotherIDClearButton.setTitle("clear_text".localized(), for: .normal)
additionalInformationLabel.text = "additional_information_text".localized()
branchTextField.placeholder = "branch_text".localized()
referralTextField.placeholder = "referral_code_text".localized()
bankSaveButton.setTitle("save_and_continue_text".localized(), for: .normal)
uploadPicturesLabel.text = "upload_pictures_text".localized()
passportImageLabel.text = "passport_text".localized()
anotherIDImageLabel.text = "another_id_information_text".localized()
passportSampleButton.setTitle("view_sample_text".localized(), for: .normal)
anotherIDSampleButton.setTitle("view_sample_text".localized(), for: .normal)
picturesSaveButton.setTitle("save_and_next_text".localized(), for: .normal)
}
}
// MARK: CLLocationManagerDelegate
@ -663,7 +727,7 @@ extension NewRegisterStep1ViewController: CLLocationManagerDelegate {
locationManager.stopUpdatingLocation()
let alert = UIAlertController(
title: "Settings",
title: "settings_text".localized(),
message: "Allow location from settings",
preferredStyle: .alert
)

1
GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep2/User Interface/View/NewRegisterStep2.storyboard

@ -113,6 +113,7 @@
<viewLayoutGuide key="safeArea" id="O1T-1R-Sun"/>
</view>
<connections>
<outlet property="contentLabel" destination="Eg4-JX-YyB" id="5Sb-gr-mnT"/>
<outlet property="noButton" destination="nNm-Ke-eRh" id="whr-vZ-nLu"/>
<outlet property="yesButton" destination="m6E-gE-jCo" id="DHz-tb-kZ0"/>
</connections>

9
GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep2/User Interface/View/NewRegisterStep2ViewController.swift

@ -22,6 +22,7 @@ class NewRegisterStep2ViewController: UIViewController {
// MARK: IBOutlets
@IBOutlet private weak var yesButton: UIButton!
@IBOutlet private weak var noButton: UIButton!
@IBOutlet private weak var contentLabel: UILabel!
// MARK: VC's Life cycle
override func viewDidLoad() {
@ -70,6 +71,8 @@ extension NewRegisterStep2ViewController {
private func setUI() {
yesButton.layer.cornerRadius = 5
noButton.layer.cornerRadius = 5
setMultiLanguage()
}
private func setUIBinding() {
@ -94,4 +97,10 @@ extension NewRegisterStep2ViewController {
onNext: { $0 ? self.showProgressHud() : self.hideProgressHud() }
).disposed(by: disposeBag)
}
func setMultiLanguage() {
contentLabel.text = "step2_content_text".localized()
yesButton.setTitle("yes_text".localized(), for: .normal)
noButton.setTitle("no_text".localized(), for: .normal)
}
}

3
GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep3/User Interface/View/NewRegisterStep3.storyboard

@ -194,6 +194,7 @@ enter the 4 digit number display after GME.</string>
<outlet property="bankImageView" destination="hqn-fe-Jau" id="ruS-Vo-68D"/>
<outlet property="bankNameLabel" destination="olI-P7-Pht" id="gKh-JS-ceT"/>
<outlet property="codeTextField" destination="ymm-Zi-y9T" id="QTs-sP-eZj"/>
<outlet property="contentLabel" destination="Lfa-ho-fpD" id="pbg-Qm-aoD"/>
<outlet property="depositLabel" destination="XbJ-eo-D2f" id="gLk-1n-SLy"/>
<outlet property="resendButton" destination="IXD-9h-aLl" id="bu3-uA-OhK"/>
<outlet property="sampleButton" destination="gZW-Sw-FTJ" id="kh4-e0-e1n"/>
@ -206,7 +207,7 @@ enter the 4 digit number display after GME.</string>
</scene>
</scenes>
<resources>
<image name="ic_koreaBank" width="48" height="46"/>
<image name="ic_koreaBank" width="100" height="66"/>
<namedColor name="ThemeMainBackground">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>

13
GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep3/User Interface/View/NewRegisterStep3ViewController.swift

@ -26,6 +26,8 @@ class NewRegisterStep3ViewController: UIViewController {
@IBOutlet private weak var bankNameLabel: UILabel!
@IBOutlet private weak var bankAccountLabel: UILabel!
@IBOutlet private weak var contentLabel: UILabel!
@IBOutlet private weak var depositLabel: UILabel!
@IBOutlet private weak var codeTextField: UITextField!
@ -87,6 +89,8 @@ extension NewRegisterStep3ViewController {
private func setUI() {
submitButton.layer.cornerRadius = 5
setMultiLanguage()
}
private func setUIBinding() {
@ -153,4 +157,13 @@ extension NewRegisterStep3ViewController {
alertVC.addAction(action)
self.present(alertVC, animated: true, completion: nil)
}
private func setMultiLanguage() {
contentLabel.text = "pennytest_information_text".localized()
depositLabel.text = "deposit_reference_text".localized()
sampleButton.setTitle("view_sample_text".localized(), for: .normal)
resendButton.setTitle("resend_text".localized(), for: .normal)
submitButton.setTitle("submit_text".localized(), for: .normal)
}
}

51
GME Remit/MultiLanguages/en.lproj/Localizable.strings

@ -720,3 +720,54 @@
"failure_uppercase_text" = "FAILURE";
"waiting_uppercase_text" = "WAITING";
"recharge_history_text" = "Recharge History";
// Manage Agreement
"terms_and_conditions_text" = "Terms And Conditions";
"terms_and_conditions_title_text" = "Please accept the terms and conditions.";
"terms_and_conditions_content_text" = "In order to use GME's overseas remittances and domestic remittances smoothly, you need to agree to withdraw money from your account. Withdrawal transfer will be made through open banking from the account you agreed to withdraw when using services such as overseas remittance and domestic remittance.";
"personal_info_treatment_policy_text" = "Personal Information Treatment Policy";
"personal_info_usesage_text" = "Personal Information Collection and Usage Agreement";
"agreement_legal_text" = "Agreement of Legal Name Confirmation for Prohibiting Manipulation of the Law and Illegal Behavior";
"small_scale_amount_text" = "Terms of Use for Small Scale Amount Remittance";
"openbanking_service_text" = "Terms of Use for Open-Banking Service";
"eletronic_finance_text" = "Terms of Use for Electronic Finance Transaction";
"agree_text" = "Agree";
// New Registration
"new_registration_title_text" = "Tell us about you for remittance";
"step1_sub_title_text" = "Your Information";
"step2_sub_title_text" = "Register Auto Debit";
"step3_sub_title_text" = "Try to Penny Test";
"personal_information_text" = "Personal Information";
"fullname_placeholder_text" = "Full Name (Shown in your id card)";
"address_error_text" = "The address cannot exceed 50 characters.";
"email_error_text" = "Invalid email address";
"korea_bank_infornation_text" = "Korea Bank Information";
"korea_bank_placeholder_text" = "Korea Bank";
"passport_information_text" = "Passport Information";
"passport_number_text" = "Passport Number";
"passport_issue_date_text" = "Passport Issue Date";
"passport_expiry_date_text" = "Passport Expiry Date";
"passport_error_text" = "Invalid Possport Number";
"another_id_information_text" = "Another ID (Optional)";
"another_id_issue_date_text" = "ID Issue Date";
"another_id_expiry_date_text" = "ID Expiry Date";
"another_id_number_error_text" = "Invalid ID number";
"clear_text" = "Clear";
"additional_information_text" = "Additional Information";
"upload_pictures_text" = "Upload Pictures";
"save_and_next_text" = "Save and Next";
"select_city_text" = "Select City";
"step2_content_text" = "Do you have a phone number registered with Alien Registration Card under your name?";
"move_step2_to_step3_text" = "To verify your bank account, move to the last step, the penny test";
"registration_success_message_text" = "Thank you for registering for GME.\nWe are verifying your information.\nOnce approved, you will receive SMS.";

51
GME Remit/MultiLanguages/ko.lproj/Localizable.strings

@ -716,3 +716,54 @@
"failure_uppercase_text" = "실패";
"waiting_uppercase_text" = "대기";
"recharge_history_text" = "충전 내역";
// Manage Agreement
"terms_and_conditions_text" = "이용약관";
"terms_and_conditions_title_text" = "이용약관에 동의해 주세요.";
"terms_and_conditions_content_text" = "GME의 해외 송금 및 국내 송금 등의 서비스를 원활하게 이용하기 위하여 고객님의 계좌에 대한 출금이체 동의가 필요합니다. 해외 송금, 국내 송금 등의 서비스 이용시 출금에 동의 하신 계좌에서 오픈뱅킹 또는 펌뱅킹을 통하여 출금이체가 진행됩니다.";
"personal_info_treatment_policy_text" = "개인정보 처리방침";
"personal_info_usesage_text" = "개인정보 수집 및 이용 동의";
"agreement_legal_text" = "불법 탈법 차명거래 금지 실명 확인 동의";
"small_scale_amount_text" = "소액해외 송금서비스 이용약관";
"openbanking_service_text" = "오픈뱅킹서비스 이용약관";
"eletronic_finance_text" = "전자금융거래 이용약관";
"agree_text" = "동의";
// New Registration
"new_registration_title_text" = "해외 송금을 위해 당신에 대해 알려주세요.";
"step1_sub_title_text" = "개인정보";
"step2_sub_title_text" = "자동이체 계좌 등록";
"step3_sub_title_text" = "1원 입금";
"personal_information_text" = "개인정보";
"fullname_placeholder_text" = "이름 (신분증에 등록된 이름)";
"address_error_text" = "주소는 50자를 넘을 수 없습니다.";
"email_error_text" = "유효하지 않는 email 주소입니다.";
"korea_bank_infornation_text" = "은행 정보";
"korea_bank_placeholder_text" = "은행";
"passport_information_text" = "여권 정보";
"passport_number_text" = "여권 번호";
"passport_issue_date_text" = "여권 발행일자";
"passport_expiry_date_text" = "여권 만료일자";
"passport_error_text" = "유효하지 않는 여권 번호입니다.";
"another_id_information_text" = "추가 신분증 (옵션)";
"another_id_issue_date_text" = "신분증 발행일자";
"another_id_expiry_date_text" = "신분증 만료일자";
"another_id_number_error_text" = "유효하지 않는 신분증 번호입니다.";
"clear_text" = "삭제";
"additional_information_text" = "추가 정보";
"upload_pictures_text" = "사진 업로드";
"save_and_next_text" = "저장 및 다음 단계";
"select_city_text" = "도시를 선택";
"step2_content_text" = "당신의 이름으로 등록한 휴대전화가 있습니까?";
"move_step2_to_step3_text" = "당신의 은행 계좌를 검증 하기 위해 마지막 단계인 1원 입금 단계로 이동합니다.";
"registration_success_message_text" = "GME 회원가입을 감사합니다.\n현재 우리는 당신이 입력한 정보를 확인하고 있습니다.\n당신의 정보가 확인되면 SMS 메세지로 알려 드리겠습니다.";
Loading…
Cancel
Save