From 00485532d52259ee65116d5464b19d1bccc8ff9b Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 21 Feb 2020 12:23:04 -0500 Subject: [PATCH] add wallet sync message on wallet page --- static/app-strings.json | 7 ++++++- ui/component/common/help-link.jsx | 7 ++++--- ui/component/router/view.jsx | 2 ++ ui/component/walletBalance/index.js | 3 ++- ui/component/walletBalance/view.jsx | 30 ++++++++++++++++++++++++++++- ui/page/backup/index.js | 2 ++ ui/page/backup/view.jsx | 14 ++++++++++++++ ui/page/help/view.jsx | 2 -- 8 files changed, 59 insertions(+), 8 deletions(-) create mode 100644 ui/page/backup/index.js create mode 100644 ui/page/backup/view.jsx diff --git a/static/app-strings.json b/static/app-strings.json index 9b65203cc..be30490b7 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -962,5 +962,10 @@ "Sign in with lbry.tv to receive notifications about new content.": "Sign in with lbry.tv to receive notifications about new content.", "Find new channels to follow": "Find new channels to follow", "You aren't currently following any channels. %discover_channels_link%.": "You aren't currently following any channels. %discover_channels_link%.", - "LBRY Works Better If You Are Following Channels": "LBRY Works Better If You Are Following Channels" + "LBRY Works Better If You Are Following Channels": "LBRY Works Better If You Are Following Channels", + "Your wallet is not currently synced with lbry.tv. You are in control of backing up your wallet.": "Your wallet is not currently synced with lbry.tv. You are in control of backing up your wallet.", + "A copy of your wallet is synced to lbry.tv": "A copy of your wallet is synced to lbry.tv", + "Saved zip archive to %outputPath%": "Saved zip archive to %outputPath%", + "A backup of your wallet is synced with lbry.tv": "A backup of your wallet is synced with lbry.tv", + "A backup of your wallet is synced with lbry.tv.": "A backup of your wallet is synced with lbry.tv." } \ No newline at end of file diff --git a/ui/component/common/help-link.jsx b/ui/component/common/help-link.jsx index 867288f1e..da942c806 100644 --- a/ui/component/common/help-link.jsx +++ b/ui/component/common/help-link.jsx @@ -4,10 +4,11 @@ import React from 'react'; import Button from 'component/button'; type Props = { - href: string, + href?: string, + navigate?: string, }; export default function HelpLink(props: Props) { - const { href } = props; - return