Merge pull request #2588 from lbryio/fixPublishText

fixes publish form update for description
This commit is contained in:
Sean Yesmunt 2019-06-30 10:47:50 -04:00 committed by GitHub
commit d1b4af1367
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 45 additions and 3 deletions

View file

@ -38,7 +38,7 @@ function PublishText(props: Props) {
placeholder={__('My description for this and that')}
value={description}
disabled={disabled}
onChange={value => updatePublishForm({ description: advancedEditor ? value : value.target.text })}
onChange={value => updatePublishForm({ description: advancedEditor ? value : value.target.value })}
/>
<div className="card__actions">
<Button button="link" onClick={toggleMarkdown} label={advancedEditor ? 'Simple Editor' : 'Advanced Editor'} />

View file

@ -293,5 +293,47 @@
"Your comment": "Your comment",
"Post": "Post",
"Channel": "Channel",
"No modifier provided after separator %s.": "No modifier provided after separator %s."
"No modifier provided after separator %s.": "No modifier provided after separator %s.",
"Incompatible Daemon": "Incompatible Daemon",
"Incompatible daemon running": "Incompatible daemon running",
"Close App and LBRY Processes": "Close App and LBRY Processes",
"Continue Anyway": "Continue Anyway",
"This app is running with an incompatible version of the LBRY protocol. You can still use it, but there may be issues. Re-run the installation package for best results.": "This app is running with an incompatible version of the LBRY protocol. You can still use it, but there may be issues. Re-run the installation package for best results.",
"Update ready to install": "Update ready to install",
"Install now": "Install now",
"Upgrade available": "Upgrade available",
"LBRY Leveled Up": "LBRY Leveled Up",
"Upgrade": "Upgrade",
"Skip": "Skip",
"An updated version of LBRY is now available.": "An updated version of LBRY is now available.",
"Your version is out of date and may be unreliable or insecure.": "Your version is out of date and may be unreliable or insecure.",
"Want to know what has changed?": "Want to know what has changed?",
"release notes": "release notes",
"Remove from your library": "Remove from your library",
"Got it!": "Got it!",
"The better your tags are, the easier it will be for people to discover your content.": "The better your tags are, the easier it will be for people to discover your content.",
"No tags added": "No tags added",
"You are currently editing a claim.": "You are currently editing a claim.",
"If you don't choose a file, the file from your existing claim": "If you don't choose a file, the file from your existing claim",
"will be used.": "will be used.",
"My description for this and that": "My description for this and that",
"Upload your thumbnail to": "Upload your thumbnail to",
"You are currently editing this claim. If you change the URL, you will need to reselect a file.": "You are currently editing this claim. If you change the URL, you will need to reselect a file.",
"Add a price to this file": "Add a price to this file",
"Additional Options": "Additional Options",
"Checking the winning claim amount...": "Checking the winning claim amount...",
"If you bid more than": "If you bid more than",
"when someone navigates to": "when someone navigates to",
"it will load your published content": "it will load your published content",
"However, you can get a longer version of this URL for any bid": "However, you can get a longer version of this URL for any bid",
"Choose a thumbnail": "Choose a thumbnail",
"URI does not include name.": "URI does not include name.",
"Editing...": "Editing...",
"Success": "Success",
"The updates will take a few minutes to appear for other LBRY users. Until then it will be listed as \"pending\" under your published files.": "The updates will take a few minutes to appear for other LBRY users. Until then it will be listed as \"pending\" under your published files.",
"Choose a file": "Choose a file",
"A name is required": "A name is required",
"This file is downloaded.": "This file is downloaded.",
"It looks like you haven't published anything to LBRY yet.": "It looks like you haven't published anything to LBRY yet.",
"Publish something new": "Publish something new"
}