Browse Source

add multi language about referralCode in KYC

pull/1/head
james 5 years ago
parent
commit
49b5454927
  1. 1
      GMERemittance/Module/KYC/kycForm1/User Interface/View/kycForm1.storyboard
  2. 37
      GMERemittance/Module/KYC/kycForm1/User Interface/View/kycForm1ViewController.swift
  3. 2
      bn.lproj/Localizable.strings
  4. 3
      en.lproj/Localizable.strings
  5. 3
      id.lproj/Localizable.strings
  6. 4
      km.lproj/Localizable.strings
  7. 3
      ko.lproj/Localizable.strings
  8. 3
      mn.lproj/Localizable.strings
  9. 3
      my-MM.lproj/Localizable.strings
  10. 3
      my.lproj/Localizable.strings
  11. 3
      ne.lproj/Localizable.strings
  12. 3
      ru-RU.lproj/Localizable.strings
  13. 3
      si.lproj/Localizable.strings
  14. 3
      th.lproj/Localizable.strings
  15. 3
      uz.lproj/Localizable.strings
  16. 3
      vi-VN.lproj/Localizable.strings

1
GMERemittance/Module/KYC/kycForm1/User Interface/View/kycForm1.storyboard

@ -543,6 +543,7 @@
<outlet property="provinceTitleLabel" destination="d1k-Xs-axj" id="mX4-GK-4oT"/> <outlet property="provinceTitleLabel" destination="d1k-Xs-axj" id="mX4-GK-4oT"/>
<outlet property="referralCodeErrorLabel" destination="onx-Va-jPg" id="MxC-CD-0z5"/> <outlet property="referralCodeErrorLabel" destination="onx-Va-jPg" id="MxC-CD-0z5"/>
<outlet property="referralCodeTextField" destination="srZ-o3-hZr" id="Q9W-i8-zuD"/> <outlet property="referralCodeTextField" destination="srZ-o3-hZr" id="Q9W-i8-zuD"/>
<outlet property="referralCodeTitleLabel" destination="2xH-YL-2FB" id="Zyz-kU-ZMj"/>
<outlet property="saveAndContinue" destination="4QD-n7-cbc" id="Og3-N2-ODQ"/> <outlet property="saveAndContinue" destination="4QD-n7-cbc" id="Og3-N2-ODQ"/>
<outlet property="scrollView" destination="ixK-Bl-e32" id="Kyc-Bb-cjk"/> <outlet property="scrollView" destination="ixK-Bl-e32" id="Kyc-Bb-cjk"/>
</connections> </connections>

37
GMERemittance/Module/KYC/kycForm1/User Interface/View/kycForm1ViewController.swift

