diff --git a/language/en.json b/language/en.json index ed25165a..de448969 100644 --- a/language/en.json +++ b/language/en.json @@ -1,6 +1,8 @@ { "Preview": "Preview", + "\n
\n
\n
\n \n
\n Progress 32%\n
\n": "\n
\n
\n
\n \n
\n Progress 32%\n
\n", "Gallery": "Gallery", + "": "", "Generate": "Generate", "Skip": "Skip", "Stop": "Stop", @@ -14,6 +16,7 @@ "Upscale (1.5x)": "Upscale (1.5x)", "Upscale (2x)": "Upscale (2x)", "Upscale (Fast 2x)": "Upscale (Fast 2x)", + "\ud83d\udcd4 Document": "\ud83d\udcd4 Document", "Image": "Image", "Stop At": "Stop At", "Weight": "Weight", @@ -21,15 +24,20 @@ "Image Prompt": "Image Prompt", "PyraCanny": "PyraCanny", "CPDS": "CPDS", + "* \"Image Prompt\" is powered by Fooocus Image Mixture Engine (v1.0.1). \ud83d\udcd4 Document": "* \"Image Prompt\" is powered by Fooocus Image Mixture Engine (v1.0.1). \ud83d\udcd4 Document", + "Outpaint Expansion (\ud83d\udcd4 Document):": "Outpaint Expansion (\ud83d\udcd4 Document):", "Outpaint": "Outpaint", "Left": "Left", "Right": "Right", "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)", + "uov": "uov", "Performance": "Performance", "Speed": "Speed", "Quality": "Quality", "Aspect Ratios": "Aspect Ratios", + "896\u00d71152": "896\u00d71152", "width \u00d7 height": "width \u00d7 height", "704\u00d71408": "704\u00d71408", "704\u00d71344": "704\u00d71344", @@ -37,7 +45,6 @@ "768\u00d71280": "768\u00d71280", "832\u00d71216": "832\u00d71216", "832\u00d71152": "832\u00d71152", - "896\u00d71152": "896\u00d71152", "896\u00d71088": "896\u00d71088", "960\u00d71088": "960\u00d71088", "960\u00d71024": "960\u00d71024", @@ -59,9 +66,11 @@ "1728\u00d7576": "1728\u00d7576", "Image Number": "Image Number", "Negative Prompt": "Negative Prompt", + "(embedding:unaestheticXLv31:0.8), low quality, watermark": "(embedding:unaestheticXLv31:0.8), low quality, watermark", "Describing what you do not want to see.": "Describing what you do not want to see.", "Random": "Random", "Seed": "Seed", + "\ud83d\udcda History Log": "\ud83d\udcda History Log", "Image Style": "Image Style", "Fooocus V2": "Fooocus V2", "Default (Slightly Cinematic)": "Default (Slightly Cinematic)", @@ -276,8 +285,8 @@ "Watercolor 2": "Watercolor 2", "Whimsical And Playful": "Whimsical And Playful", "Base Model (SDXL only)": "Base Model (SDXL only)", - "bluePencilXL_v009.safetensors": "bluePencilXL_v009.safetensors", "bluePencilXL_v050.safetensors": "bluePencilXL_v050.safetensors", + "bluePencilXL_v009.safetensors": "bluePencilXL_v009.safetensors", "DreamShaper_8_pruned.safetensors": "DreamShaper_8_pruned.safetensors", "realisticStockPhoto_v10.safetensors": "realisticStockPhoto_v10.safetensors", "realisticVisionV51_v51VAE.safetensors": "realisticVisionV51_v51VAE.safetensors", @@ -286,19 +295,21 @@ "Refiner (SDXL or SD 1.5)": "Refiner (SDXL or SD 1.5)", "None": "None", "SDXL LoRA 1": "SDXL LoRA 1", + "sd_xl_offset_example-lora_1.0.safetensors": "sd_xl_offset_example-lora_1.0.safetensors", "3d_render_style_xl.safetensors": "3d_render_style_xl.safetensors", "Bloodstained-XL-V1.safetensors": "Bloodstained-XL-V1.safetensors", "SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors": "SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors", - "sd_xl_offset_example-lora_1.0.safetensors": "sd_xl_offset_example-lora_1.0.safetensors", "SDXL LoRA 2": "SDXL LoRA 2", "SDXL LoRA 3": "SDXL LoRA 3", "SDXL LoRA 4": "SDXL LoRA 4", "SDXL LoRA 5": "SDXL LoRA 5", "Refresh": "Refresh", + "\ud83d\udd04 Refresh All Files": "\ud83d\udd04 Refresh All Files", "Sampling Sharpness": "Sampling Sharpness", "Higher value means image and texture are sharper.": "Higher value means image and texture are sharper.", "Guidance Scale": "Guidance Scale", "Higher value means style is cleaner, vivider, and more artistic.": "Higher value means style is cleaner, vivider, and more artistic.", + "\ud83d\udcd4 Document": "\ud83d\udcd4 Document", "Developer Debug Mode": "Developer Debug Mode", "Positive ADM Guidance Scaler": "Positive ADM Guidance Scaler", "The scaler multiplied to positive ADM (use 1.0 to disable). ": "The scaler multiplied to positive ADM (use 1.0 to disable). ", @@ -313,6 +324,7 @@ "CFG Mimicking from TSNR": "CFG Mimicking from TSNR", "Enabling Fooocus's implementation of CFG mimicking for TSNR (effective when real CFG > mimicked CFG).": "Enabling Fooocus's implementation of CFG mimicking for TSNR (effective when real CFG > mimicked CFG).", "Sampler": "Sampler", + "dpmpp_2m_sde_gpu": "dpmpp_2m_sde_gpu", "Only effective in non-inpaint mode.": "Only effective in non-inpaint mode.", "euler": "euler", "euler_ancestral": "euler_ancestral", @@ -327,7 +339,6 @@ "dpmpp_sde_gpu": "dpmpp_sde_gpu", "dpmpp_2m": "dpmpp_2m", "dpmpp_2m_sde": "dpmpp_2m_sde", - "dpmpp_2m_sde_gpu": "dpmpp_2m_sde_gpu", "dpmpp_3m_sde": "dpmpp_3m_sde", "dpmpp_3m_sde_gpu": "dpmpp_3m_sde_gpu", "ddpm": "ddpm", @@ -335,9 +346,9 @@ "uni_pc": "uni_pc", "uni_pc_bh2": "uni_pc_bh2", "Scheduler": "Scheduler", + "karras": "karras", "Scheduler of Sampler.": "Scheduler of Sampler.", "normal": "normal", - "karras": "karras", "exponential": "exponential", "sgm_uniform": "sgm_uniform", "simple": "simple", @@ -352,8 +363,8 @@ "Set as negative number to disable. For developer debugging.": "Set as negative number to disable. For developer debugging.", "Forced Overwrite of Denoising Strength of \"Upscale\"": "Forced Overwrite of Denoising Strength of \"Upscale\"", "Inpaint Engine": "Inpaint Engine", - "Version of Fooocus inpaint model": "Version of Fooocus inpaint model", "v1": "v1", + "Version of Fooocus inpaint model": "Version of Fooocus inpaint model", "v2.5": "v2.5", "Debug Preprocessors": "Debug Preprocessors", "Mixing Image Prompt and Vary/Upscale": "Mixing Image Prompt and Vary/Upscale", diff --git a/modules/localization.py b/modules/localization.py index 412802a7..cd8088a6 100644 --- a/modules/localization.py +++ b/modules/localization.py @@ -29,14 +29,14 @@ def dump_english_config(components): all_texts = [] for c in components: label = getattr(c, 'label', None) - # value = getattr(c, 'value', None) + value = getattr(c, 'value', None) choices = getattr(c, 'choices', None) info = getattr(c, 'info', None) if isinstance(label, str): all_texts.append(label) - # if isinstance(value, str): - # all_texts.append(value) + if isinstance(value, str): + all_texts.append(value) if isinstance(info, str): all_texts.append(info) if isinstance(choices, list):