From 803a779e9e7fa659cff43de4fa28738ca951c964 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Thu, 10 Mar 2022 12:02:24 +0800 Subject: [PATCH] Fix usages of I18nMessage + missed sign-in verification strings --- static/app-strings.json | 11 ++++++++++- ui/component/livestreamDateTime/view.jsx | 6 ++---- ui/component/membershipSplash/view.jsx | 9 +++------ ui/component/walletSendTip/view.jsx | 9 +++------ ui/page/file/view.jsx | 8 +++----- 5 files changed, 21 insertions(+), 22 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index e23b15ea5..3dffe377b 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -554,7 +554,7 @@ "Latest Transactions": "Latest Transactions", "Looks like you don't have any transactions.": "Looks like you don't have any transactions.", "If Sync is on, LBRY will backup your wallet and preferences. If disabled, you are responsible for keeping a backup.": "If Sync is on, LBRY will backup your wallet and preferences. If disabled, you are responsible for keeping a backup.", - "Your update is now pending on LBRY. It will take a few minutes to appear for other users.": "Your update is now pending on LBRY. It will take a few minutes to appear for other users.", + "Your update is now pending. It will take a few minutes to appear for other users.": "Your update is now pending. It will take a few minutes to appear for other users.", "Your livestream is now pending. You will be able to start shortly at the streaming dashboard.": "Your livestream is now pending. You will be able to start shortly at the streaming dashboard.", "Your content will be live shortly.": "Your content will be live shortly.", "Your video will appear on Odysee shortly.": "Your video will appear on Odysee shortly.", @@ -1303,6 +1303,13 @@ "Closing preferences": "Closing preferences", "You are now signed in.": "You are now signed in.", "Welcome back! You are automatically being signed in.": "Welcome back! You are automatically being signed in.", + "You can now close this tab.": "You can now close this tab.", + "Authentication failure.": "Authentication failure.", + "Invalid or expired sign-in link.": "Invalid or expired sign-in link.", + "Invalid captcha response or other authentication error.": "Invalid captcha response or other authentication error.", + "Not seeing a captcha? Check your ad blocker or try %refresh%.": "Not seeing a captcha? Check your ad blocker or try %refresh%.", + "refreshing": "refreshing", + "Log in success!": "Log in success!", "Join %SITE_NAME%": "Join %SITE_NAME%", "terms": "terms", "Enter your phone number": "Enter your phone number", @@ -1685,6 +1692,7 @@ "Global": "Global", "Global Admin": "Global Admin", "Moderator": "Moderator", + "Admin": "Admin", "Global Unblock Channel": "Global Unblock Channel", "Global Block Channel": "Global Block Channel", "Blocked on behalf of:": "Blocked on behalf of:", @@ -2072,6 +2080,7 @@ "Are you sure you want to remove this comment?": "Are you sure you want to remove this comment?", "This comment has a tip associated with it which cannot be reverted.": "This comment has a tip associated with it which cannot be reverted.", "Dismiss pinned comment": "Dismiss pinned comment", + "Dismiss Pin": "Dismiss Pin", "Recent Comments": "Recent Comments", "%title% by %channelTitle%": "%title% by %channelTitle%", "%title% by %channelTitle% %ariaDate%": "%title% by %channelTitle% %ariaDate%", diff --git a/ui/component/livestreamDateTime/view.jsx b/ui/component/livestreamDateTime/view.jsx index 2bb8bff42..7769c7c40 100644 --- a/ui/component/livestreamDateTime/view.jsx +++ b/ui/component/livestreamDateTime/view.jsx @@ -18,7 +18,7 @@ const LivestreamDateTime = (props: Props) => { return ( }}> - {__('Started %time_date%')} + Started %time_date% ); @@ -32,9 +32,7 @@ const LivestreamDateTime = (props: Props) => { } return ( - }}> - {__('Live %time_date%')} - + }}>Live %time_date% ); }; diff --git a/ui/component/membershipSplash/view.jsx b/ui/component/membershipSplash/view.jsx index 0b875cdbf..c22c9f9e3 100644 --- a/ui/component/membershipSplash/view.jsx +++ b/ui/component/membershipSplash/view.jsx @@ -71,12 +71,9 @@ export default function MembershipSplash(props: Props) {
- - Creating a revolutionary video platform for everyone is something we're proud to be doing, but it isn't - something that can happen without support. If you believe in Odysee's mission, please consider becoming a - Premium member. As a Premium member, you'll be helping us build the best platform in the universe and we'll - give you some cool perks! - + {__( + "Creating a revolutionary video platform for everyone is something we're proud to be doing, but it isn't something that can happen without support. If you believe in Odysee's mission, please consider becoming a Premium member. As a Premium member, you'll be helping us build the best platform in the universe and we'll give you some cool perks!" + )}
diff --git a/ui/component/walletSendTip/view.jsx b/ui/component/walletSendTip/view.jsx index 8b6984059..9f1de26ca 100644 --- a/ui/component/walletSendTip/view.jsx +++ b/ui/component/walletSendTip/view.jsx @@ -339,15 +339,12 @@ export default function WalletSendTip(props: Props) { // if it's LBC and there is no balance, you can prompt to purchase LBC }}> - {__('Supporting content requires %lbc%')} - + }}>Supporting content requires %lbc% } subtitle={ }}> - {__( - 'With %lbc%, you can send tips to your favorite creators, or help boost their content for more people to see.' - )} + With %lbc%, you can send tips to your favorite creators, or help boost their content for more people + to see. } actions={ diff --git a/ui/page/file/view.jsx b/ui/page/file/view.jsx index 2e58016f9..489a9422c 100644 --- a/ui/page/file/view.jsx +++ b/ui/page/file/view.jsx @@ -13,7 +13,6 @@ import FileRenderDownload from 'component/fileRenderDownload'; import RecommendedContent from 'component/recommendedContent'; import CollectionContent from 'component/collectionContentSidebar'; import Button from 'component/button'; -import I18nMessage from 'component/i18nMessage'; import Empty from 'component/common/empty'; import SwipeableDrawer from 'component/swipeableDrawer'; import { DrawerExpandButton } from 'component/swipeableDrawer/view'; @@ -210,10 +209,9 @@ export default function FilePage(props: Props) { {claimIsMine && isLivestream && (

{__('Only visible to you')}

- - People who view this link will be redirected to your livestream. Make sure to use this for sharing - so your title and thumbnail are displayed properly. - + {__( + 'People who view this link will be redirected to your livestream. Make sure to use this for sharing so your title and thumbnail are displayed properly.' + )}