mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-12 17:42:49 +00:00
fix i18n
This commit is contained in:
parent
9f5c92b73a
commit
50c33b5184
@ -226,6 +226,9 @@ export class BaseTranslateService {
|
|||||||
await Promise.all(tasks);
|
await Promise.all(tasks);
|
||||||
} finally {
|
} finally {
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
|
// 加载翻译文件到内存
|
||||||
|
await this.loadTranslations();
|
||||||
|
await this.loadDictTranslations();
|
||||||
process.stdout.write('\r✅ i18n translate success!!!\n');
|
process.stdout.write('\r✅ i18n translate success!!!\n');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user