(extract 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]})
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