Corex.Combobox.Translation
(Corex v0.1.0-beta.5)
View Source
Translation struct for Combobox component strings.
Defaults are English literals ("Select", "No results"); at render time Corex passes them
through the host gettext backend gettext/1 unless you override. Partial structs fill missing fields
the same way.
Override: translation={%Corex.Combobox.Translation{placeholder: "Search…", empty: "Nothing found"}}
Trigger and clear buttons use translation.trigger and translation.clear_selection (defaults Open options and Clear selection).
With explicit gettext at the call site: pass your app Gettext module's gettext("…") as the field value.