Made uniform display of text views
Too many forms of word "views" and "view" to translate, with caps and without. We need to choose the same in all places.
This commit is contained in:
parent
bb790b4332
commit
8099088415
3 changed files with 3 additions and 3 deletions
|
@ -778,7 +778,7 @@
|
|||
"Deposit cannot be higher than your balance": "Deposit cannot be higher than your balance",
|
||||
"Your deposit must be higher": "Your deposit must be higher",
|
||||
"%view_count% views": "%view_count% views",
|
||||
"%view_count% view": "%view_count% view",
|
||||
"1 view": "1 view",
|
||||
"Upload your thumbnail to %speech_link%. Recommended size is 16:9.": "Upload your thumbnail to %speech_link%. Recommended size is 16:9.",
|
||||
"Get %amount% LBC": "Get %amount% LBC",
|
||||
"Get %range% LBC": "Get %range% LBC",
|
||||
|
|
|
@ -179,7 +179,7 @@ export default function CreatorAnalytics(props: Props) {
|
|||
<div className="section__subtitle card__data-subtitle">
|
||||
<span>
|
||||
{stats.VideoViewsTopNew === 1
|
||||
? __('%view_count% view', { view_count: stats.VideoViewsTopNew })
|
||||
? __('1 view', { view_count: stats.VideoViewsTopNew })
|
||||
: __('%view_count% views', { view_count: stats.VideoViewsTopNew })}
|
||||
</span>
|
||||
{stats.VideoViewsTopNew > 0 && <Icon icon={ICONS.SUPPORT} iconColor="green" size={18} />}
|
||||
|
|
|
@ -22,7 +22,7 @@ function FileViewCount(props: Props) {
|
|||
|
||||
return (
|
||||
<span>
|
||||
{viewCount !== 1 ? __('%view_count% Views', { view_count: formattedViewCount }) : __('1 View')}
|
||||
{viewCount !== 1 ? __('%view_count% views', { view_count: formattedViewCount }) : __('1 view')}
|
||||
<HelpLink href="https://lbry.com/faq/views" />
|
||||
</span>
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue