mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 00:36:12 +02:00
✨ Fix translation text on sidebar layers.
This commit is contained in:
parent
8dc13aa0d9
commit
9a184d1c7a
2 changed files with 7 additions and 6 deletions
|
@ -18,7 +18,7 @@
|
|||
[uxbox.main.ui.workspace.sortable :refer [use-sortable]]
|
||||
[uxbox.util.data :refer [classnames enumerate]]
|
||||
[uxbox.util.dom :as dom]
|
||||
[uxbox.util.i18n :refer (tr)]))
|
||||
[uxbox.util.i18n :as i18n]))
|
||||
|
||||
(def ^:private shapes-iref
|
||||
(-> (l/key :shapes)
|
||||
|
@ -235,7 +235,8 @@
|
|||
|
||||
(mf/defc layers-toolbox
|
||||
[{:keys [page] :as props}]
|
||||
(let [on-click #(st/emit! (dw/toggle-layout-flag :layers))
|
||||
(let [tr (i18n/use-translations)
|
||||
on-click #(st/emit! (dw/toggle-layout-flag :layers))
|
||||
|
||||
selected (mf/deref refs/selected-shapes)
|
||||
data (mf/deref refs/workspace-data)
|
||||
|
@ -257,7 +258,7 @@
|
|||
[:div#layers.tool-window
|
||||
[:div.tool-window-bar
|
||||
[:div.tool-window-icon i/layers]
|
||||
[:span (tr "ds.settings.layers")]
|
||||
[:span (tr "workspace.sidebar.layers")]
|
||||
;; [:div.tool-window-close {:on-click on-click} i/close]
|
||||
]
|
||||
[:div.tool-window-content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue