(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 is a website building & hosting documentation for Clojure/Script libraries
× close