Update the Chinese translation.

This commit is contained in:
He Yuqi 2012-12-19 18:23:29 +08:00
parent df2523f956
commit 5a21c7622f
1 changed files with 141 additions and 114 deletions

View File

@ -86,7 +86,7 @@ Parameters: -l(line) (file)</source>
<message>
<location filename="applicationdialog.cpp" line="61"/>
<source>Select viewer application</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="applicationdialog.cpp" line="75"/>
@ -187,7 +187,7 @@ Parameters: -l(line) (file)</source>
<message>
<location filename="main.ui" line="85"/>
<source>&amp;View</source>
<translation>(&amp;V)</translation>
<translation>(&amp;V)</translation>
</message>
<message>
<location filename="main.ui" line="89"/>
@ -310,69 +310,69 @@ Parameters: -l(line) (file)</source>
<message>
<location filename="main.ui" line="305"/>
<source>&amp;Clear results</source>
<translation type="unfinished"></translation>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="main.ui" line="314"/>
<source>&amp;Preferences</source>
<translation type="unfinished"></translation>
<translation>(&amp;P)</translation>
</message>
<message>
<location filename="main.ui" line="326"/>
<source>Style warnings</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="329"/>
<location filename="main.ui" line="332"/>
<source>Show style warnings</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="344"/>
<source>Errors</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="347"/>
<location filename="main.ui" line="350"/>
<source>Show errors</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="432"/>
<source>Show S&amp;cratchpad...</source>
<translation type="unfinished"></translation>
<translation>便(&amp;C)...</translation>
</message>
<message>
<location filename="main.ui" line="526"/>
<source>Information</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="529"/>
<source>Show information messages</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="541"/>
<source>Portability</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="544"/>
<source>Show portability warnings</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="552"/>
<source>&amp;Filter</source>
<translation type="unfinished"></translation>
<translation>(&amp;F)</translation>
</message>
<message>
<location filename="main.ui" line="555"/>
<source>Filter results</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="571"/>
@ -402,7 +402,7 @@ Parameters: -l(line) (file)</source>
<message>
<location filename="main.ui" line="611"/>
<source>Platforms</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="622"/>
@ -422,12 +422,12 @@ Parameters: -l(line) (file)</source>
<message>
<location filename="main.ui" line="453"/>
<source>C&amp;lose Project File</source>
<translation type="unfinished"></translation>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="main.ui" line="461"/>
<source>&amp;Edit Project File...</source>
<translation type="unfinished"></translation>
<translation>(&amp;E)...</translation>
</message>
<message>
<location filename="main.ui" line="470"/>
@ -443,68 +443,68 @@ Parameters: -l(line) (file)</source>
<location filename="main.ui" line="485"/>
<location filename="main.ui" line="488"/>
<source>Show warnings</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="500"/>
<source>Performance warnings</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="503"/>
<location filename="main.ui" line="506"/>
<source>Show performance warnings</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="514"/>
<source>Show &amp;hidden</source>
<translation type="unfinished"></translation>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="main.ui" line="355"/>
<source>&amp;Check all</source>
<translation type="unfinished"></translation>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="main.ui" line="192"/>
<source>Filter</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="360"/>
<source>&amp;Uncheck all</source>
<translation type="unfinished"></translation>
<translation>(&amp;U)</translation>
</message>
<message>
<location filename="main.ui" line="365"/>
<source>Collapse &amp;all</source>
<translation type="unfinished"></translation>
<translation>(&amp;A)</translation>
</message>
<message>
<location filename="main.ui" line="370"/>
<source>&amp;Expand all</source>
<translation type="unfinished"></translation>
<translation>(&amp;E)</translation>
</message>
<message>
<location filename="main.ui" line="378"/>
<source>&amp;Standard</source>
<translation type="unfinished"></translation>
<translation>(&amp;S)</translation>
</message>
<message>
<location filename="main.ui" line="381"/>
<source>Standard items</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="386"/>
<source>&amp;Contents</source>
<translation type="unfinished"></translation>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="main.ui" line="389"/>
<source>Open the help contents</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="392"/>
@ -514,42 +514,42 @@ Parameters: -l(line) (file)</source>
<message>
<location filename="main.ui" line="397"/>
<source>Toolbar</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="405"/>
<source>&amp;Categories</source>
<translation type="unfinished"></translation>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="main.ui" line="408"/>
<source>Error categories</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="main.ui" line="413"/>
<source>&amp;Open XML...</source>
<translation type="unfinished"></translation>
<translation> XML (&amp;O)...</translation>
</message>
<message>
<location filename="main.ui" line="422"/>
<source>Open P&amp;roject File...</source>
<translation type="unfinished"></translation>
<translation>(&amp;R)...</translation>
</message>
<message>
<location filename="main.ui" line="437"/>
<source>&amp;New Project File...</source>
<translation type="unfinished"></translation>
<translation>(&amp;N)...</translation>
</message>
<message>
<location filename="main.ui" line="442"/>
<source>&amp;Log View</source>
<translation type="unfinished"></translation>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="main.ui" line="445"/>
<source>Log View</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="244"/>
@ -561,65 +561,73 @@ This is probably because the settings were changed between the Cppcheck versions
<message>
<location filename="mainwindow.cpp" line="308"/>
<source>No suitable files found to check!</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="364"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="395"/>
<source>Select directory to check</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="73"/>
<source>Quick Filter:</source>
<translation type="unfinished"></translation>
<translation>:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="431"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
<translation>: %1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="453"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
<translation>
使</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="645"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation>
<translation>
XML </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="660"/>
<source>XML files (*.xml)</source>
<translation type="unfinished"></translation>
<translation>XML (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="662"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="731"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
<translation>
退 Cppcheck</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="777"/>
<source>License</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="784"/>
@ -630,32 +638,32 @@ Do you want to stop the checking and exit Cppcheck?.</source>
<location filename="mainwindow.cpp" line="792"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished"></translation>
<translation>XML 2 (*.xml);;XML 1 (*.xml);; (*.txt);; CSV (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="794"/>
<source>Save the report file</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="801"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
<translation>XML 1 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="805"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
<translation>XML 2 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="809"/>
<source>Text files (*.txt)</source>
<translation type="unfinished"></translation>
<translation>(*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="813"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
<translation>CSV (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="856"/>
@ -669,34 +677,38 @@ Do you want to stop the checking and exit Cppcheck?.</source>
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
<translation>
%1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="912"/>
<location filename="mainwindow.cpp" line="995"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
<translation>(*.cppcheck);;(*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="914"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="942"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project:</source>
<translation type="unfinished"></translation>
<translation>:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="997"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1032"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1107"/>
@ -707,7 +719,13 @@ The user interface language has been reset to English. Open the Preferences-dial
could not be found!
Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation>
<translation>
%1
使</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
@ -717,12 +735,12 @@ Do you want to remove the file from the recently used projects -list?</source>
<message>
<location filename="translationhandler.cpp" line="32"/>
<source>Dutch</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<source>Finnish</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
@ -732,22 +750,22 @@ Do you want to remove the file from the recently used projects -list?</source>
<message>
<location filename="translationhandler.cpp" line="37"/>
<source>Italian</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<source>Korean</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
<translation>西</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<source>Swedish</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
@ -757,7 +775,7 @@ Do you want to remove the file from the recently used projects -list?</source>
<message>
<location filename="translationhandler.cpp" line="40"/>
<source>Russian</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
@ -768,7 +786,7 @@ Do you want to remove the file from the recently used projects -list?</source>
<message>
<location filename="translationhandler.cpp" line="41"/>
<source>Serbian</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
</context>
<context>
@ -870,12 +888,12 @@ Do you want to remove the file from the recently used projects -list?</source>
<message>
<location filename="projectfile.ui" line="134"/>
<source>Includes</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="projectfile.ui" line="140"/>
<source>Include directories:</source>
<translation type="unfinished"></translation>
<translation>Include </translation>
</message>
<message>
<location filename="projectfile.ui" line="192"/>
@ -890,7 +908,7 @@ Do you want to remove the file from the recently used projects -list?</source>
<message>
<location filename="projectfile.ui" line="211"/>
<source>Exclude</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="projectfile.ui" line="32"/>
@ -908,17 +926,17 @@ Do you want to remove the file from the recently used projects -list?</source>
<message>
<location filename="projectfiledialog.cpp" line="209"/>
<source>Select include directory</source>
<translation type="unfinished"></translation>
<translation> Include </translation>
</message>
<message>
<location filename="projectfiledialog.cpp" line="232"/>
<source>Select a directory to check</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="projectfiledialog.cpp" line="272"/>
<source>Select directory to ignore</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
</context>
<context>
@ -949,7 +967,7 @@ Do you want to remove the file from the recently used projects -list?</source>
<message>
<location filename="resultstree.cpp" line="1000"/>
<source>Severity</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="1000"/>
@ -959,48 +977,48 @@ Do you want to remove the file from the recently used projects -list?</source>
<message>
<location filename="resultstree.cpp" line="1000"/>
<source>Summary</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="102"/>
<source>Undefined file</source>
<translation type="unfinished"></translation>
<translation> </translation>
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="724"/>
<source>[Inconclusive]</source>
<translation type="unfinished"></translation>
<translation>[]</translation>
</message>
<message>
<location filename="resultstree.cpp" line="273"/>
<source>debug</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="535"/>
<source>Copy filename</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="536"/>
<source>Copy full path</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="537"/>
<source>Copy message</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="538"/>
<source>Copy message id</source>
<translation type="unfinished"></translation>
<translation> ID</translation>
</message>
<message>
<location filename="resultstree.cpp" line="539"/>
<source>Hide</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="585"/>
@ -1014,63 +1032,71 @@ Do you want to remove the file from the recently used projects -list?</source>
Configure the editor application for Cppcheck in preferences/Applications.</source>
<oldsource>Configure the text file viewer program in Cppcheck preferences/Applications.</oldsource>
<translation type="unfinished"></translation>
<translation>
/ Cppcheck </translation>
</message>
<message>
<location filename="resultstree.cpp" line="600"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
<translation type="unfinished"></translation>
<translation>
/ </translation>
</message>
<message>
<location filename="resultstree.cpp" line="629"/>
<source>Could not find the file!</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="675"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
<translation type="unfinished"></translation>
<translation> %1
</translation>
</message>
<message>
<location filename="resultstree.cpp" line="689"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
<translation type="unfinished"></translation>
<translation>
%1
</translation>
</message>
<message>
<location filename="resultstree.cpp" line="696"/>
<source>Select Directory</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="1000"/>
<source>Id</source>
<translation type="unfinished"></translation>
<translation>Id</translation>
</message>
<message>
<location filename="resultstree.cpp" line="255"/>
<source>style</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="258"/>
<source>error</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="261"/>
<source>warning</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="264"/>
<source>performance</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="267"/>
@ -1080,7 +1106,7 @@ Please select the directory where file is located.</source>
<message>
<location filename="resultstree.cpp" line="270"/>
<source>information</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
</context>
<context>
@ -1088,23 +1114,23 @@ Please select the directory where file is located.</source>
<message>
<location filename="resultsview.ui" line="26"/>
<source>Results</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultsview.cpp" line="139"/>
<source>No errors found, nothing to save.</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultsview.cpp" line="166"/>
<location filename="resultsview.cpp" line="174"/>
<source>Failed to save the report.</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultsview.cpp" line="200"/>
<source>%p% (%1 of %2 files checked)</source>
<translation type="unfinished"></translation>
<translation>%p%(%1 of %2 )</translation>
</message>
<message>
<location filename="resultsview.cpp" line="213"/>
@ -1115,35 +1141,36 @@ Please select the directory where file is located.</source>
<message>
<location filename="resultsview.cpp" line="214"/>
<source>No errors found.</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultsview.cpp" line="221"/>
<source>Errors were found, but they are configured to be hidden.
To toggle what kind of errors are shown, open view menu.</source>
<translation type="unfinished"></translation>
<translation>
</translation>
</message>
<message>
<location filename="resultsview.cpp" line="267"/>
<location filename="resultsview.cpp" line="285"/>
<location filename="resultsview.cpp" line="293"/>
<source>Failed to read the report.</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultsview.cpp" line="330"/>
<source>Summary</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultsview.cpp" line="331"/>
<source>Message</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="resultsview.cpp" line="333"/>
<source>Id</source>
<translation type="unfinished"></translation>
<translation>Id</translation>
</message>
</context>
<context>
@ -1151,12 +1178,12 @@ To toggle what kind of errors are shown, open view menu.</source>
<message>
<location filename="scratchpad.ui" line="14"/>
<source>Scratchpad</source>
<translation type="unfinished"></translation>
<translation>便</translation>
</message>
<message>
<location filename="scratchpad.ui" line="48"/>
<source>filename</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="scratchpad.ui" line="55"/>
@ -1169,12 +1196,12 @@ To toggle what kind of errors are shown, open view menu.</source>
<message>
<location filename="selectfilesdialog.ui" line="14"/>
<source>Select files to check</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="selectfilesdialog.cpp" line="230"/>
<source>Check</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
</context>
<context>
@ -1182,7 +1209,7 @@ To toggle what kind of errors are shown, open view menu.</source>
<message>
<location filename="settings.ui" line="14"/>
<source>Preferences</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location filename="settings.ui" line="24"/>