Fix localization concatenation + Cleanup unused strings #4239
2 changed files with 11 additions and 3 deletions
|
@ -77,7 +77,7 @@
|
|||
"Turkish": "Turkish",
|
||||
"Polish": "Polish",
|
||||
"Malay": "Malay",
|
||||
"By continuing, you accept the": "By continuing, you accept the",
|
||||
"By continuing, you accept the %lbry_terms_of_service%.": "By continuing, you accept the %lbry_terms_of_service%.",
|
||||
"LBRY Terms of Service": "LBRY Terms of Service",
|
||||
"Choose File": "Choose File",
|
||||
"No File Chosen": "No File Chosen",
|
||||
|
|
|
@ -22,6 +22,7 @@ import PublishAdditionalOptions from 'component/publishAdditionalOptions';
|
|||
import PublishFormErrors from 'component/publishFormErrors';
|
||||
import SelectThumbnail from 'component/selectThumbnail';
|
||||
import Card from 'component/common/card';
|
||||
import I18nMessage from 'component/i18nMessage';
|
||||
|
||||
type Props = {
|
||||
disabled: boolean,
|
||||
|
@ -208,8 +209,15 @@ function PublishForm(props: Props) {
|
|||
<Button button="link" onClick={clearPublish} label={__('Cancel')} />
|
||||
</div>
|
||||
<p className="help">
|
||||
{__('By continuing, you accept the')}{' '}
|
||||
<Button button="link" href="https://www.lbry.com/termsofservice" label={__('LBRY Terms of Service')} />.
|
||||
<I18nMessage
|
||||
tokens={{
|
||||
lbry_terms_of_service: (
|
||||
<Button button="link" href="https://www.lbry.com/termsofservice" label={__('LBRY Terms of Service')} />
|
||||
),
|
||||
}}
|
||||
>
|
||||
By continuing, you accept the %lbry_terms_of_service%.
|
||||
</I18nMessage>
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue