Fix incorrect context for 'New' string

This commit is contained in:
infinite-persistence 2021-09-21 16:47:45 +08:00
parent 31523d769a
commit fcea4005eb
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -449,7 +449,12 @@ function PublishFile(props: Props) {
{publishing && <Spinner type={'small'} />} {publishing && <Spinner type={'small'} />}
{inProgress && ( {inProgress && (
<div> <div>
<Button button="close" label={__('New')} icon={ICONS.REFRESH} onClick={clearPublish} /> <Button
button="close"
label={__('New --[clears Publish Form]--')}
icon={ICONS.REFRESH}
onClick={clearPublish}
/>
</div> </div>
)} )}
</div> </div>