Add missing t(...) wrapper (#3094)

This commit is contained in:
Jaco Greeff 2020-06-29 16:39:01 +02:00 committed by GitHub
parent 328eac50ea
commit 728c2f9837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@
"Payout": "Payout",
"Payout all": "Payout all",
"Payout all stakers": "Payout all stakers",
"Payouts": "Payouts",
"Retrieving info for all applicable eras, this will take some time": "Retrieving info for all applicable eras, this will take some time",
"Retrieving info for last {{numEras}} eras, this will take some time": "Retrieving info for last {{numEras}} eras, this will take some time",
"Rewards (once paid) can be deposited to either the stash or controller, with different effects.": "Rewards (once paid) can be deposited to either the stash or controller, with different effects.",

View File

@ -61,7 +61,7 @@ function StakingApp ({ basePath, className = '' }: Props): React.ReactElement<Pr
isFunction(api.query.staking.activeEra)
? {
name: 'payout',
text: 'Payouts'
text: t<string>('Payouts')
}
: null,
{