Skip to content

Commit 6b10a67

Browse files
Merge pull request #308 from AbdullahAlfaraj/dev_1.2.7
Dev_1.3.0
2 parents 0985792 + 43e3d91 commit 6b10a67

File tree

107 files changed

+22798
-7869
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+22798
-7869
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,4 @@ original_mask.png
3232
# comments when packaging (include in the package,uxp packager will use .gitignore to ignore files):
3333
*/dist/*LICENSE.txt
3434
*/dist/*.bundle.js
35-
36-
# uncomments when packaging (don't include in the package)
37-
# /docs
35+
typescripts/dist

.prettierignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
server/python_server/output/*
22
*.md
3-
manifest.json
3+
manifest.json
4+
jimp/**
5+
server_env/**
6+
.github\workflows\wiki-sync-action.yml
7+
**/dist
8+
.github\workflows\wiki-sync-action.yml
9+
tsconfig.json

start_server_MacOS.sh renamed to deprecated-do-not-use-start_server_MacOS.sh

File renamed without changes.

enum.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const AutomaticStatusEnum = {
1717
Offline: 'offline',
1818
RunningNoApi: 'running_no_api',
1919
RunningWithApi: 'running_with_api',
20+
AutoPhotoshopSDExtensionMissing: 'auto_photoshop_sd_missing',
2021
}
2122

