Skip to content

Commit

Permalink
Localize the label of generate button
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdullahAlfaraj committed Nov 16, 2023
1 parent f11b67e commit 3620e16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions i18n/zh_CN/ps-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Select Lora": "选择 Lora",
"use lora in your prompt": "在提示中使用 lora",
"Generate": "生成",
"Generate txt2img": "生成 txt2img",
"Generate Txt2Img": "生成 Txt2Img",
"Progress...": "进度...",
"Toggle the visibility of the Preview Image on the canvas": "切换画布上预览图像的可见性",
"Move and reSize the highlighted layer to fit into the Selection Area": "移动和调整突出显示的图层以适合选择区域",
Expand Down Expand Up @@ -181,4 +181,4 @@
"Delete all generated images from the canvas": "在画布上删除所有生成图像",
"Keep only the highlighted images": "在画布上保留选中的图像",
"Generate More": "生成更多"
}
}
2 changes: 1 addition & 1 deletion typescripts/session/generate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const GenerateButtons = observer(() => {
display: session_store.data.can_generate ? void 0 : 'none',
}}
>
Generate {modeDisplayNames[sd_tab_store.data.mode]}
{Locale(`Generate ${modeDisplayNames[sd_tab_store.data.mode]}`)}
</button>
{session_store.data.can_generate ? (
<button
Expand Down

0 comments on commit 3620e16

Please sign in to comment.