From 63e5e68fc64e6ce995528f72a0f97b9ebc10f056 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 12 Apr 2016 22:56:13 +0300 Subject: [PATCH] Add some annotations on locales api. --- src/uxbox/locales.cljs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/uxbox/locales.cljs b/src/uxbox/locales.cljs index 90658ab2a..630b624ae 100644 --- a/src/uxbox/locales.cljs +++ b/src/uxbox/locales.cljs @@ -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]