Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit ecfe2f0

Browse files
committed
Merge pull request #351 from brave/token-grant
Fixes locale mix
1 parent 54a6ecb commit ecfe2f0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/features/rewards/walletSummary/__snapshots__/spec.tsx.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ exports[`WalletSummary tests basic tests matches the snapshot 1`] = `
196196
<div
197197
className="c5"
198198
>
199-
MISSING: tokenGrant
199+
MISSING: tokenGrantClaimed
200200
</div>
201201
<div
202202
className="c6"

src/features/rewards/walletSummary/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default class WalletSummary extends React.PureComponent<Props, {}> {
4848
const list = [
4949
{
5050
key: 'grant',
51-
translation: 'tokenGrant',
51+
translation: 'tokenGrantClaimed',
5252
color: 'earnings'
5353
},
5454
{

stories/assets/locale.ts

+1
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ const locale: Record<string, string> = {
174174
titleETH: 'Etherium (ETH)',
175175
titleLTC: 'Lite Coin (LTC)',
176176
tokenGrant: 'Token Grants',
177+
tokenGrantClaimed: 'Token Grants Claimed',
177178
tokens: 'tokens',
178179
total: 'Total',
179180
transactions: 'Transactions',

0 commit comments

Comments
 (0)