From 0660031a0c4d5e662161a20d1f99529809e981b2 Mon Sep 17 00:00:00 2001 From: Andrew Nicolaou Date: Wed, 15 Jan 2020 10:50:17 +0100 Subject: [PATCH] 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. --- client/modules/IDE/components/CollectionList/CollectionList.jsx | 2 +- .../modules/IDE/components/CollectionList/CollectionListRow.jsx | 2 +- client/modules/IDE/pages/IDEView.jsx | 2 +- client/modules/User/components/Collection.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/modules/IDE/components/CollectionList/CollectionList.jsx b/client/modules/IDE/components/CollectionList/CollectionList.jsx index 0709c356..02a43297 100644 --- a/client/modules/IDE/components/CollectionList/CollectionList.jsx +++ b/client/modules/IDE/components/CollectionList/CollectionList.jsx @@ -142,7 +142,7 @@ class CollectionList extends React.Component { { this.state.addingSketchesToCollectionId && ( } closeOverlay={this.hideAddSketches} isFixedHeight diff --git a/client/modules/IDE/components/CollectionList/CollectionListRow.jsx b/client/modules/IDE/components/CollectionList/CollectionListRow.jsx index 16c789bc..c49d65ec 100644 --- a/client/modules/IDE/components/CollectionList/CollectionListRow.jsx +++ b/client/modules/IDE/components/CollectionList/CollectionListRow.jsx @@ -135,7 +135,7 @@ class CollectionListRowBase extends React.Component { onBlur={this.onBlurComponent} onFocus={this.onFocusComponent} > - Add sketches + Add sketch {userIsOwner && diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index 87531ea5..24843d32 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -380,7 +380,7 @@ class IDEView extends React.Component { {this.props.location.pathname.match(/add-to-collection$/) && } isFixedHeight diff --git a/client/modules/User/components/Collection.jsx b/client/modules/User/components/Collection.jsx index 9644d0dc..9374ea09 100644 --- a/client/modules/User/components/Collection.jsx +++ b/client/modules/User/components/Collection.jsx @@ -325,7 +325,7 @@ class Collection extends React.Component { { this.state.isAddingSketches && ( } closeOverlay={this.hideAddSketches} isFixedHeight