Fix usages of I18nMessage + missed sign-in verification strings

This commit is contained in:
infinite-persistence 2022-03-10 12:02:24 +08:00
parent 3d2a8b0a0d
commit 803a779e9e
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
5 changed files with 21 additions and 22 deletions

View file

@ -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%",

View file

@ -18,7 +18,7 @@ const LivestreamDateTime = (props: Props) => {
return (
<span>
<I18nMessage tokens={{ time_date: <DateTime timeAgo date={activeLivestream.startedStreaming.toDate()} /> }}>
{__('Started %time_date%')}
Started %time_date%
</I18nMessage>
</span>
);
@ -32,9 +32,7 @@ const LivestreamDateTime = (props: Props) => {
}
return (
<span>
<I18nMessage tokens={{ time_date: <DateTime timeAgo uri={uri} showFutureDate /> }}>
{__('Live %time_date%')}
</I18nMessage>
<I18nMessage tokens={{ time_date: <DateTime timeAgo uri={uri} showFutureDate /> }}>Live %time_date%</I18nMessage>
</span>
);
};

View file

@ -71,12 +71,9 @@ export default function MembershipSplash(props: Props) {
<div className="membership-splash__info-wrapper">
<div className="membership-splash__info">
<I18nMessage>
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!
</I18nMessage>
{__(
"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!"
)}
</div>
<div className="membership-splash__info">

View file

@ -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
<Card
title={
<I18nMessage tokens={{ lbc: <LbcSymbol size={22} /> }}>
{__('Supporting content requires %lbc%')}
</I18nMessage>
<I18nMessage tokens={{ lbc: <LbcSymbol size={22} /> }}>Supporting content requires %lbc%</I18nMessage>
}
subtitle={
<I18nMessage tokens={{ lbc: <LbcSymbol /> }}>
{__(
'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.
</I18nMessage>
}
actions={

View file

@ -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 && (
<div className="livestream__creator-message">
<h4>{__('Only visible to you')}</h4>
<I18nMessage>
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.
</I18nMessage>
{__(
'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.'
)}
<div className="section__actions">
<Button button="primary" navigate={`/$/${PAGES.LIVESTREAM}`} label={__('View livestream')} />
</div>