From e78b5d4c124884e41d4d480d5500c6e8c7046d6a Mon Sep 17 00:00:00 2001 From: zeppi Date: Wed, 24 Mar 2021 18:56:54 -0400 Subject: [PATCH] publish page fixes --- ui/component/publishAdditionalOptions/view.jsx | 2 -- ui/component/publishForm/view.jsx | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/component/publishAdditionalOptions/view.jsx b/ui/component/publishAdditionalOptions/view.jsx index 9dfec29ce..c37f7d41a 100644 --- a/ui/component/publishAdditionalOptions/view.jsx +++ b/ui/component/publishAdditionalOptions/view.jsx @@ -8,7 +8,6 @@ import LicenseType from './license-type'; import Card from 'component/common/card'; import SUPPORTED_LANGUAGES from 'constants/supported_languages'; -import PublishName from 'component/publishName'; // @if TARGET='app' // import ErrorText from 'component/common/error-text'; // import { LbryFirst } from 'lbry-redux'; @@ -116,7 +115,6 @@ function PublishAdditionalOptions(props: Props) { {!hideSection && (
- {/* @if TARGET='app' */} {/* {showLbryFirstCheckbox && (
diff --git a/ui/component/publishForm/view.jsx b/ui/component/publishForm/view.jsx index 07f8e754a..c5cb2242e 100644 --- a/ui/component/publishForm/view.jsx +++ b/ui/component/publishForm/view.jsx @@ -8,7 +8,7 @@ File upload is carried out in the background by that function. */ -import { SITE_NAME, ENABLE_NO_SOURCE_CLAIMS } from 'config'; +import { SITE_NAME, ENABLE_NO_SOURCE_CLAIMS, SIMPLE_SITE } from 'config'; import React, { useEffect } from 'react'; import { buildURI, isURIValid, isNameValid, THUMBNAIL_STATUSES } from 'lbry-redux'; import Button from 'component/button'; @@ -123,7 +123,7 @@ function PublishForm(props: Props) { : Object.values(PUBLISH_MODES).filter((mode) => mode !== PUBLISH_MODES.LIVESTREAM); const MODE_TO_I18N_STR = { - [PUBLISH_MODES.FILE]: 'File', + [PUBLISH_MODES.FILE]: SIMPLE_SITE ? 'Video' : 'File', [PUBLISH_MODES.POST]: 'Post --[noun, markdown post tab button]--', [PUBLISH_MODES.LIVESTREAM]: 'Livestream --[noun, livestream tab button]--', };