Skip to content

Commit 9470766

Browse files
u8621011jcfr
andcommitted
ENH: i18n: Add chinese translation files (*_zh_cn.ts, *_zh_tw.ts)
This commit translates: * SlicerApp * QTApp, QTCLI, QTCore, QTGUI and Modules/Core * MRML libraries: qMRMLWidgets * Modules: Data, Markups, Models, Segmentation, SlicerWelcome, SubjectHierarchy, Transforms, VolumeRendering and Volumes Co-authored-by: Jean-Christophe Fillion-Robin <[email protected]>
1 parent a6545f5 commit 9470766

File tree

33 files changed

+18559
-0
lines changed

33 files changed

+18559
-0
lines changed

Applications/SlicerApp/Resources/Translations/qSlicerApp_zh_cn.ts

+1,035
Large diffs are not rendered by default.

Applications/SlicerApp/Resources/Translations/qSlicerApp_zh_tw.ts

+1,027
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!DOCTYPE TS>
3+
<TS version="2.0" language="zh_CN">
4+
</TS>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!DOCTYPE TS>
3+
<TS version="2.0">
4+
</TS>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!DOCTYPE TS>
3+
<TS version="2.0" language="zh_CN">
4+
<context>
5+
<name>QObject</name>
6+
<message>
7+
<location filename="../../qSlicerCLIProgressBar.cxx" line="124"/>
8+
<source>Show details</source>
9+
<translation type="unfinished"></translation>
10+
</message>
11+
<message>
12+
<location filename="../../qSlicerCLIProgressBar.cxx" line="148"/>
13+
<source>Status:</source>
14+
<translation type="unfinished"></translation>
15+
</message>
16+
<message>
17+
<location filename="../../qSlicerCLIProgressBar.cxx" line="149"/>
18+
<source>Idle</source>
19+
<translation type="unfinished"></translation>
20+
</message>
21+
</context>
22+
<context>
23+
<name>qSlicerCLIModuleWidget</name>
24+
<message>
25+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="14"/>
26+
<source>Module</source>
27+
<translation>模块</translation>
28+
</message>
29+
<message>
30+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="47"/>
31+
<source>Module Title</source>
32+
<translation>模块标题</translation>
33+
</message>
34+
<message>
35+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="59"/>
36+
<source>vtkMRMLCommandLineModuleNode</source>
37+
<translation type="unfinished"></translation>
38+
</message>
39+
<message>
40+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="70"/>
41+
<source>Parameter set:</source>
42+
<translation>参数</translation>
43+
</message>
44+
<message>
45+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="104"/>
46+
<source>Reset parameters to default.</source>
47+
<translation>重设参数回默认值</translation>
48+
</message>
49+
<message>
50+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="107"/>
51+
<source>Restore Defaults</source>
52+
<translation>恢复默认值</translation>
53+
</message>
54+
<message>
55+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="117"/>
56+
<source>AutoRun</source>
57+
<translation>自动执行</translation>
58+
</message>
59+
<message>
60+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="143"/>
61+
<source>Cancel the execution of the module</source>
62+
<translation>取消模块的执行</translation>
63+
</message>
64+
<message>
65+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="146"/>
66+
<source>Cancel</source>
67+
<translation>取消</translation>
68+
</message>
69+
<message>
70+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="156"/>
71+
<source>Execute the module</source>
72+
<translation>执行模块</translation>
73+
</message>
74+
<message>
75+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="159"/>
76+
<source>Apply</source>
77+
<translation>套用</translation>
78+
</message>
79+
</context>
80+
<context>
81+
<name>qSlicerCLIModuleWidgetPrivate</name>
82+
<message>
83+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="98"/>
84+
<source>AutoRun</source>
85+
<translation>自动执行</translation>
86+
</message>
87+
<message>
88+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="101"/>
89+
<source>AutoRun on changed parameter</source>
90+
<translation type="unfinished"></translation>
91+
</message>
92+
<message>
93+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="103"/>
94+
<source>As long as the AutoRun button is down, the module is run anytime a parameter value is changed.</source>
95+
<translation type="unfinished"></translation>
96+
</message>
97+
<message>
98+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="110"/>
99+
<source>AutoRun on modified input</source>
100+
<translation type="unfinished"></translation>
101+
</message>
102+
<message>
103+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="112"/>
104+
<source>As long as the AutoRun button is down, the module is run anytime an input node is modified.</source>
105+
<translation type="unfinished"></translation>
106+
</message>
107+
<message>
108+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="119"/>
109+
<source>AutoRun on other input events</source>
110+
<translation type="unfinished"></translation>
111+
</message>
112+
<message>
113+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="121"/>
114+
<source>As long as the AutoRun button is down, the module is run anytime an input node fires an event other than a modified event.</source>
115+
<translation type="unfinished"></translation>
116+
</message>
117+
<message>
118+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="128"/>
119+
<source>AutoRun cancels running process</source>
120+
<translation type="unfinished"></translation>
121+
</message>
122+
<message>
123+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="130"/>
124+
<source>When checked, on apply, the module cancels/stops the existing running instance if any, otherwise it waits the completion to start a new run.</source>
125+
<translation type="unfinished"></translation>
126+
</message>
127+
</context>
128+
</TS>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!DOCTYPE TS>
3+
<TS version="2.0" language="zh_TW">
4+
<context>
5+
<name>QObject</name>
6+
<message>
7+
<location filename="../../qSlicerCLIProgressBar.cxx" line="124"/>
8+
<source>Show details</source>
9+
<translation type="unfinished"></translation>
10+
</message>
11+
<message>
12+
<location filename="../../qSlicerCLIProgressBar.cxx" line="148"/>
13+
<source>Status:</source>
14+
<translation type="unfinished"></translation>
15+
</message>
16+
<message>
17+
<location filename="../../qSlicerCLIProgressBar.cxx" line="149"/>
18+
<source>Idle</source>
19+
<translation type="unfinished"></translation>
20+
</message>
21+
</context>
22+
<context>
23+
<name>qSlicerCLIModuleWidget</name>
24+
<message>
25+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="14"/>
26+
<source>Module</source>
27+
<translation>模組</translation>
28+
</message>
29+
<message>
30+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="47"/>
31+
<source>Module Title</source>
32+
<translation>模組標題</translation>
33+
</message>
34+
<message>
35+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="59"/>
36+
<source>vtkMRMLCommandLineModuleNode</source>
37+
<translation type="unfinished"></translation>
38+
</message>
39+
<message>
40+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="70"/>
41+
<source>Parameter set:</source>
42+
<translation>參數</translation>
43+
</message>
44+
<message>
45+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="104"/>
46+
<source>Reset parameters to default.</source>
47+
<translation>重設參數回預設值</translation>
48+
</message>
49+
<message>
50+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="107"/>
51+
<source>Restore Defaults</source>
52+
<translation>恢復預設值</translation>
53+
</message>
54+
<message>
55+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="117"/>
56+
<source>AutoRun</source>
57+
<translation>自動執行</translation>
58+
</message>
59+
<message>
60+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="143"/>
61+
<source>Cancel the execution of the module</source>
62+
<translation>取消模組的執行</translation>
63+
</message>
64+
<message>
65+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="146"/>
66+
<source>Cancel</source>
67+
<translation>取消</translation>
68+
</message>
69+
<message>
70+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="156"/>
71+
<source>Execute the module</source>
72+
<translation>執行模組</translation>
73+
</message>
74+
<message>
75+
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="159"/>
76+
<source>Apply</source>
77+
<translation>套用</translation>
78+
</message>
79+
</context>
80+
<context>
81+
<name>qSlicerCLIModuleWidgetPrivate</name>
82+
<message>
83+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="98"/>
84+
<source>AutoRun</source>
85+
<translation>自動執行</translation>
86+
</message>
87+
<message>
88+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="101"/>
89+
<source>AutoRun on changed parameter</source>
90+
<translation type="unfinished"></translation>
91+
</message>
92+
<message>
93+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="103"/>
94+
<source>As long as the AutoRun button is down, the module is run anytime a parameter value is changed.</source>
95+
<translation type="unfinished"></translation>
96+
</message>
97+
<message>
98+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="110"/>
99+
<source>AutoRun on modified input</source>
100+
<translation type="unfinished"></translation>
101+
</message>
102+
<message>
103+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="112"/>
104+
<source>As long as the AutoRun button is down, the module is run anytime an input node is modified.</source>
105+
<translation type="unfinished"></translation>
106+
</message>
107+
<message>
108+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="119"/>
109+
<source>AutoRun on other input events</source>
110+
<translation type="unfinished"></translation>
111+
</message>
112+
<message>
113+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="121"/>
114+
<source>As long as the AutoRun button is down, the module is run anytime an input node fires an event other than a modified event.</source>
115+
<translation type="unfinished"></translation>
116+
</message>
117+
<message>
118+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="128"/>
119+
<source>AutoRun cancels running process</source>
120+
<translation type="unfinished"></translation>
121+
</message>
122+
<message>
123+
<location filename="../../qSlicerCLIModuleWidget.cxx" line="130"/>
124+
<source>When checked, on apply, the module cancels/stops the existing running instance if any, otherwise it waits the completion to start a new run.</source>
125+
<translation type="unfinished"></translation>
126+
</message>
127+
</context>
128+
</TS>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!DOCTYPE TS>
3+
<TS version="2.0" language="zh_CN">
4+
<context>
5+
<name>QObject</name>
6+
<message>
7+
<location filename="../../qSlicerCoreApplication.cxx" line="610"/>
8+
<source>Failed to create %1 directory</source>
9+
<translation type="unfinished"></translation>
10+
</message>
11+
<message>
12+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="765"/>
13+
<source>slicerRevision is not specified</source>
14+
<translation type="unfinished"></translation>
15+
</message>
16+
<message>
17+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="769"/>
18+
<source>slicerOs is not specified</source>
19+
<translation type="unfinished"></translation>
20+
</message>
21+
<message>
22+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="773"/>
23+
<source>slicerArch is not specified</source>
24+
<translation type="unfinished"></translation>
25+
</message>
26+
<message>
27+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="779"/>
28+
<source>extensionSlicerRevision [%1] is different from slicerRevision [%2]</source>
29+
<translation type="unfinished"></translation>
30+
</message>
31+
<message>
32+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="784"/>
33+
<source>extensionArch [%1] is different from slicerArch [%2]</source>
34+
<translation type="unfinished"></translation>
35+
</message>
36+
<message>
37+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="789"/>
38+
<source>extensionOs [%1] is different from slicerOs [%2]</source>
39+
<translation type="unfinished"></translation>
40+
</message>
41+
</context>
42+
<context>
43+
<name>qSlicerExtensionsManagerModel</name>
44+
<message>
45+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="2131"/>
46+
<source>extensionName is not specified</source>
47+
<translation type="unfinished"></translation>
48+
</message>
49+
</context>
50+
</TS>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!DOCTYPE TS>
3+
<TS version="2.0" language="zh_TW">
4+
<context>
5+
<name>QObject</name>
6+
<message>
7+
<location filename="../../qSlicerCoreApplication.cxx" line="610"/>
8+
<source>Failed to create %1 directory</source>
9+
<translation type="unfinished"></translation>
10+
</message>
11+
<message>
12+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="765"/>
13+
<source>slicerRevision is not specified</source>
14+
<translation type="unfinished"></translation>
15+
</message>
16+
<message>
17+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="769"/>
18+
<source>slicerOs is not specified</source>
19+
<translation type="unfinished"></translation>
20+
</message>
21+
<message>
22+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="773"/>
23+
<source>slicerArch is not specified</source>
24+
<translation type="unfinished"></translation>
25+
</message>
26+
<message>
27+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="779"/>
28+
<source>extensionSlicerRevision [%1] is different from slicerRevision [%2]</source>
29+
<translation type="unfinished"></translation>
30+
</message>
31+
<message>
32+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="784"/>
33+
<source>extensionArch [%1] is different from slicerArch [%2]</source>
34+
<translation type="unfinished"></translation>
35+
</message>
36+
<message>
37+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="789"/>
38+
<source>extensionOs [%1] is different from slicerOs [%2]</source>
39+
<translation type="unfinished"></translation>
40+
</message>
41+
</context>
42+
<context>
43+
<name>qSlicerExtensionsManagerModel</name>
44+
<message>
45+
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="2131"/>
46+
<source>extensionName is not specified</source>
47+
<translation type="unfinished"></translation>
48+
</message>
49+
</context>
50+
</TS>

0 commit comments

Comments
 (0)