Get x LBC => Claim x LBC

This commit is contained in:
Sean Yesmunt 2020-08-27 14:50:43 -04:00
parent 7e8b2bb184
commit 11c797fa0c
2 changed files with 6 additions and 6 deletions

View file

@ -473,7 +473,7 @@
"Max Connections": "Max Connections",
"For users with good bandwidth, try a higher value to improve streaming and download speeds. Low bandwidth users may benefit from a lower setting. Default is 4.": "For users with good bandwidth, try a higher value to improve streaming and download speeds. Low bandwidth users may benefit from a lower setting. Default is 4.",
"Show All": "Show All",
"Get ??? LBC": "Get ??? LBC",
"Claim ??? LBC": "Claim ??? LBC",
"LBRY names cannot contain spaces or reserved symbols": "LBRY names cannot contain spaces or reserved symbols",
"Creating channel...": "Creating channel...",
"Remember Password": "Remember Password",
@ -708,8 +708,8 @@
"Your deposit must be higher": "Your deposit must be higher",
"%view_count% views": "%view_count% views",
"1 view": "1 view",
"Get %amount% LBC": "Get %amount% LBC",
"Get %range% LBC": "Get %range% LBC",
"Claim %amount% LBC": "Claim %amount% LBC",
"Claim %range% LBC": "Claim %range% LBC",
"Did something go wrong? Have a look in your log file, or send it to %support_link%.": "Did something go wrong? Have a look in your log file, or send it to %support_link%.",
"%amount% LBC": "%amount% LBC",
"%amount% fee": "%amount% fee",

View file

@ -23,11 +23,11 @@ const RewardLink = (props: Props) => {
} else if (label) {
displayLabel = label;
} else if (reward && reward.reward_range && reward.reward_range.includes('-')) {
displayLabel = __('Get %range% LBC', { range: reward.reward_range });
displayLabel = __('Claim %range% LBC', { range: reward.reward_range });
} else if (reward && reward.reward_amount > 0) {
displayLabel = __('Get %amount% LBC', { amount: reward.reward_amount });
displayLabel = __('Claim %amount% LBC', { amount: reward.reward_amount });
} else {
displayLabel = __('Get ??? LBC');
displayLabel = __('Claim ??? LBC');
}
return !reward ? null : (