[i18n] Supress expected translation/fallback warnings (#1867)

This commit is contained in:
Chenlei Hu
2024-12-11 08:32:50 -08:00
committed by GitHub
parent 20a3a95df2
commit e7733d94f9

View File

@@ -16,7 +16,11 @@ export const i18n = createI18n({
ru,
ja,
ko
}
},
// Ignore warnings for locale options as each option is in its own language.
// e.g. "English", "中文", "Русский", "日本語", "한국어"
missingWarn: /^(?!settingsDialog\.Comfy_Locale\.options\.).+/,
fallbackWarn: /^(?!settingsDialog\.Comfy_Locale\.options\.).+/
})
/** Convenience shorthand: i18n.global */