fix: use i18n on image text

This commit is contained in:
Sean Yesmunt 2019-11-21 09:58:39 -05:00
parent b76a09753c
commit 166c7c49cc
3 changed files with 4 additions and 7 deletions

View file

@ -887,8 +887,5 @@
"with lbry.tv to receive notifications related to new content.": "with lbry.tv to receive notifications related to new content.", "with lbry.tv to receive notifications related to new content.": "with lbry.tv to receive notifications related to new content.",
"An email was sent to %email%. Follow the link to %verify_text%. After, this page will update automatically.": "An email was sent to %email%. Follow the link to %verify_text%. After, this page will update automatically.", "An email was sent to %email%. Follow the link to %verify_text%. After, this page will update automatically.": "An email was sent to %email%. Follow the link to %verify_text%. After, this page will update automatically.",
"Your email preferences": "Your email preferences", "Your email preferences": "Your email preferences",
"allow you to receive notifications related to new content.": "allow you to receive notifications related to new content.", "allow you to receive notifications related to new content.": "allow you to receive notifications related to new content."
"Thumbnail (Recommended size: 200x200, (1:1)": "Thumbnail (Recommended size: 300x300, (1:1)",
"Cover (Recommended: 1000 x 160, (10:1.6)": "Cover (Recommended size: 1000 x 160, (10:1.6)",
"Recommended size: 800x450 (16:9)": "Recommended size: 800x450 (16:9)"
} }

View file

@ -110,14 +110,14 @@ function ChannelForm(props: Props) {
onUpdate={v => handleThumbnailChange(v)} onUpdate={v => handleThumbnailChange(v)}
currentValue={params.thumbnailUrl} currentValue={params.thumbnailUrl}
assetName={'Thumbnail'} assetName={'Thumbnail'}
recommended={'(Recommended size: 200x200, (1:1)'} recommended={__('Recommended size is 1:1')}
/> />
<SelectAsset <SelectAsset
onUpdate={v => handleCoverChange(v)} onUpdate={v => handleCoverChange(v)}
currentValue={params.coverUrl} currentValue={params.coverUrl}
assetName={'Cover'} assetName={'Cover'}
recommended={'(Recommended size: 1000 x 160, (10:1.6)'} recommended={__('Recommended size is 10:1.6')}
/> />
<FormField <FormField

View file

@ -175,7 +175,7 @@ class SelectThumbnail extends React.PureComponent<Props, State> {
<React.Fragment> <React.Fragment>
{__('Upload your thumbnail to')}{' '} {__('Upload your thumbnail to')}{' '}
<Button button="link" label={__('spee.ch')} href="https://spee.ch/about" />.{' '} <Button button="link" label={__('spee.ch')} href="https://spee.ch/about" />.{' '}
{__('Recommended size: 800x450 (16:9)')} {__('Recommended size is 16:9')}
</React.Fragment> </React.Fragment>
)} )}
</p> </p>