From 591f60407324f5062e6385610436ea3a49fec2a9 Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Fri, 30 Oct 2020 10:38:32 +0800 Subject: [PATCH] Remove translation macro on native language names. I believe we don't translate these since this is already the translated form? When the language is supported later, the English version will be added to the string database instead. --- static/app-strings.json | 11 ----------- ui/component/channelAbout/view.jsx | 2 +- ui/component/claimListHeader/view.jsx | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index e2504f165..c0188fb87 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1468,16 +1468,5 @@ "Publish Something": "Publish Something", "Watch on lbry.tv": "Watch on lbry.tv", "Paid content cannot be embedded.": "Paid content cannot be embedded.", - "Hrvatski": "Hrvatski", - "Nederlands": "Nederlands", - "Français": "Français", - "Deutsch": "Deutsch", - "Italiano": "Italiano", - "Polski": "Polski", - "Português": "Português", - "Русский": "Русский", - "Español": "Español", - "Türkçe": "Türkçe", - "Česky": "Česky", "--end--": "--end--" } diff --git a/ui/component/channelAbout/view.jsx b/ui/component/channelAbout/view.jsx index 668d5e5e6..1f87b8788 100644 --- a/ui/component/channelAbout/view.jsx +++ b/ui/component/channelAbout/view.jsx @@ -71,7 +71,7 @@ function ChannelAbout(props: Props) { {/* this could use some nice 'tags' styling */} {languages && languages.length ? languages.reduce((acc, lang, i) => { - return acc + `${__(SUPPORTED_LANGUAGES[lang])}` + ' '; + return acc + `${SUPPORTED_LANGUAGES[lang]}` + ' '; }, '') : null} diff --git a/ui/component/claimListHeader/view.jsx b/ui/component/claimListHeader/view.jsx index ee7d86fe9..5cc87bddf 100644 --- a/ui/component/claimListHeader/view.jsx +++ b/ui/component/claimListHeader/view.jsx @@ -385,7 +385,7 @@ function ClaimListHeader(props: Props) { {Object.entries(SEARCHABLE_LANGUAGES).map(([code, label]) => { return ( ); })}