Browse Source

transaction history localized in sidemenu

pull/1/head
gme_2 6 years ago
parent
commit
82c603e08f
  1. 2
      GMERemittance/Module/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift
  2. 6
      GMERemittance/Module/Home/User Interface/View/Home.storyboard
  3. 2
      GMERemittance/Module/ResendExchange/User Interface/View/ResendExchangeViewController.swift
  4. 2
      GMERemittance/Module/SendMoney/SendMoneyReceipt/User Interface/View/SendMoneyReceiptViewController.swift
  5. 1
      GMERemittance/SideMenu/SideMenu.storyboard
  6. 3
      GMERemittance/SideMenu/SideMenuViewController.swift

2
GMERemittance/Module/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift

@ -83,7 +83,7 @@ class HomeCollectionTableViewCell: UITableViewCell, UICollectionViewDelegateFlow
let transactionStatementMenu = HomeCollectionModel()
transactionStatementMenu.index = 4
transactionStatementMenu.title = "resend_text".localized()
transactionStatementMenu.title = "resend_money_text".localized()
let image = UIImage.init(named: "ic_menu_sendmoney")
transactionStatementMenu.icon = image

6
GMERemittance/Module/Home/User Interface/View/Home.storyboard

@ -16,8 +16,8 @@
<array key="SanFranciscoDisplay-Regular.otf">
<string>SanFranciscoDisplay-Regular</string>
</array>
<array key="SanFranciscoText-Regular.otf">
<string>SanFranciscoText-Regular</string>
<array key="SanFranciscoText-Bold.otf">
<string>SanFranciscoText-Bold</string>
</array>
</customFonts>
<scenes>
@ -284,7 +284,7 @@
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Send Money" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1gB-BN-h1P">
<rect key="frame" x="24" y="121.5" width="122" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Bold" family="San Francisco Text" pointSize="14"/>
<color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>

2
GMERemittance/Module/ResendExchange/User Interface/View/ResendExchangeViewController.swift

@ -33,6 +33,8 @@ class ResendExchangeViewController: UIViewController {
@IBOutlet weak var youSendTitleLabel: UILabel!
@IBOutlet weak var recipientGetsTitleLabel: UILabel!
// MARK: Properties
var reciepient: Recipient? {

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

@ -165,6 +165,8 @@ class SendMoneyReceiptViewController: UIViewController {
self.totalPayoutAmountTitleLabel.text = StringConstants().payoutAmountText
self.sentAmountTitleLabel.text = StringConstants().totalSentAmountText
self.doneButton.setTitle(StringConstants().doneText, for: UIControlState.normal)
self.requestToCancelButton.setTitle("request_to_cancel_text".localized(), for: UIControlState.normal)
self.requestToChangeButton.setTitle("request_to_change_text".localized(), for: UIControlState.normal)
}
func setupBackButton() {

1
GMERemittance/SideMenu/SideMenu.storyboard

@ -623,6 +623,7 @@
<outlet property="roundedBgView" destination="ZoG-VG-s0S" id="pCf-XI-BrX"/>
<outlet property="settingButton" destination="74r-QV-rod" id="Cj9-bK-J5D"/>
<outlet property="settingIconImageView" destination="fgo-RA-LTU" id="C0O-gL-tAC"/>
<outlet property="transactionHistryButton" destination="WBh-cb-774" id="GSl-r3-Wxv"/>
<outlet property="withdrawButton" destination="FVY-Si-dtB" id="L7H-Qf-LwZ"/>
</connections>
</viewController>

3
GMERemittance/SideMenu/SideMenuViewController.swift

@ -59,6 +59,7 @@ class SideMenuViewController: UIViewController {
@IBOutlet weak var manageAccountStackView: UIStackView!
@IBOutlet weak var availableBalanceTitleLabel: UILabel!
@IBOutlet weak var gmeWalletNoTitleLabel: UILabel!
@IBOutlet weak var transactionHistryButton: UIButton!
@ -110,6 +111,8 @@ class SideMenuViewController: UIViewController {
self.availableBalanceTitleLabel.text = StringConstants().availableBalanceTitleLabelText
self.gmeWalletNoTitleLabel.text = StringConstants().gmeWalletNoTitleText
self.withdrawButton.setTitle(StringConstants().withdrawButtonText, for: UIControlState.normal)
self.transactionHistryButton.setTitle("transaction_report_text".localized(), for: UIControlState.normal)
}
@objc private func updateBalance(sender: Notification) {

Loading…
Cancel
Save