core&ui: trigger i18n update event

This commit is contained in:
undefined committed 2024-10-17 11:03:39 +08:00
1 parent 0ff088a677
commit ad0b4bd63e
3 files changed
+9 -2

No files matched your search

@@ -145,5 +145,6 @@ export async function apply(ctx: Context) {
ctx.on('system/setting', () => triggerHotUpdate());
ctx.on('app/watch/change', triggerHotUpdate);
ctx.on('app/watch/unlink', triggerHotUpdate);
ctx.on('app/i18n/update', debouncedBuildUI);
debouncedBuildUI();
}