mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-04 04:45:11 +00:00
fix international for views
This commit is contained in:
parent
7dfc727a0a
commit
7527cef3fe
2 changed files with 4 additions and 2 deletions
|
@ -942,5 +942,7 @@
|
||||||
"Unlock Rewards": "Unlock Rewards",
|
"Unlock Rewards": "Unlock Rewards",
|
||||||
"A lbry.tv account allows you to earn more than %credit_amount% in rewards, backup your data, and get content and security updates.": "A lbry.tv account allows you to earn more than %credit_amount% in rewards, backup your data, and get content and security updates.",
|
"A lbry.tv account allows you to earn more than %credit_amount% in rewards, backup your data, and get content and security updates.": "A lbry.tv account allows you to earn more than %credit_amount% in rewards, backup your data, and get content and security updates.",
|
||||||
"Deposit cannot be higher than your balance": "Deposit cannot be higher than your balance",
|
"Deposit cannot be higher than your balance": "Deposit cannot be higher than your balance",
|
||||||
"Earn %rewards_link% for inviting your friends. Read our %referral_faq_link% to learn more about referrals.": "Earn %rewards_link% for inviting your friends. Read our %referral_faq_link% to learn more about referrals."
|
"Earn %rewards_link% for inviting your friends. Read our %referral_faq_link% to learn more about referrals.": "Earn %rewards_link% for inviting your friends. Read our %referral_faq_link% to learn more about referrals.",
|
||||||
|
"%view_count% Views": "%view_count% Views",
|
||||||
|
"1 View": "1 View"
|
||||||
}
|
}
|
||||||
|
|
|
@ -170,7 +170,7 @@ class FilePage extends React.Component<Props> {
|
||||||
<div className="media__subtitle--between">
|
<div className="media__subtitle--between">
|
||||||
<DateTime uri={uri} show={DateTime.SHOW_DATE} />
|
<DateTime uri={uri} show={DateTime.SHOW_DATE} />
|
||||||
<span>
|
<span>
|
||||||
{viewCount} {viewCount !== 1 ? __('Views') : __('View')}
|
{viewCount !== 1 ? __('%view_count% Views', { view_count: viewCount }) : __('1 View')}
|
||||||
<HelpLink href="https://lbry.com/faq/views" />
|
<HelpLink href="https://lbry.com/faq/views" />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue