Merge pull request #323 from TigerxWood/patch-1

Update strings for translation
This commit is contained in:
Sean Yesmunt 2020-06-17 00:56:27 -04:00 committed by GitHub
commit 72f9d57134
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,8 +169,8 @@ export function doSendDraftTransaction(address, amount) {
if (balance - amount <= 0) { if (balance - amount <= 0) {
dispatch( dispatch(
doToast({ doToast({
title: 'Insufficient credits', title: __('Insufficient credits'),
message: 'Insufficient credits', message: __('Insufficient credits'),
}) })
); );
return; return;
@ -187,8 +187,8 @@ export function doSendDraftTransaction(address, amount) {
}); });
dispatch( dispatch(
doToast({ doToast({
message: `You sent ${amount} LBC`, message: __('You sent ${amount} LBC'),
linkText: 'History', linkText: __('History'),
linkTarget: '/wallet', linkTarget: '/wallet',
}) })
); );
@ -199,7 +199,7 @@ export function doSendDraftTransaction(address, amount) {
}); });
dispatch( dispatch(
doToast({ doToast({
message: 'Transaction failed', message: __('Transaction failed'),
isError: true, isError: true,
}) })
); );
@ -213,7 +213,7 @@ export function doSendDraftTransaction(address, amount) {
}); });
dispatch( dispatch(
doToast({ doToast({
message: 'Transaction failed', message: __('Transaction failed'),
isError: true, isError: true,
}) })
); );
@ -266,7 +266,7 @@ export function doSendTip(params, isSupport, successCallback, errorCallback) {
? __('You deposited %amount% LBC as a support!', { amount: params.amount }) ? __('You deposited %amount% LBC as a support!', { amount: params.amount })
: __('You sent %amount% LBC as a tip, Mahalo!', { amount: params.amount }), : __('You sent %amount% LBC as a tip, Mahalo!', { amount: params.amount }),
linkText: __('History'), linkText: __('History'),
linkTarget: __('/wallet'), linkTarget: '/wallet',
}) })
); );