From d9a0e7c65508f749a4f18c50a0f656b0ddf547bb Mon Sep 17 00:00:00 2001
From: eatdostacos <64234158+eatdostacos@users.noreply.github.com>
Date: Tue, 23 Jun 2020 13:41:01 -0700
Subject: [PATCH] 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.
---
static/app-strings.json | 3 ++-
ui/component/claimInsufficientCredits/view.jsx | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/static/app-strings.json b/static/app-strings.json
index 6de59e9a6..e0c97848f 100644
--- a/static/app-strings.json
+++ b/static/app-strings.json
@@ -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.",
diff --git a/ui/component/claimInsufficientCredits/view.jsx b/ui/component/claimInsufficientCredits/view.jsx
index e9162a098..9e5fc74f6 100644
--- a/ui/component/claimInsufficientCredits/view.jsx
+++ b/ui/component/claimInsufficientCredits/view.jsx
@@ -22,10 +22,11 @@ function ClaimInsufficientCredits(props: Props) {
,
+ buy_link: ,
}}
>
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.
);