(extract extract-fn expr)(extract file extract-fn expr)Extracts strings from either
(tr i18n ["Hello!" arg]) or
(tr ["Hello!" arg]) or
and the plural forms;
(trn i18n ["One item" "%1 items"] n) or
(trn ["One item" "%1 items"] n)
Extracts strings from either `(tr i18n ["Hello!" arg])` or `(tr ["Hello!" arg])` or and the plural forms; `(trn i18n ["One item" "%1 items"] n)` or `(trn ["One item" "%1 items"] n)`
(scan-files {:keys [dir extract-fn features] :or {features #{:clj :cljs}}})Walk the given directory and for every clj, cljc or cljs file extract the strings for which the extractor returns a value.
Walk the given directory and for every clj, cljc or cljs file extract the strings for which the extractor returns a value.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |