Add 'noActivity' i18n string from brave-ui rewards-panel

This commit is contained in:
petemill
2018-11-27 14:40:18 -08:00
parent f8f2b2e5bf
commit f363c7f9e1
4 changed files with 8 additions and 1 deletions
+1
View File
@@ -320,6 +320,7 @@ void CustomizeWebUIHTMLSource(const std::string &name, content::WebUIDataSource*
{ "monthSep", IDS_BRAVE_UI_MONTH_SEP },
{ "newGrant", IDS_BRAVE_UI_NEW_GRANT },
{ "newTokenGrant", IDS_BRAVE_UI_NEW_TOKEN_GRANT },
{ "noActivity", IDS_BRAVE_UI_NO_ACTIVITY },
{ "noGrants", IDS_BRAVE_UI_NO_GRANTS },
{ "notEnoughTokens", IDS_BRAVE_UI_NOT_ENOUGH_TOKENS },
{ "noThankYou", IDS_BRAVE_UI_NO_THANK_YOU },
@@ -196,5 +196,9 @@
"contributeNotificationTipError": {
"message": "There was a problem processing your tip, please try again.",
"description": "We show this string in notification when tip fails"
},
"noActivity": {
"message": "No activities yet…",
"description": "Allows the user to see that there have been no transactions or other activity in their wallet"
}
}
@@ -64,7 +64,8 @@ export const getUIMessages = (): Record<string, string> => {
'welcomeFooterTextTwo',
'welcomeHeaderOne',
'welcomeHeaderTwo',
'yourWallet'
'yourWallet',
'noActivity',
]
let translations = {}
@@ -318,6 +318,7 @@
<message name="IDS_BRAVE_UI_NEW_GRANT" desc="">A free token grant is available.</message>
<message name="IDS_BRAVE_UI_NEW_TOKEN_GRANT" desc="">Free Token Grant</message>
<message name="IDS_BRAVE_UI_NO_GRANTS" desc="">Currently no token grant is available.</message>
<message name="IDS_BRAVE_UI_NO_ACTIVITY" desc="">No activities yet…</message>
<message name="IDS_BRAVE_UI_NO_THANK_YOU" desc="">No, thank you</message>
<message name="IDS_BRAVE_UI_NOT_ENOUGH_TOKENS" desc="">Not enough tokens. Please</message>
<message name="IDS_BRAVE_UI_OFF" desc="">off</message>