changeset 76:be5bb071e6c5

[Add] : Now taiwan respective chinese language ist supported (Thanks to Nelson Tai). git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@247 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Sun, 25 Feb 2007 19:23:07 +0000
parents 4954b0ca36e0
children 20b6ac04c90d
files src/mainwindow.cpp translations/universalindent_de.ts translations/universalindent_tw.ts
diffstat 3 files changed, 519 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/src/mainwindow.cpp	Wed Feb 14 21:26:02 2007 +0000
+++ b/src/mainwindow.cpp	Sun Feb 25 19:23:07 2007 +0000
@@ -840,6 +840,9 @@
         else if ( languageShort == "de" ) {
             languageInfo.languageName = tr("German");
         }
+		else if ( languageShort == "tw" ) {
+			languageInfo.languageName = tr("Taiwan (Chinese)");
+		}
         else {
             languageInfo.languageName = tr("Unknown language mnemonic ") + languageShort;
         }
@@ -896,6 +899,9 @@
                 else if ( languageInfo.languageShort == "de" ) {
                     languageInfo.languageName = tr("German");
                 }
+				else if ( languageInfo.languageShort == "tw" ) {
+					languageInfo.languageName = tr("Taiwan (Chinese)");
+				}
                 else {
                     languageInfo.languageName = tr("Unknown language mnemonic ") + languageInfo.languageShort;
                 }
--- a/translations/universalindent_de.ts	Wed Feb 14 21:26:02 2007 +0000
+++ b/translations/universalindent_de.ts	Sun Feb 25 19:23:07 2007 +0000
@@ -325,22 +325,22 @@
 <context>
     <name>IndentHandler</name>
     <message>
-        <location filename="../src/indenthandler.cpp" line="122"/>
+        <location filename="../src/indenthandler.cpp" line="131"/>
         <source>No indenter executable</source>
         <translation>Keine ausführbare Formatierer Datei</translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="123"/>
+        <location filename="../src/indenthandler.cpp" line="132"/>
         <source>There exists no indenter executable with the name &quot;</source>
         <translation>Es existiert keine ausführbare Datei mit dem Namen &quot;</translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="123"/>
+        <location filename="../src/indenthandler.cpp" line="132"/>
         <source>&quot; in the directory &quot;</source>
         <translation>&quot; in dem Verzeichnis &quot;</translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="202"/>
+        <location filename="../src/indenthandler.cpp" line="211"/>
         <source>Error calling Indenter</source>
         <translation>Fehler beim Aufruf des Formatierers</translation>
     </message>
@@ -351,7 +351,7 @@
         <translation type="obsolete">Der Aufruf lautete:</translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="217"/>
+        <location filename="../src/indenthandler.cpp" line="226"/>
         <source>Indenter returned error</source>
         <translation>Fehler beim Ausführen des Formatierers</translation>
     </message>
@@ -370,37 +370,37 @@
 </translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="164"/>
+        <location filename="../src/indenthandler.cpp" line="173"/>
         <source>wine not installed</source>
         <translation>wine nicht installiert</translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="164"/>
+        <location filename="../src/indenthandler.cpp" line="173"/>
         <source>There exists only a win32 executable of the indenter and wine does not seem to be installed. Please install wine to be able to run the indenter.</source>
         <translation>Es existiert nur eine Win32 Version des Formatierers, für dessen Ausführung wine benötigt wird. Wine scheint nicht installiert zu sein. Bitte installieren Sie es.</translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="176"/>
+        <location filename="../src/indenthandler.cpp" line="185"/>
         <source>&lt;b&gt;Returned error message:&lt;/b&gt; </source>
         <translation>&lt;b&gt;Zurückgegebene Fehlermeldung:&lt;/b&gt; </translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="180"/>
+        <location filename="../src/indenthandler.cpp" line="189"/>
         <source>&lt;b&gt;Reason could be:&lt;/b&gt; </source>
         <translation>&lt;b&gt;Grund könnte sein:&lt;/b&gt; </translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="215"/>
