mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-06 16:10:09 +00:00
[i18n] Supress expected translation/fallback warnings (#1867)
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user