Skip to content

Commit 44dec73

Browse files
committed
update draw modebar button descriptions
1 parent 3eee6f1 commit 44dec73

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/modebar/buttons.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ modeBarButtons.lasso2d = {
136136

137137
modeBarButtons.drawclosedpath = {
138138
name: 'drawclosedpath',
139-
title: function(gd) { return _(gd, 'Draw Closed Freeform'); },
139+
title: function(gd) { return _(gd, 'Draw closed freeform'); },
140140
attr: 'dragmode',
141141
val: 'drawclosedpath',
142142
icon: Icons.drawclosedpath,
@@ -145,7 +145,7 @@ modeBarButtons.drawclosedpath = {
145145

146146
modeBarButtons.drawopenpath = {
147147
name: 'drawopenpath',
148-
title: function(gd) { return _(gd, 'Draw Open Freeform'); },
148+
title: function(gd) { return _(gd, 'Draw open freeform'); },
149149
attr: 'dragmode',
150150
val: 'drawopenpath',
151151
icon: Icons.drawopenpath,
@@ -154,7 +154,7 @@ modeBarButtons.drawopenpath = {
154154

155155
modeBarButtons.drawline = {
156156
name: 'drawline',
157-
title: function(gd) { return _(gd, 'Draw Line'); },
157+
title: function(gd) { return _(gd, 'Draw line'); },
158158
attr: 'dragmode',
159159
val: 'drawline',
160160
icon: Icons.drawline,
@@ -163,7 +163,7 @@ modeBarButtons.drawline = {
163163

164164
modeBarButtons.drawrect = {
165165
name: 'drawrect',
166-
title: function(gd) { return _(gd, 'Draw Rectangle'); },
166+
title: function(gd) { return _(gd, 'Draw rectangle'); },
167167
attr: 'dragmode',
168168
val: 'drawrect',
169169
icon: Icons.drawrect,
@@ -172,7 +172,7 @@ modeBarButtons.drawrect = {
172172

173173
modeBarButtons.drawcircle = {
174174
name: 'drawcircle',
175-
title: function(gd) { return _(gd, 'Draw Ellipse'); },
175+
title: function(gd) { return _(gd, 'Draw circle'); },
176176
attr: 'dragmode',
177177
val: 'drawcircle',
178178
icon: Icons.drawcircle,
@@ -181,7 +181,7 @@ modeBarButtons.drawcircle = {
181181

182182
modeBarButtons.eraseshape = {
183183
name: 'eraseshape',
184-
title: function(gd) { return _(gd, 'Erase Active Shape'); },
184+
title: function(gd) { return _(gd, 'Erase active shape'); },
185185
icon: Icons.eraseshape,
186186
click: eraseActiveShape
187187
};

0 commit comments

Comments
 (0)