vaadin-component-factory / multi-combo-box-flow

https://incubator.app.fi/multi-combo-box-flow-demo/
Apache License 2.0
3 stars 1 forks source link

Add i18n for the button labels #11

Closed jcgueriaud1 closed 3 years ago

jcgueriaud1 commented 3 years ago

Add i18n for the button labels

mheicke commented 3 years ago

Alternative add a function buttonLabelProvider(Function<ButtonType, String> provider) with enum for the button type (SELECT_ALL, CLEAR)

jcgueriaud1 commented 3 years ago

Released in https://github.com/vaadin-component-factory/multi-combo-box-flow/releases/tag/v0.3.0

Here is a example: https://github.com/vaadin-component-factory/multi-combo-box-flow/blob/main/multi-combo-box-flow-demo/src/main/java/com/vaadin/componentfactory/multiselect/I18nView.java#L23