fix(core): settings i18n refresh (#14760)

replace #14758


#### PR Dependency Tree


* **PR #14760** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Enhanced language switching to ensure the settings dialog properly
reflects language changes when users update their language preference.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
DarkSky
2026-04-03 03:37:49 +08:00
committed by GitHub
parent 0da32d61ae
commit 8ca3f2d53d
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ export const useI18n = () => {
return useMemo(() => createI18nWrapper(() => i18n), [i18n]);
};
export { I18nextProvider, Trans } from 'react-i18next';
export { I18nextProvider, Trans, useTranslation } from 'react-i18next';