Functions for translating form contents, such as labels.
Functions for translating form contents, such as labels.
(t type field)
(t type field default)
Returns a translation of the given type for the field.
(t :labels :email)
(t :placeholder :name "First Last")
Returns a translation of the given type for the field. ### Examples (t :labels :email) (t :placeholder :name "First Last")
(with-form-translation-scope object & content)
Sets up a binding for form element translations.
(with-form-translation-scope :profile
(t :labels :email))
Sets up a binding for form element translations. ### Example (with-form-translation-scope :profile (t :labels :email))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close