Add link to buy LBC when you don't have enough for paid content

I added the link and I updated the strings to accomodate updated content.
This commit is contained in:
eatdostacos 2020-06-23 13:41:01 -07:00 committed by Sean Yesmunt
parent adb2a60d58
commit d9a0e7c655
2 changed files with 4 additions and 2 deletions

View file

@ -214,7 +214,7 @@
"View": "View",
"Edit": "Edit",
"Copied": "Copied",
"The publisher has chosen to charge LBC to view this content. Your balance is currently too low to view it. Check out %reward_link% for free LBC or send more LBC to your wallet.": "The publisher has chosen to charge LBC to view this content. Your balance is currently too low to view it. Check out %reward_link% for free LBC or send more LBC to your wallet.",
"The publisher has chosen to charge LBC to view this content. Your balance is currently too low to view it. Check out %reward_link% for free LBC or send more LBC to your wallet. You can also %buy_link% more LBC.": "The publisher has chosen to charge LBC to view this content. Your balance is currently too low to view it. Check out %reward_link% for free LBC or send more LBC to your wallet. You can also %buy_link% more LBC.",
"Connecting...": "Connecting...",
"Comments": "Comments",
"Comment": "Comment",
@ -1171,6 +1171,7 @@
"We will refund no questions asked within 30 days.": "We will refund no questions asked within 30 days.",
"Your Wallet": "Your Wallet",
"Buy": "Buy",
"buy": "buy",
"Buy LBRY Credits": "Buy LBRY Credits",
"Country": "Country",
"Only some countries are eligible at this time. We are working to make this available to everyone.": "Only some countries are eligible at this time. We are working to make this available to everyone.",

View file

@ -22,10 +22,11 @@ function ClaimInsufficientCredits(props: Props) {
<I18nMessage
tokens={{
reward_link: <Button button="link" navigate="/$/rewards" label={__('Rewards')} />,
buy_link: <Button button="link" navigate="/$/rewards" label={__('buy')} />,
}}
>
The publisher has chosen to charge LBC to view this content. Your balance is currently too low to view it. Check
out %reward_link% for free LBC or send more LBC to your wallet.
out %reward_link% for free LBC or send more LBC to your wallet. You can also %buy_link% more LBC.
</I18nMessage>
</div>
);