From 631b069f9a4619dfd8a201f2b6a6b8ff4e3b63fe Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Fri, 18 Sep 2020 22:13:20 +0800 Subject: [PATCH] Missing translation in the Discover page. --- static/app-strings.json | 2 ++ ui/page/channelsFollowingDiscover/view.jsx | 8 +++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index f43abff40..31651480f 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1031,6 +1031,8 @@ "Recent From Following": "Recent From Following", "Top Content from Today": "Top Content from Today", "Top Channels On LBRY": "Top Channels On LBRY", + "Top Channels Of All Time": "Top Channels Of All Time", + "Trending Channels": "Trending Channels", "Trending Classics": "Trending Classics", "Trending On LBRY": "Trending On LBRY", "Trending For Your Tags": "Trending For Your Tags", diff --git a/ui/page/channelsFollowingDiscover/view.jsx b/ui/page/channelsFollowingDiscover/view.jsx index 1a81eb0b6..1116d5e0a 100644 --- a/ui/page/channelsFollowingDiscover/view.jsx +++ b/ui/page/channelsFollowingDiscover/view.jsx @@ -32,9 +32,7 @@ function ChannelsFollowingDiscover(props: Props) { rowData.push({ title: 'Top Channels Of All Time', - link: `/$/${PAGES.DISCOVER}?claim_type=channel&${CS.ORDER_BY_KEY}=${CS.ORDER_BY_TOP}&${CS.FRESH_KEY}=${ - CS.FRESH_ALL - }`, + link: `/$/${PAGES.DISCOVER}?claim_type=channel&${CS.ORDER_BY_KEY}=${CS.ORDER_BY_TOP}&${CS.FRESH_KEY}=${CS.FRESH_ALL}`, options: { pageSize: 12, claimType: 'channel', @@ -107,10 +105,10 @@ function ChannelsFollowingDiscover(props: Props) { button="link" navigate={link} iconRight={ICONS.ARROW_RIGHT} - label={title} + label={__(title)} /> ) : ( - {title} + {__(title)} )} {help}