PhoenixKitPublishing. GroupAITranslateBinding
(PhoenixKitPublishing v0.4.3)
Copy Markdown
View Source
PhoenixKitAI.Components.AITranslate.FormBinding-shaped binding for the
Edit Group form's name translations.
NOT declared as @behaviour: the FormBinding callbacks type the second
apply_translation/4 argument as an Ecto.Changeset, but the group edit
form is a plain params MAP behind to_form(params, as: :group) — the glue
passes form.source through verbatim, so a map works, and skipping the
behaviour declaration keeps dialyzer from flagging the contract mismatch.
Summary
Functions
The acting user's UUID for the translation audit trail.
Merge a completed name translation into the form's params map.
Languages whose name override is already non-blank in the live form.
Functions
The acting user's UUID for the translation audit trail.
Merge a completed name translation into the form's params map.
Languages whose name override is already non-blank in the live form.