Skip to content

Commit

Permalink
Merge pull request #1402 from brave/token-grant
Browse files Browse the repository at this point in the history
Fixes grant locale mix
  • Loading branch information
NejcZdovc authored Jan 21, 2019
2 parents 6da3ac8 + 4cb9faf commit cdfba01
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 33 deletions.
2 changes: 1 addition & 1 deletion browser/ui/webui/brave_webui_source.cc
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ void CustomizeWebUIHTMLSource(const std::string &name, content::WebUIDataSource*
{ "titleBTC", IDS_BRAVE_UI_TITLE_BTC},
{ "titleETH", IDS_BRAVE_UI_TITLE_ETH},
{ "titleLTC", IDS_BRAVE_UI_TITLE_LTC},
{ "tokenGrant", IDS_BRAVE_UI_TOKEN_GRANT },
{ "tokenGrantClaimed", IDS_BRAVE_UI_TOKEN_GRANT_CLAIMED },
{ "tokens", IDS_BRAVE_UI_TOKENS },
{ "total", IDS_BRAVE_UI_TOTAL },
{ "transactions", IDS_BRAVE_UI_TRANSACTIONS },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@
"description": "Month"
},
"tokenGrant": {
"message": "Token Grants",
"description": "Title for grant notification"
},
"tokenGrantClaimed": {
"message": "Token Grants Claimed",
"description": "Title for grant section in wallet summary"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const getUIMessages = (): Record<string, string> => {
'rewardsContributeAttentionScore',
'rewardsSummary',
'tokenGrant',
'tokenGrantClaimed',
'unVerifiedPublisher',
'unVerifiedText',
'unVerifiedTextMore',
Expand Down
2 changes: 1 addition & 1 deletion components/resources/brave_components_strings.grd
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
<message name="IDS_BRAVE_UI_TITLE_BTC" desc="">Bitcoin (BTC)</message>
<message name="IDS_BRAVE_UI_TITLE_ETH" desc="">Ethereum (ETH)</message>
<message name="IDS_BRAVE_UI_TITLE_LTC" desc="">Litecoin (LTC)</message>
<message name="IDS_BRAVE_UI_TOKEN_GRANT" desc="">Token Grants Claimed</message>
<message name="IDS_BRAVE_UI_TOKEN_GRANT_CLAIMED" desc="">Token Grants Claimed</message>
<message name="IDS_BRAVE_UI_TOKENS" desc="">tokens</message>
<message name="IDS_BRAVE_UI_TOTAL" desc="">Total</message>
<message name="IDS_BRAVE_UI_TRANSACTIONS" desc="">Transactions</message>
Expand Down
60 changes: 30 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
"@types/react-dom": "^16.0.7",
"@types/react-redux": "6.0.4",
"awesome-typescript-loader": "^5.2.0",
"brave-ui": "github:brave/brave-ui#5bafe81d7043cc87021e9f2aea99867165534d42",
"brave-ui": "github:brave/brave-ui#d0369cb8a3c075f863abbb5d8bdc33ab67f84da2",
"css-loader": "^0.28.9",
"csstype": "^2.5.5",
"emptykit.css": "^1.0.1",
Expand Down

0 comments on commit cdfba01

Please sign in to comment.