Fix split sentence: "Join our tech forum", "Explore our technical resources"

#4239
This commit is contained in:
infiinte-persistence 2020-05-26 19:51:27 +08:00 committed by Sean Yesmunt
parent 1ef182ed71
commit e561ee29f3
2 changed files with 23 additions and 3 deletions

View file

@ -1217,6 +1217,10 @@
"%duration% minute ago": "%duration% minute ago", "%duration% minute ago": "%duration% minute ago",
"%duration% seconds ago": "%duration% seconds ago", "%duration% seconds ago": "%duration% seconds ago",
"%duration% second ago": "%duration% second ago", "%duration% second ago": "%duration% second ago",
"Join our %tech_forum%": "Join our %tech_forum%",
"tech forum": "tech forum",
"Explore our %technical_resources%": "Explore our %technical_resources%",
"technical resources": "technical resources",
"Check your rewards page to see if you qualify for paid content reimbursement. Only content in this section qualifies.": "Check your rewards page to see if you qualify for paid content reimbursement. Only content in this section qualifies.", "Check your rewards page to see if you qualify for paid content reimbursement. Only content in this section qualifies.": "Check your rewards page to see if you qualify for paid content reimbursement. Only content in this section qualifies.",
"You don't have blocked channels.": "You don't have blocked channels.", "You don't have blocked channels.": "You don't have blocked channels.",
"You have one blocked channel.": "You have one blocked channel.", "You have one blocked channel.": "You have one blocked channel.",

View file

@ -5,6 +5,7 @@ import { doToast } from 'lbry-redux';
import { Lbryio } from 'lbryinc'; import { Lbryio } from 'lbryinc';
import Page from 'component/page'; import Page from 'component/page';
import Card from 'component/common/card'; import Card from 'component/common/card';
import I18nMessage from 'component/i18nMessage';
class ReportPage extends React.Component { class ReportPage extends React.Component {
constructor(props) { constructor(props) {
@ -95,11 +96,26 @@ class ReportPage extends React.Component {
. .
</li> </li>
<li> <li>
{__('Explore our')}{' '} <I18nMessage
<Button button="link" href="https://lbry.tech" label={__('technical resources')} />. tokens={{
technical_resources: (
<Button button="link" href="https://lbry.tech" label={__('technical resources')} />
),
}}
>
Explore our %technical_resources%
</I18nMessage>
.
</li> </li>
<li> <li>
{__('Join our')} <Button button="link" href="https://forum.lbry.tech" label={__('tech forum')} />. <I18nMessage
tokens={{
tech_forum: <Button button="link" href="https://forum.lbry.tech" label={__('tech forum')} />,
}}
>
Join our %tech_forum%
</I18nMessage>
.
</li> </li>
</ul> </ul>
</div> </div>