diff --git a/public/locales/zh-cn.json b/public/locales/zh-cn.json index 19db43382..0864d5fd6 100644 --- a/public/locales/zh-cn.json +++ b/public/locales/zh-cn.json @@ -2219,7 +2219,7 @@ "sd_res_1280x720": "1280x720 (16:9,720p,横向壁纸)", "sd_res_720x1280": "720x1280 (9:16,720p,纵向壁纸)", "": "<在上方输入模型 ID>", - "Generating image": "正在生成图像", + "Generating an image": "正在生成图像", "Delete the workflow? This action is irreversible.": "删除工作流?此操作无法被撤销。", "Enter new workflow name:": "输入新工作流名称:", "A workflow with that name already exists": "已存在同名工作流", diff --git a/public/scripts/extensions/stable-diffusion/index.js b/public/scripts/extensions/stable-diffusion/index.js index 38c67f6e9..887e56f8a 100644 --- a/public/scripts/extensions/stable-diffusion/index.js +++ b/public/scripts/extensions/stable-diffusion/index.js @@ -2871,7 +2871,7 @@ function ensureSelectionExists(setting, selector) { function updateGenerationIndicator() { if (activeGenerations > 0) { const countText = activeGenerations > 1 ? ` (${activeGenerations})` : ''; - const toastText = ` ${t`Generating image`}${countText}...`; + const toastText = ` ${t`Generating an image`}${countText}...`; // Show persistent toast if not already showing if (!generationToast) { @@ -5344,7 +5344,6 @@ function registerFunctionTool() { const url = await generatePicture(initiators.tool, {}, args.prompt); return encodeURI(url); }, - formatMessage: () => 'Generating an image...', }); }