mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 12:41:41 +02:00
feat(frontend): improve i18n
This commit is contained in:
parent
bd11b5864b
commit
c98e89278f
11 changed files with 70 additions and 52 deletions
|
@ -70,7 +70,7 @@
|
|||
|
||||
attrs (merge props (attrs/extract-style-attrs shape))]
|
||||
[:g {:transform (str xfmt)}
|
||||
[:svg attrs]]))
|
||||
[:> :svg (normalize-props attrs) ]]))
|
||||
|
||||
;; --- Icon SVG
|
||||
|
||||
|
@ -80,5 +80,5 @@
|
|||
(let [view-box (apply str (interpose " " (:view-box metadata)))
|
||||
props {:view-box view-box
|
||||
:id (str "shape-" id)
|
||||
:dangerouslySetInnerHTML {:__html content}}]
|
||||
:dangerouslySetInnerHTML #js {:__html content}}]
|
||||
[:> :svg (normalize-props props)]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue