Skip to content

Commit 0660031

Browse files
committed
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.
1 parent 903550b commit 0660031

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

client/modules/IDE/components/CollectionList/CollectionList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class CollectionList extends React.Component {
142142
{
143143
this.state.addingSketchesToCollectionId && (
144144
<Overlay
145-
title="Add sketches"
145+
title="Add sketch"
146146
actions={<SketchSearchbar />}
147147
closeOverlay={this.hideAddSketches}
148148
isFixedHeight

client/modules/IDE/components/CollectionList/CollectionListRow.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class CollectionListRowBase extends React.Component {
135135
onBlur={this.onBlurComponent}
136136
onFocus={this.onFocusComponent}
137137
>
138-
Add sketches
138+
Add sketch
139139
</button>
140140
</li>
141141
{userIsOwner &&

client/modules/IDE/pages/IDEView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class IDEView extends React.Component {
380380
{this.props.location.pathname.match(/add-to-collection$/) &&
381381
<Overlay
382382
ariaLabel="add to collection"
383-
title="Add sketch to collection"
383+
title="Add to collection"
384384
previousPath={this.props.ide.previousPath}
385385
actions={<CollectionSearchbar />}
386386
isFixedHeight

client/modules/User/components/Collection.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ class Collection extends React.Component {
325325
{
326326
this.state.isAddingSketches && (
327327
<Overlay
328-
title="Add sketches"
328+
title="Add sketch"
329329
actions={<SketchSearchbar />}
330330
closeOverlay={this.hideAddSketches}
331331
isFixedHeight

0 commit comments

Comments
 (0)