Browse Source

localized

pull/1/head
gme_2 6 years ago
parent
commit
45a7b5ddf5
  1. 44
      GMERemittance/Module/AddReciepient/User Interface/View/AddReciepientViewController.swift
  2. 44
      GMERemittance/Module/EditReciepient/User Interface/View/EditReciepientViewController.swift
  3. 12
      GMERemittance/Module/ExchangeRates/User Interface/View/ExchangeRatesViewController.swift
  4. 6
      GMERemittance/Module/SendMoney/SendMoneyExchangeRate/User Interface/View/SendMoneyExchangeRateViewController.swift
  5. 6
      GMERemittance/Module/SendMoney/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift
  6. 10
      GMERemittance/Module/SendMoney/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentModeViewController.swift
  7. 28
      GMERemittance/Module/SendMoney/SendMoneyReceipt/User Interface/View/SendMoneyReceiptViewController.swift
  8. 10
      GMERemittance/Module/SendMoney/SendMoneyVerification/User Interface/View/SendMoneyVerificationViewController.swift
  9. 20
      GMERemittance/SideMenu/SideMenuViewController.swift
  10. 1
      Localizable/en.lproj/Localizable.strings

44
GMERemittance/Module/AddReciepient/User Interface/View/AddReciepientViewController.swift

