Skip to content

Commit 615504a

Browse files
authored
Clean-up wording in various error messages (#103372)
The EmptyContent component is used to display full screen "empty" messages - think errors, prompts to add content, 404s etc. They are often paired with old cartoony illustrations, which isn't the look we're going for right now. The EmptyContent component does still retain support for displaying an image though - sometimes it is genuinely useful, like when displaying theme screenshots. This removes cutsey wording like 'uh oh' from error messages using the <EmptyContent> component. It also switches to use the brand font for the title.
1 parent 3f86d61 commit 615504a

File tree

91 files changed

+169
-406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+169
-406
lines changed

client/assets/images/difm/site-build-in-progress.svg

Lines changed: 0 additions & 43 deletions
This file was deleted.

client/assets/images/difm/website-content-required.svg

Lines changed: 0 additions & 16 deletions
This file was deleted.

client/blocks/conversations/empty.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ class ConversationsEmptyContent extends Component {
4040
) }
4141
action={ action }
4242
secondaryAction={ secondaryAction }
43-
illustration=""
4443
/>
4544
);
4645
}

client/components/domains/register-domain-step/index.jsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import PropTypes from 'prop-types';
3030
import { stringify, parse } from 'qs';
3131
import { Component } from 'react';
3232
import { connect } from 'react-redux';
33-
import Illustration from 'calypso/assets/images/domains/domain.svg';
3433
import DomainSearchResults from 'calypso/components/domains/domain-search-results';
3534
import ExampleDomainSuggestions from 'calypso/components/domains/example-domain-suggestions';
3635
import FreeDomainExplainer from 'calypso/components/domains/free-domain-explainer';
@@ -751,12 +750,7 @@ class RegisterDomainStep extends Component {
751750
return (
752751
<>
753752
{ this.renderBestNamesPrompt() }
754-
<EmptyContent
755-
title=""
756-
className="register-domain-step__placeholder"
757-
illustration={ Illustration }
758-
illustrationWidth={ 280 }
759-
/>
753+
<EmptyContent title="" className="register-domain-step__placeholder" />
760754
</>
761755
);
762756
}

0 commit comments

Comments
 (0)