2223
const ViewerObjectTypeEnum = {
@@ -30,12 +31,7 @@ const RequestStateEnum = {
3031
Interrupted: 'interrupted', // canceled/ interrupted
3132
Finished: 'finished', // finished generating
3233
}
33-
const DocumentTypeEnum = {
34-
NoBackground: 'no_background',
35-
ImageBackground: 'image_background',
36-
SolidBackground: 'solid_background',
37-
ArtBoard: 'artboard',
38-
}
34+
3935
const BackgroundHistoryEnum = {
4036
CorrectBackground: 'correct_background',
4137
NoBackground: 'no_background',
@@ -51,7 +47,7 @@ module.exports = {
5147
AutomaticStatusEnum,
5248
ViewerObjectTypeEnum,
5349
RequestStateEnum,
54-
DocumentTypeEnum,
50+
5551
BackgroundHistoryEnum,
5652
PresetTypeEnum,
5753
}

i18n/zh_CN/ps-plugin.json

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
{
2+
"Auto-Photoshop-SD": "SD插件(明空汉化)",
3+
"'A' for Automatic1111 server (webui-user.bat), Green is connected. Red Means there is a problem with your Automatic1111. Run 'webui-user.bat' and hit 'Refresh' button ": "A代表SD服务器(webui-user.bat),绿色已连接。红色表示SD服务器有问题。运行“webui-user.bat”并点击刷新按钮",
4+
"'P' for proxy server (start_server.bat), Green is connected. Red means you need to run 'start_server.bat' or hit Refresh button": "P为代理服务器(start_server.bat),绿色已连接。红色表示您需要运行'start_server.bat'或点击刷新按钮",
5+
"Stable Diffusion": "稳定扩散",
6+
"Stable Diffusion UI": "稳定扩散 UI",
7+
"Refresh": "刷新",
8+
"Refresh the plugin, only fixes minor issues.": "刷新插件,仅修复小问题。",
9+
"Update": "更新",
10+
"Update the plugin if you encounter bugs. Get the latest features": "如果遇到错误,请更新插件。 获取最新功能",
11+
"Select Lora": "选择 Lora",
12+
"use lora in your prompt": "在提示中使用 lora",
13+
"Generate": "生成",
14+
"Generate txt2img": "生成 txt2img",
15+
"Progress...": "进度...",
16+
"Toggle the visibility of the Preview Image on the canvas": "切换画布上预览图像的可见性",
17+
"Move and reSize the highlighted layer to fit into the Selection Area": "移动和调整突出显示的图层以适合选择区域",
18+
"create a snapshot of what you see on the canvas and place on a new layer": "创建画布上看到的快照并放置在新图层上",
19+
"reset the ui settings to their default values": "将 UI 设置重置为默认值",
20+
"Interrogate the selected area, convert Image to Prompt": "审问所选区域,将图像转换为提示",
21+
"use this mode to generate images from text only": "使用此模式仅从文本生成图像",
22+
"use this mode to generate variation of an image": "使用此模式生成图像的变体",
23+
"use this mode to generate variation of a small area of an image, while keeping the rest of the image intact": "使用此模式生成图像的小区域的变体,同时保持图像的其余部分完好无损",
24+
"use this mode to (1) fill any missing area of an image,(2) expand an image": "使用此模式来(1)填充图像的任何缺失区域,(2)扩展图像",
25+
"Image": "图像",
26+
"Mask": "蒙版",
27+
"Batch Size:": "批量大小:",
28+
"Batch Count:": "批量计数:",
29+
"Steps:": "步数:",
30+
"Selection Mode:": "选择模式:",
31+
"ratio": "比率",
32+
"precise": "精确",
33+
"use the selection area width and height to fill the width and height sliders": "使用选择区域的宽度和高度来填充宽度和高度滑块",
34+
"ignore": "忽略",
35+
"fill the width and height sliders manually": "手动填充宽度和高度滑块",
36+
"Smart Preset": "智能预设",
37+
"auto fill the plugin with smart settings, to speed up your working process.": "自动填充智能设置的插件,以加快您的工作流程。",
38+
"Width:": "宽度:",
39+
"maintain the ratio between width and height slider": "保持宽度和高度滑块之间的比例",
40+
"Height:": "高度:",
41+
"CFG Scale:": "CFG 比例:",
42+
"larger value will put more emphasis on the prompt": "较大的值将更加强调提示",
43+
"Denoising Strength:": "降噪强度:",
44+
"Image CFG Scale:": "图像 CFG 比例:",
45+
"Pix2Pix CFG Scale (larger value will put more emphasis on the image)": "Pix2Pix CFG 比例(较大的值将更加强调图像)",
46+
"Mask Blur:": "蒙版模糊:",
47+
"Mask Expansion:": "蒙版扩展:",
48+
"the larger the value the more the mask will expand, '0' means use precise masking, use in combination with the mask blur": "值越大,蒙版就会扩展得越多,“ 0”表示使用精确的蒙版,与蒙版模糊一起使用",
49+
"Inpainting conditioning mask strength:": "修复条件蒙版强度:",
50+
"0 will keep the composition; 1 will allow composition to change": "0将保持构图; 1将允许构图发生变化",
51+
"Mask Content:": "蒙版内容:",
52+
"fill": "填充",
53+
"original": "原始",
54+
"latent noise": "潜在噪声",
55+
"latent nothing": "潜在无",
56+
"Inpaint at Full Res": "在全分辨率下修复",
57+
"Restore Faces": "面部修复",
58+
"Hi Res Fix": "高分修复",
59+
"Upscaler: ": "放大器:",
60+
"Hi Res Steps:": "高分步数:",
61+
"Hi Res Scale:": "高分比例:",
62+
"Hi Res Denoising Strength:": "高分降噪强度:",
63+
"Hi Res Output Width:": "高分输出宽度:",
64+
"Hi Res Output Height:": "高分输出高度:",
65+
"Inpaint Padding:": "修复填充:",
66+
"Seed:": "种子:",
67+
"Random": "随机",
68+
"Last": "最后",
69+
"Show Samplers": "显示采样器",
70+
"Select A Script": "选择脚本",
71+
"Activate": "激活",
72+
"Viewer": "查看器",
73+
"Preview": "预览器",
74+
"View your generated images on the canvas": "在画布上查看生成的图像",
75+
"Set Mask": "设置蒙版",
76+
"Set Init Image": "设置初始图像",
77+
"Interrupt": "中断",
78+
"Selection Area": "选择区域",
79+
"Thumbnail Size": "缩略图大小",
80+
"Square 1:1": "正方形 1:1",
81+
"Prompts Library": "提示库",
82+
"Prompt Shortcut: a single word that represent a prompt": "提示快捷方式:代表提示的单个单词",
83+
"Key for new prompt shortcut": "新提示快捷方式的键",
84+
"to be replaced": "要被替换的",
85+
"Value for new prompt shortcut": "新提示快捷方式的值",
86+
"to be replaced with": "要被替换为",
87+
"Add to Prompt Shortcut": "添加到提示快捷方式",
88+
"prompt shortcut": "提示快捷方式",
89+
"Selection a prompt": "选择提示词",
90+
"Refresh Menu": "刷新菜单",
91+
"Load": "加载",
92+
"Save": "保存",
93+
"History": "历史记录",
94+
"history of all the images you generated": "您生成的所有图像的历史记录",
95+
"Load Previous Generations": "加载以前的生成",
96+
"Clear Results": "清除结果",
97+
"Lexica": "Lexica",
98+
"Explore Lexica for prompts and inspiration": "探索提示词和灵感的词典",
99+
"Search:": "搜索:",
100+
"user prompt(text) to Search Lexica": "用户提示(文本)搜索词典",
101+
"User the selected area (image) on canvas to Search Lexica": "用户在画布上选择的区域(图像)搜索词典",
102+
"Image Search": "图像搜索",
103+
"Image Search Engine": "图像搜索引擎",
104+
"ControlNet": "ControlNet",
105+
"The Controlnet Extension is missing from Automatic1111.Please install it to use it through the plugin.": "Automatic1111缺少ControlNet扩展。请安装它以通过插件使用它。",
106+
"ControlNet Preset": "ControlNet预设",
107+
"auto fill the ControlNet with smart settings, to speed up your working process.": "自动填充智能设置的ControlNet,以加快您的工作流程。",
108+
"Set All CtrlNet Images": "设置所有 CtrlNet 图像",
109+
"Disable ControlNet Tab": "禁用ControlNet选项卡",
110+
"Control Net Settings Slot 0": "ControlNet设置插槽0",
111+
"Set CtrlNet Img": "设置 CtrlNet 图像",
112+
"Preview Annotator": "预览注释器",
113+
"Enable": "启用",
114+
"Low VRAM": "低显存",
115+
"Guess Mode": "猜测模式",
116+
"Weight:": "权重:",
117+
"2 will keep the composition; 0 will allow composition to change": "2将保持构图; 0将允许构图发生变化",
118+
"Guidance strength start:": "Guidance strength start:",
119+
"Guidance strength end:": "Guidance strength end:",
120+
"Horde": "Horde",
121+
"Horde Key:": "Horde密钥:",
122+
"Select Backend:": "选择后端:",
123+
"Native Horde": "本机 Horde",
124+
"use the horde with the plugin no need to install anything else": "使用插件的 Horde,无需安装其他任何内容",
125+
"Auto1111 Horde Extension": "Auto1111 Horde 扩展",
126+
"Use the horde extension from Automatic1111 Extension tab": "使用 Automatic1111 扩展选项卡中的 Horde 扩展",
127+
"Auto1111 Only": "仅限 Auto1111",
128+
"use Auto1111 disable the Horde": "使用 Auto1111 禁用 Horde",
129+
"Refresh Models": "刷新模型",
130+
"NSFW": "NSFW",
131+
"Share with LION": "与 LION 共享",
132+
"Extras": "额外",
133+
"Resize": "调整大小",
134+
"Resize scale of current selection size": "调整当前选择大小的比例",
135+
"Generate upscale": "生成放大",
136+
"No work in progress": "没有正在进行的工作",
137+
"Upscaler 1:": "放大算法 1:",
138+
"Upscaler 2:": "放大算法 2:",
139+
"Upscaler 2 visibility:": "放大算法 2 可见性:",
140+
"GFPGAN visibility:": "GFPGAN 可见性:",
141+
"CodeFormer visibility:": "CodeFormer 可见性:",
142+
"CodeFormer weight:": "CodeFormer 权重:",
143+
"Settings": "设置",
144+
"Custom Presets": "自定义预设",
145+
"SD Url:": "SD Url:",
146+
"Submit": "提交",
147+
"use sharp mask": "使用锐化蒙版",
148+
"Smart Object": "智能对象",
149+
"Live Progress Image": "实时进度图像",
150+
"Restore Original Prompt": "恢复原始提示",
151+
"Image Cfg Scale Slider": "图像配置比例滑块",
152+
"Use Silent Mode": "使用静默模式",
153+
"Your PC Speed(optimization):": "电脑性能(优化):",
154+
"Slow PC": "节能模式",
155+
"Fast PC": "高性能模式",
156+
"Use Colab": "使用 Colab",
157+
"Select Extension:": "选择扩展:",
158+
"Proxy Server": "代理服务器",
159+
"use the proxy server, need to run 'start_server.bat' ": "使用代理服务器,需要运行“start_server.bat”",
160+
"Auto111 Extension": "SD扩展",
161+
"use Automatic1111 Photoshop SD Extension, need to install the extension in Auto1111": "使用Photoshop SD 扩展,需要在 Auto1111 中安装扩展",
162+
"None": "",
163+
"Use the Plugin Only No Additional Component": "仅使用插件,无需其他组件",
164+
"Folder Path (read only):": "文件夹路径(只读):",
165+
"copy paste the address to access the folder where the images are stored": "复制粘贴地址以访问存储图像的文件夹",
166+
"Get Path": "获取路径",
167+
"Preset Name": "预设名称",
168+
"New Preset": "新建预设",
169+
"Preset Type:": "预设类型:",
170+
"SD Preset": "SD 预设",
171+
"Save Preset": "保存预设",
172+
"Delete Preset": "删除预设",
173+
"The Controlnet Extension is missing from Automatic1111.\nPlease install it to use it through the plugin.": "本地SD中缺少ControlNet扩展。\n请安装该插件后再使用。",
174+
"Set CtrlImg": "设置原始图",
175+
"ControlNet Tab": "ControlNet",
176+
"ControlNet Unit": "ControlNet #",
177+
"Select Filter": "选择过滤器",
178+
"Select Module": "选择预处理器",
179+
"Select Model": "选择模型",
180+
"Keep all generated images on the canvas": "在画布上保留所有生成图像",
181+
"Delete all generated images from the canvas": "在画布上删除所有生成图像",
182+
"Keep only the highlighted images": "在画布上保留选中的图像",
183+
"Generate More": "生成更多"
184+
}

0 commit comments

Comments
 (0)