diff --git a/components/brave_rewards/resources/extension/brave_rewards/_locales/en_US/messages.json b/components/brave_rewards/resources/extension/brave_rewards/_locales/en_US/messages.json index f7b0b16134ef..fd3501643f1e 100644 --- a/components/brave_rewards/resources/extension/brave_rewards/_locales/en_US/messages.json +++ b/components/brave_rewards/resources/extension/brave_rewards/_locales/en_US/messages.json @@ -1,192 +1,188 @@ { "braveRewards": { "message": "Brave Rewards", - "description": "" + "description": "Title in welcome screen for the panel" }, "welcomeButtonTextOne": { "message": "Start Earning Now!", - "description": "" + "description": "CTA on welcome screen in the panel, existing users" }, "welcomeButtonTextTwo": { "message": "Join Rewards", - "description": "" + "description": "CTA on welcome screen in the panel, new users" }, "welcomeDescOne": { "message": "Get paid for viewing ads and pay it forward to support your favorite content creators.", - "description": "" + "description": "Entry text for welcome screen in the panel, existing user" }, "welcomeDescTwo": { "message": "You can now earn tokens for watching privacy-respecting ads.", - "description": "" + "description": "Entry text for welcome screen in the panel, new user" }, "welcomeFooterTextOne": { "message": "Check out what’s improved", - "description": "" + "description": "Link in the footer (takes you to rewards settings page) for welcome screen in the panel, existing user" }, "welcomeFooterTextTwo": { "message": "Learn More", - "description": "" + "description": "Link in the footer (takes you to rewards settings page) for welcome screen in the panel, new user" }, "welcomeHeaderOne": { "message": "We’ve given Brave Payments a big upgrade.", - "description": "" + "description": "Main header title for welcome screen in the panel, existing user" }, "welcomeHeaderTwo": { "message": "Get ready to experience the next Internet.", - "description": "" + "description": "Main header title for welcome screen in the panel, new user" }, "yourWallet": { "message": "Your wallet", - "description": "" + "description": "Title of wallet section where we display data about wallet" }, "grants": { "message": "Grants", - "description": "" + "description": "Title for grant section in wallet summary" }, "on": { "message": "on", - "description": "" + "description": "The whole string is 'Enable tips on YouTube for like.'" }, "verifiedPublisher": { "message": "Brave Verified Publisher", - "description": "" + "description": "Tells user that this particular publisher is verified publisher" }, "rewardsContributeAttentionScore": { "message": "Attention", - "description": "" + "description": "Label for auto contribute table attention for the publisher" }, "donateMonthly": { "message": "Tip this site monthly", - "description": "" + "description": "Label for drop down menu where user select amount for monthly contribution for particular publisher" }, "includeInAuto": { "message": "Include in Auto-Contribute", - "description": "" + "description": "Label for checkbox that allows user to exclude publishers from auto contribute" }, "donateNow": { "message": "Send a Tip…", - "description": "" + "description": "CTA for sending tip form site banner" }, "enableTips": { "message": "Enable Tips", - "description": "" + "description": "The whole string is 'Enable tips on YouTube for like.'" }, "for": { "message": "for", - "description": "" + "description": "The whole string is 'Enable tips on YouTube for like.'" }, "rewardsSummary": { "message": "Rewards Summary", - "description": "" + "description": "Section title in wallet panel, which contains monthly rewards summary" }, "monthApr": { "message": "April", - "description": "" + "description": "Month" }, "monthAug": { "message": "August", - "description": "" + "description": "Month" }, "monthDec": { "message": "December", - "description": "" + "description": "Month" }, "monthFeb": { "message": "February", - "description": "" + "description": "Month" }, "monthJan": { "message": "January", - "description": "" + "description": "Month" }, "monthJul": { "message": "July", - "description": "" + "description": "Month" }, "monthJun": { "message": "June", - "description": "" + "description": "Month" }, "monthMar": { "message": "March", - "description": "" + "description": "Month" }, "monthMay": { "message": "May", - "description": "" + "description": "Month" }, "monthNov": { "message": "November", - "description": "" + "description": "Month" }, "monthOct": { "message": "October", - "description": "" + "description": "Month" }, "monthSep": { "message": "September", - "description": "" + "description": "Month" }, "tokenGrant": { "message": "Token Grant", - "description": "" + "description": "Title for grant section in wallet summary" }, "earningsAds": { "message": "Earnings from Ads", - "description": "" + "description": "Title for ads section in wallet summary" }, "rewardsContribute": { "message": "Auto-Contribute", - "description": "" + "description": "Title for auto contribute section in wallet summary" }, "oneTimeDonation": { "message": "One-Time Tips", - "description": "" - }, - "total": { - "message": "Total", - "description": "" + "description": "Title for one time tips section in wallet summary" }, "expiresOn": { "message": "expires on", - "description": "" + "description": "Used for grant representation. Whole string is '30.0 BAT expires on 08/05/2022'" }, "recurringDonations": { "message": "Monthly Tips", - "description": "" + "description": "Title for monthly tips section in wallet summary" }, "off": { "message": "Off", - "description": "" + "description": "Label used in toggle indicating that toggle is off" }, "ok": { "message": "ok", - "description": "" + "description": "Used in notification to dismiss notification" }, "braveAdsTitle": { "message": "Brave Ads", - "description": "" + "description": "Notification title when we display info about ads" }, "braveContributeTitle": { "message": "Auto-Contribute", - "description": "" + "description": "Notification title when we display info about auto contribution" }, "contributeNotification": { - "message": "You've contributed $amount$BAT", - "description": "", + "message": "You've contributed $amount$ BAT", + "description": "Description for successful contribution notification", "placeholders": { "amount": { "content": "$1", - "example": "10" + "example": "10.0" } } }, "grantNotification": { "message": "You have a grant waiting for you.", - "description": "" + "description": "Description for new grant notification" }, "braveRewardsCreatingText": { "message": "Creating wallet", - "description": "" + "description": "Used in a button displaying wallet creation process" } } diff --git a/components/brave_rewards/resources/extension/brave_rewards/background/api/locale_api.ts b/components/brave_rewards/resources/extension/brave_rewards/background/api/locale_api.ts index 9d1f60f0aa78..e78bf44273d2 100644 --- a/components/brave_rewards/resources/extension/brave_rewards/background/api/locale_api.ts +++ b/components/brave_rewards/resources/extension/brave_rewards/background/api/locale_api.ts @@ -22,7 +22,9 @@ export const getMessage = (message: string, substitutions?: string[]): string => export const getUIMessages = (): Record => { const strings = [ + 'braveAdsTitle', 'braveRewards', + 'braveRewardsCreatingText', 'donateMonthly', 'donateNow', 'earningsAds', @@ -44,6 +46,7 @@ export const getUIMessages = (): Record => { 'monthOct', 'monthSep', 'off', + 'ok', 'on', 'oneTimeDonation', 'recurringDonations', @@ -51,7 +54,6 @@ export const getUIMessages = (): Record => { 'rewardsContributeAttentionScore', 'rewardsSummary', 'tokenGrant', - 'total', 'verifiedPublisher', 'welcomeButtonTextOne', 'welcomeButtonTextTwo',