- enhancement: add Traditional Chinese translation

This commit is contained in:
Roy Qu 2022-04-18 11:01:42 +08:00
parent 312d282501
commit 1eb809b011
6 changed files with 6735 additions and 141 deletions

View File

@ -12,6 +12,7 @@ Red Panda C++ Version 1.0.4
- enhancement: batch set cases ( in problem case table's context menu ) - enhancement: batch set cases ( in problem case table's context menu )
- enhancement: add Portugese translation - enhancement: add Portugese translation
- fix: crash when eval statements like "fsm::stack fsm;" - fix: crash when eval statements like "fsm::stack fsm;"
- enhancement: add Traditional Chinese translation
Red Panda C++ Version 1.0.3 Red Panda C++ Version 1.0.3
- fix: when oj problem grabbed by competitive companion received, - fix: when oj problem grabbed by competitive companion received,

View File

@ -425,6 +425,7 @@ linux: {
TRANSLATIONS += \ TRANSLATIONS += \
RedPandaIDE_zh_CN.ts \ RedPandaIDE_zh_CN.ts \
RedPandaIDE_zh_TW.ts \
RedPandaIDE_pt.ts RedPandaIDE_pt.ts
#CONFIG += lrelease embed_translations #CONFIG += lrelease embed_translations

View File

@ -1518,6 +1518,10 @@
<source>Simplified Chinese</source> <source>Simplified Chinese</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Traditional Chinese</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>EnvironmentFileAssociationWidget</name> <name>EnvironmentFileAssociationWidget</name>

View File

@ -2118,6 +2118,11 @@ Are you really want to continue?</oldsource>
<source>Simplified Chinese</source> <source>Simplified Chinese</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<location filename="settingsdialog/environmentappearencewidget.cpp" line="100"/>
<source>Traditional Chinese</source>
<translation></translation>
</message>
</context> </context>
<context> <context>
<name>EnvironmentFileAssociationWidget</name> <name>EnvironmentFileAssociationWidget</name>
@ -3816,11 +3821,11 @@ Are you really want to continue?</oldsource>
<message> <message>
<location filename="mainwindow.ui" line="560"/> <location filename="mainwindow.ui" line="560"/>
<location filename="mainwindow.ui" line="2790"/> <location filename="mainwindow.ui" line="2790"/>
<location filename="mainwindow.cpp" line="4577"/>
<location filename="mainwindow.cpp" line="4580"/> <location filename="mainwindow.cpp" line="4580"/>
<location filename="mainwindow.cpp" line="4584"/> <location filename="mainwindow.cpp" line="4583"/>
<location filename="mainwindow.cpp" line="4587"/> <location filename="mainwindow.cpp" line="4587"/>
<location filename="mainwindow.cpp" line="6311"/> <location filename="mainwindow.cpp" line="4590"/>
<location filename="mainwindow.cpp" line="6314"/>
<source>Issues</source> <source>Issues</source>
<translation></translation> <translation></translation>
</message> </message>
@ -4253,7 +4258,7 @@ Are you really want to continue?</oldsource>
<message> <message>
<location filename="mainwindow.ui" line="359"/> <location filename="mainwindow.ui" line="359"/>
<location filename="mainwindow.ui" line="362"/> <location filename="mainwindow.ui" line="362"/>
<location filename="mainwindow.cpp" line="6655"/> <location filename="mainwindow.cpp" line="6658"/>
<source>New Problem Set</source> <source>New Problem Set</source>
<translation></translation> <translation></translation>
</message> </message>
@ -4272,14 +4277,14 @@ Are you really want to continue?</oldsource>
<message> <message>
<location filename="mainwindow.ui" line="401"/> <location filename="mainwindow.ui" line="401"/>
<location filename="mainwindow.ui" line="404"/> <location filename="mainwindow.ui" line="404"/>
<location filename="mainwindow.cpp" line="6697"/> <location filename="mainwindow.cpp" line="6700"/>
<source>Save Problem Set</source> <source>Save Problem Set</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="415"/> <location filename="mainwindow.ui" line="415"/>
<location filename="mainwindow.ui" line="418"/> <location filename="mainwindow.ui" line="418"/>
<location filename="mainwindow.cpp" line="6730"/> <location filename="mainwindow.cpp" line="6733"/>
<source>Load Problem Set</source> <source>Load Problem Set</source>
<translation></translation> <translation></translation>
</message> </message>
@ -4618,7 +4623,7 @@ Are you really want to continue?</oldsource>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2456"/> <location filename="mainwindow.ui" line="2456"/>
<location filename="mainwindow.cpp" line="5443"/> <location filename="mainwindow.cpp" line="5446"/>
<source>Clear all breakpoints</source> <source>Clear all breakpoints</source>
<translation></translation> <translation></translation>
</message> </message>
@ -4760,7 +4765,7 @@ Are you really want to continue?</oldsource>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2619"/> <location filename="mainwindow.ui" line="2619"/>
<location filename="mainwindow.cpp" line="6249"/> <location filename="mainwindow.cpp" line="6252"/>
<source>Rename Symbol</source> <source>Rename Symbol</source>
<translation></translation> <translation></translation>
</message> </message>
@ -4781,13 +4786,13 @@ Are you really want to continue?</oldsource>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2639"/> <location filename="mainwindow.ui" line="2639"/>
<location filename="mainwindow.cpp" line="6449"/> <location filename="mainwindow.cpp" line="6452"/>
<source>Export As RTF</source> <source>Export As RTF</source>
<translation>RTF</translation> <translation>RTF</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2644"/> <location filename="mainwindow.ui" line="2644"/>
<location filename="mainwindow.cpp" line="6471"/> <location filename="mainwindow.cpp" line="6474"/>
<source>Export As HTML</source> <source>Export As HTML</source>
<translation>HTML</translation> <translation>HTML</translation>
</message> </message>
@ -5296,7 +5301,7 @@ Are you really want to continue?</oldsource>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="281"/> <location filename="mainwindow.cpp" line="281"/>
<location filename="mainwindow.cpp" line="6664"/> <location filename="mainwindow.cpp" line="6667"/>
<source>Problem Set %1</source> <source>Problem Set %1</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
@ -5344,12 +5349,12 @@ Are you really want to continue?</oldsource>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3546"/> <location filename="mainwindow.cpp" line="3549"/>
<source>Set Problem Set Name</source> <source>Set Problem Set Name</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3547"/> <location filename="mainwindow.cpp" line="3550"/>
<source>Problem Set Name:</source> <source>Problem Set Name:</source>
<translation></translation> <translation></translation>
</message> </message>
@ -5369,16 +5374,16 @@ Are you really want to continue?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3588"/> <location filename="mainwindow.cpp" line="3591"/>
<location filename="mainwindow.cpp" line="6530"/> <location filename="mainwindow.cpp" line="6533"/>
<location filename="mainwindow.cpp" line="6570"/> <location filename="mainwindow.cpp" line="6573"/>
<source>Bookmark Description</source> <source>Bookmark Description</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3589"/> <location filename="mainwindow.cpp" line="3592"/>
<location filename="mainwindow.cpp" line="6531"/> <location filename="mainwindow.cpp" line="6534"/>
<location filename="mainwindow.cpp" line="6571"/> <location filename="mainwindow.cpp" line="6574"/>
<source>Description:</source> <source>Description:</source>
<translation></translation> <translation></translation>
</message> </message>
@ -5402,12 +5407,12 @@ Are you really want to continue?</oldsource>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3831"/> <location filename="mainwindow.cpp" line="3834"/>
<source>Break point condition</source> <source>Break point condition</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3832"/> <location filename="mainwindow.cpp" line="3835"/>
<source>Enter the condition of the breakpoint:</source> <source>Enter the condition of the breakpoint:</source>
<translation>:</translation> <translation>:</translation>
</message> </message>
@ -5429,17 +5434,17 @@ Are you really want to continue?</oldsource>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2431"/> <location filename="mainwindow.cpp" line="2431"/>
<location filename="mainwindow.cpp" line="3772"/> <location filename="mainwindow.cpp" line="3775"/>
<source>Add Folder</source> <source>Add Folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3769"/> <location filename="mainwindow.cpp" line="3772"/>
<source>New folder</source> <source>New folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3773"/> <location filename="mainwindow.cpp" line="3776"/>
<source>Folder name:</source> <source>Folder name:</source>
<translation></translation> <translation></translation>
</message> </message>
@ -5495,15 +5500,15 @@ Are you really want to continue?</oldsource>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2542"/> <location filename="mainwindow.cpp" line="2542"/>
<location filename="mainwindow.cpp" line="3443"/> <location filename="mainwindow.cpp" line="3446"/>
<source>New Folder</source> <source>New Folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2554"/> <location filename="mainwindow.cpp" line="2554"/>
<location filename="mainwindow.cpp" line="3489"/> <location filename="mainwindow.cpp" line="3492"/>
<location filename="mainwindow.cpp" line="3495"/> <location filename="mainwindow.cpp" line="3498"/>
<location filename="mainwindow.cpp" line="6100"/> <location filename="mainwindow.cpp" line="6103"/>
<source>Delete</source> <source>Delete</source>
<translation></translation> <translation></translation>
</message> </message>
@ -5563,83 +5568,83 @@ Are you really want to continue?</oldsource>
<translation type="vanished">C/C++ (*.c *.cpp *.cc *.cxx)</translation> <translation type="vanished">C/C++ (*.c *.cpp *.cc *.cxx)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3447"/> <location filename="mainwindow.cpp" line="3450"/>
<source>New Folder %1</source> <source>New Folder %1</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3471"/> <location filename="mainwindow.cpp" line="3474"/>
<source>Untitled</source> <source>Untitled</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3475"/> <location filename="mainwindow.cpp" line="3478"/>
<source>Untitled %1</source> <source>Untitled %1</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3490"/> <location filename="mainwindow.cpp" line="3493"/>
<source>Do you really want to delete %1?</source> <source>Do you really want to delete %1?</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3496"/> <location filename="mainwindow.cpp" line="3499"/>
<source>Do you really want to delete %1 files?</source> <source>Do you really want to delete %1 files?</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4073"/> <location filename="mainwindow.cpp" line="4076"/>
<source>Save project</source> <source>Save project</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4074"/> <location filename="mainwindow.cpp" line="4077"/>
<source>The project &apos;%1&apos; has modifications.</source> <source>The project &apos;%1&apos; has modifications.</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4076"/> <location filename="mainwindow.cpp" line="4079"/>
<location filename="mainwindow.cpp" line="6658"/> <location filename="mainwindow.cpp" line="6661"/>
<source>Do you want to save it?</source> <source>Do you want to save it?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4163"/> <location filename="mainwindow.cpp" line="4166"/>
<location filename="mainwindow.cpp" line="4175"/> <location filename="mainwindow.cpp" line="4178"/>
<source>File Changed</source> <source>File Changed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4246"/> <location filename="mainwindow.cpp" line="4249"/>
<source>New Project File?</source> <source>New Project File?</source>
<translation>?</translation> <translation>?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4247"/> <location filename="mainwindow.cpp" line="4250"/>
<source>Do you want to add the new file to the project?</source> <source>Do you want to add the new file to the project?</source>
<translation>?</translation> <translation>?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4323"/> <location filename="mainwindow.cpp" line="4326"/>
<location filename="mainwindow.cpp" line="4333"/> <location filename="mainwindow.cpp" line="4336"/>
<location filename="mainwindow.cpp" line="4345"/> <location filename="mainwindow.cpp" line="4348"/>
<location filename="mainwindow.cpp" line="6719"/> <location filename="mainwindow.cpp" line="6722"/>
<source>Save Error</source> <source>Save Error</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4505"/> <location filename="mainwindow.cpp" line="4508"/>
<source>Change Project Compiler Set</source> <source>Change Project Compiler Set</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4506"/> <location filename="mainwindow.cpp" line="4509"/>
<source>Change the project&apos;s compiler set will lose all custom compiler set options.</source> <source>Change the project&apos;s compiler set will lose all custom compiler set options.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3270"/> <location filename="mainwindow.cpp" line="3270"/>
<location filename="mainwindow.cpp" line="4508"/> <location filename="mainwindow.cpp" line="4511"/>
<source>Do you really want to do that?</source> <source>Do you really want to do that?</source>
<translation></translation> <translation></translation>
</message> </message>
@ -5648,171 +5653,171 @@ Are you really want to continue?</oldsource>
<translation type="vanished"></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3276"/> <location filename="mainwindow.cpp" line="3279"/>
<source>Choose input files</source> <source>Choose input files</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3278"/> <location filename="mainwindow.cpp" line="3281"/>
<source>Input data files (*.in)</source> <source>Input data files (*.in)</source>
<translation> (*.in)</translation> <translation> (*.in)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5444"/> <location filename="mainwindow.cpp" line="5447"/>
<source>Do you really want to clear all breakpoints in this file?</source> <source>Do you really want to clear all breakpoints in this file?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5639"/> <location filename="mainwindow.cpp" line="5642"/>
<source>New project</source> <source>New project</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5640"/> <location filename="mainwindow.cpp" line="5643"/>
<source>Close %1 and start new project?</source> <source>Close %1 and start new project?</source>
<translation>&apos;%1&apos;?</translation> <translation>&apos;%1&apos;?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5653"/> <location filename="mainwindow.cpp" line="5656"/>
<source>Folder not exist</source> <source>Folder not exist</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5654"/> <location filename="mainwindow.cpp" line="5657"/>
<source>Folder &apos;%1&apos; doesn&apos;t exist. Create it now?</source> <source>Folder &apos;%1&apos; doesn&apos;t exist. Create it now?</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5661"/> <location filename="mainwindow.cpp" line="5664"/>
<source>Can&apos;t create folder</source> <source>Can&apos;t create folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5662"/> <location filename="mainwindow.cpp" line="5665"/>
<source>Failed to create folder &apos;%1&apos;.</source> <source>Failed to create folder &apos;%1&apos;.</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5677"/> <location filename="mainwindow.cpp" line="5680"/>
<source>Save new project as</source> <source>Save new project as</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6101"/> <location filename="mainwindow.cpp" line="6104"/>
<source>Folder %1 is not empty.</source> <source>Folder %1 is not empty.</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6102"/> <location filename="mainwindow.cpp" line="6105"/>
<source>Do you really want to delete it?</source> <source>Do you really want to delete it?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6593"/> <location filename="mainwindow.cpp" line="6596"/>
<source>Change working folder</source> <source>Change working folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6594"/> <location filename="mainwindow.cpp" line="6597"/>
<source>File &apos;%1&apos; is not in the current working folder.</source> <source>File &apos;%1&apos; is not in the current working folder.</source>
<oldsource>File &apos;%1&apos; is not in the current working folder</oldsource> <oldsource>File &apos;%1&apos; is not in the current working folder</oldsource>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6597"/> <location filename="mainwindow.cpp" line="6600"/>
<source>Do you want to change working folder to &apos;%1&apos;?</source> <source>Do you want to change working folder to &apos;%1&apos;?</source>
<translation>&apos;%1&apos;?</translation> <translation>&apos;%1&apos;?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7244"/> <location filename="mainwindow.cpp" line="7247"/>
<source>Can&apos;t Commit</source> <source>Can&apos;t Commit</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7245"/> <location filename="mainwindow.cpp" line="7248"/>
<source>Git needs user info to commit.</source> <source>Git needs user info to commit.</source>
<translation>Git需要用信息进行提交</translation> <translation>Git需要用信息进行提交</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7514"/> <location filename="mainwindow.cpp" line="7517"/>
<source>Choose Input Data File</source> <source>Choose Input Data File</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7516"/> <location filename="mainwindow.cpp" line="7519"/>
<location filename="mainwindow.cpp" line="7565"/> <location filename="mainwindow.cpp" line="7568"/>
<source>All files (*.*)</source> <source>All files (*.*)</source>
<translation> (*.*)</translation> <translation> (*.*)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7563"/> <location filename="mainwindow.cpp" line="7566"/>
<source>Choose Expected Output Data File</source> <source>Choose Expected Output Data File</source>
<oldsource>Choose Expected Input Data File</oldsource> <oldsource>Choose Expected Input Data File</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7584"/> <location filename="mainwindow.cpp" line="7587"/>
<location filename="mainwindow.cpp" line="7598"/> <location filename="mainwindow.cpp" line="7601"/>
<location filename="mainwindow.cpp" line="7605"/> <location filename="mainwindow.cpp" line="7608"/>
<source>Line %1</source> <source>Line %1</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2709"/> <location filename="mainwindow.ui" line="2709"/>
<location filename="mainwindow.ui" line="2712"/> <location filename="mainwindow.ui" line="2712"/>
<location filename="mainwindow.cpp" line="6634"/> <location filename="mainwindow.cpp" line="6637"/>
<source>Choose Working Folder</source> <source>Choose Working Folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7012"/> <location filename="mainwindow.cpp" line="7015"/>
<location filename="mainwindow.cpp" line="7064"/> <location filename="mainwindow.cpp" line="7067"/>
<source>Header Exists</source> <source>Header Exists</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7013"/> <location filename="mainwindow.cpp" line="7016"/>
<location filename="mainwindow.cpp" line="7065"/> <location filename="mainwindow.cpp" line="7068"/>
<source>Header file &quot;%1&quot; already exists!</source> <source>Header file &quot;%1&quot; already exists!</source>
<translation>&quot;%1&quot;</translation> <translation>&quot;%1&quot;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7070"/> <location filename="mainwindow.cpp" line="7073"/>
<source>Source Exists</source> <source>Source Exists</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7071"/> <location filename="mainwindow.cpp" line="7074"/>
<source>Source file &quot;%1&quot; already exists!</source> <source>Source file &quot;%1&quot; already exists!</source>
<translation>&quot;%1&quot;</translation> <translation>&quot;%1&quot;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7223"/> <location filename="mainwindow.cpp" line="7226"/>
<source>Can&apos;t commit!</source> <source>Can&apos;t commit!</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7224"/> <location filename="mainwindow.cpp" line="7227"/>
<source>The following files are in conflicting:</source> <source>The following files are in conflicting:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7229"/> <location filename="mainwindow.cpp" line="7232"/>
<source>Commit Message</source> <source>Commit Message</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7229"/> <location filename="mainwindow.cpp" line="7232"/>
<source>Commit Message:</source> <source>Commit Message:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7232"/> <location filename="mainwindow.cpp" line="7235"/>
<source>Commit Failed</source> <source>Commit Failed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7233"/> <location filename="mainwindow.cpp" line="7236"/>
<source>Commit message shouldn&apos;t be empty!</source> <source>Commit message shouldn&apos;t be empty!</source>
<translation></translation> <translation></translation>
</message> </message>
@ -5821,52 +5826,52 @@ Are you really want to continue?</oldsource>
<translation type="vanished">Dev-C++ (*.dev)</translation> <translation type="vanished">Dev-C++ (*.dev)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5692"/> <location filename="mainwindow.cpp" line="5695"/>
<source>New project fail</source> <source>New project fail</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5693"/> <location filename="mainwindow.cpp" line="5696"/>
<source>Can&apos;t assign project template</source> <source>Can&apos;t assign project template</source>
<translation>使</translation> <translation>使</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5788"/> <location filename="mainwindow.cpp" line="5791"/>
<source>Remove file</source> <source>Remove file</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5789"/> <location filename="mainwindow.cpp" line="5792"/>
<source>Remove the file from disk?</source> <source>Remove the file from disk?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6018"/> <location filename="mainwindow.cpp" line="6021"/>
<source>untitled</source> <source>untitled</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6026"/> <location filename="mainwindow.cpp" line="6029"/>
<source>New Project File Name</source> <source>New Project File Name</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6027"/> <location filename="mainwindow.cpp" line="6030"/>
<source>File Name:</source> <source>File Name:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6035"/> <location filename="mainwindow.cpp" line="6038"/>
<source>File Already Exists!</source> <source>File Already Exists!</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6036"/> <location filename="mainwindow.cpp" line="6039"/>
<source>File &apos;%1&apos; already exists!</source> <source>File &apos;%1&apos; already exists!</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5737"/> <location filename="mainwindow.cpp" line="5740"/>
<source>Add to project</source> <source>Add to project</source>
<translation></translation> <translation></translation>
</message> </message>
@ -5881,75 +5886,75 @@ Are you really want to continue?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5679"/> <location filename="mainwindow.cpp" line="5682"/>
<source>Red Panda C++ project file (*.dev)</source> <source>Red Panda C++ project file (*.dev)</source>
<translation>C++(*.dev)</translation> <translation>C++(*.dev)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6235"/> <location filename="mainwindow.cpp" line="6238"/>
<source>Rename Error</source> <source>Rename Error</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6236"/> <location filename="mainwindow.cpp" line="6239"/>
<source>Symbol &apos;%1&apos; is defined in system header.</source> <source>Symbol &apos;%1&apos; is defined in system header.</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6250"/> <location filename="mainwindow.cpp" line="6253"/>
<source>New Name</source> <source>New Name</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6392"/> <location filename="mainwindow.cpp" line="6395"/>
<location filename="mainwindow.cpp" line="6404"/> <location filename="mainwindow.cpp" line="6407"/>
<source>Replace Error</source> <source>Replace Error</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6393"/> <location filename="mainwindow.cpp" line="6396"/>
<source>Can&apos;t open file &apos;%1&apos; for replace!</source> <source>Can&apos;t open file &apos;%1&apos; for replace!</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6405"/> <location filename="mainwindow.cpp" line="6408"/>
<source>Contents has changed since last search!</source> <source>Contents has changed since last search!</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6451"/> <location filename="mainwindow.cpp" line="6454"/>
<source>Rich Text Format Files (*.rtf)</source> <source>Rich Text Format Files (*.rtf)</source>
<translation>RTF格式文件 (*.rtf)</translation> <translation>RTF格式文件 (*.rtf)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6473"/> <location filename="mainwindow.cpp" line="6476"/>
<source>HTML Files (*.html)</source> <source>HTML Files (*.html)</source>
<translation>HTML文件 (*.html)</translation> <translation>HTML文件 (*.html)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6656"/> <location filename="mainwindow.cpp" line="6659"/>
<source>The current problem set is not empty.</source> <source>The current problem set is not empty.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6674"/> <location filename="mainwindow.cpp" line="6677"/>
<source>Problem %1</source> <source>Problem %1</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6704"/> <location filename="mainwindow.cpp" line="6707"/>
<location filename="mainwindow.cpp" line="6732"/> <location filename="mainwindow.cpp" line="6735"/>
<source>Problem Set Files (*.pbs)</source> <source>Problem Set Files (*.pbs)</source>
<translation> (*.pbs)</translation> <translation> (*.pbs)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6738"/> <location filename="mainwindow.cpp" line="6741"/>
<source>Load Error</source> <source>Load Error</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3343"/> <location filename="mainwindow.cpp" line="3346"/>
<location filename="mainwindow.cpp" line="6752"/> <location filename="mainwindow.cpp" line="6755"/>
<source>Problem Case %1</source> <source>Problem Case %1</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
@ -5963,12 +5968,12 @@ Are you really want to continue?</oldsource>
<location filename="mainwindow.cpp" line="1112"/> <location filename="mainwindow.cpp" line="1112"/>
<location filename="mainwindow.cpp" line="2236"/> <location filename="mainwindow.cpp" line="2236"/>
<location filename="mainwindow.cpp" line="2658"/> <location filename="mainwindow.cpp" line="2658"/>
<location filename="mainwindow.cpp" line="4170"/> <location filename="mainwindow.cpp" line="4173"/>
<location filename="mainwindow.cpp" line="4281"/> <location filename="mainwindow.cpp" line="4284"/>
<location filename="mainwindow.cpp" line="4474"/> <location filename="mainwindow.cpp" line="4477"/>
<location filename="mainwindow.cpp" line="4486"/> <location filename="mainwindow.cpp" line="4489"/>
<location filename="mainwindow.cpp" line="4891"/> <location filename="mainwindow.cpp" line="4894"/>
<location filename="mainwindow.cpp" line="4903"/> <location filename="mainwindow.cpp" line="4906"/>
<source>Error</source> <source>Error</source>
<translation></translation> <translation></translation>
</message> </message>
@ -5995,77 +6000,77 @@ Are you really want to continue?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4164"/> <location filename="mainwindow.cpp" line="4167"/>
<source>File &apos;%1&apos; was changed.</source> <source>File &apos;%1&apos; was changed.</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4164"/> <location filename="mainwindow.cpp" line="4167"/>
<source>Reload its content from disk?</source> <source>Reload its content from disk?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4176"/> <location filename="mainwindow.cpp" line="4179"/>
<source>File &apos;%1&apos; was removed.</source> <source>File &apos;%1&apos; was removed.</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4176"/> <location filename="mainwindow.cpp" line="4179"/>
<source>Keep it open?</source> <source>Keep it open?</source>
<translation>C++</translation> <translation>C++</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4274"/> <location filename="mainwindow.cpp" line="4277"/>
<source>Open</source> <source>Open</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4662"/> <location filename="mainwindow.cpp" line="4665"/>
<source>Compile Failed</source> <source>Compile Failed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="4668"/> <location filename="mainwindow.cpp" line="4671"/>
<source>Run Failed</source> <source>Run Failed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2687"/> <location filename="mainwindow.cpp" line="2687"/>
<location filename="mainwindow.cpp" line="4920"/> <location filename="mainwindow.cpp" line="4923"/>
<location filename="mainwindow.cpp" line="4934"/> <location filename="mainwindow.cpp" line="4937"/>
<source>Confirm Convertion</source> <source>Confirm Convertion</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="2688"/> <location filename="mainwindow.cpp" line="2688"/>
<location filename="mainwindow.cpp" line="4921"/> <location filename="mainwindow.cpp" line="4924"/>
<location filename="mainwindow.cpp" line="4935"/> <location filename="mainwindow.cpp" line="4938"/>
<source>The editing file will be saved using %1 encoding. &lt;br /&gt;This operation can&apos;t be reverted. &lt;br /&gt;Are you sure to continue?</source> <source>The editing file will be saved using %1 encoding. &lt;br /&gt;This operation can&apos;t be reverted. &lt;br /&gt;Are you sure to continue?</source>
<translation>使%1&lt;br /&gt;&lt;br /&gt;</translation> <translation>使%1&lt;br /&gt;&lt;br /&gt;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5085"/> <location filename="mainwindow.cpp" line="5088"/>
<source>New Watch Expression</source> <source>New Watch Expression</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5086"/> <location filename="mainwindow.cpp" line="5089"/>
<source>Enter Watch Expression (it is recommended to use &apos;this-&gt;&apos; for class members):</source> <source>Enter Watch Expression (it is recommended to use &apos;this-&gt;&apos; for class members):</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5139"/> <location filename="mainwindow.cpp" line="5142"/>
<source>Parsing file %1 of %2: &quot;%3&quot;</source> <source>Parsing file %1 of %2: &quot;%3&quot;</source>
<translation>%1/%2&quot;%3&quot;</translation> <translation>%1/%2&quot;%3&quot;</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5161"/> <location filename="mainwindow.cpp" line="5164"/>
<location filename="mainwindow.cpp" line="5167"/> <location filename="mainwindow.cpp" line="5170"/>
<source>Done parsing %1 files in %2 seconds</source> <source>Done parsing %1 files in %2 seconds</source>
<translation>%1,%2</translation> <translation>%1,%2</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="5164"/> <location filename="mainwindow.cpp" line="5167"/>
<source>(%1 files per second)</source> <source>(%1 files per second)</source>
<translation>(%1</translation> <translation>(%1</translation>
</message> </message>
@ -7796,12 +7801,12 @@ Are you really want to continue?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="parser/cppparser.cpp" line="1020"/> <location filename="parser/cppparser.cpp" line="1025"/>
<source>constructor</source> <source>constructor</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="parser/cppparser.cpp" line="1027"/> <location filename="parser/cppparser.cpp" line="1032"/>
<source>destructor</source> <source>destructor</source>
<translation></translation> <translation></translation>
</message> </message>
@ -8284,7 +8289,7 @@ Are you really want to continue?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6645"/> <location filename="mainwindow.cpp" line="6648"/>
<location filename="settingsdialog/settingsdialog.cpp" line="170"/> <location filename="settingsdialog/settingsdialog.cpp" line="170"/>
<location filename="settingsdialog/settingsdialog.cpp" line="203"/> <location filename="settingsdialog/settingsdialog.cpp" line="203"/>
<location filename="settingsdialog/settingsdialog.cpp" line="209"/> <location filename="settingsdialog/settingsdialog.cpp" line="209"/>
@ -8360,15 +8365,15 @@ Are you really want to continue?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6646"/> <location filename="mainwindow.cpp" line="6649"/>
<location filename="mainwindow.cpp" line="6967"/> <location filename="mainwindow.cpp" line="6970"/>
<location filename="settingsdialog/settingsdialog.cpp" line="203"/> <location filename="settingsdialog/settingsdialog.cpp" line="203"/>
<location filename="settingsdialog/settingsdialog.cpp" line="206"/> <location filename="settingsdialog/settingsdialog.cpp" line="206"/>
<source>Program Runner</source> <source>Program Runner</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6966"/> <location filename="mainwindow.cpp" line="6969"/>
<location filename="settingsdialog/settingsdialog.cpp" line="206"/> <location filename="settingsdialog/settingsdialog.cpp" line="206"/>
<source>Problem Set</source> <source>Problem Set</source>
<translation></translation> <translation></translation>

File diff suppressed because it is too large Load Diff

View File

@ -97,6 +97,7 @@ void EnvironmentAppearenceWidget::init()
ui->cbLanguage->addItem(tr("English"),"en"); ui->cbLanguage->addItem(tr("English"),"en");
ui->cbLanguage->addItem(tr("Portuguese"),"pt"); ui->cbLanguage->addItem(tr("Portuguese"),"pt");
ui->cbLanguage->addItem(tr("Simplified Chinese"),"zh_CN"); ui->cbLanguage->addItem(tr("Simplified Chinese"),"zh_CN");
ui->cbLanguage->addItem(tr("Traditional Chinese"),"zh_TW");
QList<PIconSet> iconSets = pIconsManager->listIconSets(); QList<PIconSet> iconSets = pIconsManager->listIconSets();
foreach(const PIconSet& iconSet, iconSets) { foreach(const PIconSet& iconSet, iconSets) {
ui->cbIconSet->addItem(iconSet->displayName,iconSet->name); ui->cbIconSet->addItem(iconSet->displayName,iconSet->name);