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
parent e6e6c1508a
commit a29ac63178
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
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.",
"blocked channels": "blocked channels", "blocked channels": "blocked channels",
"%count% %channels%. ": "%count% %channels%. " "%count% %channels%. ": "%count% %channels%. "

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>