Browse Source

added language in recipt sendmoney view

pull/1/head
gme_2 6 years ago
parent
commit
7202f416a4
  1. 11
      GMERemittance/Module/SendMoney/SendMoneyReceipt/User Interface/View/SendMoneyReceiptViewController.swift
  2. 2
      GMERemittance/Module/SendMoney/SendMoneyVerification/User Interface/View/SendMoneyVerificationViewController.swift

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

@ -19,7 +19,7 @@ class SendMoneyReceiptViewController: UIViewController {
struct StringConstants { struct StringConstants {
let transferSuccessText = "transfer_success_text".localized() let transferSuccessText = "transfer_success_text".localized()
let successfullyTransferredText = "You have successfully transferred your money to".localized()
let successfullyTransferredText = "transfer_success_info_text".localized()
let concernedPartyText = "transfer_success_info_text".localized() let concernedPartyText = "transfer_success_info_text".localized()
let transactionDateText = "transaction_date_text".localized() let transactionDateText = "transaction_date_text".localized()
let recieverText = "receiver_text".localized() let recieverText = "receiver_text".localized()
@ -29,9 +29,12 @@ class SendMoneyReceiptViewController: UIViewController {
let totalSentAmountText = "total_sent_amount_text".localized() let totalSentAmountText = "total_sent_amount_text".localized()
let branchText = "branch_text".localized() let branchText = "branch_text".localized()
let accountNumberText = "account_number_text".localized() let accountNumberText = "account_number_text".localized()
let totalPayoutAmountText = "total_payout_amount_text".localized()
let serviceFeeText = "service_fee_text".localized() let serviceFeeText = "service_fee_text".localized()
let exRateText = "ex_rate_text".localized() let exRateText = "ex_rate_text".localized()
let payoutAmountText = "total_amount_text".localized() let payoutAmountText = "total_amount_text".localized()
let gmeControlNumberText = "gme_control_no_text".localized()
let doneText = "done_text".localized()
} }
@IBOutlet weak var fullnameLabel: UILabel! @IBOutlet weak var fullnameLabel: UILabel!
@ -160,6 +163,8 @@ class SendMoneyReceiptViewController: UIViewController {
self.serviceTitleLabel.text = StringConstants().serviceFeeText self.serviceTitleLabel.text = StringConstants().serviceFeeText
self.exRateTitleLabel.text = StringConstants().exRateText self.exRateTitleLabel.text = StringConstants().exRateText
self.totalPayoutAmountTitleLabel.text = StringConstants().payoutAmountText self.totalPayoutAmountTitleLabel.text = StringConstants().payoutAmountText
self.sentAmountTitleLabel.text = StringConstants().totalSentAmountText
self.doneButton.setTitle(StringConstants().doneText, for: UIControlState.normal)
} }
func setupBackButton() { func setupBackButton() {
@ -212,11 +217,11 @@ class SendMoneyReceiptViewController: UIViewController {
self.exchangeRateLabel.text = self.reciept?.exRate self.exchangeRateLabel.text = self.reciept?.exRate
let controlNo = self.reciept?.controNo ?? "" let controlNo = self.reciept?.controNo ?? ""
self.gmeControlNumberLabel.text = "GME Control No: " + controlNo
self.gmeControlNumberLabel.text = StringConstants().gmeControlNumberText + ": " + controlNo
let totalAmount = self.reciept?.payoutAmount ?? "" let totalAmount = self.reciept?.payoutAmount ?? ""
// let _totalAmt = Utility.getCommaSeperatedString(numberString: totalAmount) ?? "" // let _totalAmt = Utility.getCommaSeperatedString(numberString: totalAmount) ?? ""
self.totalAmountLabel.text = totalAmount self.totalAmountLabel.text = totalAmount
self.totalAmountHeaderLabel.text = "Total Payout Amount: \(totalAmount)"
self.totalAmountHeaderLabel.text = StringConstants().totalPayoutAmountText + ": \(totalAmount)"
} }
} }

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

@ -340,7 +340,7 @@ extension SendMoneyVerificationViewController: TransKeyViewDelegate {
numberCipherString = mNumberTransKeyView?.mTK_GetSecureData() numberCipherString = mNumberTransKeyView?.mTK_GetSecureData()
self.encryptedNumber = numberCipherString self.encryptedNumber = numberCipherString
self.encryptedText = String(format:"Number Cipher Text : %@", numberCipherString)
self.encryptedText = numberCipherString
targetView = mNumberTransKeyView targetView = mNumberTransKeyView
} }

Loading…
Cancel
Save