@ -11,29 +11,29 @@ import UIKit
class AddReciepientViewController: UIViewController { class AddReciepientViewController: UIViewController {
struct StringConstants { struct StringConstants {
static let headerText = "Who are you sending money to?"
static let firstNameText = "First Name"
static let middleNameText = "Middle Name (Optional)"
static let lastNameText = "Last Name"
static let countryNameText = "Country"
static let stateText = "State/Province"
static let districtText = "District"
static let addressText = "Address"
static let relationText = "Relation"
static let mobileText = "Mobile No."
static let transferText = "Transfer Reason"
static let saveText = "Save"
static let headerText = "who_to_send_text".localized()
static let firstNameText = "first_name_text".localized()
static let middleNameText = "enter_receiver_middlename_text".localized()
static let lastNameText = "last_name_text".localized()
static let countryNameText = "country_text".localized()
static let stateText = "state_text".localized()
static let districtText = "district_text".localized()
static let addressText = "address_text".localized()
static let relationText = "relation_text".localized()
static let mobileText = "mobile_number_text".localized()
static let transferText = "transfer_reason_text".localized()
static let saveText = "save_text".localized()
// placeholder // placeholder
static let firstnamePlaceholder = "Enter receiver's full name"
static let lastnamePlaceholder = "Enter receiver's middle name"
static let middlenamePlaceholder = "Enter receiver's last name"
static let countryPlaceholder = "Select"
static let statePlaceholder = "Select"
static let districtPlaceholder = "Select"
static let addressPlaceholder = "Enter receiver's Address"
static let relationPlaceholder = "Select"
static let mobilePlaceholder = "Enter receiver's mobile number"
static let transferPlaceholder = "Select"
static let firstnamePlaceholder = "placeholder_enter_receiver_firstname_text".localized()
static let lastnamePlaceholder = "placeholder_enter_receiver_middle_text".localized()
static let middlenamePlaceholder = "placeholder_enter_receiver_lastname_text".localized()
static let countryPlaceholder = "placeholder_select_country_text".localized()
static let statePlaceholder = "state_placeholder_text".localized()
static let districtPlaceholder = "district_placeholder_text".localized()
static let addressPlaceholder = "placeholder_enter_receiver_address_text".localized()
static let relationPlaceholder = "placeholder_select_relation_text".localized()
static let mobilePlaceholder = "placeholder_enter_reciever_mobile_number_text".localized()
static let transferPlaceholder = "placeholder_select_transfer_reason_text".localized()
} }
// MARK: IBOutlets // MARK: IBOutlets

44
GMERemittance/Module/EditReciepient/User Interface/View/EditReciepientViewController.swift

@ -11,29 +11,29 @@ import UIKit
class EditReciepientViewController: UIViewController { class EditReciepientViewController: UIViewController {
struct StringConstants { struct StringConstants {
static let headerText = "Who are you sending money to?"
static let firstNameText = "First Name"
static let middleNameText = "Middle Name (Optional)"
static let lastNameText = "Last Name"
static let countryNameText = "Country"
static let stateText = "State/Province"
static let districtText = "District"
static let addressText = "Address"
static let relationText = "Relation"
static let mobileText = "Mobile No."
static let transferText = "Transfer Reason"
static let saveText = "Save"
static let headerText = "who_to_send_text".localized()
static let firstNameText = "first_name_text".localized()
static let middleNameText = "enter_receiver_middlename_text".localized()
static let lastNameText = "last_name_text".localized()
static let countryNameText = "country_text".localized()
static let stateText = "state_text".localized()
static let districtText = "district_text".localized()
static let addressText = "address_text".localized()
static let relationText = "relation_text".localized()
static let mobileText = "mobile_number_text".localized()
static let transferText = "transfer_reason_text".localized()
static let saveText = "save_text".localized()
// placeholder // placeholder
static let firstnamePlaceholder = "Enter receiver's full name"
static let lastnamePlaceholder = "Enter receiver's middle name"
static let middlenamePlaceholder = "Enter receiver's last name"
static let countryPlaceholder = "Select"
static let statePlaceholder = "Select"
static let districtPlaceholder = "Select"
static let addressPlaceholder = "Enter receiver's Address"
static let relationPlaceholder = "Select"
static let mobilePlaceholder = "Enter receiver's mobile number"
static let transferPlaceholder = "Select"
static let firstnamePlaceholder = "placeholder_enter_receiver_firstname_text".localized()
static let lastnamePlaceholder = "placeholder_enter_receiver_middle_text".localized()
static let middlenamePlaceholder = "placeholder_enter_receiver_lastname_text".localized()
static let countryPlaceholder = "placeholder_select_country_text".localized()
static let statePlaceholder = "state_placeholder_text".localized()
static let districtPlaceholder = "district_placeholder_text".localized()
static let addressPlaceholder = "placeholder_enter_receiver_address_text".localized()
static let relationPlaceholder = "placeholder_select_relation_text".localized()
static let mobilePlaceholder = "placeholder_enter_reciever_mobile_number_text".localized()
static let transferPlaceholder = "placeholder_select_transfer_reason_text".localized()
} }

12
GMERemittance/Module/ExchangeRates/User Interface/View/ExchangeRatesViewController.swift

@ -31,12 +31,12 @@ class ExchangeRatesViewController: UIViewController {
struct StringConstants { struct StringConstants {
static let selectPaymentModeText = "" static let selectPaymentModeText = ""
static let youSendText = ""
static let recepientGetsText = ""
static let calculate = ""
static let title = "Today's Rate"
static let currentExchangeRateText = "Current Exchange Rate"
static let transferFeeDetailText = "Transfer Fee Included"
static let youSendText = "you_send_text"
static let recepientGetsText = "receipient_gets_text"
static let calculate = "calculate_text"
static let title = "todays_rate_text"
static let currentExchangeRateText = "current_exchange_rate_text"
static let transferFeeDetailText = "transfer_fee_included_text"
} }
struct ApiConstants { struct ApiConstants {

6
GMERemittance/Module/SendMoney/SendMoneyExchangeRate/User Interface/View/SendMoneyExchangeRateViewController.swift

@ -21,9 +21,9 @@ class SendMoneyExchangeRateViewController: UIViewController {
} }
struct StringConstants { struct StringConstants {
static let youSendText = "You Send"
static let reciepientGetsText = "Recepient Gets"
static let calculateText = "Calculate"
static let youSendText = "you_send_text".localized()
static let reciepientGetsText = "recepient_gets_text".localized()
static let calculateText = "calculate_text".localized()
} }
// MARK: IBOutlets // MARK: IBOutlets

6
GMERemittance/Module/SendMoney/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift

@ -52,9 +52,9 @@ class SendMoneyParentViewController: UIViewController {
} }
struct StringConstants { struct StringConstants {
static let payoutModeText = "Payout Mode"
static let amountDetailText = "Amount Detail"
static let verificationDetailText = "Verification Detail"
static let payoutModeText = "payout_mode_text".localized()
static let amountDetailText = "amount_detail_text".localized()
static let verificationDetailText = "verification_detail_text".localized()
} }
// MARK: IBOutlets // MARK: IBOutlets

10
GMERemittance/Module/SendMoney/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentModeViewController.swift

@ -20,11 +20,11 @@ class SendMoneyPaymentModeViewController: UIViewController {
} }
struct StringConstants { struct StringConstants {
static let headerTitle = "How would you like to pick your money in Nepal?"
static let bankPlaceholder = "Select Bank"
static let branchPlaceholder = "Select Branch"
static let accountNumber = "Account Number"
static let continueText = "Continue"
static let headerTitle = "How would you like to pick your money in Nepal?".localized()
static let bankPlaceholder = "select_bank_text".localized()
static let branchPlaceholder = "select_branch_text".localized()
static let accountNumber = "account_number_text".localized()
static let continueText = "continue_text".localized()
} }
// MARK: IBOutlets // MARK: IBOutlets

28
GMERemittance/Module/SendMoney/SendMoneyReceipt/User Interface/View/SendMoneyReceiptViewController.swift

@ -18,20 +18,20 @@ class SendMoneyReceiptViewController: UIViewController {
// MARK: IBOutlets // MARK: IBOutlets
struct StringConstants { struct StringConstants {
static let transferSuccessText = "Transfer Successful"
static let successfullyTransferredText = "You have successfully transferred your money to"
static let concernedPartyText = "Please keep this GME control no. very secure. Share with concerned party only"
static let transactionDateText = "Transaction Date"
static let recieverText = "Receiver"
static let addressText = "Address"
static let mobileNoText = "Mobile No."
static let payoutAgentText = "Payout Agent/Bank"
static let totalSentAmountText = "Total Sent Amount"
static let branchText = "Branch"
static let accountNumberText = "Account Number"
static let serviceFeeText = "Service Fee"
static let exRateText = "Ex Rate"
static let payoutAmountText = "Total Payout Amount"
static let transferSuccessText = "transfer_success_text".localized()
static let successfullyTransferredText = "You have successfully transferred your money to".localized()
static let concernedPartyText = "transfer_success_info_text".localized()
static let transactionDateText = "transaction_date_text".localized()
static let recieverText = "receiver_text".localized()
static let addressText = "email_address_text".localized()
static let mobileNoText = "mobile_number_text".localized()
static let payoutAgentText = "payout_agent_text".localized()
static let totalSentAmountText = "total_sent_amount_text".localized()
static let branchText = "branch_text".localized()
static let accountNumberText = "account_number_text".localized()
static let serviceFeeText = "service_fee_text".localized()
static let exRateText = "ex_rate_text".localized()
static let payoutAmountText = "total_amount_text".localized()
} }
@IBOutlet weak var fullnameLabel: UILabel! @IBOutlet weak var fullnameLabel: UILabel!

10
GMERemittance/Module/SendMoney/SendMoneyVerification/User Interface/View/SendMoneyVerificationViewController.swift

@ -11,11 +11,11 @@ import UIKit
class SendMoneyVerificationViewController: UITableViewController { class SendMoneyVerificationViewController: UITableViewController {
struct StringConstants { struct StringConstants {
static let recieverDetails = "Reciever Details"
static let transactionDetails = "Transaction Details"
static let readNAgreeText = "I have read and agreed to "
static let userAgreementText = "GME Remittance User Agreement"
static let agreeAndSendText = "Agree And Send"
static let recieverDetails = "reciever_details_text".localized()
static let transactionDetails = "transaction_detail_text".localized()
static let readNAgreeText = "i_have_read_to_text".localized()
static let userAgreementText = "gme_user_aggreement_text".localized()
static let agreeAndSendText = "agree_and_send_text".localized()
} }
// MARK: IBOutlets // MARK: IBOutlets

20
GMERemittance/SideMenu/SideMenuViewController.swift

@ -23,16 +23,16 @@ struct SideMenuNavigationNotifications {
class SideMenuViewController: UIViewController { class SideMenuViewController: UIViewController {
struct StringConstants { struct StringConstants {
static let logoutTitleText = "Logout"
static let logoutConfirmationText = "Are you sure you want to logout?"
static let noText = "No"
static let yesText = "Yes"
static let autoDebitMenuText = "Auto Debit Account"
static let aboutGmeMenuText = "About GMEs"
static let settingMenuText = "Settings"
static let availableBalanceTitleLabelText = "Your Available Balance"
static let withdrawButtonText = "Withdraw"
static let gmeWalletNoTitleText = "GME Wallet No."
static let logoutTitleText = "logout_text"
static let logoutConfirmationText = "logout_confirmation_text"
static let noText = "no_text"
static let yesText = "yes_text"
static let autoDebitMenuText = "auto_debit_account_text"
static let aboutGmeMenuText = "about_gme_text"
static let settingMenuText = "settings_text"
static let availableBalanceTitleLabelText = "available_balance_text"
static let withdrawButtonText = "withdraw_text"
static let gmeWalletNoTitleText = "gme_wallet_no_text"
} }
// @IBOutlets // @IBOutlets

1
Localizable/en.lproj/Localizable.strings

@ -105,7 +105,6 @@
"receiving_amount_error" = "Please specify receiving amount"; "receiving_amount_error" = "Please specify receiving amount";
"no_currency_selected_error" = "Please select a currency"; "no_currency_selected_error" = "Please select a currency";
"send_money_title_text" = "Send Money"; "send_money_title_text" = "Send Money";
"payout_mode_text" = "Payout Mode";
"amount_detail_text" = "Amount Detail"; "amount_detail_text" = "Amount Detail";
"verification_detail_text" = "Verification"; "verification_detail_text" = "Verification";
"pick_money_text" = "How would you like to pick you money in"; "pick_money_text" = "How would you like to pick you money in";

Loading…
Cancel
Save