mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 23:31:21 -05:00
✨ Tempory enable full rerender on lang change.
Until all components starts using i18n/use-translations hook.
This commit is contained in:
parent
f7838601e6
commit
41b465f444
1 changed files with 1 additions and 9 deletions
|
@ -29,15 +29,7 @@
|
|||
(declare reinit)
|
||||
(s/check-asserts true)
|
||||
|
||||
;; (i18n/update-locales! (fn [locales]
|
||||
;; (-> locales
|
||||
;; (assoc "en" en/locales)
|
||||
;; (assoc "fr" fr/locales))))
|
||||
|
||||
;; (i18n/on-locale-change!
|
||||
;; (fn [new old]
|
||||
;; (println "Locale changed from" old " to " new)
|
||||
;; (reinit)))
|
||||
(rx/sub! i18n/locale-sub #(reinit))
|
||||
|
||||
;; --- Error Handling
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue