Corex.Combobox.Translation
(Corex v0.1.0-beta.3)
View Source
Translation struct for Combobox component strings.
Defaults are English literals ("Select", "No results"); at render time Corex passes them
through Corex.Gettext.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: placeholder: Corex.Gettext.gettext("…")