+        <location filename="../src/indenthandler.cpp" line="224"/>
         <source>&lt;b&gt;Callstring was:&lt;/b&gt; </source>
         <translation>&lt;b&gt;Der Aufruf lautete:&lt;/b&gt; </translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="213"/>
+        <location filename="../src/indenthandler.cpp" line="222"/>
         <source>&lt;b&gt;Indenter returned with exit code:&lt;/b&gt; </source>
         <translation>&lt;b&gt;Zurückgegebener Exit Code ist:&lt;/b&gt; </translation>
     </message>
     <message>
-        <location filename="../src/indenthandler.cpp" line="214"/>
+        <location filename="../src/indenthandler.cpp" line="223"/>
         <source>&lt;b&gt;Indent console output was:&lt;/b&gt; </source>
         <translation>&lt;b&gt;Ausgabe des Formatierers war:&lt;/b&gt; </translation>
     </message>
@@ -408,12 +408,12 @@
 <context>
     <name>MainWindow</name>
     <message>
-        <location filename="../src/mainwindow.cpp" line="964"/>
+        <location filename="../src/mainwindow.cpp" line="970"/>
         <source>Error opening file</source>
         <translation>Fehler beim Dateiöffnen</translation>
     </message>
     <message>
-        <location filename="../src/mainwindow.cpp" line="964"/>
+        <location filename="../src/mainwindow.cpp" line="970"/>
         <source>Cannot read the file </source>
         <translation> Kann folgende Datei nicht lesen</translation>
     </message>
@@ -475,17 +475,17 @@
         <translation>Geänderter Quellcode</translation>
     </message>
     <message>
-        <location filename="../src/mainwindow.cpp" line="894"/>
+        <location filename="../src/mainwindow.cpp" line="897"/>
         <source>English</source>
         <translation>Englisch</translation>
     </message>
     <message>
-        <location filename="../src/mainwindow.cpp" line="897"/>
+        <location filename="../src/mainwindow.cpp" line="900"/>
         <source>German</source>
         <translation>Deutsch</translation>
     </message>
     <message>
-        <location filename="../src/mainwindow.cpp" line="900"/>
+        <location filename="../src/mainwindow.cpp" line="906"/>
         <source>Unknown language mnemonic </source>
         <translation>Unbekanntes Sprachkürzel </translation>
     </message>
@@ -495,25 +495,30 @@
         <translation type="obsolete"> als Programmsprache verwenden. (Nach Neustart aktiv.)</translation>
     </message>
     <message>
-        <location filename="../src/mainwindow.cpp" line="890"/>
+        <location filename="../src/mainwindow.cpp" line="893"/>
         <source>Language</source>
         <translation>Sprache</translation>
     </message>
     <message>
-        <location filename="../src/mainwindow.cpp" line="903"/>
+        <location filename="../src/mainwindow.cpp" line="909"/>
         <source> as user interface language.</source>
         <translation> als Programmsprache verwenden.</translation>
     </message>
     <message>
-        <location filename="../src/mainwindow.cpp" line="944"/>
+        <location filename="../src/mainwindow.cpp" line="950"/>
         <source>Reopen the currently opened source code file by using the text encoding scheme </source>
         <translation>Die momentan geöffnete Quellcodedatei erneut öffnen, unter Verwendung der Textcordierung </translation>
     </message>
     <message>
-        <location filename="../src/mainwindow.cpp" line="948"/>
+        <location filename="../src/mainwindow.cpp" line="954"/>
         <source>Reopen File with other Encoding</source>
         <translation>Datei mit anderer Codierung erneut öffnen</translation>
     </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="903"/>
+        <source>Taiwan (Chinese)</source>
+        <translation>Taiwanisch (Chinesisch)</translation>
+    </message>
 </context>
 <context>
     <name>toolBarWidget</name>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/translations/universalindent_tw.ts	Sun Feb 25 19:23:07 2007 +0000
