mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-23 00:04:06 +00:00
Translate runtime-generated widget labels (#2688)
This commit is contained in:
@@ -82,7 +82,8 @@ export const useLitegraphService = () => {
|
||||
)
|
||||
}
|
||||
if (config.widget) {
|
||||
config.widget.label = st(nameKey, inputName)
|
||||
const fallback = config.widget.label ?? inputName
|
||||
config.widget.label = st(nameKey, fallback)
|
||||
}
|
||||
} else {
|
||||
// Node connection inputs
|
||||
|
||||
Reference in New Issue
Block a user