Browse Source

language added for russia

pull/1/head
gme_2 6 years ago
parent
commit
31cc103a88
  1. 50
      GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift
  2. 3
      GMERemittance/Utility/AppConstants.swift
  3. 13
      ru-RU.lproj/Localizable.strings
  4. 2
      th.lproj/Localizable.strings

50
GMERemittance/Module/SplashScreen/User Interface/View/SplashScreenViewController.swift

@ -15,11 +15,11 @@ import DTTJailbreakDetection
class SplashScreenViewController: UIViewController { class SplashScreenViewController: UIViewController {
struct StringConstants { struct StringConstants {
let descriptionFirst = "hassle_free_transfer_text".localized()
let descriptionSecond = "connect_local_community_text".localized()
let descriptionThird = "earn_reward_point_text".localized()
let loginText = "login_text".localized()
let newUserText = "new_user_text".localized()
let descriptionFirst = "hassle_free_transfer_text".localized()
let descriptionSecond = "connect_local_community_text".localized()
let descriptionThird = "earn_reward_point_text".localized()
let loginText = "login_text".localized()
let newUserText = "new_user_text".localized()
} }
// MARK: IBOutlets // MARK: IBOutlets
@ -64,26 +64,30 @@ class SplashScreenViewController: UIViewController {
Localize.setCurrentLanguage("si") Localize.setCurrentLanguage("si")
}else }else
if code == "kh" {
Localize.setCurrentLanguage("km")
}else
if code == "kh" {
Localize.setCurrentLanguage("km")
}else
if code == "kr" {
Localize.setCurrentLanguage("ko")
}else
if code == "kr" {
Localize.setCurrentLanguage("ko")
}else
if code == "mm" {
Localize.setCurrentLanguage("my")
}else
if code == "mm" {
Localize.setCurrentLanguage("my")
}else
if code == "bd" {
Localize.setCurrentLanguage("bn")
}
else
if code == "bd" {
Localize.setCurrentLanguage("bn")
}
else
if code == "np" {
Localize.setCurrentLanguage("ne")
}
if code == "np" {
Localize.setCurrentLanguage("ne")
}
if code == "ru" {
Localize.setCurrentLanguage("ru-RU")
}
else { else {
Localize.setCurrentLanguage(code) Localize.setCurrentLanguage(code)
} }
@ -181,7 +185,7 @@ class SplashScreenViewController: UIViewController {
setImageandLabels() setImageandLabels()
} }
func setupLanguages() {
func setupLanguages() {
self.languages = Utility.getLanguages() self.languages = Utility.getLanguages()
} }
@ -258,7 +262,7 @@ class SplashScreenViewController: UIViewController {
self.view.backgroundColor = AppConstants.themeRedColor self.view.backgroundColor = AppConstants.themeRedColor
self.buttonSignUp.backgroundColor = AppConstants.themeDarkRedColor self.buttonSignUp.backgroundColor = AppConstants.themeDarkRedColor
self.buttonLogin.backgroundColor = AppConstants.themeBlueColor self.buttonLogin.backgroundColor = AppConstants.themeBlueColor
// self.buttonSignUp.backgroundColor = AppConstants.themeBlueColor
// self.buttonSignUp.backgroundColor = AppConstants.themeBlueColor
} }
private func setupTimer() { private func setupTimer() {

3
GMERemittance/Utility/AppConstants.swift

@ -307,7 +307,8 @@ extension Utility {
let russian = SendMoneyCountryViewModel() let russian = SendMoneyCountryViewModel()
russian.name = "russian_langugae_text".localized() russian.name = "russian_langugae_text".localized()
russian.id = "russian_langugae_text"
russian.id = "русский"
russian.title = "русский"
russian.code = "ru" russian.code = "ru"
let vietnam = SendMoneyCountryViewModel() let vietnam = SendMoneyCountryViewModel()

13
ru-RU.lproj/Localizable.strings

@ -372,3 +372,16 @@
"language_text" = "язык"; "language_text" = "язык";
"korean_language_text" = "한국어";
"cambodia_lanugage_text" = "ភាសាខ្មែរ";
"srilanka_lanugage_text" = "සිංහල";
"myanmar_language_text" = "မြန်မာ";
"russian_langugae_text" = "русский";
"vietnam_language_text" = "Tiếng Việt";
"thailand_language_text" = "ไทย";
"indonesia_language_text" = "bahasa Indonesia";
"mongolia_language_text" = "Монгол хэл дээр";
"nepali_language_text" = "नेपाली";
"bengali_language_text" = "বাংলা";
"uzbek_language_text" = "O'zbek";
"english_language_text" = "English";

2
th.lproj/Localizable.strings

@ -5,7 +5,7 @@
"earn_reward_point_text" = "สะสมคะแนนแลกของรางวัลมากมาย"; "earn_reward_point_text" = "สะสมคะแนนแลกของรางวัลมากมาย";
"login_title_text" = "ยินดีต้อนรับสู่ Global Money Express"; "login_title_text" = "ยินดีต้อนรับสู่ Global Money Express";
"login_subtitle_text" = "เข้าสู่ระบบด้วยอีเมล์หรือหมายเลขโทรศัพท์";
"login_subtitle_text" = "เข้าสู่ระบบด้วยอีเมล์";
"login_user_id_text" = "ชื่อผู้ใช้งาน"; "login_user_id_text" = "ชื่อผู้ใช้งาน";
"user_Id_placeholder_text" = "ลงทะเบียนด้วยอีเมล์หรือหมายเลขโทรศัพท์มือถือ"; "user_Id_placeholder_text" = "ลงทะเบียนด้วยอีเมล์หรือหมายเลขโทรศัพท์มือถือ";
"password_text" = "รหัสผ่าน"; "password_text" = "รหัสผ่าน";

Loading…
Cancel
Save