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