Skip to content

Commit 49e3d24

Browse files
committed
update chs translation
1 parent d2668a9 commit 49e3d24

File tree

2 files changed

+38
-23
lines changed

2 files changed

+38
-23
lines changed
-118 Bytes
Binary file not shown.

ballontranslator/data/translate/zh_CN.ts

Lines changed: 38 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@
5252
<context>
5353
<name>Canvas</name>
5454
<message>
55-
<location filename="../../ui/canvas.py" line="403"/>
55+
<location filename="../../ui/canvas.py" line="411"/>
5656
<source>Delete</source>
5757
<translation>删除</translation>
5858
</message>
5959
<message>
60-
<location filename="../../ui/canvas.py" line="404"/>
60+
<location filename="../../ui/canvas.py" line="412"/>
6161
<source>Apply font formatting</source>
6262
<translation>应用字体格式</translation>
6363
</message>
6464
<message>
65-
<location filename="../../ui/canvas.py" line="405"/>
65+
<location filename="../../ui/canvas.py" line="413"/>
6666
<source>Auto layout</source>
6767
<translation>自动排版</translation>
6868
</message>
@@ -173,7 +173,7 @@
173173
<context>
174174
<name>DLManager</name>
175175
<message>
176-
<location filename="../../ui/dl_manager.py" line="655"/>
176+
<location filename="../../ui/dl_manager.py" line="645"/>
177177
<source>Invalid</source>
178178
<translation>不可用</translation>
179179
</message>
@@ -189,53 +189,68 @@
189189
<context>
190190
<name>FontFormatPanel</name>
191191
<message>
192-
<location filename="../../ui/fontformatpanel.py" line="302"/>
192+
<location filename="../../ui/fontformatpanel.py" line="424"/>
193193
<source>Font Family</source>
194194
<translation>字体</translation>
195195
</message>
196196
<message>
197-
<location filename="../../ui/fontformatpanel.py" line="306"/>
197+
<location filename="../../ui/fontformatpanel.py" line="428"/>
198198
<source>Font Size</source>
199199
<translation>大小</translation>
200200
</message>
201201
<message>
202-
<location filename="../../ui/fontformatpanel.py" line="312"/>
202+
<location filename="../../ui/fontformatpanel.py" line="447"/>
203203
<source>Change font color</source>
204204
<translation>改变文字颜色</translation>
205205
</message>
206206
<message>
207-
<location filename="../../ui/fontformatpanel.py" line="329"/>
207+
<location filename="../../ui/fontformatpanel.py" line="472"/>
208208
<source>Change stroke color</source>
209209
<translation>改变文字轮廓颜色</translation>
210210
</message>
211211
<message>
212212
<location filename="../../ui/fontformatpanel.py" line="334"/>
213213
<source>Stroke width: </source>
214-
<translation>轮廓宽度: </translation>
214+
<translation type="obsolete">轮廓宽度: </translation>
215215
</message>
216216
<message>
217217
<location filename="../../ui/fontformatpanel.py" line="340"/>
218218
<source>line spacing: </source>
219-
<translation>行间距: </translation>
219+
<translation type="obsolete">行间距: </translation>
220220
</message>
221221
<message>
222-
<location filename="../../ui/fontformatpanel.py" line="346"/>
222+
<location filename="../../ui/fontformatpanel.py" line="506"/>
223223
<source>Global Font Format</source>
224-
<translation type="unfinished">全局字体格式</translation>
224+
<translation>全局字体格式</translation>
225+
</message>
226+
<message>
227+
<location filename="../../ui/fontformatpanel.py" line="463"/>
228+
<source>Stroke</source>
229+
<translation>轮廓</translation>
230+
</message>
231+
<message>
232+
<location filename="../../ui/fontformatpanel.py" line="479"/>
233+
<source>Change stroke width</source>
234+
<translation>修改轮廓宽度</translation>
235+
</message>
236+
<message>
237+
<location filename="../../ui/fontformatpanel.py" line="496"/>
238+
<source>Change letter spacing</source>
239+
<translation>修改字符间距</translation>
225240
</message>
226241
</context>
227242
<context>
228243
<name>ImgtransThread</name>
229244
<message>
230-
<location filename="../../ui/dl_manager.py" line="327"/>
245+
<location filename="../../ui/dl_manager.py" line="317"/>
231246
<source>Translation Failed.</source>
232247
<translation>翻译失败.</translation>
233248
</message>
234249
</context>
235250
<context>
236251
<name>InpaintConfigPanel</name>
237252
<message>
238-
<location filename="../../ui/dlconfig_parse_widgets.py" line="238"/>
253+
<location filename="../../ui/dlconfig_parse_widgets.py" line="236"/>
239254
<source>Let the program decide whether it is necessary to use the selected inpaint method.</source>
240255
<translation>由程序决定是否调用修复方法</translation>
241256
</message>
@@ -305,22 +320,22 @@
305320
<context>
306321
<name>MainWindow</name>
307322
<message>
308-
<location filename="../../ui/mainwindow.py" line="210"/>
323+
<location filename="../../ui/mainwindow.py" line="214"/>
309324
<source>Failed to load project </source>
310325
<translation>项目加载失败 </translation>
311326
</message>
312327
<message>
313-
<location filename="../../ui/mainwindow.py" line="530"/>
328+
<location filename="../../ui/mainwindow.py" line="557"/>
314329
<source>unsaved</source>
315330
<translation>未保存</translation>
316331
</message>
317332
<message>
318-
<location filename="../../ui/mainwindow.py" line="530"/>
333+
<location filename="../../ui/mainwindow.py" line="557"/>
319334
<source>saved</source>
320335
<translation>已保存</translation>
321336
</message>
322337
<message>
323-
<location filename="../../ui/mainwindow.py" line="544"/>
338+
<location filename="../../ui/mainwindow.py" line="571"/>
324339
<source>Saving image...</source>
325340
<translation>保存中...</translation>
326341
</message>
@@ -422,25 +437,25 @@
422437
<message>
423438
<location filename="../../ui/dl_manager.py" line="168"/>
424439
<source>The selected language is not supported by </source>
425-
<translation>所选语言不被目标翻译器支持</translation>
440+
<translation type="obsolete">所选语言不被目标翻译器支持</translation>
426441
</message>
427442
<message>
428443
<location filename="../../ui/dl_manager.py" line="169"/>
429444
<source>support list: </source>
430-
<translation>支持语言列表: </translation>
445+
<translation type="obsolete">支持语言列表: </translation>
431446
</message>
432447
<message>
433-
<location filename="../../ui/dl_manager.py" line="175"/>
448+
<location filename="../../ui/dl_manager.py" line="169"/>
434449
<source>Failed to set translator </source>
435450
<translation>翻译器设置失败 </translation>
436451
</message>
437452
<message>
438-
<location filename="../../ui/dl_manager.py" line="227"/>
453+
<location filename="../../ui/dl_manager.py" line="221"/>
439454
<source> is required for </source>
440455
<translation>是翻译器必填项</translation>
441456
</message>
442457
<message>
443-
<location filename="../../ui/dl_manager.py" line="225"/>
458+
<location filename="../../ui/dl_manager.py" line="219"/>
444459
<source>Translation Failed.</source>
445460
<translation>翻译失败.</translation>
446461
</message>

0 commit comments

Comments
 (0)