update reward i18n
This commit is contained in:
parent
5843ca7a37
commit
d401dbaf7c
2 changed files with 6 additions and 4 deletions
|
@ -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"
|
||||
}
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue