mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
[i18n] Supress expected translation/fallback warnings (#1867)
This commit is contained in:
@@ -16,7 +16,11 @@ export const i18n = createI18n({
|
|||||||
ru,
|
ru,
|
||||||
ja,
|
ja,
|
||||||
ko
|
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 */
|
/** Convenience shorthand: i18n.global */
|
||||||
|
|||||||
Reference in New Issue
Block a user