Liking cljdoc? Tell your friends :D
Clojure only.

cloregram.texts


txtclj

(txt path & args)

Gets string from .EDN files in resource folder 'texts' by path key if path is a keyword or by nested path if path is a sequence and :language-code field of *current-user* dynamic variable. If there no such language key in map on path then config field :bot/default-language-code would be used. The resulting string is formatted using args and clojure.core/format function.

Gets string from .EDN files in resource folder 'texts' by `path` key if `path` is a keyword or by nested `path` if `path` is a sequence and `:language-code` field of `*current-user*` dynamic variable. If there no such language key in map on `path` then config field `:bot/default-language-code` would be used. The resulting string is formatted using `args` and `clojure.core/format` function.
sourceraw docstring

txticlj

(txti language-code path & args)

Gets string from .EDN files in resource folder 'texts' by path key if path is a keyword or by nested path if path is a sequence and language-code. If there no such language key in map on path then config field :bot/default-language-code would be used. The resulting string is formatted using args and clojure.core/format function.

Gets string from .EDN files in resource folder 'texts' by `path` key if `path` is a keyword or by nested `path` if `path` is a sequence and `language-code`. If there no such language key in map on `path` then config field `:bot/default-language-code` would be used. The resulting string is formatted using `args` and `clojure.core/format` function.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close