diff --git a/.eslintrc.json b/.eslintrc.json index 8c1d7d658..50e4be5cb 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -30,6 +30,7 @@ "one-var": 0, "prefer-promise-reject-errors": 0, "react/jsx-indent": 0, + "react/jsx-no-comment-textnodes": 0, "react-hooks/exhaustive-deps": "warn", "react-hooks/rules-of-hooks": "error", "react/no-unescaped-entities": 0, diff --git a/package.json b/package.json index 28cb90b9b..47eb26d92 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "@babel/register": "^7.0.0", "@exponent/electron-cookies": "^2.0.0", "@hot-loader/react-dom": "^16.8", - "@lbry/components": "^4.0.1", + "@lbry/components": "^4.1.2", "@reach/menu-button": "0.7.4", "@reach/rect": "^0.2.1", "@reach/tabs": "^0.1.5", @@ -131,7 +131,7 @@ "json-loader": "^0.5.4", "lbry-format": "https://github.com/lbryio/lbry-format.git", "lbry-redux": "lbryio/lbry-redux#1097a63d44a20b87e443fbaa48f95fe3ea5e3f70", - "lbryinc": "lbryio/lbryinc#0addc624db54000b0447f4539f91f5758d26eef3", + "lbryinc": "lbryio/lbryinc#12aefaa14343d2f3eac01f2683701f58e53f1848", "lint-staged": "^7.0.2", "localforage": "^1.7.1", "lodash-es": "^4.17.14", diff --git a/static/app-strings.json b/static/app-strings.json index be009501c..2981c0ccd 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1116,5 +1116,8 @@ "Repost %count%": "Repost %count%", "File Description": "File Description", "View %count% reposts": "View %count% reposts", - "Preparing your content": "Preparing your content" + "Preparing your content": "Preparing your content", + "Already have an account? %sign_in%": "Already have an account? %sign_in%", + "Sign in with a password (optional)": "Sign in with a password (optional)", + "Don't have an account? %sign_up%": "Don't have an account? %sign_up%" } diff --git a/ui/component/cardVerify/view.jsx b/ui/component/cardVerify/view.jsx index 901ed4963..904973481 100644 --- a/ui/component/cardVerify/view.jsx +++ b/ui/component/cardVerify/view.jsx @@ -165,7 +165,7 @@ class CardVerify extends React.Component { return (
{__('Select some tags to help us show you interesting things.')}
-{errorMessage}
} + {errorMessage &&{errorMessage}
}This action is permanent and cannot be undone.
+This action is permanent and cannot be undone.
)} {/* @if TARGET='app' */} diff --git a/ui/modal/modalRevokeClaim/view.jsx b/ui/modal/modalRevokeClaim/view.jsx index 15aeab54f..c3243b4d9 100644 --- a/ui/modal/modalRevokeClaim/view.jsx +++ b/ui/modal/modalRevokeClaim/view.jsx @@ -71,7 +71,7 @@ export default function ModalRevokeClaim(props: Props) { 'This will prevent others from resolving and accessing the content you published. It will return the LBC to your spendable balance, less a small transaction fee.' )} -{__('FINAL WARNING: This action is permanent and cannot be undone.')}
+{__('FINAL WARNING: This action is permanent and cannot be undone.')}
); } diff --git a/ui/modal/modalWalletEncrypt/view.jsx b/ui/modal/modalWalletEncrypt/view.jsx index 53e0fbf1b..39ed8f986 100644 --- a/ui/modal/modalWalletEncrypt/view.jsx +++ b/ui/modal/modalWalletEncrypt/view.jsx @@ -168,7 +168,7 @@ class ModalWalletEncrypt extends React.PureComponent+
- {isAuthenticationSuccess
- ? __('You can now close this tab.')
- : needsRecaptcha
- ? __('Click below to sign in to lbry.tv')
- : __('Welcome back! You are automatically being signed in.')}
-
- {showCaptchaMessage && !isAuthenticationSuccess && (
-
+ {isAuthenticationSuccess
+ ? __('You can now close this tab.')
+ : needsRecaptcha
+ ? __('Click below to sign in to lbry.tv')
+ : __('Welcome back! You are automatically being signed in.')}
+
+
- {isAuthenticationSuccess ? __('Sign In Success!') : __('Sign In to lbry.tv')}
-
-