From bf953420579abd544b9c256ea474a3c5375228d9 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Tue, 25 Jun 2024 20:18:27 +0200 Subject: [PATCH] i18n: add translations for enhance gradio output elements --- language/en.json | 69 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 59 insertions(+), 10 deletions(-) diff --git a/language/en.json b/language/en.json index ec7ef09d..da8f2271 100644 --- a/language/en.json +++ b/language/en.json @@ -44,15 +44,7 @@ "Top": "Top", "Bottom": "Bottom", "* \"Inpaint or Outpaint\" is powered by the sampler \"DPMPP Fooocus Seamless 2M SDE Karras Inpaint Sampler\" (beta)": "* \"Inpaint or Outpaint\" is powered by the sampler \"DPMPP Fooocus Seamless 2M SDE Karras Inpaint Sampler\" (beta)", - "Mask generation model": "Mask generation model", - "Cloth category": "Cloth category", - "Detection prompt": "Detection prompt", - "Use singular whenever possible": "Use singular whenever possible", "Advanced options": "Advanced options", - "SAM model": "SAM model", - "Quantization": "Quantization", - "Box Threshold": "Box Threshold", - "Text Threshold": "Text Threshold", "Generate mask from image": "Generate mask from image", "Setting": "Setting", "Style": "Style", @@ -383,7 +375,6 @@ "Used for SAM object detection and box generation": "Used for SAM object detection and box generation", "GroundingDINO Box Erode or Dilate": "GroundingDINO Box Erode or Dilate", "Inpaint Engine": "Inpaint Engine", - "Version of Fooocus inpaint model. If set, use performance Quality or Speed (no performance LoRAs) for best results.": "Version of Fooocus inpaint model. If set, use performance Quality or Speed (no performance LoRAs) for best results.", "v1": "v1", "v2.5": "v2.5", "v2.6": "v2.6", @@ -416,5 +407,63 @@ "Image Prompt parameters are not included. Use png and a1111 for compatibility with Civitai.": "Image Prompt parameters are not included. Use png and a1111 for compatibility with Civitai.", "fooocus (json)": "fooocus (json)", "a1111 (plain text)": "a1111 (plain text)", - "Unsupported image type in input": "Unsupported image type in input" + "Unsupported image type in input": "Unsupported image type in input", + "Enhance": "Enhance", + "Detection prompt": "Detection prompt", + "Detection Prompt Quick List": "Detection Prompt Quick List", + "Maximum number of detections": "Maximum number of detections", + "Base image for enhance": "Base image for enhance", + "Order of Processing": "Order of Processing", + "Use before for enhancement of small details and after for large areas.": "Use before for enhancement of small details and after for large areas.", + "Before First Enhancement": "Before First Enhancement", + "After Last Enhancement": "After Last Enhancement", + "Prompt Type": "Prompt Type", + "Choose which prompt to use for Upscale or Variation.": "Choose which prompt to use for Upscale or Variation.", + "Original Prompts": "Original Prompts", + "Last Filled Enhancement Prompts": "Last Filled Enhancement Prompts", + "Enable": "Enable", + "Describe what you want to detect.": "Describe what you want to detect.", + "Enhancement positive prompt": "Enhancement positive prompt", + "Uses original prompt instead if empty.": "Uses original prompt instead if empty.", + "Enhancement negative prompt": "Enhancement negative prompt", + "Uses original negative prompt instead if empty.": "Uses original negative prompt instead if empty.", + "Detection": "Detection", + "u2net": "u2net", + "u2netp": "u2netp", + "u2net_human_seg": "u2net_human_seg", + "u2net_cloth_seg": "u2net_cloth_seg", + "silueta": "silueta", + "isnet-general-use": "isnet-general-use", + "isnet-anime": "isnet-anime", + "sam": "sam", + "Mask generation model": "Mask generation model", + "Cloth category": "Cloth category", + "Use singular whenever possible": "Use singular whenever possible", + "full": "full", + "upper": "upper", + "lower": "lower", + "SAM Options": "SAM Options", + "SAM model": "SAM model", + "vit_b": "vit_b", + "vit_l": "vit_l", + "vit_h": "vit_h", + "Box Threshold": "Box Threshold", + "Text Threshold": "Text Threshold", + "Set to 0 to detect all": "Set to 0 to detect all", + "Inpaint": "Inpaint", + "Inpaint or Outpaint (default)": "Inpaint or Outpaint (default)", + "Improve Detail (face, hand, eyes, etc.)": "Improve Detail (face, hand, eyes, etc.)", + "Modify Content (add objects, change background, etc.)": "Modify Content (add objects, change background, etc.)", + "Disable initial latent in inpaint": "Disable initial latent in inpaint", + "Version of Fooocus inpaint model. If set, use performance Quality or Speed (no performance LoRAs) for best results.": "Version of Fooocus inpaint model. If set, use performance Quality or Speed (no performance LoRAs) for best results.", + "Inpaint Denoising Strength": "Inpaint Denoising Strength", + "Same as the denoising strength in A1111 inpaint. Only used in inpaint, not used in outpaint. (Outpaint always use 1.0)": "Same as the denoising strength in A1111 inpaint. Only used in inpaint, not used in outpaint. (Outpaint always use 1.0)", + "Inpaint Respective Field": "Inpaint Respective Field", + "The area to inpaint. Value 0 is same as \"Only Masked\" in A1111. Value 1 is same as \"Whole Image\" in A1111. Only used in inpaint, not used in outpaint. (Outpaint always use 1.0)": "The area to inpaint. Value 0 is same as \"Only Masked\" in A1111. Value 1 is same as \"Whole Image\" in A1111. Only used in inpaint, not used in outpaint. (Outpaint always use 1.0)", + "Mask Erode or Dilate": "Mask Erode or Dilate", + "Positive value will make white area in the mask larger, negative value will make white area smaller. (default is 0, always processed before any mask invert)": "Positive value will make white area in the mask larger, negative value will make white area smaller. (default is 0, always processed before any mask invert)", + "Invert Mask": "Invert Mask", + "Debug Enhance Masks": "Debug Enhance Masks", + "Show enhance masks in preview and final results": "Show enhance masks in preview and final results", + "Use GroundingDINO boxes instead of more detailed SAM masks": "Use GroundingDINO boxes instead of more detailed SAM masks" } \ No newline at end of file