mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-09 21:12:36 +08:00
add missing fields
This commit is contained in:
parent
3761e7b265
commit
113b7c8d62
@ -206,6 +206,22 @@ export default {
|
|||||||
"node.input.control_after_generate": "control_after_generate",
|
"node.input.control_after_generate": "control_after_generate",
|
||||||
"node.input.low_threshold": "low_threshold",
|
"node.input.low_threshold": "low_threshold",
|
||||||
"node.input.high_threshold": "high_threshold",
|
"node.input.high_threshold": "high_threshold",
|
||||||
|
"node.input.model_name": "model_name",
|
||||||
|
"node.input.ascore": "ascore",
|
||||||
|
"node.input.crop_w": "crop_w",
|
||||||
|
"node.input.crop_h": "crop_h",
|
||||||
|
"node.input.target_width": "target_width",
|
||||||
|
"node.input.target_height": "target_height",
|
||||||
|
"node.input.text_g": "text_g",
|
||||||
|
"node.input.text_l": "text_l",
|
||||||
|
"node.input.ratio": "ratio",
|
||||||
|
"node.input.model1": "model1",
|
||||||
|
"node.input.model2": "model2",
|
||||||
|
"node.input.clip1": "clip1",
|
||||||
|
"node.input.clip2": "clip2",
|
||||||
|
"node.input.input": "input",
|
||||||
|
"node.input.middle": "middle",
|
||||||
|
"node.input.out": "out",
|
||||||
|
|
||||||
"node.output.CONDITIONING": "CONDITIONING",
|
"node.output.CONDITIONING": "CONDITIONING",
|
||||||
"node.output.IMAGE": "IMAGE",
|
"node.output.IMAGE": "IMAGE",
|
||||||
@ -219,6 +235,7 @@ export default {
|
|||||||
"node.output.STYLE_MODEL": "STYLE_MODEL",
|
"node.output.STYLE_MODEL": "STYLE_MODEL",
|
||||||
"node.output.GLIGEN": "GLIGEN",
|
"node.output.GLIGEN": "GLIGEN",
|
||||||
"node.output.MASK": "MASK",
|
"node.output.MASK": "MASK",
|
||||||
|
"node.output.UPSCALE_MODEL": "UPSCALE_MODEL",
|
||||||
|
|
||||||
"category.conditioning": "conditioning",
|
"category.conditioning": "conditioning",
|
||||||
"category.loaders": "loaders",
|
"category.loaders": "loaders",
|
||||||
|
|||||||
@ -117,8 +117,7 @@ export default {
|
|||||||
"node.title.LoadLatent": "加载隐空间",
|
"node.title.LoadLatent": "加载隐空间",
|
||||||
"node.title.SaveLatent": "保存隐空间",
|
"node.title.SaveLatent": "保存隐空间",
|
||||||
"node.title.ConditioningZeroOut": "调节ZeroOut",
|
"node.title.ConditioningZeroOut": "调节ZeroOut",
|
||||||
"node.title.ConditioningSetTimestepRange":
|
"node.title.ConditioningSetTimestepRange": "ConditioningSetTimestepRange",
|
||||||
"ConditioningSetTimestepRange",
|
|
||||||
|
|
||||||
"node.input.text": "文本",
|
"node.input.text": "文本",
|
||||||
"node.input.clip": "clip",
|
"node.input.clip": "clip",
|
||||||
@ -207,6 +206,22 @@ export default {
|
|||||||
"node.input.control_after_generate": "control_after_generate",
|
"node.input.control_after_generate": "control_after_generate",
|
||||||
"node.input.low_threshold": "低门槛",
|
"node.input.low_threshold": "低门槛",
|
||||||
"node.input.high_threshold": "高门槛",
|
"node.input.high_threshold": "高门槛",
|
||||||
|
"node.input.model_name": "模型名称",
|
||||||
|
"node.input.ascore": "ascore",
|
||||||
|
"node.input.crop_w": "crop_w",
|
||||||
|
"node.input.crop_h": "crop_h",
|
||||||
|
"node.input.target_width": "target_width",
|
||||||
|
"node.input.target_height": "target_height",
|
||||||
|
"node.input.text_g": "text_g",
|
||||||
|
"node.input.text_l": "text_l",
|
||||||
|
"node.input.ratio": "ratio",
|
||||||
|
"node.input.model1": "模型1",
|
||||||
|
"node.input.model2": "模型2",
|
||||||
|
"node.input.clip1": "clip1",
|
||||||
|
"node.input.clip2": "clip2",
|
||||||
|
"node.input.input": "input",
|
||||||
|
"node.input.middle": "middle",
|
||||||
|
"node.input.out": "out",
|
||||||
|
|
||||||
"node.output.CONDITIONING": "CONDITIONING",
|
"node.output.CONDITIONING": "CONDITIONING",
|
||||||
"node.output.IMAGE": "图像",
|
"node.output.IMAGE": "图像",
|
||||||
@ -220,6 +235,7 @@ export default {
|
|||||||
"node.output.STYLE_MODEL": "STYLE_MODEL",
|
"node.output.STYLE_MODEL": "STYLE_MODEL",
|
||||||
"node.output.GLIGEN": "GLIGEN",
|
"node.output.GLIGEN": "GLIGEN",
|
||||||
"node.output.MASK": "遮罩",
|
"node.output.MASK": "遮罩",
|
||||||
|
"node.output.UPSCALE_MODEL": "UPSCALE_MODEL",
|
||||||
|
|
||||||
"category.conditioning": "可调参数",
|
"category.conditioning": "可调参数",
|
||||||
"category.loaders": "加载器",
|
"category.loaders": "加载器",
|
||||||
@ -244,8 +260,7 @@ export default {
|
|||||||
|
|
||||||
"settings.Comfy.ConfirmClear": "清空工作流需要确认",
|
"settings.Comfy.ConfirmClear": "清空工作流需要确认",
|
||||||
"settings.Comfy.PromptFilename": "把工作流保存成文件",
|
"settings.Comfy.PromptFilename": "把工作流保存成文件",
|
||||||
"settings.Comfy.PreviewFormat":
|
"settings.Comfy.PreviewFormat": "预览图格式和压缩尺寸, e.g. webp, jpeg, webp;50, etc.",
|
||||||
"预览图格式和压缩尺寸, e.g. webp, jpeg, webp;50, etc.",
|
|
||||||
"settings.Comfy.DisableSliders": "禁用滑动条",
|
"settings.Comfy.DisableSliders": "禁用滑动条",
|
||||||
"settings.Comfy.DevMode": "启用开发模式",
|
"settings.Comfy.DevMode": "启用开发模式",
|
||||||
"settings.Comfy.ColorPalette": "主题",
|
"settings.Comfy.ColorPalette": "主题",
|
||||||
@ -261,4 +276,4 @@ export default {
|
|||||||
"settings.Comfy.ColorPalette.template": "模版",
|
"settings.Comfy.ColorPalette.template": "模版",
|
||||||
"settings.Comfy.ColorPalette.delete": "删除",
|
"settings.Comfy.ColorPalette.delete": "删除",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -206,6 +206,22 @@ export default {
|
|||||||
"node.input.control_after_generate": "control_after_generate",
|
"node.input.control_after_generate": "control_after_generate",
|
||||||
"node.input.low_threshold": "low_threshold",
|
"node.input.low_threshold": "low_threshold",
|
||||||
"node.input.high_threshold": "high_threshold",
|
"node.input.high_threshold": "high_threshold",
|
||||||
|
"node.input.model_name": "model_name",
|
||||||
|
"node.input.ascore": "ascore",
|
||||||
|
"node.input.crop_w": "crop_w",
|
||||||
|
"node.input.crop_h": "crop_h",
|
||||||
|
"node.input.target_width": "target_width",
|
||||||
|
"node.input.target_height": "target_height",
|
||||||
|
"node.input.text_g": "text_g",
|
||||||
|
"node.input.text_l": "text_l",
|
||||||
|
"node.input.ratio": "ratio",
|
||||||
|
"node.input.model1": "model1",
|
||||||
|
"node.input.model2": "model2",
|
||||||
|
"node.input.clip1": "clip1",
|
||||||
|
"node.input.clip2": "clip2",
|
||||||
|
"node.input.input": "input",
|
||||||
|
"node.input.middle": "middle",
|
||||||
|
"node.input.out": "out",
|
||||||
|
|
||||||
"node.output.CONDITIONING": "CONDITIONING",
|
"node.output.CONDITIONING": "CONDITIONING",
|
||||||
"node.output.IMAGE": "IMAGE",
|
"node.output.IMAGE": "IMAGE",
|
||||||
@ -219,6 +235,7 @@ export default {
|
|||||||
"node.output.STYLE_MODEL": "STYLE_MODEL",
|
"node.output.STYLE_MODEL": "STYLE_MODEL",
|
||||||
"node.output.GLIGEN": "GLIGEN",
|
"node.output.GLIGEN": "GLIGEN",
|
||||||
"node.output.MASK": "MASK",
|
"node.output.MASK": "MASK",
|
||||||
|
"node.output.UPSCALE_MODEL": "UPSCALE_MODEL",
|
||||||
|
|
||||||
"category.conditioning": "conditioning",
|
"category.conditioning": "conditioning",
|
||||||
"category.loaders": "loaders",
|
"category.loaders": "loaders",
|
||||||
|
|||||||
@ -7,12 +7,14 @@ import { getPngMetadata, importA1111, getLatentMetadata } from "./pnginfo.js";
|
|||||||
|
|
||||||
import en from "../i18n/en_US.js"
|
import en from "../i18n/en_US.js"
|
||||||
import cn from "../i18n/zh_CN.js"
|
import cn from "../i18n/zh_CN.js"
|
||||||
|
import tw from "../i18n/zh_TW.js"
|
||||||
|
|
||||||
i18next.use(i18nextBrowserLanguageDetector).init({
|
i18next.use(i18nextBrowserLanguageDetector).init({
|
||||||
fallbackLng: 'en',
|
fallbackLng: 'en',
|
||||||
resources: {
|
resources: {
|
||||||
"en-US": en,
|
"en-US": cn,
|
||||||
"en": en,
|
"en": en,
|
||||||
|
"zh-TW": tw,
|
||||||
"zh-CN": cn,
|
"zh-CN": cn,
|
||||||
"cn": cn,
|
"cn": cn,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user