🌐 History, icons and messages i18n

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
mathieu.brunot 2019-08-10 21:55:56 +02:00
parent 1d5bfd33d4
commit 5c12bd988d
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
5 changed files with 30 additions and 18 deletions

View file

@ -14,7 +14,8 @@
[uxbox.util.timers :as ts]
[rumext.core :as mx :include-macros true]
[uxbox.util.data :refer [classnames]]
[uxbox.util.dom :as dom]))
[uxbox.util.dom :as dom]
[uxbox.util.i18n :refer [tr]]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Data Events
@ -135,10 +136,10 @@
[:div.message-action
[:a.btn-transparent.btn-small
{:on-click accept}
"Accept"]
(tr "ds.accept")]
[:a.btn-transparent.btn-small
{:on-click cancel}
"Cancel"]]]])))
(tr "ds.cancel")]]]])))
;; --- Main Component (entry point)