refactor: remove custom I18N merging logic
Description
Removes custom logic for merging I18N values from Flow components with web components defaults. That should now be covered by all web components having support for setting partial I18N objects.
Type of change
- Refactoring
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Should this also change similar logic in AppLayout and MultiSelectComboBox?
Should this also change similar logic in
AppLayoutandMultiSelectComboBox?
Thanks, I missed those. Turns out the partial I18n mechanism was missing for MSCB, so I created a PR for this first: https://github.com/vaadin/web-components/pull/10147
The tests for those components will also need to be changed as they make assertions on the i18n property. I'll have to think about whether ITs are still feasible or if they should be more basic unit tests instead.