From c9492522431bade4a23bd9e9bf64a1ddf890fc97 Mon Sep 17 00:00:00 2001 From: TigerxWood Date: Wed, 17 Jun 2020 01:03:29 +0300 Subject: [PATCH] Update string for translation --- src/redux/actions/wallet.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/redux/actions/wallet.js b/src/redux/actions/wallet.js index 896ec69..a554590 100644 --- a/src/redux/actions/wallet.js +++ b/src/redux/actions/wallet.js @@ -169,8 +169,8 @@ export function doSendDraftTransaction(address, amount) { if (balance - amount <= 0) { dispatch( doToast({ - title: 'Insufficient credits', - message: 'Insufficient credits', + title: __('Insufficient credits'), + message: __('Insufficient credits'), }) ); return; @@ -187,8 +187,8 @@ export function doSendDraftTransaction(address, amount) { }); dispatch( doToast({ - message: `You sent ${amount} LBC`, - linkText: 'History', + message: __('You sent ${amount} LBC'), + linkText: __('History'), linkTarget: '/wallet', }) ); @@ -199,7 +199,7 @@ export function doSendDraftTransaction(address, amount) { }); dispatch( doToast({ - message: 'Transaction failed', + message: __('Transaction failed'), isError: true, }) ); @@ -213,7 +213,7 @@ export function doSendDraftTransaction(address, amount) { }); dispatch( doToast({ - message: 'Transaction failed', + message: __('Transaction failed'), isError: true, }) ); @@ -266,7 +266,7 @@ export function doSendTip(params, isSupport, successCallback, errorCallback) { ? __('You deposited %amount% LBC as a support!', { amount: params.amount }) : __('You sent %amount% LBC as a tip, Mahalo!', { amount: params.amount }), linkText: __('History'), - linkTarget: __('/wallet'), + linkTarget: '/wallet', }) );