@@ -0,0 +1,487 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS><TS version="1.1" language="zh_TW">
+<context>
+    <name>AboutDialog</name>
+    <message>
+        <location filename="../src/aboutdialog.ui" line="111"/>
+        <source>... is a cross platform compatible GUI for several code formatter, beautifier and indenter like GreatCode, AStyle (Artistic Styler), GNU Indent, BCPP and so on. Main feature is a live preview to directly see how the selected formatting option affects the source code.</source>
+        <translation>這是一套給眾多程式碼重整及美化工具(例如 GreatCode,AStyle (Artistic Styler),GNU Indent,BCPP 及其他類似工具)使用的 GUI 界面,它最主要的特點在於可以即時顯示程式碼被處理過後的樣子。</translation>
+    </message>
+    <message>
+        <location filename="../src/aboutdialog.ui" line="101"/>
+        <source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
+&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;&quot;&gt;Version 0.4.1 Beta rev.225, 11th February 2007 &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
+&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;&quot;&gt;Version 0.4.1 Beta rev.225, 11th February 2007 &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../src/aboutdialog.ui" line="147"/>
+        <source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
+&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;&lt;br /&gt;Written by : Thomas Schweitzer&lt;/p&gt;
+&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;Project Homepage : &lt;a href=&quot;http://universalindent.sourceforge.net&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://universalindent.sourceforge.net&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;    &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
+&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;&lt;br /&gt;Written by : Thomas Schweitzer&lt;/p&gt;
+&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;Project Homepage : &lt;a href=&quot;http://universalindent.sourceforge.net&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://universalindent.sourceforge.net&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;    &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../src/aboutdialog.ui" line="177"/>
+        <source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:&apos;Courier New&apos;; font-size:8pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:&apos;Courier New&apos;; font-size:8pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../src/aboutdialog.ui" line="33"/>
+        <source>About UniversalIndentGUI</source>
+        <translation>關於 UniversalIndentGUI</translation>
+    </message>
+    <message>
+        <location filename="../src/aboutdialog.ui" line="159"/>
+        <source>License:</source>
+        <translation>授權協議:</translation>
+    </message>
+    <message>
+        <location filename="../src/aboutdialog.ui" line="208"/>
+        <source>OK</source>
+        <translation>確定</translation>
+    </message>
+</context>
+<context>
+    <name>IndentGui</name>
+    <message>
+        <location filename="../src/indentgui.ui" line="292"/>
+        <source>About UniversalIndentGUI</source>
+        <translation>關於 UniversalIndentGUI</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="267"/>
+        <source>Alt+O</source>
+        <translation>Alt+O</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="284"/>
+        <source>Alt+S</source>
+        <translation>Alt+S</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="222"/>
+        <source>Ctrl+O</source>
+        <translation>Ctrl+O</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="309"/>
+        <source>Ctrl+Q</source>
+        <translation>Ctrl+Q</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="239"/>
+        <source>Ctrl+S</source>
+        <translation>Ctrl+S</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="303"/>
+        <source>Exit</source>
+        <translation>離開</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="109"/>
+        <source>Export</source>
+        <translation>匯出</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="331"/>
+        <source>Export the currently visible source code as HTML document</source>
+        <translation>匯出目前看到的程式碼到 HTML 文件</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="320"/>
+        <source>Export the currently visible source code as PDF document</source>
+        <translation>匯出目前看到的程式碼到 PDF 文件</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="105"/>
+        <source>File</source>
+        <translation>檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="122"/>
+        <source>Help</source>
+        <translation>說明</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="328"/>
+        <source>HTML</source>
+        <translation>HTML</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="348"/>
+        <source>If checked, tool tips will show up if the mouse cursor remains over an indenter parameter for a while.</source>
+        <translation>滑鼠移到重整工具的各項參數設定時,會顯示該參數的相關提示</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="136"/>
+        <source>Indenter</source>
+        <translation>重整工具</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="162"/>
+        <source>Indenter Parameter</source>
+        <translation>重整工具的各項參數</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="359"/>
+        <source>Live Indent Preview</source>
+        <translation>即時重整預覽</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="261"/>
+        <source>Load Indenter Config File</source>
+        <translation>載入重整工具設定檔</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="193"/>
+        <source>Main Toolbar</source>
+        <translation>主要工具列</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="216"/>
+        <source>Open Source File</source>
+        <translation>開啟檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="219"/>
+        <source>Opens a dialog for selecting a source code file.</source>
+        <translation>選擇要處理的檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="281"/>
+        <source>Opens a dialog to save the current indenter configuration to a file.</source>
+        <translation>儲存目前重整工具的設定</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="264"/>
+        <source>Opens a file dialog to load the original config file of the indenter.</source>
+        <translation>載入目前重整工具的設定</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="253"/>
+        <source>Opens a file dialog to save the currently shown source code.</source>
+        <translation>儲存目前顯示的程式碼到另一個檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="345"/>
+        <source>Parameter Tooltips</source>
+        <translation>顯示參數的提示訊息</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="317"/>
+        <source>PDF</source>
+        <translation>PDF</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="306"/>
+        <source>Quits the UniversalIndentGUI.</source>
+        <translation>離開本程式</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="278"/>
+        <source>Save Indenter Config File</source>
+        <translation>儲存重整工具設定檔</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="233"/>
+        <source>Save Source File</source>
+        <translation>儲存</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="250"/>
+        <source>Save Source File As</source>
+        <translation>另存新檔</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="236"/>
+        <source>Saves the currently shown source code to the last opened or saved source file.</source>
+        <translation>儲存目前顯示的程式碼到最後開啟的或已儲存的檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="128"/>
+        <source>Settings</source>
+        <translation>設定</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="295"/>
+        <source>Shows info about UniversalIndentGUI.</source>
+        <translation>顯示 UniversalIndentGUI 的相關資訊</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="373"/>
+        <source>Syntax Highlight</source>
+        <translation>語法高亮度</translation>
+    </message>
+    <message>
+        <location filename="../src/indentgui.ui" line="14"/>
+        <source>UniversalIndentGUI</source>
+        <translation>UniversalIndentGUI</translation>
+    </message>
+</context>
+<context>
+    <name>IndentHandler</name>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="132"/>
+        <source>&quot; in the directory &quot;</source>
+        <translation>&quot; 於目錄 &quot;</translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="224"/>
+        <source>&lt;b&gt;Callstring was:&lt;/b&gt; </source>
+        <translation>&lt;b&gt;呼叫字串是:&lt;/b&gt; </translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="223"/>
+        <source>&lt;b&gt;Indent console output was:&lt;/b&gt; </source>
+        <translation>&lt;b&gt;重整工具命令列輸出為:&lt;/b&gt; </translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="222"/>
+        <source>&lt;b&gt;Indenter returned with exit code:&lt;/b&gt; </source>
+        <translation>&lt;b&gt;重整工具傳回的錯誤代碼:&lt;/b&gt; </translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="189"/>
+        <source>&lt;b&gt;Reason could be:&lt;/b&gt; </source>
+        <translation>&lt;b&gt;原因可能是:&lt;/b&gt; </translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="185"/>
+        <source>&lt;b&gt;Returned error message:&lt;/b&gt; </source>
+        <translation>&lt;b&gt;傳回的錯誤訊息:&lt;/b&gt; </translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="211"/>
+        <source>Error calling Indenter</source>
+        <translation>呼叫重整工具時發生錯誤</translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="226"/>
+        <source>Indenter returned error</source>
+        <translation>重整工具傳回錯誤</translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="131"/>
+        <source>No indenter executable</source>
+        <translation>找不到重整工具</translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="132"/>
+        <source>There exists no indenter executable with the name &quot;</source>
+        <translation>找不到重整工具 &quot;</translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="173"/>
+        <source>There exists only a win32 executable of the indenter and wine does not seem to be installed. Please install wine to be able to run the indenter.</source>
+        <translation>該重整工具似乎只有 Win32 版本,而你似乎尚未安裝 wine。請安裝 wine 以便執行該重整工具。</translation>
+    </message>
+    <message>
+        <location filename="../src/indenthandler.cpp" line="173"/>
+        <source>wine not installed</source>
+        <translation>尚未安裝 wine</translation>
+    </message>
+</context>
+<context>
+    <name>MainWindow</name>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="909"/>
+        <source> as user interface language.</source>
+        <translation> 套用到程式界面</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="296"/>
+        <source>All files</source>
+        <translation>所有檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="970"/>
+        <source>Cannot read the file </source>
+        <translation>無法讀取檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="318"/>
+        <source>Choose indenter config file</source>
+        <translation>選擇重整工具設定檔</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="205"/>
+        <source>Choose source code file</source>
+        <translation>選擇檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="897"/>
+        <source>English</source>
+        <translation>English</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="970"/>
+        <source>Error opening file</source>
+        <translation>開啟檔案時發生錯誤</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="597"/>
+        <source>Export source code file</source>
+        <translation>匯出檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="900"/>
+        <source>German</source>
+        <translation>German</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="590"/>
+        <source>HTML Document</source>
+        <translation>HTML 文件</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="893"/>
+        <source>Language</source>
+        <translation>語言</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="791"/>
+        <source>Modified code</source>
+        <translation>修改後的檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="567"/>
+        <source>PDF Document</source>
+        <translation>PDF 文件</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="954"/>
+        <source>Reopen File with other Encoding</source>
+        <translation>用別的編碼方式重新開啟</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="950"/>
+        <source>Reopen the currently opened source code file by using the text encoding scheme </source>
+        <translation>重新開啟目前的檔案,編碼使用 </translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="299"/>
+        <source>Save indent config file</source>
+        <translation>儲存重整工具的設定</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="240"/>
+        <source>Save source code file</source>
+        <translation>儲存檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="236"/>
+        <source>Supported by indenter</source>
+        <translation>支援的重整工具 </translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="793"/>
+        <source>The source code has been modified.
+Do you want to save your changes?</source>
+        <translation>程式碼已被修改。
+你要儲存嗎?</translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="906"/>
+        <source>Unknown language mnemonic </source>
+        <translation>將未知語言 </translation>
+    </message>
+    <message>
+        <location filename="../src/mainwindow.cpp" line="903"/>
+        <source>Taiwan (Chinese)</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>toolBarWidget</name>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="28"/>
+        <source> Open Source File </source>
+        <translation>開啟檔案</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="61"/>
+        <source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;&quot;&gt;Enables and disables the highlightning of the source&lt;/p&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;&quot;&gt;code shown below. (Still needs some performance improvements) (Strg+H)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;&quot;&gt;啟用或關閉程式碼語法高亮度功能(效能還需要作些改進) (Strg+H)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="45"/>
+        <source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;&quot;&gt;Turns the preview of the reformatted source code on and off.&lt;/p&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;&quot;&gt;In other words it switches between formatted and nonformatted code. (Strg+P)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;&quot;&gt;啟用或關閉程式碼重整即時預覽功能,換句話說,它能切換重整前跟重整後的程式碼 (Strg+P)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="25"/>
+        <source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;Opens a dialog for selecting a source code file.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;This file will be used to show what the indent tool changes.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;選擇要重整的檔案&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="106"/>
+        <source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Quits the UniversalIndentGUI&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;離開 UniversalIndentGUI&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="93"/>
+        <source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Shows info about UniversalIndentGUI&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;顯示 UniversalIndentGUI 的相關資訊&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="38"/>
+        <source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Shows the currently chosen indenters name and lets you choose other available indenters&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;顯示目前使用的重整工具名稱,並讓你選擇其他可用的重整工具&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="96"/>
+        <source>About</source>
+        <translation>關於</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="70"/>
+        <source>Ctrl+H</source>
+        <translation>Ctrl+H</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="54"/>
+        <source>Ctrl+P</source>
+        <translation>Ctrl+P</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="109"/>
+        <source>Exit</source>
+        <translation>離開</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="13"/>
+        <source>Form</source>
+        <translation>表單</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="48"/>
+        <source>Live Indent Preview</source>
+        <translation>即時重整預覽</translation>
+    </message>
+    <message>
+        <location filename="../src/toolBarWidget.ui" line="64"/>
+        <source>Syntax Highlight</source>
+        <translation>語法高亮度</translation>
+    </message>
+</context>
+</TS>