Make "Add sketch" copy consistent

Buttons and menu items should say "Add sketch" (singular) and titles
should say "Add to collection" as it's implied by context that it's
a sketch.
This commit is contained in:
Andrew Nicolaou 2020-01-15 10:50:17 +01:00
parent 903550b41c
commit 0660031a0c
4 changed files with 4 additions and 4 deletions

View File

@ -142,7 +142,7 @@ class CollectionList extends React.Component {
{
this.state.addingSketchesToCollectionId && (
<Overlay
title="Add sketches"
title="Add sketch"
actions={<SketchSearchbar />}
closeOverlay={this.hideAddSketches}
isFixedHeight

View File

@ -135,7 +135,7 @@ class CollectionListRowBase extends React.Component {
onBlur={this.onBlurComponent}
onFocus={this.onFocusComponent}
>
Add sketches
Add sketch
</button>
</li>
{userIsOwner &&

View File

@ -380,7 +380,7 @@ class IDEView extends React.Component {
{this.props.location.pathname.match(/add-to-collection$/) &&
<Overlay
ariaLabel="add to collection"
title="Add sketch to collection"
title="Add to collection"
previousPath={this.props.ide.previousPath}
actions={<CollectionSearchbar />}
isFixedHeight

View File

@ -325,7 +325,7 @@ class Collection extends React.Component {
{
this.state.isAddingSketches && (
<Overlay
title="Add sketches"
title="Add sketch"
actions={<SketchSearchbar />}
closeOverlay={this.hideAddSketches}
isFixedHeight