diff --git a/static/app-strings.json b/static/app-strings.json index eb3d0ea1f..4f221addf 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -940,5 +940,7 @@ "%view_count% Views": "%view_count% Views", "1 View": "1 View", "There was an error. It's been reported and will be fixed. Try %refreshing_the_app_link% to fix it. If that doesn't work, try pressing Ctrl+R/Cmd+R.": "There was an error. It's been reported and will be fixed. Try %refreshing_the_app_link% to fix it. If that doesn't work, try pressing Ctrl+R/Cmd+R.", - "Upload your thumbnail to %speech_link%. Recommended size is 16:9.": "Upload your thumbnail to %speech_link%. Recommended size is 16:9." -} + "Upload your thumbnail to %speech_link%. Recommended size is 16:9.": "Upload your thumbnail to %speech_link%. Recommended size is 16:9.", + "Get %amount% LBC": "Get %amount% LBC", + "Get %range% LBC": "Get %range% LBC" +} \ No newline at end of file diff --git a/ui/component/rewardLink/view.jsx b/ui/component/rewardLink/view.jsx index 844b282a0..7edb4cc63 100644 --- a/ui/component/rewardLink/view.jsx +++ b/ui/component/rewardLink/view.jsx @@ -23,9 +23,9 @@ const RewardLink = (props: Props) => { } else if (label) { displayLabel = label; } else if (reward && reward.reward_range && reward.reward_range.includes('-')) { - displayLabel = `${__('Get')} ${reward.reward_range} LBC`; + displayLabel = __('Get %range% LBC', { range: reward.reward_range }); } else if (reward && reward.reward_amount > 0) { - displayLabel = `${__('Get')} ${reward.reward_amount} LBC`; + displayLabel = __('Get %amount% LBC', { amount: reward.reward_amount }); } else { displayLabel = __('Get ??? LBC'); }