0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-15 11:38:24 -05:00

Add some annotations on locales api.

This commit is contained in:
Andrey Antukh 2016-04-12 22:56:13 +03:00
parent a264cea1d6
commit 63e5e68fc6
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -17,6 +17,9 @@
(defonce +locale+
(get local-storage ::locale :en))
;; A marker type that is used just for mark
;; a parameter that reprsentes the counter.
(deftype C [val]
IDeref
(-deref [o] val))
@ -29,6 +32,8 @@
[r]
(instance? C r))
;; A main public api for translate strings.
(defn tr
"Translate the string."
([t]