feat(frontend): improve i18n

This commit is contained in:
Andrey Antukh 2019-06-19 16:44:54 +02:00
parent bd11b5864b
commit c98e89278f
11 changed files with 70 additions and 52 deletions

View file

@ -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)]))