Publish button: use spinner instead of "Publishing..."
Looks better, plus the preview could take a while sometimes.
This commit is contained in:
parent
263c09500f
commit
236e2cfe8e
2 changed files with 1 additions and 2 deletions
|
@ -1430,7 +1430,6 @@
|
||||||
"Log in to %SITE_NAME%": "Log in to %SITE_NAME%",
|
"Log in to %SITE_NAME%": "Log in to %SITE_NAME%",
|
||||||
"Log in": "Log in",
|
"Log in": "Log in",
|
||||||
"Not Yet": "Not Yet",
|
"Not Yet": "Not Yet",
|
||||||
"Preparing...": "Preparing...",
|
|
||||||
"Confirm Upload": "Confirm Upload",
|
"Confirm Upload": "Confirm Upload",
|
||||||
"Confirm Edit": "Confirm Edit",
|
"Confirm Edit": "Confirm Edit",
|
||||||
"Create Livestream": "Create Livestream",
|
"Create Livestream": "Create Livestream",
|
||||||
|
|
|
@ -325,7 +325,7 @@ function PublishForm(props: Props) {
|
||||||
submitLabel = __('Uploading...');
|
submitLabel = __('Uploading...');
|
||||||
}
|
}
|
||||||
} else if (previewing) {
|
} else if (previewing) {
|
||||||
submitLabel = __('Preparing...');
|
submitLabel = <Spinner type="small" />;
|
||||||
} else {
|
} else {
|
||||||
if (isStillEditing) {
|
if (isStillEditing) {
|
||||||
submitLabel = __('Save');
|
submitLabel = __('Save');
|
||||||
|
|
Loading…
Reference in a new issue