mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-06 08:00:05 +00:00
[i18n] Translate node input label (#1880)
This commit is contained in:
@@ -143,10 +143,7 @@ test('collect-i18n', async ({ comfyPage }) => {
|
||||
function extractInputs(nodeDef: ComfyNodeDefImpl) {
|
||||
const inputs = Object.fromEntries(
|
||||
nodeDef.inputs.all.flatMap((input) => {
|
||||
// TODO(huchenlei): translate input name. Somehow `CLIPAttentionMultiply` will
|
||||
// cause all subsequent translations to fail (Raw english values
|
||||
// are generated).
|
||||
const name = undefined
|
||||
const name = input.name
|
||||
const tooltip = input.tooltip
|
||||
|
||||
if (name === undefined && tooltip === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user