@aphrody/koharu-ui 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -2
- package/package.json +70 -4
- package/src/assets/NotoSansCJK-VF.otf +0 -0
- package/src/assets/OFL.txt +92 -0
- package/src/components/ClientOnly.tsx +21 -0
- package/src/components/ShenronExportPanel.tsx +213 -0
- package/src/components/app/AboutDialog.tsx +64 -0
- package/src/components/app/KoharuApp.tsx +58 -0
- package/src/components/app/StartupView.tsx +67 -0
- package/src/components/app/TitleBar.tsx +322 -0
- package/src/components/app/Updater.tsx +143 -0
- package/src/components/app/WindowChrome.tsx +137 -0
- package/src/components/controls/ColorSampling.tsx +70 -0
- package/src/components/controls/ColorWell.tsx +139 -0
- package/src/components/controls/CommitTextarea.tsx +63 -0
- package/src/components/controls/FontPicker.tsx +543 -0
- package/src/components/controls/ModelPicker.tsx +178 -0
- package/src/components/controls/OutputPicker.tsx +170 -0
- package/src/components/editor/ActivityCenter.tsx +234 -0
- package/src/components/editor/AgentPanel.tsx +352 -0
- package/src/components/editor/CanvasCommandBar.tsx +38 -0
- package/src/components/editor/CanvasOverlay.tsx +194 -0
- package/src/components/editor/CanvasWorkspace.tsx +947 -0
- package/src/components/editor/Editor.tsx +56 -0
- package/src/components/editor/InferenceControl.tsx +457 -0
- package/src/components/editor/Inspector.tsx +1073 -0
- package/src/components/editor/PageRail.tsx +581 -0
- package/src/components/editor/ResourceMonitor.tsx +151 -0
- package/src/components/editor/RightSidebar.tsx +50 -0
- package/src/components/editor/SelectionControls.tsx +184 -0
- package/src/components/editor/StatusBar.tsx +41 -0
- package/src/components/editor/ToolBar.tsx +182 -0
- package/src/components/editor/useCanvas.ts +194 -0
- package/src/components/preferences/GenerationPreferences.tsx +118 -0
- package/src/components/preferences/KoharuSettings.tsx +229 -0
- package/src/components/preferences/PipelinePreferences.tsx +173 -0
- package/src/components/preferences/PreferenceFields.tsx +149 -0
- package/src/components/preferences/ProviderPreferences.tsx +173 -0
- package/src/components/preferences/SettingsPage.tsx +336 -0
- package/src/components/preferences/TranslationPreferences.tsx +187 -0
- package/src/components/preferences/TypesettingPreferences.tsx +142 -0
- package/src/components/preferences/models.ts +103 -0
- package/src/components/start/StartView.tsx +277 -0
- package/src/index.ts +59 -0
- package/src/internal/components/accordion.tsx +72 -0
- package/src/internal/components/alert-dialog.tsx +189 -0
- package/src/internal/components/alert.tsx +76 -0
- package/src/internal/components/aspect-ratio.tsx +22 -0
- package/src/internal/components/attachment.tsx +207 -0
- package/src/internal/components/avatar.tsx +109 -0
- package/src/internal/components/badge.tsx +52 -0
- package/src/internal/components/breadcrumb.tsx +125 -0
- package/src/internal/components/bubble.tsx +128 -0
- package/src/internal/components/button-group.tsx +87 -0
- package/src/internal/components/button.tsx +58 -0
- package/src/internal/components/card.tsx +103 -0
- package/src/internal/components/checkbox.tsx +29 -0
- package/src/internal/components/collapsible.tsx +21 -0
- package/src/internal/components/combobox.tsx +298 -0
- package/src/internal/components/context-menu.tsx +272 -0
- package/src/internal/components/dialog.tsx +162 -0
- package/src/internal/components/direction.tsx +6 -0
- package/src/internal/components/drawer.tsx +230 -0
- package/src/internal/components/dropdown-menu.tsx +278 -0
- package/src/internal/components/empty.tsx +104 -0
- package/src/internal/components/field.tsx +238 -0
- package/src/internal/components/hover-card.tsx +52 -0
- package/src/internal/components/input-group.tsx +158 -0
- package/src/internal/components/input.tsx +20 -0
- package/src/internal/components/item.tsx +201 -0
- package/src/internal/components/kbd.tsx +26 -0
- package/src/internal/components/label.tsx +20 -0
- package/src/internal/components/marker.tsx +71 -0
- package/src/internal/components/menubar.tsx +280 -0
- package/src/internal/components/message.tsx +92 -0
- package/src/internal/components/native-select.tsx +61 -0
- package/src/internal/components/navigation-menu.tsx +168 -0
- package/src/internal/components/number-field.tsx +68 -0
- package/src/internal/components/pagination.tsx +130 -0
- package/src/internal/components/popover.tsx +91 -0
- package/src/internal/components/progress.tsx +83 -0
- package/src/internal/components/radio-group.tsx +38 -0
- package/src/internal/components/resizable.tsx +50 -0
- package/src/internal/components/scroll-area.tsx +88 -0
- package/src/internal/components/select.tsx +191 -0
- package/src/internal/components/separator.tsx +25 -0
- package/src/internal/components/sheet.tsx +140 -0
- package/src/internal/components/sidebar.tsx +723 -0
- package/src/internal/components/skeleton.tsx +13 -0
- package/src/internal/components/slider.tsx +56 -0
- package/src/internal/components/spinner.tsx +10 -0
- package/src/internal/components/switch.tsx +32 -0
- package/src/internal/components/table.tsx +116 -0
- package/src/internal/components/tabs.tsx +82 -0
- package/src/internal/components/textarea.tsx +18 -0
- package/src/internal/components/toast.tsx +235 -0
- package/src/internal/components/toggle-group.tsx +89 -0
- package/src/internal/components/toggle.tsx +45 -0
- package/src/internal/components/tooltip.tsx +67 -0
- package/src/internal/hooks/use-mobile.ts +19 -0
- package/src/internal/lib/utils.ts +6 -0
- package/src/internal/styles/globals.css +73 -0
- package/src/lib/backend.ts +85 -0
- package/src/lib/document.ts +46 -0
- package/src/lib/geometry.ts +272 -0
- package/src/lib/i18n.ts +54 -0
- package/src/lib/queries.ts +110 -0
- package/src/lib/store.ts +191 -0
- package/src/lib/translation.ts +35 -0
- package/src/locales/en-US/translation.json +536 -0
- package/src/locales/es-ES/translation.json +536 -0
- package/src/locales/ja-JP/translation.json +536 -0
- package/src/locales/ko-KR/translation.json +536 -0
- package/src/locales/pt-BR/translation.json +536 -0
- package/src/locales/ru-RU/translation.json +536 -0
- package/src/locales/tr-TR/translation.json +536 -0
- package/src/locales/zh-CN/translation.json +536 -0
- package/src/locales/zh-TW/translation.json +536 -0
- package/src/navigation.ts +28 -0
- package/src/providers.tsx +132 -0
- package/src/shenron-pipeline-env.d.ts +14 -0
- package/src/styles.css +246 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": {
|
|
3
|
+
"author": "作者",
|
|
4
|
+
"description": "漫画翻译工具",
|
|
5
|
+
"unavailable": "不可用",
|
|
6
|
+
"version": "版本"
|
|
7
|
+
},
|
|
8
|
+
"activity": {
|
|
9
|
+
"dismiss": "关闭",
|
|
10
|
+
"downloadFailed": "下载失败。",
|
|
11
|
+
"downloadingFiles": "正在下载 {{count}} 个文件",
|
|
12
|
+
"downloadingFiles_one": "正在下载 {{count}} 个文件",
|
|
13
|
+
"downloadingFiles_other": "正在下载 {{count}} 个文件",
|
|
14
|
+
"modelDownload": "模型下载",
|
|
15
|
+
"pageLabel": "第 {{number}} 页:{{label}}",
|
|
16
|
+
"processing": "正在处理",
|
|
17
|
+
"processingFailed": "处理失败。",
|
|
18
|
+
"stop": "停止",
|
|
19
|
+
"title": "活动"
|
|
20
|
+
},
|
|
21
|
+
"agent": {
|
|
22
|
+
"account": "ChatGPT 账户",
|
|
23
|
+
"applying": "正在应用项目更改…",
|
|
24
|
+
"automatic": "自动",
|
|
25
|
+
"cancel": "取消",
|
|
26
|
+
"cancelled": "已取消。",
|
|
27
|
+
"deviceCode": "设备代码",
|
|
28
|
+
"deviceCodeHint": "浏览器已打开。输入此代码以授权 Koharu。",
|
|
29
|
+
"emptyDescription": "让智能体检查、翻译、编辑或处理此项目。它只会在需要时查看页面图像。",
|
|
30
|
+
"emptyTitle": "需要 Koharu 做什么?",
|
|
31
|
+
"failed": "智能体请求失败。",
|
|
32
|
+
"loading": "正在加载 Codex…",
|
|
33
|
+
"message": "向 Koharu 智能体发送消息",
|
|
34
|
+
"model": "Codex 模型",
|
|
35
|
+
"placeholder": "让 Koharu 处理此项目…",
|
|
36
|
+
"properties": "属性",
|
|
37
|
+
"reasoning": "推理",
|
|
38
|
+
"reasoningLevels": {
|
|
39
|
+
"high": "高",
|
|
40
|
+
"low": "低",
|
|
41
|
+
"max": "最大",
|
|
42
|
+
"medium": "中",
|
|
43
|
+
"ultra": "超强",
|
|
44
|
+
"xhigh": "超高"
|
|
45
|
+
},
|
|
46
|
+
"send": "发送",
|
|
47
|
+
"signIn": "使用 Codex 登录",
|
|
48
|
+
"signInDescription": "使用你的 ChatGPT 订阅登录。Koharu 使用设备代码身份验证,绝不会要求提供 API 密钥。",
|
|
49
|
+
"signInTitle": "连接 Codex",
|
|
50
|
+
"signOut": "退出登录",
|
|
51
|
+
"signingIn": "正在等待登录…",
|
|
52
|
+
"thinking": "正在思考…",
|
|
53
|
+
"title": "智能体",
|
|
54
|
+
"working": "正在工作…"
|
|
55
|
+
},
|
|
56
|
+
"canvas": {
|
|
57
|
+
"empty": "请选择页面以开始。",
|
|
58
|
+
"fit": "适应窗口",
|
|
59
|
+
"surface": "Koharu 画布",
|
|
60
|
+
"unavailable": "WebGPU 画布不可用"
|
|
61
|
+
},
|
|
62
|
+
"colorPicker": {
|
|
63
|
+
"brushColor": "笔刷颜色",
|
|
64
|
+
"hexCode": "十六进制颜色代码",
|
|
65
|
+
"sampleCanvas": "从画布拾取颜色",
|
|
66
|
+
"transparent": "透明"
|
|
67
|
+
},
|
|
68
|
+
"common": {
|
|
69
|
+
"back": "返回",
|
|
70
|
+
"cancel": "取消",
|
|
71
|
+
"clearSearch": "清除搜索",
|
|
72
|
+
"loading": "正在加载…",
|
|
73
|
+
"reset": "重置"
|
|
74
|
+
},
|
|
75
|
+
"errors": {
|
|
76
|
+
"fatalTitle": "Koharu 无法继续运行",
|
|
77
|
+
"tryAgain": "重试"
|
|
78
|
+
},
|
|
79
|
+
"fontPicker": {
|
|
80
|
+
"activeFilterCount": "{{count}} 个启用的筛选条件",
|
|
81
|
+
"activeFilterCount_one": "{{count}} 个启用的筛选条件",
|
|
82
|
+
"activeFilterCount_other": "{{count}} 个启用的筛选条件",
|
|
83
|
+
"allPurposes": "所有用途",
|
|
84
|
+
"allScripts": "所有文字体系",
|
|
85
|
+
"allSources": "所有来源",
|
|
86
|
+
"allStyles": "所有样式",
|
|
87
|
+
"choose": "选择字体",
|
|
88
|
+
"clearFilters": "清除筛选条件",
|
|
89
|
+
"filter": "筛选字体",
|
|
90
|
+
"filterActiveLabel": "筛选字体,已启用 {{count}} 个",
|
|
91
|
+
"fontCount": "{{count}} 种字体",
|
|
92
|
+
"fontCount_one": "{{count}} 种字体",
|
|
93
|
+
"fontCount_other": "{{count}} 种字体",
|
|
94
|
+
"fontLabel": "{{family}},{{source}}",
|
|
95
|
+
"fonts": "字体",
|
|
96
|
+
"noResults": "没有与此搜索匹配的字体",
|
|
97
|
+
"purpose": "用途",
|
|
98
|
+
"script": "文字体系",
|
|
99
|
+
"scripts": {
|
|
100
|
+
"arab": "阿拉伯文",
|
|
101
|
+
"beng": "孟加拉文",
|
|
102
|
+
"cyrl": "西里尔文",
|
|
103
|
+
"deva": "天城文",
|
|
104
|
+
"gujr": "古吉拉特文",
|
|
105
|
+
"guru": "古木基文",
|
|
106
|
+
"hang": "谚文",
|
|
107
|
+
"hani": "汉字",
|
|
108
|
+
"hebr": "希伯来文",
|
|
109
|
+
"hira": "平假名",
|
|
110
|
+
"kana": "片假名",
|
|
111
|
+
"knda": "卡纳达文",
|
|
112
|
+
"latn": "拉丁文",
|
|
113
|
+
"mlym": "马拉雅拉姆文",
|
|
114
|
+
"taml": "泰米尔文",
|
|
115
|
+
"telu": "泰卢固文",
|
|
116
|
+
"thai": "泰文"
|
|
117
|
+
},
|
|
118
|
+
"search": "搜索字体",
|
|
119
|
+
"source": "来源",
|
|
120
|
+
"sources": {
|
|
121
|
+
"bundled": "内置",
|
|
122
|
+
"system": "系统"
|
|
123
|
+
},
|
|
124
|
+
"style": "样式"
|
|
125
|
+
},
|
|
126
|
+
"inference": {
|
|
127
|
+
"currentPage": "当前页面",
|
|
128
|
+
"currentPageDescription": "仅处理画布中的页面。",
|
|
129
|
+
"entireProject": "整个项目",
|
|
130
|
+
"entireProjectDescription": "处理此项目中的每个页面。",
|
|
131
|
+
"model": "模型",
|
|
132
|
+
"noModel": "无模型",
|
|
133
|
+
"notSet": "未设置",
|
|
134
|
+
"output": "输出",
|
|
135
|
+
"pipelineStages": "处理流程阶段",
|
|
136
|
+
"providerDefault": "提供商默认值",
|
|
137
|
+
"run": "运行",
|
|
138
|
+
"runProcessing": "运行处理",
|
|
139
|
+
"scope": "范围",
|
|
140
|
+
"scopeShort": {
|
|
141
|
+
"page": "页面",
|
|
142
|
+
"project": "项目",
|
|
143
|
+
"selected-pages": "所选内容"
|
|
144
|
+
},
|
|
145
|
+
"selectPagesFirst": "请先选择页面",
|
|
146
|
+
"selectedCount": "已选择 {{count}} 个页面",
|
|
147
|
+
"selectedCount_one": "已选择 {{count}} 个页面",
|
|
148
|
+
"selectedCount_other": "已选择 {{count}} 个页面",
|
|
149
|
+
"selectedPages": "所选页面",
|
|
150
|
+
"selector": "处理设置",
|
|
151
|
+
"shortcuts": "处理选项",
|
|
152
|
+
"stageCount": "{{count}} 个阶段",
|
|
153
|
+
"stageCount_one": "{{count}} 个阶段",
|
|
154
|
+
"stageCount_other": "{{count}} 个阶段",
|
|
155
|
+
"stages": "阶段",
|
|
156
|
+
"stop": "停止",
|
|
157
|
+
"stopProcessing": "停止处理"
|
|
158
|
+
},
|
|
159
|
+
"inspector": {
|
|
160
|
+
"alignBottom": "底端对齐",
|
|
161
|
+
"alignCenter": "居中对齐",
|
|
162
|
+
"alignLeft": "左对齐",
|
|
163
|
+
"alignMiddle": "居中对齐",
|
|
164
|
+
"alignRight": "右对齐",
|
|
165
|
+
"alignTop": "顶端对齐",
|
|
166
|
+
"alignment": "对齐",
|
|
167
|
+
"auto": "自动",
|
|
168
|
+
"autoFit": "自动适配",
|
|
169
|
+
"border": "描边",
|
|
170
|
+
"borderColor": "描边颜色",
|
|
171
|
+
"borderWidth": "描边宽度",
|
|
172
|
+
"chooseFontSize": "选择字体大小",
|
|
173
|
+
"color": "颜色",
|
|
174
|
+
"customFrame": "自定义框架",
|
|
175
|
+
"decreaseBorderWidth": "减小描边宽度",
|
|
176
|
+
"direction": "方向",
|
|
177
|
+
"font": "字体",
|
|
178
|
+
"fontSize": "字体大小",
|
|
179
|
+
"fontStyle": "字体样式",
|
|
180
|
+
"fontStyles": {
|
|
181
|
+
"italic": "斜体",
|
|
182
|
+
"normal": "常规",
|
|
183
|
+
"oblique": "倾斜"
|
|
184
|
+
},
|
|
185
|
+
"fontWeight": "字体粗细",
|
|
186
|
+
"horizontal": "横排",
|
|
187
|
+
"increaseBorderWidth": "增大描边宽度",
|
|
188
|
+
"opacity": "不透明度",
|
|
189
|
+
"placement": "位置",
|
|
190
|
+
"resetAutoFit": "重置为自动适配",
|
|
191
|
+
"selectPage": "选择一个页面以检查其图层。",
|
|
192
|
+
"size": "字号",
|
|
193
|
+
"source": "原文",
|
|
194
|
+
"style": "样式",
|
|
195
|
+
"textColor": "文本颜色",
|
|
196
|
+
"textDirection": "文本方向",
|
|
197
|
+
"translation": "译文",
|
|
198
|
+
"type": "排版",
|
|
199
|
+
"unplaced": "未放置",
|
|
200
|
+
"vertical": "竖排",
|
|
201
|
+
"weight": "字重",
|
|
202
|
+
"width": "宽度"
|
|
203
|
+
},
|
|
204
|
+
"languages": {
|
|
205
|
+
"en-US": "English",
|
|
206
|
+
"es-ES": "Español",
|
|
207
|
+
"ja-JP": "日本語",
|
|
208
|
+
"ko-KR": "한국어",
|
|
209
|
+
"pt-BR": "Português brasileiro",
|
|
210
|
+
"ru-RU": "Русский",
|
|
211
|
+
"tr-TR": "Türkçe",
|
|
212
|
+
"zh-CN": "简体中文",
|
|
213
|
+
"zh-TW": "繁體中文"
|
|
214
|
+
},
|
|
215
|
+
"layers": {
|
|
216
|
+
"delete": "删除 {{name}}",
|
|
217
|
+
"edit": "编辑 {{name}}",
|
|
218
|
+
"empty": "此页面上没有图层。",
|
|
219
|
+
"hide": "隐藏 {{name}}",
|
|
220
|
+
"imageName": "图像 {{index}}",
|
|
221
|
+
"kinds": {
|
|
222
|
+
"cleanup": "清理",
|
|
223
|
+
"dialogue": "对话",
|
|
224
|
+
"freeText": "自由文本",
|
|
225
|
+
"group": "组",
|
|
226
|
+
"image": "图像",
|
|
227
|
+
"paint": "绘制",
|
|
228
|
+
"text": "文本",
|
|
229
|
+
"textGroup": "文本组"
|
|
230
|
+
},
|
|
231
|
+
"locked": "已锁定",
|
|
232
|
+
"lockedLabel": "{{name}} 已锁定",
|
|
233
|
+
"moveDown": "下移 {{name}}",
|
|
234
|
+
"moveUp": "上移 {{name}}",
|
|
235
|
+
"opacityLabel": "{{name}} 不透明度",
|
|
236
|
+
"originalArtwork": "原始图稿",
|
|
237
|
+
"show": "显示 {{name}}",
|
|
238
|
+
"sourceLabel": "{{name}} 的原文",
|
|
239
|
+
"textName": "文本 {{index}}",
|
|
240
|
+
"title": "图层",
|
|
241
|
+
"translationLabel": "{{name}} 的译文"
|
|
242
|
+
},
|
|
243
|
+
"menu": {
|
|
244
|
+
"about": "关于",
|
|
245
|
+
"closeProject": "关闭项目",
|
|
246
|
+
"delete": "删除所选项",
|
|
247
|
+
"discord": "Discord",
|
|
248
|
+
"edit": "编辑",
|
|
249
|
+
"export": "导出项目",
|
|
250
|
+
"file": "文件",
|
|
251
|
+
"fit": "适应窗口",
|
|
252
|
+
"github": "GitHub",
|
|
253
|
+
"help": "帮助",
|
|
254
|
+
"import": "导入页面",
|
|
255
|
+
"process": "处理",
|
|
256
|
+
"processLayers": "处理所选图层",
|
|
257
|
+
"processPages": "处理所选页面",
|
|
258
|
+
"processProject": "处理项目",
|
|
259
|
+
"redo": "重做",
|
|
260
|
+
"runPhase": "运行{{phase}}",
|
|
261
|
+
"selectAllLayers": "选择所有图层",
|
|
262
|
+
"settings": "设置",
|
|
263
|
+
"undo": "撤销",
|
|
264
|
+
"view": "视图"
|
|
265
|
+
},
|
|
266
|
+
"model": {
|
|
267
|
+
"baseUrl": "基础 URL",
|
|
268
|
+
"default": "默认",
|
|
269
|
+
"instructions": "翻译说明",
|
|
270
|
+
"targetLanguage": "目标语言"
|
|
271
|
+
},
|
|
272
|
+
"modelPicker": {
|
|
273
|
+
"empty": "没有可用模型。",
|
|
274
|
+
"loading": "正在加载模型…",
|
|
275
|
+
"noResults": "没有与此搜索匹配的模型。",
|
|
276
|
+
"search": "搜索模型",
|
|
277
|
+
"title": "选择模型",
|
|
278
|
+
"useModel": "使用 {{provider}} 的 {{model}}"
|
|
279
|
+
},
|
|
280
|
+
"navigator": {
|
|
281
|
+
"actionsFor": "{{page}} 的操作",
|
|
282
|
+
"delete": "删除",
|
|
283
|
+
"emptyDescription": "导入图像文件或文件夹以添加页面。",
|
|
284
|
+
"emptyTitle": "还没有页面",
|
|
285
|
+
"filter": "筛选页面",
|
|
286
|
+
"importAction": "导入",
|
|
287
|
+
"importFiles": "文件…",
|
|
288
|
+
"importFolder": "文件夹…",
|
|
289
|
+
"importing": "正在导入页面…",
|
|
290
|
+
"importingAction": "正在导入…",
|
|
291
|
+
"layerCount": "{{count}} 个图层",
|
|
292
|
+
"layerCount_one": "{{count}} 个图层",
|
|
293
|
+
"layerCount_other": "{{count}} 个图层",
|
|
294
|
+
"noImage": "无图像",
|
|
295
|
+
"noResults": "没有与此筛选条件匹配的页面。",
|
|
296
|
+
"pageName": "页面名称",
|
|
297
|
+
"pages": "页面",
|
|
298
|
+
"rename": "重命名",
|
|
299
|
+
"renameDescription": "为此页面选择一个新名称。",
|
|
300
|
+
"renameTitle": "重命名页面",
|
|
301
|
+
"selected": "已选择 {{count}}"
|
|
302
|
+
},
|
|
303
|
+
"outputPicker": {
|
|
304
|
+
"instructions": "翻译说明",
|
|
305
|
+
"instructionsPlaceholder": "关于语气、名称和格式的可选说明。",
|
|
306
|
+
"targetLanguage": "目标语言",
|
|
307
|
+
"title": "翻译输出"
|
|
308
|
+
},
|
|
309
|
+
"phase": {
|
|
310
|
+
"detection": "检测",
|
|
311
|
+
"inpainting": "修补",
|
|
312
|
+
"ocr": "OCR",
|
|
313
|
+
"translation": "翻译"
|
|
314
|
+
},
|
|
315
|
+
"phaseDescription": {
|
|
316
|
+
"detection": "定位页面上的文本。",
|
|
317
|
+
"inpainting": "重建移除文字后的画面。",
|
|
318
|
+
"ocr": "读取每个区域中的文本。",
|
|
319
|
+
"translation": "将原文翻译为目标语言。"
|
|
320
|
+
},
|
|
321
|
+
"providerDescriptions": {
|
|
322
|
+
"caiyun": "Caiyun 翻译 API。",
|
|
323
|
+
"claude": "Anthropic Claude 模型。",
|
|
324
|
+
"deepl": "DeepL 翻译 API。",
|
|
325
|
+
"deepseek": "DeepSeek 语言模型。",
|
|
326
|
+
"gemini": "Google Gemini 模型。",
|
|
327
|
+
"google-cloud-translation": "Google Cloud Translation API。",
|
|
328
|
+
"grok": "xAI Grok 语言模型。",
|
|
329
|
+
"lm-studio": "由 LM Studio 提供的模型。",
|
|
330
|
+
"local": "在此设备上运行的模型。",
|
|
331
|
+
"minimax": "MiniMax 语言模型。",
|
|
332
|
+
"openai": "OpenAI 语言模型。",
|
|
333
|
+
"openai-compatible": "任何提供 OpenAI 兼容 API 的服务器。",
|
|
334
|
+
"openrouter": "通过 OpenRouter 路由的模型。"
|
|
335
|
+
},
|
|
336
|
+
"resources": {
|
|
337
|
+
"cpu": "CPU",
|
|
338
|
+
"processUtilization": "进程利用率",
|
|
339
|
+
"ram": "RAM",
|
|
340
|
+
"summary": "内存 {{ram}}%,CPU {{cpu}}%",
|
|
341
|
+
"title": "系统资源",
|
|
342
|
+
"tooltip": "内存 {{ramUsed}} / {{ramTotal}} · CPU {{cpu}}%",
|
|
343
|
+
"usedOfTotal": "已使用 {{used}},共 {{total}}",
|
|
344
|
+
"vramUnavailable": "不可用",
|
|
345
|
+
"vramValue": "{{value}} 显存"
|
|
346
|
+
},
|
|
347
|
+
"settings": {
|
|
348
|
+
"appearance": {
|
|
349
|
+
"description": "调整工作区外观,而不改变图稿的渲染方式。",
|
|
350
|
+
"interface": "界面",
|
|
351
|
+
"language": "语言",
|
|
352
|
+
"theme": "主题",
|
|
353
|
+
"themeDescription": "“系统”会跟随操作系统设置。",
|
|
354
|
+
"themes": {
|
|
355
|
+
"dark": "深色",
|
|
356
|
+
"light": "浅色",
|
|
357
|
+
"system": "系统"
|
|
358
|
+
},
|
|
359
|
+
"title": "外观"
|
|
360
|
+
},
|
|
361
|
+
"backToEditor": "返回编辑器",
|
|
362
|
+
"generation": {
|
|
363
|
+
"description": "微调语言模型生成译文的方式。",
|
|
364
|
+
"enableReasoning": "启用推理",
|
|
365
|
+
"frequencyPenalty": "频率惩罚",
|
|
366
|
+
"maxTokens": "最大令牌数",
|
|
367
|
+
"minP": "最小 P",
|
|
368
|
+
"presencePenalty": "存在惩罚",
|
|
369
|
+
"repeatPenalty": "重复惩罚",
|
|
370
|
+
"sampling": "采样",
|
|
371
|
+
"samplingDescription": "控制模型选择和调整生成文本的方式。",
|
|
372
|
+
"temperature": "温度",
|
|
373
|
+
"reasoning": "推理",
|
|
374
|
+
"reasoningDescription": "翻译时使用模型推理。",
|
|
375
|
+
"title": "生成",
|
|
376
|
+
"topK": "前 K 项",
|
|
377
|
+
"topP": "Top P",
|
|
378
|
+
"vision": "视觉",
|
|
379
|
+
"visionDescription": "翻译时将页面图像输入给 LLM。"
|
|
380
|
+
},
|
|
381
|
+
"loading": "正在加载偏好设置…",
|
|
382
|
+
"pipeline": {
|
|
383
|
+
"description": "选择用于处理每个页面的模型和选项。",
|
|
384
|
+
"modelLabel": "{{stage}}模型",
|
|
385
|
+
"options": {
|
|
386
|
+
"bubbleThreshold": "气泡阈值",
|
|
387
|
+
"negativePrompt": "负面提示词",
|
|
388
|
+
"panelThreshold": "分镜阈值",
|
|
389
|
+
"prompt": "提示词",
|
|
390
|
+
"textThreshold": "文本阈值"
|
|
391
|
+
},
|
|
392
|
+
"processing": "正在处理",
|
|
393
|
+
"stages": {
|
|
394
|
+
"detection": {
|
|
395
|
+
"description": "查找文本、气泡和分镜。",
|
|
396
|
+
"title": "检测"
|
|
397
|
+
},
|
|
398
|
+
"inpainting": {
|
|
399
|
+
"description": "重建已删除文本下方的图稿。",
|
|
400
|
+
"title": "修补"
|
|
401
|
+
},
|
|
402
|
+
"ocr": {
|
|
403
|
+
"description": "读取检测区域内的原文。",
|
|
404
|
+
"title": "OCR"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
"title": "流水线"
|
|
408
|
+
},
|
|
409
|
+
"providers": {
|
|
410
|
+
"clearCredential": "清除 {{provider}} 凭据",
|
|
411
|
+
"configured": "已配置",
|
|
412
|
+
"connections": "连接",
|
|
413
|
+
"connectionsDescription": "凭据安全地存储在此设备上。",
|
|
414
|
+
"credential": "凭据",
|
|
415
|
+
"credentialLabel": "{{provider}} 凭据",
|
|
416
|
+
"description": "连接翻译和语言模型提供商。",
|
|
417
|
+
"notConfigured": "未配置",
|
|
418
|
+
"title": "提供商"
|
|
419
|
+
},
|
|
420
|
+
"shortcuts": {
|
|
421
|
+
"description": "当文本字段未获得焦点时,可以使用单键快捷键。",
|
|
422
|
+
"inputLabel": "{{action}} 快捷键",
|
|
423
|
+
"title": "快捷键",
|
|
424
|
+
"tools": "工具"
|
|
425
|
+
},
|
|
426
|
+
"tabs": {
|
|
427
|
+
"appearance": "外观",
|
|
428
|
+
"pipeline": "流水线",
|
|
429
|
+
"providers": "提供商",
|
|
430
|
+
"shortcuts": "快捷键",
|
|
431
|
+
"translation": "译文",
|
|
432
|
+
"typesetting": "排版"
|
|
433
|
+
},
|
|
434
|
+
"title": "设置",
|
|
435
|
+
"translation": {
|
|
436
|
+
"description": "选择任意已配置提供商的模型,然后应用一组共享的翻译和生成选项。",
|
|
437
|
+
"instructionsDescription": "有关名称、语气、术语或格式的说明。",
|
|
438
|
+
"instructionsLabel": "翻译说明",
|
|
439
|
+
"instructionsPlaceholder": "可选的项目级说明",
|
|
440
|
+
"model": "模型",
|
|
441
|
+
"modelDescription": "提供商标签表示各模型的运行位置;连接需单独配置。",
|
|
442
|
+
"modelQuantization": "模型量化",
|
|
443
|
+
"output": "输出",
|
|
444
|
+
"quantization": "量化",
|
|
445
|
+
"quantizationDescription": "较小的格式占用更少内存,但通常会牺牲一些质量。",
|
|
446
|
+
"selectQuantization": "选择量化方式",
|
|
447
|
+
"targetLanguageDescription": "选择文本要翻译成的语言。",
|
|
448
|
+
"title": "译文",
|
|
449
|
+
"translationModel": "翻译模型",
|
|
450
|
+
"translationModelDescription": "选择用于翻译文本的模型。"
|
|
451
|
+
},
|
|
452
|
+
"typesetting": {
|
|
453
|
+
"addFamily": "添加字体系列",
|
|
454
|
+
"defaultFamilies": "默认字体系列",
|
|
455
|
+
"description": "设置文本图层未指定字体系列时使用的有序字体堆栈。",
|
|
456
|
+
"empty": "没有默认字体系列。Koharu 将使用系统后备字体。",
|
|
457
|
+
"familyLabel": "默认字体系列 {{index}}",
|
|
458
|
+
"fontFallback": "后备字体",
|
|
459
|
+
"fontFallbackDescription": "Koharu 使用第一个支持该文本的可用字体系列。",
|
|
460
|
+
"loadError": "无法加载字体。仍可删除现有字体系列。",
|
|
461
|
+
"loadingFonts": "正在加载字体…",
|
|
462
|
+
"removeFamily": "删除 {{family}}",
|
|
463
|
+
"title": "排版"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"start": {
|
|
467
|
+
"create": "创建",
|
|
468
|
+
"deleteAction": "删除项目",
|
|
469
|
+
"deleteDescription": "这将永久删除“{{name}}”及其所有页面。此操作无法撤销。",
|
|
470
|
+
"deleteLabel": "删除 {{name}}",
|
|
471
|
+
"deleteTitle": "删除项目?",
|
|
472
|
+
"deleting": "正在删除…",
|
|
473
|
+
"description": "打开工作区或开始新的翻译。",
|
|
474
|
+
"emptyDescription": "创建第一个项目以开始导入页面。",
|
|
475
|
+
"emptyTitle": "还没有项目",
|
|
476
|
+
"loadingProjects": "正在加载项目…",
|
|
477
|
+
"newDescription": "为页面、翻译和导出创建一个干净的工作区。",
|
|
478
|
+
"newProject": "新建项目",
|
|
479
|
+
"projectKind": "Koharu 项目",
|
|
480
|
+
"projectList": "项目",
|
|
481
|
+
"projectName": "项目名称",
|
|
482
|
+
"projectNamePlaceholder": "我的新项目",
|
|
483
|
+
"storageHint": "项目存储在本地“文档”文件夹中。",
|
|
484
|
+
"title": "项目",
|
|
485
|
+
"yourProjects": "你的项目"
|
|
486
|
+
},
|
|
487
|
+
"startup": {
|
|
488
|
+
"description": "正在加载本地 AI 运行时并准备工作区。首次启动可能需要一些时间。",
|
|
489
|
+
"opening": "正在打开 Koharu…",
|
|
490
|
+
"status": "正在初始化本地运行时",
|
|
491
|
+
"title": "正在准备 Koharu"
|
|
492
|
+
},
|
|
493
|
+
"status": {
|
|
494
|
+
"zoom": "缩放"
|
|
495
|
+
},
|
|
496
|
+
"tools": {
|
|
497
|
+
"brushSize": "画笔大小",
|
|
498
|
+
"brushSizeInput": "画笔大小",
|
|
499
|
+
"brushSizePixels": "画笔大小:{{size}} 像素",
|
|
500
|
+
"brushSizeShort": "{{size}} 像素",
|
|
501
|
+
"color_picker": "取色器",
|
|
502
|
+
"decreaseBrushSize": "减小画笔大小",
|
|
503
|
+
"draw": "绘画",
|
|
504
|
+
"eraser": "橡皮擦",
|
|
505
|
+
"increaseBrushSize": "增大画笔大小",
|
|
506
|
+
"pan": "平移",
|
|
507
|
+
"remove": "移除",
|
|
508
|
+
"select": "选择",
|
|
509
|
+
"text": "文本"
|
|
510
|
+
},
|
|
511
|
+
"updater": {
|
|
512
|
+
"available": {
|
|
513
|
+
"description": "Koharu <strong>{{version}}</strong> 已准备好安装",
|
|
514
|
+
"title": "有可用更新"
|
|
515
|
+
},
|
|
516
|
+
"close": "关闭",
|
|
517
|
+
"downloading": {
|
|
518
|
+
"subtitle": "Koharu {{version}}",
|
|
519
|
+
"title": "正在下载更新…"
|
|
520
|
+
},
|
|
521
|
+
"error": {
|
|
522
|
+
"description": "更新过程中出现问题",
|
|
523
|
+
"title": "更新失败"
|
|
524
|
+
},
|
|
525
|
+
"later": "稍后",
|
|
526
|
+
"noNotes": "未提供发行说明。",
|
|
527
|
+
"retry": "重试",
|
|
528
|
+
"update": "更新"
|
|
529
|
+
},
|
|
530
|
+
"window": {
|
|
531
|
+
"close": "关闭",
|
|
532
|
+
"maximize": "最大化",
|
|
533
|
+
"minimize": "最小化",
|
|
534
|
+
"restore": "还原"
|
|
535
|
+
}
|
|
536
|
+
}
|