generated from sapphiredev/sapphire-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(i18next): change how
fetchLanguage
is implemented (#107)
This is honestly better than a second property on `ClientOptions`. Another option on `ClientOptions` gets really confusing when you already have an `i18n` property. Not to mention that other than the type it wasn't really documented anywhere properly because it was only being used in `register`. BREAKING CHANGE: `fetchLanguage` has been moved from `ClientOptions` to `ClientOptions.i18n`
- Loading branch information
Showing
5 changed files
with
144 additions
and
66 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.