mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 16:49:16 +02:00
Add reader macro #ux/tr for simple translation strings.
This commit is contained in:
parent
241557f936
commit
0f41481580
3 changed files with 15 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
(require '[figwheel-sidecar.repl :as r]
|
||||
'[figwheel-sidecar.repl-api :as ra])
|
||||
'[figwheel-sidecar.repl-api :as ra]
|
||||
'[cljs.tagged-literals])
|
||||
|
||||
(alter-var-root #'cljs.tagged-literals/*cljs-data-readers*
|
||||
assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v)))
|
||||
|
||||
(ra/start-figwheel!
|
||||
{:figwheel-options {:css-dirs ["resources/public/css"]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue