Localize sunset nag

Changed the text a bit so that we can re-use the existing 'Learn more'.
This commit is contained in:
infinite-persistence 2021-09-23 20:18:48 +08:00
parent 6658217865
commit e23e9e1387
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
2 changed files with 4 additions and 3 deletions

View file

@ -51,7 +51,6 @@
"Description of your content": "Description of your content",
"Price": "Price",
"Free": "Free",
"Learn more": "Learn more",
"Name": "Name",
"Deposit": "Deposit",
"Language": "Language",
@ -541,6 +540,7 @@
"Create a new account or sign in.": "Create a new account or sign in.",
"Terms of Service": "Terms of Service",
"Learn More": "Learn More",
"Learn more": "Learn more",
"Community": "Community",
"Resources": "Resources",
"Policies": "Policies",
@ -2173,5 +2173,6 @@
"Card Last 4": "Card Last 4",
"Search blocked channel name": "Search blocked channel name",
"Discuss": "Discuss",
"lbry.tv has been retired. You have been magically transported to Odysee.com. %more%": "lbry.tv has been retired. You have been magically transported to Odysee.com. %more%",
"--end--": "--end--"
}

View file

@ -24,10 +24,10 @@ export default function NagSunset(props: Props) {
message={
<I18nMessage
tokens={{
more: <Button button={'link'} label={__('more')} href="https://odysee.com/@lbry:3f/retirement" />,
more: <Button button={'link'} label={__('Learn more')} href="https://odysee.com/@lbry:3f/retirement" />,
}}
>
lbry.tv has been retired (%more%). You have been magically transported to Odysee.com
lbry.tv has been retired. You have been magically transported to Odysee.com. %more%
</I18nMessage>
}
actionText={__('Sign In')}