Skip to content

Commit

Permalink
ENH: i18n: Add chinese translation files (*_zh_cn.ts, *_zh_tw.ts)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
u8621011 and jcfr committed Feb 24, 2018
1 parent d6ad3ef commit 807a686
Show file tree
Hide file tree
Showing 33 changed files with 18,559 additions and 0 deletions.
1,035 changes: 1,035 additions & 0 deletions Applications/SlicerApp/Resources/Translations/qSlicerApp_zh_cn.ts

Large diffs are not rendered by default.

1,027 changes: 1,027 additions & 0 deletions Applications/SlicerApp/Resources/Translations/qSlicerApp_zh_tw.ts

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions Base/QTApp/Resources/Translations/qSlicerBaseQTApp_zh_cn.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="zh_CN">
</TS>
4 changes: 4 additions & 0 deletions Base/QTApp/Resources/Translations/qSlicerBaseQTApp_zh_tw.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
</TS>
128 changes: 128 additions & 0 deletions Base/QTCLI/Resources/Translations/qSlicerBaseQTCLI_zh_cn.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="zh_CN">
<context>
<name>QObject</name>
<message>
<location filename="../../qSlicerCLIProgressBar.cxx" line="124"/>
<source>Show details</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIProgressBar.cxx" line="148"/>
<source>Status:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIProgressBar.cxx" line="149"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>qSlicerCLIModuleWidget</name>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="14"/>
<source>Module</source>
<translation>模块</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="47"/>
<source>Module Title</source>
<translation>模块标题</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="59"/>
<source>vtkMRMLCommandLineModuleNode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="70"/>
<source>Parameter set:</source>
<translation>参数</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="104"/>
<source>Reset parameters to default.</source>
<translation>重设参数回默认值</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="107"/>
<source>Restore Defaults</source>
<translation>恢复默认值</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="117"/>
<source>AutoRun</source>
<translation>自动执行</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="143"/>
<source>Cancel the execution of the module</source>
<translation>取消模块的执行</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="146"/>
<source>Cancel</source>
<translation>取消</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="156"/>
<source>Execute the module</source>
<translation>执行模块</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="159"/>
<source>Apply</source>
<translation>套用</translation>
</message>
</context>
<context>
<name>qSlicerCLIModuleWidgetPrivate</name>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="98"/>
<source>AutoRun</source>
<translation>自动执行</translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="101"/>
<source>AutoRun on changed parameter</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="103"/>
<source>As long as the AutoRun button is down, the module is run anytime a parameter value is changed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="110"/>
<source>AutoRun on modified input</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="112"/>
<source>As long as the AutoRun button is down, the module is run anytime an input node is modified.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="119"/>
<source>AutoRun on other input events</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="121"/>
<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>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="128"/>
<source>AutoRun cancels running process</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="130"/>
<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>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
128 changes: 128 additions & 0 deletions Base/QTCLI/Resources/Translations/qSlicerBaseQTCLI_zh_tw.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="zh_TW">
<context>
<name>QObject</name>
<message>
<location filename="../../qSlicerCLIProgressBar.cxx" line="124"/>
<source>Show details</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIProgressBar.cxx" line="148"/>
<source>Status:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIProgressBar.cxx" line="149"/>
<source>Idle</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>qSlicerCLIModuleWidget</name>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="14"/>
<source>Module</source>
<translation>模組</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="47"/>
<source>Module Title</source>
<translation>模組標題</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="59"/>
<source>vtkMRMLCommandLineModuleNode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="70"/>
<source>Parameter set:</source>
<translation>參數</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="104"/>
<source>Reset parameters to default.</source>
<translation>重設參數回預設值</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="107"/>
<source>Restore Defaults</source>
<translation>恢復預設值</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="117"/>
<source>AutoRun</source>
<translation>自動執行</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="143"/>
<source>Cancel the execution of the module</source>
<translation>取消模組的執行</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="146"/>
<source>Cancel</source>
<translation>取消</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="156"/>
<source>Execute the module</source>
<translation>執行模組</translation>
</message>
<message>
<location filename="../UI/qSlicerCLIModuleWidget.ui" line="159"/>
<source>Apply</source>
<translation>套用</translation>
</message>
</context>
<context>
<name>qSlicerCLIModuleWidgetPrivate</name>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="98"/>
<source>AutoRun</source>
<translation>自動執行</translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="101"/>
<source>AutoRun on changed parameter</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="103"/>
<source>As long as the AutoRun button is down, the module is run anytime a parameter value is changed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="110"/>
<source>AutoRun on modified input</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="112"/>
<source>As long as the AutoRun button is down, the module is run anytime an input node is modified.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="119"/>
<source>AutoRun on other input events</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="121"/>
<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>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="128"/>
<source>AutoRun cancels running process</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerCLIModuleWidget.cxx" line="130"/>
<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>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
50 changes: 50 additions & 0 deletions Base/QTCore/Resources/Translations/qSlicerBaseQTCore_zh_cn.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="zh_CN">
<context>
<name>QObject</name>
<message>
<location filename="../../qSlicerCoreApplication.cxx" line="610"/>
<source>Failed to create %1 directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="765"/>
<source>slicerRevision is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="769"/>
<source>slicerOs is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="773"/>
<source>slicerArch is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="779"/>
<source>extensionSlicerRevision [%1] is different from slicerRevision [%2]</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="784"/>
<source>extensionArch [%1] is different from slicerArch [%2]</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="789"/>
<source>extensionOs [%1] is different from slicerOs [%2]</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>qSlicerExtensionsManagerModel</name>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="2131"/>
<source>extensionName is not specified</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
50 changes: 50 additions & 0 deletions Base/QTCore/Resources/Translations/qSlicerBaseQTCore_zh_tw.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="zh_TW">
<context>
<name>QObject</name>
<message>
<location filename="../../qSlicerCoreApplication.cxx" line="610"/>
<source>Failed to create %1 directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="765"/>
<source>slicerRevision is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="769"/>
<source>slicerOs is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="773"/>
<source>slicerArch is not specified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="779"/>
<source>extensionSlicerRevision [%1] is different from slicerRevision [%2]</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="784"/>
<source>extensionArch [%1] is different from slicerArch [%2]</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="789"/>
<source>extensionOs [%1] is different from slicerOs [%2]</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>qSlicerExtensionsManagerModel</name>
<message>
<location filename="../../qSlicerExtensionsManagerModel.cxx" line="2131"/>
<source>extensionName is not specified</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
Loading

0 comments on commit 807a686

Please sign in to comment.