0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

Change tool names and shortcuts

This commit is contained in:
Andrés Moya 2020-11-30 08:55:36 +01:00 committed by Andrey Antukh
parent df95bd7010
commit 6390af0827
3 changed files with 11 additions and 11 deletions

View file

@ -3635,13 +3635,13 @@
"es" : "Recursos (Ctrl + I)"
}
},
"workspace.toolbar.circle" : {
"workspace.toolbar.ellipse" : {
"used-in" : [ "src/app/main/ui/workspace/left_toolbar.cljs:69" ],
"translations" : {
"en" : "Circle (E)",
"fr" : "Cercle (E)",
"ru" : "Круг (E)",
"es" : "Círculo (E)"
"en" : "Ellipse (E)",
"fr" : "",
"ru" : "",
"es" : "Elipse (E)"
}
},
"workspace.toolbar.color-palette" : {
@ -3708,10 +3708,10 @@
"workspace.toolbar.rect" : {
"used-in" : [ "src/app/main/ui/workspace/left_toolbar.cljs:64" ],
"translations" : {
"en" : "Box (B)",
"fr" : "Boîte (B)",
"ru" : "Прямоугольник (B)",
"es" : "Recuadro (B)"
"en" : "Rectangle (R)",
"fr" : "",
"ru" : "",
"es" : "Rectángulo (R)"
}
},
"workspace.toolbar.text" : {

View file

@ -1651,7 +1651,7 @@
"ctrl+y" #(st/emit! dwc/redo)
"ctrl+q" #(st/emit! dwc/reinitialize-undo)
"a" #(st/emit! (dwd/select-for-drawing :frame))
"b" #(st/emit! (dwd/select-for-drawing :rect))
"r" #(st/emit! (dwd/select-for-drawing :rect))
"e" #(st/emit! (dwd/select-for-drawing :circle))
"t" #(st/emit! dwtxt/start-edit-if-selected
(dwd/select-for-drawing :text))

View file

@ -66,7 +66,7 @@
:on-click (partial select-drawtool :rect)}
i/box]
[:li.tooltip.tooltip-right
{:alt (t locale "workspace.toolbar.circle")
{:alt (t locale "workspace.toolbar.ellipse")
:class (when (= selected-drawtool :circle) "selected")
:on-click (partial select-drawtool :circle)}
i/circle]