mirror of
https://github.com/penpot/penpot.git
synced 2025-02-08 08:09:14 -05:00
remoev translation function
This commit is contained in:
parent
24f1693684
commit
31b487ed86
1 changed files with 3 additions and 4 deletions
|
@ -18,7 +18,6 @@
|
||||||
[app.main.ui.icons :as i]
|
[app.main.ui.icons :as i]
|
||||||
[app.main.ui.workspace.tokens.common :refer [hide-token-context-menu]]
|
[app.main.ui.workspace.tokens.common :refer [hide-token-context-menu]]
|
||||||
[app.util.dom :as dom]
|
[app.util.dom :as dom]
|
||||||
[app.util.i18n :refer [tr]]
|
|
||||||
[app.util.timers :as timers]
|
[app.util.timers :as timers]
|
||||||
[okulary.core :as l]
|
[okulary.core :as l]
|
||||||
[rumext.v2 :as mf]))
|
[rumext.v2 :as mf]))
|
||||||
|
@ -118,9 +117,9 @@
|
||||||
do-duplicate #(js/console.log "Duplicating")
|
do-duplicate #(js/console.log "Duplicating")
|
||||||
do-edit #(js/console.log "Editing")]
|
do-edit #(js/console.log "Editing")]
|
||||||
[:ul.context-list
|
[:ul.context-list
|
||||||
[:> token-menu-entry {:title (tr "Delete Token") :on-click do-delete}]
|
[:> token-menu-entry {:title "Delete Token" :on-click do-delete}]
|
||||||
[:> token-menu-entry {:title (tr "Duplicate Token") :on-click do-duplicate}]
|
[:> token-menu-entry {:title "Duplicate Token" :on-click do-duplicate}]
|
||||||
[:> token-menu-entry {:title (tr "Edit Token") :on-click do-edit}]]))
|
[:> token-menu-entry {:title "Edit Token" :on-click do-edit}]]))
|
||||||
|
|
||||||
(mf/defc token-context-menu
|
(mf/defc token-context-menu
|
||||||
[]
|
[]
|
||||||
|
|
Loading…
Add table
Reference in a new issue