i18n: Reward cards
Note that `subtitle` doesn't need the translation macro as `LbcMessage` would do it.
This commit is contained in:
parent
3c51e699f6
commit
895f25cc8c
2 changed files with 29 additions and 4 deletions
|
@ -424,6 +424,9 @@
|
||||||
"Redeem a custom reward code for": "Redeem a custom reward code for",
|
"Redeem a custom reward code for": "Redeem a custom reward code for",
|
||||||
"Redeem": "Redeem",
|
"Redeem": "Redeem",
|
||||||
"Code": "Code",
|
"Code": "Code",
|
||||||
|
"reward code not found": "reward code not found",
|
||||||
|
"reward code required": "reward code required",
|
||||||
|
"this code has expired": "this code has expired",
|
||||||
"Nothing here": "Nothing here",
|
"Nothing here": "Nothing here",
|
||||||
"Upload something and claim this spot!": "Upload something and claim this spot!",
|
"Upload something and claim this spot!": "Upload something and claim this spot!",
|
||||||
"File Size": "File Size",
|
"File Size": "File Size",
|
||||||
|
@ -758,6 +761,7 @@
|
||||||
"Invite sent to %email_address%": "Invite sent to %email_address%",
|
"Invite sent to %email_address%": "Invite sent to %email_address%",
|
||||||
"Woah, you have a lot of friends! You've claimed the maximum amount of invite rewards. Email %email% if you'd like to be whitelisted for more invites.": "Woah, you have a lot of friends! You've claimed the maximum amount of invite rewards. Email %email% if you'd like to be whitelisted for more invites.",
|
"Woah, you have a lot of friends! You've claimed the maximum amount of invite rewards. Email %email% if you'd like to be whitelisted for more invites.": "Woah, you have a lot of friends! You've claimed the maximum amount of invite rewards. Email %email% if you'd like to be whitelisted for more invites.",
|
||||||
"Earn %lbc% for inviting a friend, an enemy, a frenemy, or an enefriend. Everyone needs content freedom.": "Earn %lbc% for inviting a friend, an enemy, a frenemy, or an enefriend. Everyone needs content freedom.",
|
"Earn %lbc% for inviting a friend, an enemy, a frenemy, or an enefriend. Everyone needs content freedom.": "Earn %lbc% for inviting a friend, an enemy, a frenemy, or an enefriend. Everyone needs content freedom.",
|
||||||
|
"You earned %lbc% for helping LBRY grow. Friendship is magic.": "You earned %lbc% for helping LBRY grow. Friendship is magic.",
|
||||||
"This content requires LBRY Desktop to display.": "This content requires LBRY Desktop to display.",
|
"This content requires LBRY Desktop to display.": "This content requires LBRY Desktop to display.",
|
||||||
"Get the App": "Get the App",
|
"Get the App": "Get the App",
|
||||||
"Get The App": "Get The App",
|
"Get The App": "Get The App",
|
||||||
|
@ -883,6 +887,7 @@
|
||||||
"Total Staked Amount": "Total Staked Amount",
|
"Total Staked Amount": "Total Staked Amount",
|
||||||
"Set Inviter": "Set Inviter",
|
"Set Inviter": "Set Inviter",
|
||||||
"Change Inviter": "Change Inviter",
|
"Change Inviter": "Change Inviter",
|
||||||
|
"Reward claimed.": "Reward claimed.",
|
||||||
"You haven't uploaded anything yet. This is where you can find them when you do!": "You haven't uploaded anything yet. This is where you can find them when you do!",
|
"You haven't uploaded anything yet. This is where you can find them when you do!": "You haven't uploaded anything yet. This is where you can find them when you do!",
|
||||||
"You haven't uploaded anything with this channel yet!": "You haven't uploaded anything with this channel yet!",
|
"You haven't uploaded anything with this channel yet!": "You haven't uploaded anything with this channel yet!",
|
||||||
"You haven't uploaded anything": "You haven't uploaded anything",
|
"You haven't uploaded anything": "You haven't uploaded anything",
|
||||||
|
@ -1406,17 +1411,23 @@
|
||||||
"gaming, comedy, educational": "gaming, comedy, educational",
|
"gaming, comedy, educational": "gaming, comedy, educational",
|
||||||
"A channel is required to comment on %SITE_NAME%": "A channel is required to comment on %SITE_NAME%",
|
"A channel is required to comment on %SITE_NAME%": "A channel is required to comment on %SITE_NAME%",
|
||||||
"A welcome bonus and thank you for your contribution to content freedom.": "A welcome bonus and thank you for your contribution to content freedom.",
|
"A welcome bonus and thank you for your contribution to content freedom.": "A welcome bonus and thank you for your contribution to content freedom.",
|
||||||
|
"You earned %lbc% new user reward.": "You earned %lbc% LBC new user reward.",
|
||||||
"Just press play on something. Anything at all. Yep, even that one. Everybody's doing it.": "Just press play on something. Anything at all. Yep, even that one. Everybody's doing it.",
|
"Just press play on something. Anything at all. Yep, even that one. Everybody's doing it.": "Just press play on something. Anything at all. Yep, even that one. Everybody's doing it.",
|
||||||
"Claim your channel! Create an identity used to securely publish content.": "Claim your channel! Create an identity used to securely publish content.",
|
"Claim your channel! Create an identity used to securely publish content.": "Claim your channel! Create an identity used to securely publish content.",
|
||||||
|
"You earned %lbc% for creating a channel.": "You earned %lbc% for creating a channel.",
|
||||||
"Launch your own channel by sharing a video.": "Launch your own channel by sharing a video.",
|
"Launch your own channel by sharing a video.": "Launch your own channel by sharing a video.",
|
||||||
"Your First Credit:": "Your First Credit:",
|
"You earned %lbc% for making your first upload.": "You earned %lbc% for making your first upload.",
|
||||||
"Return to the app 24-48 hours following your first use of the app. This reward will self destruct after that time span.": "Return to the app 24-48 hours following your first use of the app. This reward will self destruct after that time span.",
|
"Return to the app 24-48 hours following your first use of the app. This reward will self destruct after that time span.": "Return to the app 24-48 hours following your first use of the app. This reward will self destruct after that time span.",
|
||||||
"Watch content and earn more Credits for each level unlocked! 10 views required for level 1 (Current Score: 2). Only up to 10 views per day count.": "Watch content and earn more Credits for each level unlocked! 10 views required for level 1 (Current Score: 2). Only up to 10 views per day count.",
|
"Watch content and earn more Credits for each level unlocked! 10 views required for level 1 (Current Score: 2). Only up to 10 views per day count.": "Watch content and earn more Credits for each level unlocked! 10 views required for level 1 (Current Score: 2). Only up to 10 views per day count.",
|
||||||
"Follow your favorite creators and earn more Credits for each level unlocked! Follow 1 creators for level 1 (Current Score: 1).": "Follow your favorite creators and earn more Credits for each level unlocked! Follow 1 creators for level 1 (Current Score: 1).",
|
"Follow your favorite creators and earn more Credits for each level unlocked! Follow 1 creators for level 1 (Current Score: 1).": "Follow your favorite creators and earn more Credits for each level unlocked! Follow 1 creators for level 1 (Current Score: 1).",
|
||||||
"A small amount of Credits to get you started.": "A small amount of Credits to get you started.",
|
"A small amount of Credits to get you started.": "A small amount of Credits to get you started.",
|
||||||
"Gain a following to earn this reward. 1 validated followers needed for level 1 (Current Score: 0). This amount may not match your total followers.": "Gain a following to earn this reward. 1 validated followers needed for level 1 (Current Score: 0). This amount may not match your total followers.",
|
"Gain a following to earn this reward. 1 validated followers needed for level 1 (Current Score: 0). This amount may not match your total followers.": "Gain a following to earn this reward. 1 validated followers needed for level 1 (Current Score: 0). This amount may not match your total followers.",
|
||||||
"Some extra Credits for you and the person that brought you to us.": "Some extra Credits for you and the person that brought you to us.",
|
"Some extra Credits for you and the person that brought you to us.": "Some extra Credits for you and the person that brought you to us.",
|
||||||
|
"Daily Watch Reward": "Daily Watch Reward",
|
||||||
|
"You earned %lbc% for looking at neat stuff. ": "You earned %lbc% for looking at neat stuff. ",
|
||||||
"Earn a random reward of at least %lbc% for watching anything at all.": "Earn a random reward of at least %lbc% for watching anything at all.",
|
"Earn a random reward of at least %lbc% for watching anything at all.": "Earn a random reward of at least %lbc% for watching anything at all.",
|
||||||
|
"You have already claimed this reward within the last 24 hours.": "You have already claimed this reward within the last 24 hours.",
|
||||||
|
"Please watch some content to earn this reward.": "Please watch some content to earn this reward.",
|
||||||
"You will receive an SMS text message confirming your phone number is valid.": "You will receive an SMS text message confirming your phone number is valid.",
|
"You will receive an SMS text message confirming your phone number is valid.": "You will receive an SMS text message confirming your phone number is valid.",
|
||||||
"Verified accounts are eligible to earn LBRY Credits for views, watching and reposting videos, sharing invite links etc. Verifying also helps us keep the %SITE_NAME% community safe too! %Refresh% or %Skip%.": "Verified accounts are eligible to earn LBRY Credits for views, watching and reposting videos, sharing invite links etc. Verifying also helps us keep the %SITE_NAME% community safe too! %Refresh% or %Skip%.",
|
"Verified accounts are eligible to earn LBRY Credits for views, watching and reposting videos, sharing invite links etc. Verifying also helps us keep the %SITE_NAME% community safe too! %Refresh% or %Skip%.": "Verified accounts are eligible to earn LBRY Credits for views, watching and reposting videos, sharing invite links etc. Verifying also helps us keep the %SITE_NAME% community safe too! %Refresh% or %Skip%.",
|
||||||
"Your First Nickel": "Your First Nickel",
|
"Your First Nickel": "Your First Nickel",
|
||||||
|
@ -1425,12 +1436,18 @@
|
||||||
"Channel Surfing": "Channel Surfing",
|
"Channel Surfing": "Channel Surfing",
|
||||||
"First Upload": "First Upload",
|
"First Upload": "First Upload",
|
||||||
"Welcome Back": "Welcome Back",
|
"Welcome Back": "Welcome Back",
|
||||||
|
"You earned %lbc% for coming back.": "You earned %lbc% for coming back.",
|
||||||
"Email Verified": "Email Verified",
|
"Email Verified": "Email Verified",
|
||||||
|
"A small amount of LBC to get you started.": "A small amount of LBC to get you started.",
|
||||||
|
"You earned %lbc% for adding your email.": "You earned %lbc% for adding your email.",
|
||||||
"Inviter Bonus": "Inviter Bonus",
|
"Inviter Bonus": "Inviter Bonus",
|
||||||
"Daily Watch Reward": "Daily Watch Reward",
|
"Some extra LBC for you and the person that brought you to us.": "Some extra LBC for you and the person that brought you to us.",
|
||||||
|
"You earned %lbc% reward for you and your friend.": "You earned %lbc% LBC reward for you and your friend.",
|
||||||
"Odyseenaut": "Odyseenaut",
|
"Odyseenaut": "Odyseenaut",
|
||||||
"Watch 10 things, like 5 things, and leave a comment on odysee.com.": "Watch 10 things, like 5 things, and leave a comment on odysee.com.",
|
"Watch 10 things, like 5 things, and leave a comment on odysee.com.": "Watch 10 things, like 5 things, and leave a comment on odysee.com.",
|
||||||
|
"You earned %lbc% for trying out Odysee.": "You earned %lbc% for trying out Odysee.",
|
||||||
"Earn an upgrade reward with each LBRY update. Patches will not trigger a new reward.": "Earn an upgrade reward with each LBRY update. Patches will not trigger a new reward.",
|
"Earn an upgrade reward with each LBRY update. Patches will not trigger a new reward.": "Earn an upgrade reward with each LBRY update. Patches will not trigger a new reward.",
|
||||||
|
"You earned %lbc% for upgrading to the latest release of LBRY.": "You earned %lbc% LBC for upgrading to the latest release of LBRY.",
|
||||||
"Watch content and earn more Credits for each level unlocked! 10 views required for level 1 (Current Score: 1). Only up to 10 views per day count.": "Watch content and earn more Credits for each level unlocked! 10 views required for level 1 (Current Score: 1). Only up to 10 views per day count.",
|
"Watch content and earn more Credits for each level unlocked! 10 views required for level 1 (Current Score: 1). Only up to 10 views per day count.": "Watch content and earn more Credits for each level unlocked! 10 views required for level 1 (Current Score: 1). Only up to 10 views per day count.",
|
||||||
"Follow your favorite creators and earn more Credits for each level unlocked! Follow 1 creators for level 1 (Current Score: 12).": "Follow your favorite creators and earn more Credits for each level unlocked! Follow 1 creators for level 1 (Current Score: 12).",
|
"Follow your favorite creators and earn more Credits for each level unlocked! Follow 1 creators for level 1 (Current Score: 12).": "Follow your favorite creators and earn more Credits for each level unlocked! Follow 1 creators for level 1 (Current Score: 12).",
|
||||||
"Create A Channel": "Create A Channel",
|
"Create A Channel": "Create A Channel",
|
||||||
|
@ -1455,12 +1472,19 @@
|
||||||
"You earned %lbc% for successfully completing Coveted Creator L3: Score of Subs.": "You earned %lbc% for successfully completing Coveted Creator L3: Score of Subs.",
|
"You earned %lbc% for successfully completing Coveted Creator L3: Score of Subs.": "You earned %lbc% for successfully completing Coveted Creator L3: Score of Subs.",
|
||||||
"You earned %lbc% for successfully completing Coveted Creator L2: High Five.": "You earned %lbc% for successfully completing Coveted Creator L2: High Five.",
|
"You earned %lbc% for successfully completing Coveted Creator L2: High Five.": "You earned %lbc% for successfully completing Coveted Creator L2: High Five.",
|
||||||
"You earned %lbc% for successfully completing Coveted Creator L1: Loneliest Number.": "You earned %lbc% for successfully completing Coveted Creator L1: Loneliest Number.",
|
"You earned %lbc% for successfully completing Coveted Creator L1: Loneliest Number.": "You earned %lbc% for successfully completing Coveted Creator L1: Loneliest Number.",
|
||||||
|
"Favorite Five 🖐️": "Favorite Five 🖐️",
|
||||||
|
"When creators repost other creators, it makes a delicious shared audience fondue. Repost 5 of your favorite creators with the qualified channel.": "When creators repost other creators, it makes a delicious shared audience fondue. Repost 5 of your favorite creators with the qualified channel.",
|
||||||
|
"You earned %lbc% for reposting your favorite creators.": "You earned %lbc% for reposting your favorite creators.",
|
||||||
|
"Watch more content to get to the next level.": "Watch more content to get to the next level.",
|
||||||
|
"Follow more channels to reach the next level.": "Follow more channels to reach the next level.",
|
||||||
|
"You need to improve the cool-aid (gain more followers) to get to the next level.": "You need to improve the cool-aid (gain more followers) to get to the next level.",
|
||||||
"A channel is required to repost on %SITE_NAME%": "A channel is required to repost on %SITE_NAME%",
|
"A channel is required to repost on %SITE_NAME%": "A channel is required to repost on %SITE_NAME%",
|
||||||
"A channel is required to repost on lbry.tv": "A channel is required to repost on lbry.tv",
|
"A channel is required to repost on lbry.tv": "A channel is required to repost on lbry.tv",
|
||||||
"No channels": "No channels",
|
"No channels": "No channels",
|
||||||
"You haven't created a channel yet. All of your beautiful channels will be listed here!": "You haven't created a channel yet. All of your beautiful channels will be listed here!",
|
"You haven't created a channel yet. All of your beautiful channels will be listed here!": "You haven't created a channel yet. All of your beautiful channels will be listed here!",
|
||||||
"Something didn't work. Please try again.": "Something didn't work. Please try again.",
|
"Something didn't work. Please try again.": "Something didn't work. Please try again.",
|
||||||
"Sync your YouTube channel to %site_name%": "Sync your YouTube channel to %site_name%",
|
"Sync your YouTube channel to %site_name%": "Sync your YouTube channel to %site_name%",
|
||||||
|
"You earned %lbc% for syncing your YouTube channel.": "You earned %lbc% for syncing your YouTube channel.",
|
||||||
"Get your YouTube videos in front of the %site_name% audience.": "Get your YouTube videos in front of the %site_name% audience.",
|
"Get your YouTube videos in front of the %site_name% audience.": "Get your YouTube videos in front of the %site_name% audience.",
|
||||||
"Your %site_name% channel name": "Your %site_name% channel name",
|
"Your %site_name% channel name": "Your %site_name% channel name",
|
||||||
"these terms": "these terms",
|
"these terms": "these terms",
|
||||||
|
@ -1515,6 +1539,7 @@
|
||||||
"Watch on lbry.tv": "Watch on lbry.tv",
|
"Watch on lbry.tv": "Watch on lbry.tv",
|
||||||
"Paid content cannot be embedded.": "Paid content cannot be embedded.",
|
"Paid content cannot be embedded.": "Paid content cannot be embedded.",
|
||||||
"Please wait a bit, we are still getting your account ready.": "Please wait a bit, we are still getting your account ready.",
|
"Please wait a bit, we are still getting your account ready.": "Please wait a bit, we are still getting your account ready.",
|
||||||
|
"this channel is connected to a different account. Contact hello@lbry.com for help.": "this channel is connected to a different account. Contact hello@lbry.com for help.",
|
||||||
"Most supported": "Most supported",
|
"Most supported": "Most supported",
|
||||||
"Most Supported": "Most Supported",
|
"Most Supported": "Most Supported",
|
||||||
"Search Results": "Search Results",
|
"Search Results": "Search Results",
|
||||||
|
|
|
@ -33,7 +33,7 @@ const RewardTile = (props: Props) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
title={reward.reward_title}
|
title={__(reward.reward_title)}
|
||||||
subtitle={<LbcMessage>{reward.reward_description}</LbcMessage>}
|
subtitle={<LbcMessage>{reward.reward_description}</LbcMessage>}
|
||||||
actions={
|
actions={
|
||||||
<div className="section__actions">
|
<div className="section__actions">
|
||||||
|
@ -53,7 +53,7 @@ const RewardTile = (props: Props) => {
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{!customActionsRewards.some(i => i === reward.reward_type) &&
|
{!customActionsRewards.some((i) => i === reward.reward_type) &&
|
||||||
(claimed ? (
|
(claimed ? (
|
||||||
<span>
|
<span>
|
||||||
<Icon icon={ICONS.COMPLETED} /> {__('Reward claimed.')}
|
<Icon icon={ICONS.COMPLETED} /> {__('Reward claimed.')}
|
||||||
|
|
Loading…
Reference in a new issue