From 907817fd2f1ec2a97b4f0bf8e80d008b5b791acc Mon Sep 17 00:00:00 2001 From: Hwee-Boon Yar Date: Wed, 8 Dec 2021 12:17:53 +0800 Subject: [PATCH] Add missing localization strings: Buy button --- AlphaWallet/Core/BuyToken/Ramp/Ramp.swift | 2 +- AlphaWallet/Localization/en.lproj/Localizable.strings | 1 + AlphaWallet/Localization/es.lproj/Localizable.strings | 1 + AlphaWallet/Localization/ja.lproj/Localizable.strings | 1 + AlphaWallet/Localization/ko.lproj/Localizable.strings | 1 + AlphaWallet/Localization/zh-Hans.lproj/Localizable.strings | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/AlphaWallet/Core/BuyToken/Ramp/Ramp.swift b/AlphaWallet/Core/BuyToken/Ramp/Ramp.swift index 9d623fe56..f86191adb 100644 --- a/AlphaWallet/Core/BuyToken/Ramp/Ramp.swift +++ b/AlphaWallet/Core/BuyToken/Ramp/Ramp.swift @@ -10,7 +10,7 @@ import UIKit struct Ramp: TokenActionsProvider, BuyTokenURLProviderType { var action: String { - return "Buy" + return R.string.localizable.aWalletTokenBuyTitle() } var account: Wallet diff --git a/AlphaWallet/Localization/en.lproj/Localizable.strings b/AlphaWallet/Localization/en.lproj/Localizable.strings index b38b8475a..0074fc4e8 100644 --- a/AlphaWallet/Localization/en.lproj/Localizable.strings +++ b/AlphaWallet/Localization/en.lproj/Localizable.strings @@ -544,6 +544,7 @@ "a.wallet.token.arbitrumBridge.button.title" = "Convert to Arbitrum"; "a.wallet.token.buy.xDai.title" = "Buy xDai"; "buyCrypto.title" = "Buy Crypto"; +"a.wallet.token.buy.title" = "Buy"; "qrCode.myqrCode.title" = "My QR Code"; "qrCode.sendToAddress.title" = "Send to this Address"; "qrCode.watchWallet.title" = "Watch Wallet"; diff --git a/AlphaWallet/Localization/es.lproj/Localizable.strings b/AlphaWallet/Localization/es.lproj/Localizable.strings index f7e7d58e6..f92cfa952 100644 --- a/AlphaWallet/Localization/es.lproj/Localizable.strings +++ b/AlphaWallet/Localization/es.lproj/Localizable.strings @@ -544,6 +544,7 @@ "a.wallet.token.arbitrumBridge.button.title" = "Convert to Arbitrum"; "a.wallet.token.buy.xDai.title" = "Buy xDai"; "buyCrypto.title" = "Buy Crypto"; +"a.wallet.token.buy.title" = "Buy"; "qrCode.myqrCode.title" = "My QR Code"; "qrCode.sendToAddress.title" = "Send to this Address"; "qrCode.watchWallet.title" = "Watch Wallet"; diff --git a/AlphaWallet/Localization/ja.lproj/Localizable.strings b/AlphaWallet/Localization/ja.lproj/Localizable.strings index 1493107d6..f997e2e4b 100644 --- a/AlphaWallet/Localization/ja.lproj/Localizable.strings +++ b/AlphaWallet/Localization/ja.lproj/Localizable.strings @@ -544,6 +544,7 @@ "a.wallet.token.arbitrumBridge.button.title" = "Convert to Arbitrum"; "a.wallet.token.buy.xDai.title" = "Buy xDai"; "buyCrypto.title" = "Buy Crypto"; +"a.wallet.token.buy.title" = "Buy"; "qrCode.myqrCode.title" = "My QR Code"; "qrCode.sendToAddress.title" = "Send to this Address"; "qrCode.watchWallet.title" = "Watch Wallet"; diff --git a/AlphaWallet/Localization/ko.lproj/Localizable.strings b/AlphaWallet/Localization/ko.lproj/Localizable.strings index 63c1ec95e..fe70e56fc 100644 --- a/AlphaWallet/Localization/ko.lproj/Localizable.strings +++ b/AlphaWallet/Localization/ko.lproj/Localizable.strings @@ -544,6 +544,7 @@ "a.wallet.token.arbitrumBridge.button.title" = "Convert to Arbitrum"; "a.wallet.token.buy.xDai.title" = "Buy xDai"; "buyCrypto.title" = "Buy Crypto"; +"a.wallet.token.buy.title" = "Buy"; "qrCode.myqrCode.title" = "My QR Code"; "qrCode.sendToAddress.title" = "Send to this Address"; "qrCode.watchWallet.title" = "Watch Wallet"; diff --git a/AlphaWallet/Localization/zh-Hans.lproj/Localizable.strings b/AlphaWallet/Localization/zh-Hans.lproj/Localizable.strings index a3c5aeb74..797677b84 100644 --- a/AlphaWallet/Localization/zh-Hans.lproj/Localizable.strings +++ b/AlphaWallet/Localization/zh-Hans.lproj/Localizable.strings @@ -544,6 +544,7 @@ "a.wallet.token.arbitrumBridge.button.title" = "Convert to Arbitrum"; "a.wallet.token.buy.xDai.title" = "Buy xDai"; "buyCrypto.title" = "Buy Crypto"; +"a.wallet.token.buy.title" = "Buy"; "qrCode.myqrCode.title" = "My QR Code"; "qrCode.sendToAddress.title" = "Send to this Address"; "qrCode.watchWallet.title" = "Watch Wallet";