From 8e605504d75fa51ce63007113e74cf6fe467f789 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Sun, 24 Dec 2023 23:40:54 +0100 Subject: [PATCH] add translation for translate prompts info text --- language/en.json | 1 + webui.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/language/en.json b/language/en.json index fd40ca2f..0a3c80f6 100644 --- a/language/en.json +++ b/language/en.json @@ -46,6 +46,7 @@ "Image Number": "Image Number", "Negative Prompt": "Negative Prompt", "Describing what you do not want to see.": "Describing what you do not want to see.", + "Uses the internet to translate prompts to English.": "Uses the internet to translate prompts to English.", "Random": "Random", "Seed": "Seed", "\ud83d\udcda History Log": "\uD83D\uDCDA History Log", diff --git a/webui.py b/webui.py index 925af38f..3f9cf059 100644 --- a/webui.py +++ b/webui.py @@ -228,7 +228,7 @@ with shared.gradio_root: elem_id='negative_prompt', value=modules.config.default_prompt_negative) translate_prompts = gr.Checkbox(label='Translate Prompts', - info='Uses the internet to translate prompts to English', + info='Uses the internet to translate prompts to English.', value=False) seed_random = gr.Checkbox(label='Random', value=True) image_seed = gr.Textbox(label='Seed', value=0, max_lines=1, visible=False) # workaround for https://github.com/gradio-app/gradio/issues/5354