mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-14 01:20:03 +00:00
[i18n] Translate setting options (#1858)
* Collect options * Translate setting options * Update locales [skip ci] * Normalize key * Revert change of logic --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -54,7 +54,7 @@ export interface FormItem {
|
||||
type: SettingInputType | SettingCustomRenderer
|
||||
tooltip?: string
|
||||
attrs?: Record<string, any>
|
||||
options?: Array<string | SettingOption> | ((value: any) => SettingOption[])
|
||||
options?: Array<string | SettingOption>
|
||||
}
|
||||
|
||||
export interface ISettingGroup {
|
||||
|
||||
Reference in New Issue
Block a user