Skip to content

Commit

Permalink
Merge pull request #1739 from brave/panel-translation
Browse files Browse the repository at this point in the history
Fixes missing panel translations
  • Loading branch information
NejcZdovc committed Feb 21, 2019
2 parents 6fd8bd7 + 26c881d commit dbb7ede
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,5 +332,13 @@
"walletFailedButton": {
"message": "Try again",
"description": "Button for re-try after wallet creation failed"
},
"addFunds": {
"message": "Add funds",
"description": "Button for adding funds"
},
"rewardsSettings": {
"message": "Rewards Settings",
"description": "Button for opening settings page"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,12 @@ export class Panel extends React.Component<Props, State> {
converted={utils.formatConverted(converted)}
actions={[
{
name: 'Add funds',
name: getMessage('addFunds'),
action: this.openRewardsAddFundsPage,
icon: <WalletAddIcon />
},
{
name: 'Rewards Settings',
name: getMessage('rewardsSettings'),
action: this.openRewardsPage,
icon: <BatColorIcon />
}
Expand Down

0 comments on commit dbb7ede

Please sign in to comment.