From 166c7c49cc2cd724465f7cda6a113aeb1762d097 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 21 Nov 2019 09:58:39 -0500 Subject: [PATCH] fix: use i18n on image text --- static/app-strings.json | 5 +---- ui/component/channelEdit/view.jsx | 4 ++-- ui/component/selectThumbnail/view.jsx | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index bb67565ad..1f436a49e 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -887,8 +887,5 @@ "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.", "Your email preferences": "Your email preferences", - "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)" + "allow you to receive notifications related to new content.": "allow you to receive notifications related to new content." } diff --git a/ui/component/channelEdit/view.jsx b/ui/component/channelEdit/view.jsx index 023aef99f..060775c14 100644 --- a/ui/component/channelEdit/view.jsx +++ b/ui/component/channelEdit/view.jsx @@ -110,14 +110,14 @@ function ChannelForm(props: Props) { onUpdate={v => handleThumbnailChange(v)} currentValue={params.thumbnailUrl} assetName={'Thumbnail'} - recommended={'(Recommended size: 200x200, (1:1)'} + recommended={__('Recommended size is 1:1')} /> handleCoverChange(v)} currentValue={params.coverUrl} assetName={'Cover'} - recommended={'(Recommended size: 1000 x 160, (10:1.6)'} + recommended={__('Recommended size is 10:1.6')} /> { {__('Upload your thumbnail to')}{' '}