fix i18n in support modal
This commit is contained in:
parent
cbdb9eaa49
commit
9a6f2a1975
3 changed files with 14 additions and 16 deletions
|
@ -50,9 +50,6 @@
|
|||
"Titular Title": "Titular Title",
|
||||
"Description": "Description",
|
||||
"Description of your content": "Description of your content",
|
||||
"Thumbnail": "Thumbnail",
|
||||
"Upload your thumbnail (.png/.jpg/.jpeg/.gif) to": "Upload your thumbnail (.png/.jpg/.jpeg/.gif) to",
|
||||
"spee.ch": "spee.ch",
|
||||
"Price": "Price",
|
||||
"How much will this content cost?": "How much will this content cost?",
|
||||
"Free": "Free",
|
||||
|
@ -426,7 +423,6 @@
|
|||
"yourstruly@example.com": "yourstruly@example.com",
|
||||
"Thumbnail source": "Thumbnail source",
|
||||
"Thumbnail (400x400)": "Thumbnail (400x400)",
|
||||
"https://example.com/image.png": "https://example.com/image.png",
|
||||
"Cover source": "Cover source",
|
||||
"Cover (1000x300)": "Cover (1000x300)",
|
||||
"Editing": "Editing",
|
||||
|
@ -855,7 +851,6 @@
|
|||
"Selected Tags": "Selected Tags",
|
||||
"Add a tag...": "Add a tag...",
|
||||
"Simple Editor": "Simple Editor",
|
||||
"Recommended size is 16:9": "Recommended size is 16:9",
|
||||
"Any amount will give you the highest bid, but larger amounts help your content be trusted and discovered.": "Any amount will give you the highest bid, but larger amounts help your content be trusted and discovered.",
|
||||
"Loading 3D model.": "Loading 3D model.",
|
||||
"Click here": "Click here",
|
||||
|
@ -915,4 +910,4 @@
|
|||
"Did something go wrong? Have a look in your log file, or send it to %support_link%.": "Did something go wrong? Have a look in your log file, or send it to %support_link%.",
|
||||
"%amount% LBC": "%amount% LBC",
|
||||
"%amount% fee": "%amount% fee"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ function SelectAsset(props: Props) {
|
|||
type={'text'}
|
||||
name={'thumbnail'}
|
||||
label={__(assetName + ' ' + recommended)}
|
||||
placeholder={__('https://example.com/image.png')}
|
||||
placeholder={'https://example.com/image.png'}
|
||||
disabled={false}
|
||||
value={currentValue}
|
||||
onChange={e => {
|
||||
|
|
|
@ -3,6 +3,7 @@ import React from 'react';
|
|||
import { Modal } from 'modal/modal';
|
||||
import SendTip from 'component/walletSendTip';
|
||||
import UriIndicator from 'component/uriIndicator';
|
||||
import I18nMessage from 'component/i18nMessage';
|
||||
|
||||
type Props = {
|
||||
closeModal: () => void,
|
||||
|
@ -21,15 +22,17 @@ class ModalSendTip extends React.PureComponent<Props> {
|
|||
isOpen
|
||||
type="custom"
|
||||
title={
|
||||
<React.Fragment>
|
||||
{claimIsMine || isSupport ? (
|
||||
__('Add support to this claim')
|
||||
) : (
|
||||
<span>
|
||||
{__('Send a tip to')} <UriIndicator uri={uri} />
|
||||
</span>
|
||||
)}
|
||||
</React.Fragment>
|
||||
claimIsMine || isSupport ? (
|
||||
__('Add support to this claim')
|
||||
) : (
|
||||
<I18nMessage
|
||||
tokens={{
|
||||
url: <UriIndicator uri={uri} />,
|
||||
}}
|
||||
>
|
||||
Send a tip to %url%
|
||||
</I18nMessage>
|
||||
)
|
||||
}
|
||||
>
|
||||
<SendTip
|
||||
|
|
Loading…
Add table
Reference in a new issue