@ -59,23 +59,24 @@ class KycForm1ViewController: UIViewController {
} }
struct StringConstants { struct StringConstants {
let fullname = "full_name_text".localized()
let fullnamePlaceholder = "full_name_placeholder_text".localized()
let mobileNumber = "mobile_number_text".localized()
let mobilePlaceholder = "mobile_number_placeholder_text".localized()
let email = "email_text_optional".localized()
let emailPlaceholder = "placeholder_enter_receiver_email_text".localized()
let gender = "gender_text".localized()
let genderPlacholder = "gender_placeholder_text".localized()
let nativeCountry = "native_country_text".localized()
let nativeCountryPlaceholder = "native_country_placeholder_text".localized()
let addressInKorea = "address_in_korea_text".localized()
let addressPlaceholder = "address_in_korea_text".localized()
let province = "province_text".localized()
let provincePlaceholder = "province_placeholder_text".localized()
let occupation = "occupation_text".localized()
let occupationPlaceholder = "occupation_placeholder_text".localized()
let saveAndCoutinueText = "save_and_continue_text".localized()
let fullname = "full_name_text".localized()
let fullnamePlaceholder = "full_name_placeholder_text".localized()
let mobileNumber = "mobile_number_text".localized()
let mobilePlaceholder = "mobile_number_placeholder_text".localized()
let email = "email_text_optional".localized()
let emailPlaceholder = "placeholder_enter_receiver_email_text".localized()
let gender = "gender_text".localized()
let genderPlacholder = "gender_placeholder_text".localized()
let nativeCountry = "native_country_text".localized()
let nativeCountryPlaceholder = "native_country_placeholder_text".localized()
let addressInKorea = "address_in_korea_text".localized()
let addressPlaceholder = "address_in_korea_text".localized()
let province = "province_text".localized()
let provincePlaceholder = "province_placeholder_text".localized()
let occupation = "occupation_text".localized()
let occupationPlaceholder = "occupation_placeholder_text".localized()
let saveAndCoutinueText = "save_and_continue_text".localized()
let referralCode = "referral_code_text".localized()
} }
// MARK: IBOutlets // MARK: IBOutlets
@ -120,6 +121,7 @@ class KycForm1ViewController: UIViewController {
@IBOutlet weak var addressInKoreaTitleLabel: UILabel! @IBOutlet weak var addressInKoreaTitleLabel: UILabel!
@IBOutlet weak var provinceTitleLabel: UILabel! @IBOutlet weak var provinceTitleLabel: UILabel!
@IBOutlet weak var occupationTitleLabel: UILabel! @IBOutlet weak var occupationTitleLabel: UILabel!
@IBOutlet weak var referralCodeTitleLabel: UILabel!
@IBOutlet weak var saveAndContinue: UIButton! @IBOutlet weak var saveAndContinue: UIButton!
@ -246,6 +248,7 @@ class KycForm1ViewController: UIViewController {
self.addressInKoreaTitleLabel.text = StringConstants().addressInKorea self.addressInKoreaTitleLabel.text = StringConstants().addressInKorea
self.provinceTitleLabel.text = StringConstants().province self.provinceTitleLabel.text = StringConstants().province
self.occupationTitleLabel.text = StringConstants().occupation self.occupationTitleLabel.text = StringConstants().occupation
self.referralCodeTitleLabel.text = StringConstants().referralCode
self.saveAndContinue.setTitle(StringConstants().saveAndCoutinueText, for: UIControlState.normal) self.saveAndContinue.setTitle(StringConstants().saveAndCoutinueText, for: UIControlState.normal)
self.firstNameTextField.placeholder = StringConstants().fullnamePlaceholder self.firstNameTextField.placeholder = StringConstants().fullnamePlaceholder

2
bn.lproj/Localizable.strings

@ -408,3 +408,5 @@
"resend_code_text" = " আবার চেষ্টা করুণ "; "resend_code_text" = " আবার চেষ্টা করুণ ";
// ReferalCode
"referral_code_text" = " রেফারেল কোড ( ঐচ্ছিক )"

3
en.lproj/Localizable.strings

@ -410,3 +410,6 @@
"no_transaction_id_error_text" = "Transaction ID Not Found"; "no_transaction_id_error_text" = "Transaction ID Not Found";
"support_description_text" = "We are always here to help you."; "support_description_text" = "We are always here to help you.";
// ReferalCode
"referral_code_text" = "Referral Code (Optional)"

3
id.lproj/Localizable.strings

@ -401,3 +401,6 @@
"resend_code_text" = "Coba lagi"; "resend_code_text" = "Coba lagi";
// ReferalCode
"referral_code_text" = "Kode Referal (Tidak Wajib)"

4
km.lproj/Localizable.strings

@ -415,5 +415,5 @@
"resend_code_text" = "ព្យាយាមម្តងទៀត"; "resend_code_text" = "ព្យាយាមម្តងទៀត";
// ReferalCode
"referral_code_text" = "Referral Code (Optional)"

3
ko.lproj/Localizable.strings

@ -417,3 +417,6 @@
"resend_code_text" = "다시 시도하세요. "; "resend_code_text" = "다시 시도하세요. ";
// ReferalCode
"referral_code_text" = "추천인 코드 (선택)"

3
mn.lproj/Localizable.strings

@ -413,3 +413,6 @@
"resend_code_text" = "Түр хугацааны дараа дахин оролдоно уу"; "resend_code_text" = "Түр хугацааны дараа дахин оролдоно уу";
// ReferalCode
"referral_code_text" = "Referral Code (Optional)"

3
my-MM.lproj/Localizable.strings

@ -388,3 +388,6 @@
"otp_password_hint_text" = ""; "otp_password_hint_text" = "";
"otp_empty_error" = ""; "otp_empty_error" = "";
"requesting_otp_text" = ""; "requesting_otp_text" = "";
// ReferalCode
"referral_code_text" = "Referral Code (Optional)"

3
my.lproj/Localizable.strings

@ -422,3 +422,6 @@
"no_transaction_id_error_text"="ေငြလႊဲအိုင္ဒီ ရွာမေတြ႔ပါ"; "no_transaction_id_error_text"="ေငြလႊဲအိုင္ဒီ ရွာမေတြ႔ပါ";
"account_no_validation_error_text"="အေကာင့္နံပါတ္မွားေနပါသည္ (နံပါတ္နွင့္ စာလံုးမ်ားသာ ခြင့္ျပဳသည္)"; "account_no_validation_error_text"="အေကာင့္နံပါတ္မွားေနပါသည္ (နံပါတ္နွင့္ စာလံုးမ်ားသာ ခြင့္ျပဳသည္)";
"resend_code_text"="ျပန္ပို႔ရန္"; "resend_code_text"="ျပန္ပို႔ရန္";
// ReferalCode
"referral_code_text" = "Referral Code (Optional)"

3
ne.lproj/Localizable.strings

@ -413,3 +413,6 @@
"resend_code_text" = "फेरि प्रयास गर्नुहोस"; "resend_code_text" = "फेरि प्रयास गर्नुहोस";
// ReferalCode
"referral_code_text" = "रेफरल कोड"

3
ru-RU.lproj/Localizable.strings

@ -413,3 +413,6 @@
"resend_code_text" = "Попробуйте ещё раз"; "resend_code_text" = "Попробуйте ещё раз";
// ReferalCode
"referral_code_text" = "Referral Code (Optional)"

3
si.lproj/Localizable.strings

@ -420,3 +420,6 @@
"resend_code_text" = "නැවත උත්සාහ කරන්න "; "resend_code_text" = "නැවත උත්සාහ කරන්න ";
// ReferalCode
"referral_code_text" = "Referral Code (Optional)"

3
th.lproj/Localizable.strings

@ -419,3 +419,6 @@
"resend_code_text" = "ลองใหม่อีกครั้ง"; "resend_code_text" = "ลองใหม่อีกครั้ง";
// ReferalCode
"referral_code_text" = "รหัสแนะนำ (หากมี)"

3
uz.lproj/Localizable.strings

@ -416,3 +416,6 @@
"resend_code_text" = "Qaytadan sinab ko'ring"; "resend_code_text" = "Qaytadan sinab ko'ring";
// ReferalCode
"referral_code_text" = "Referral Code (Optional)"

3
vi-VN.lproj/Localizable.strings

@ -412,3 +412,6 @@
"resend_code_text" = "Thử lại tại"; "resend_code_text" = "Thử lại tại";
// ReferalCode
"referral_code_text" = "Mã giới thiệu (nếu có)"
Loading…
Cancel
Save