feat!: introduce `TranslationsConfig` by tbouffard · Pull Request #691 · maxGraph/maxGraph
Move the configuration related to `Translations` that was previously stored in `Client` to a new `TranslationsConfig` object. This makes things more explicit and consistent with the other focussed configuration objects. BREAKING CHANGES: All elements that were in `Client` to manage the configuration of `Translations` have moved to `TranslationsConfig`: - `Client.defaultLanguage` to `TranslationsConfig.getDefaultLanguage` - `Client.setDefaultLanguage` to `TranslationsConfig.setDefaultLanguage` - `Client.language` to `TranslationsConfig.getLanguage` - `Client.setLanguage` to `TranslationsConfig.setLanguage` - `Client.languages` to `TranslationsConfig.getLanguages` - `Client.setLanguages` to `TranslationsConfig.setLanguages`
tbouffard
deleted the
refactor/introduce_TranslationsConfig
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters