Fix circular dependency on updating missing locale (#1893)

This commit is contained in:
Chenlei Hu
2024-12-12 12:26:18 -08:00
committed by GitHub
parent 7877c96ffe
commit a2549f23c7

View File

@@ -27,7 +27,7 @@ function buildLocale(
}
}
const messages: Record<string, typeof en> = {
const messages = {
en: buildLocale(en, enNodes, enCommands),
zh: buildLocale(zh, zhNodes, zhCommands),
ru: buildLocale(ru, ruNodes, ruCommands),