update translation

This commit is contained in:
Roy Qu 2022-04-06 22:24:40 +08:00
parent 7d86c6e5b1
commit dd195af311
2 changed files with 158 additions and 156 deletions

View File

@ -1312,14 +1312,14 @@ Are you really want to continue?</oldsource>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="2719"/>
<location filename="editor.cpp" line="2721"/>
<source>Print Document</source>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="3324"/>
<location filename="editor.cpp" line="3363"/>
<location filename="editor.cpp" line="3417"/>
<location filename="editor.cpp" line="3326"/>
<location filename="editor.cpp" line="3365"/>
<location filename="editor.cpp" line="3419"/>
<source>Ctrl+click for more info</source>
<translation>Ctrl+</translation>
</message>
@ -1328,27 +1328,27 @@ Are you really want to continue?</oldsource>
<translation type="vanished">&apos;%1&apos;!</translation>
</message>
<message>
<location filename="editor.cpp" line="4162"/>
<location filename="editor.cpp" line="4164"/>
<source>astyle not found</source>
<translation>astyle程序</translation>
</message>
<message>
<location filename="editor.cpp" line="4163"/>
<location filename="editor.cpp" line="4165"/>
<source>Can&apos;t find astyle in &quot;%1&quot;.</source>
<translation>astyle程序&quot;%1&quot;.</translation>
</message>
<message>
<location filename="editor.cpp" line="4313"/>
<location filename="editor.cpp" line="4315"/>
<source>Break point condition</source>
<translation></translation>
</message>
<message>
<location filename="editor.cpp" line="4314"/>
<location filename="editor.cpp" line="4316"/>
<source>Enter the condition of the breakpoint:</source>
<translation>:</translation>
</message>
<message>
<location filename="editor.cpp" line="4531"/>
<location filename="editor.cpp" line="4533"/>
<source>Readonly</source>
<translation></translation>
</message>
@ -3811,11 +3811,11 @@ Are you really want to continue?</oldsource>
<message>
<location filename="mainwindow.ui" line="560"/>
<location filename="mainwindow.ui" line="2790"/>
<location filename="mainwindow.cpp" line="4536"/>
<location filename="mainwindow.cpp" line="4539"/>
<location filename="mainwindow.cpp" line="4543"/>
<location filename="mainwindow.cpp" line="4546"/>
<location filename="mainwindow.cpp" line="6237"/>
<location filename="mainwindow.cpp" line="4535"/>
<location filename="mainwindow.cpp" line="4538"/>
<location filename="mainwindow.cpp" line="4542"/>
<location filename="mainwindow.cpp" line="4545"/>
<location filename="mainwindow.cpp" line="6236"/>
<source>Issues</source>
<translation></translation>
</message>
@ -4248,7 +4248,7 @@ Are you really want to continue?</oldsource>
<message>
<location filename="mainwindow.ui" line="359"/>
<location filename="mainwindow.ui" line="362"/>
<location filename="mainwindow.cpp" line="6581"/>
<location filename="mainwindow.cpp" line="6580"/>
<source>New Problem Set</source>
<translation></translation>
</message>
@ -4267,14 +4267,14 @@ Are you really want to continue?</oldsource>
<message>
<location filename="mainwindow.ui" line="401"/>
<location filename="mainwindow.ui" line="404"/>
<location filename="mainwindow.cpp" line="6624"/>
<location filename="mainwindow.cpp" line="6623"/>
<source>Save Problem Set</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.ui" line="415"/>
<location filename="mainwindow.ui" line="418"/>
<location filename="mainwindow.cpp" line="6648"/>
<location filename="mainwindow.cpp" line="6647"/>
<source>Load Problem Set</source>
<translation></translation>
</message>
@ -4613,7 +4613,7 @@ Are you really want to continue?</oldsource>
</message>
<message>
<location filename="mainwindow.ui" line="2456"/>
<location filename="mainwindow.cpp" line="5410"/>
<location filename="mainwindow.cpp" line="5409"/>
<source>Clear all breakpoints</source>
<translation></translation>
</message>
@ -4750,7 +4750,7 @@ Are you really want to continue?</oldsource>
</message>
<message>
<location filename="mainwindow.ui" line="2619"/>
<location filename="mainwindow.cpp" line="6175"/>
<location filename="mainwindow.cpp" line="6174"/>
<source>Rename Symbol</source>
<translation></translation>
</message>
@ -4771,13 +4771,13 @@ Are you really want to continue?</oldsource>
</message>
<message>
<location filename="mainwindow.ui" line="2639"/>
<location filename="mainwindow.cpp" line="6375"/>
<location filename="mainwindow.cpp" line="6374"/>
<source>Export As RTF</source>
<translation>RTF</translation>
</message>
<message>
<location filename="mainwindow.ui" line="2644"/>
<location filename="mainwindow.cpp" line="6397"/>
<location filename="mainwindow.cpp" line="6396"/>
<source>Export As HTML</source>
<translation>HTML</translation>
</message>
@ -5280,7 +5280,7 @@ Are you really want to continue?</oldsource>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="6590"/>
<location filename="mainwindow.cpp" line="6589"/>
<source>Problem Set %1</source>
<translation>%1</translation>
</message>
@ -5328,12 +5328,12 @@ Are you really want to continue?</oldsource>
<translation>...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3505"/>
<location filename="mainwindow.cpp" line="3504"/>
<source>Set Problem Set Name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3506"/>
<location filename="mainwindow.cpp" line="3505"/>
<source>Problem Set Name:</source>
<translation></translation>
</message>
@ -5353,16 +5353,16 @@ Are you really want to continue?</oldsource>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3547"/>
<location filename="mainwindow.cpp" line="6456"/>
<location filename="mainwindow.cpp" line="6496"/>
<location filename="mainwindow.cpp" line="3546"/>
<location filename="mainwindow.cpp" line="6455"/>
<location filename="mainwindow.cpp" line="6495"/>
<source>Bookmark Description</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3548"/>
<location filename="mainwindow.cpp" line="6457"/>
<location filename="mainwindow.cpp" line="6497"/>
<location filename="mainwindow.cpp" line="3547"/>
<location filename="mainwindow.cpp" line="6456"/>
<location filename="mainwindow.cpp" line="6496"/>
<source>Description:</source>
<translation></translation>
</message>
@ -5386,12 +5386,12 @@ Are you really want to continue?</oldsource>
<translation>...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3790"/>
<location filename="mainwindow.cpp" line="3789"/>
<source>Break point condition</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3791"/>
<location filename="mainwindow.cpp" line="3790"/>
<source>Enter the condition of the breakpoint:</source>
<translation>:</translation>
</message>
@ -5413,17 +5413,17 @@ Are you really want to continue?</oldsource>
</message>
<message>
<location filename="mainwindow.cpp" line="2419"/>
<location filename="mainwindow.cpp" line="3731"/>
<location filename="mainwindow.cpp" line="3730"/>
<source>Add Folder</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3728"/>
<location filename="mainwindow.cpp" line="3727"/>
<source>New folder</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3732"/>
<location filename="mainwindow.cpp" line="3731"/>
<source>Folder name:</source>
<translation></translation>
</message>
@ -5479,15 +5479,15 @@ Are you really want to continue?</oldsource>
</message>
<message>
<location filename="mainwindow.cpp" line="2530"/>
<location filename="mainwindow.cpp" line="3402"/>
<location filename="mainwindow.cpp" line="3401"/>
<source>New Folder</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2542"/>
<location filename="mainwindow.cpp" line="3448"/>
<location filename="mainwindow.cpp" line="3454"/>
<location filename="mainwindow.cpp" line="6026"/>
<location filename="mainwindow.cpp" line="3447"/>
<location filename="mainwindow.cpp" line="3453"/>
<location filename="mainwindow.cpp" line="6025"/>
<source>Delete</source>
<translation></translation>
</message>
@ -5537,252 +5537,251 @@ Are you really want to continue?</oldsource>
<translation>...</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3115"/>
<location filename="mainwindow.cpp" line="3114"/>
<source>Select Answer Source File</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3117"/>
<source>C/C++Source Files (*.c *.cpp *.cc *.cxx)</source>
<oldsource>C/C++Source Files (*.c *.cpp *.cc *.cxx</oldsource>
<translation>C/C++ (*.c *.cpp *.cc *.cxx)</translation>
<translation type="vanished">C/C++ (*.c *.cpp *.cc *.cxx)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3406"/>
<location filename="mainwindow.cpp" line="3405"/>
<source>New Folder %1</source>
<translation>%1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3430"/>
<location filename="mainwindow.cpp" line="3429"/>
<source>Untitled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3434"/>
<location filename="mainwindow.cpp" line="3433"/>
<source>Untitled %1</source>
<translation>%1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3449"/>
<location filename="mainwindow.cpp" line="3448"/>
<source>Do you really want to delete %1?</source>
<translation>%1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3455"/>
<location filename="mainwindow.cpp" line="3454"/>
<source>Do you really want to delete %1 files?</source>
<translation>%1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4032"/>
<location filename="mainwindow.cpp" line="4031"/>
<source>Save project</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4033"/>
<location filename="mainwindow.cpp" line="4032"/>
<source>The project &apos;%1&apos; has modifications.</source>
<translation>&apos;%1&apos;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4035"/>
<location filename="mainwindow.cpp" line="6584"/>
<location filename="mainwindow.cpp" line="4034"/>
<location filename="mainwindow.cpp" line="6583"/>
<source>Do you want to save it?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4122"/>
<location filename="mainwindow.cpp" line="4134"/>
<location filename="mainwindow.cpp" line="4121"/>
<location filename="mainwindow.cpp" line="4133"/>
<source>File Changed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4205"/>
<location filename="mainwindow.cpp" line="4204"/>
<source>New Project File?</source>
<translation>?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4206"/>
<location filename="mainwindow.cpp" line="4205"/>
<source>Do you want to add the new file to the project?</source>
<translation>?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4282"/>
<location filename="mainwindow.cpp" line="4292"/>
<location filename="mainwindow.cpp" line="4304"/>
<location filename="mainwindow.cpp" line="6637"/>
<location filename="mainwindow.cpp" line="4281"/>
<location filename="mainwindow.cpp" line="4291"/>
<location filename="mainwindow.cpp" line="4303"/>
<location filename="mainwindow.cpp" line="6636"/>
<source>Save Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4464"/>
<location filename="mainwindow.cpp" line="4463"/>
<source>Change Project Compiler Set</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4465"/>
<location filename="mainwindow.cpp" line="4464"/>
<source>Change the project&apos;s compiler set will lose all custom compiler set options.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4467"/>
<location filename="mainwindow.cpp" line="4466"/>
<source>Do you really want to do that?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5411"/>
<location filename="mainwindow.cpp" line="5410"/>
<source>Do you really want to clear all breakpoints in this file?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5606"/>
<location filename="mainwindow.cpp" line="5605"/>
<source>New project</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5607"/>
<location filename="mainwindow.cpp" line="5606"/>
<source>Close %1 and start new project?</source>
<translation>&apos;%1&apos;?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5620"/>
<location filename="mainwindow.cpp" line="5619"/>
<source>Folder not exist</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5621"/>
<location filename="mainwindow.cpp" line="5620"/>
<source>Folder &apos;%1&apos; doesn&apos;t exist. Create it now?</source>
<translation>&apos;%1&apos;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5628"/>
<location filename="mainwindow.cpp" line="5627"/>
<source>Can&apos;t create folder</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5629"/>
<location filename="mainwindow.cpp" line="5628"/>
<source>Failed to create folder &apos;%1&apos;.</source>
<translation>&apos;%1&apos;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5644"/>
<location filename="mainwindow.cpp" line="5643"/>
<source>Save new project as</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6027"/>
<location filename="mainwindow.cpp" line="6026"/>
<source>Folder %1 is not empty.</source>
<translation>%1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6028"/>
<location filename="mainwindow.cpp" line="6027"/>
<source>Do you really want to delete it?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6519"/>
<location filename="mainwindow.cpp" line="6518"/>
<source>Change working folder</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6520"/>
<location filename="mainwindow.cpp" line="6519"/>
<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>
<translation>&apos;%1&apos;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6523"/>
<location filename="mainwindow.cpp" line="6522"/>
<source>Do you want to change working folder to &apos;%1&apos;?</source>
<translation>&apos;%1&apos;?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7162"/>
<location filename="mainwindow.cpp" line="7161"/>
<source>Can&apos;t Commit</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7163"/>
<location filename="mainwindow.cpp" line="7162"/>
<source>Git needs user info to commit.</source>
<translation>Git需要用信息进行提交</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7432"/>
<location filename="mainwindow.cpp" line="7431"/>
<source>Choose Input Data File</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7434"/>
<location filename="mainwindow.cpp" line="7483"/>
<location filename="mainwindow.cpp" line="7433"/>
<location filename="mainwindow.cpp" line="7482"/>
<source>All files (*.*)</source>
<translation> (*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7481"/>
<location filename="mainwindow.cpp" line="7480"/>
<source>Choose Expected Output Data File</source>
<oldsource>Choose Expected Input Data File</oldsource>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7502"/>
<location filename="mainwindow.cpp" line="7516"/>
<location filename="mainwindow.cpp" line="7523"/>
<location filename="mainwindow.cpp" line="7501"/>
<location filename="mainwindow.cpp" line="7515"/>
<location filename="mainwindow.cpp" line="7522"/>
<source>Line %1</source>
<translation type="unfinished">%1</translation>
<translation>%1</translation>
</message>
<message>
<location filename="mainwindow.ui" line="2709"/>
<location filename="mainwindow.ui" line="2712"/>
<location filename="mainwindow.cpp" line="6560"/>
<location filename="mainwindow.cpp" line="6559"/>
<source>Choose Working Folder</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6930"/>
<location filename="mainwindow.cpp" line="6982"/>
<location filename="mainwindow.cpp" line="6929"/>
<location filename="mainwindow.cpp" line="6981"/>
<source>Header Exists</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6931"/>
<location filename="mainwindow.cpp" line="6983"/>
<location filename="mainwindow.cpp" line="6930"/>
<location filename="mainwindow.cpp" line="6982"/>
<source>Header file &quot;%1&quot; already exists!</source>
<translation>&quot;%1&quot;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6988"/>
<location filename="mainwindow.cpp" line="6987"/>
<source>Source Exists</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6989"/>
<location filename="mainwindow.cpp" line="6988"/>
<source>Source file &quot;%1&quot; already exists!</source>
<translation>&quot;%1&quot;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7141"/>
<location filename="mainwindow.cpp" line="7140"/>
<source>Can&apos;t commit!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7142"/>
<location filename="mainwindow.cpp" line="7141"/>
<source>The following files are in conflicting:</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7147"/>
<location filename="mainwindow.cpp" line="7146"/>
<source>Commit Message</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7147"/>
<location filename="mainwindow.cpp" line="7146"/>
<source>Commit Message:</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7150"/>
<location filename="mainwindow.cpp" line="7149"/>
<source>Commit Failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="7151"/>
<location filename="mainwindow.cpp" line="7150"/>
<source>Commit message shouldn&apos;t be empty!</source>
<translation></translation>
</message>
@ -5791,125 +5790,130 @@ Are you really want to continue?</oldsource>
<translation type="vanished">Dev-C++ (*.dev)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5659"/>
<location filename="mainwindow.cpp" line="5658"/>
<source>New project fail</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5660"/>
<location filename="mainwindow.cpp" line="5659"/>
<source>Can&apos;t assign project template</source>
<translation>使</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5755"/>
<location filename="mainwindow.cpp" line="5754"/>
<source>Remove file</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5756"/>
<location filename="mainwindow.cpp" line="5755"/>
<source>Remove the file from disk?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5945"/>
<location filename="mainwindow.cpp" line="5944"/>
<source>untitled</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5955"/>
<location filename="mainwindow.cpp" line="5954"/>
<source>New Project File Name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5956"/>
<location filename="mainwindow.cpp" line="5955"/>
<source>File Name:</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5962"/>
<location filename="mainwindow.cpp" line="5961"/>
<source>File Already Exists!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5963"/>
<location filename="mainwindow.cpp" line="5962"/>
<source>File &apos;%1&apos; already exists!</source>
<translation>&apos;%1&apos;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5704"/>
<location filename="mainwindow.cpp" line="5703"/>
<source>Add to project</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5646"/>
<location filename="mainwindow.cpp" line="3116"/>
<source>C/C++ Source Files (*.c *.cpp *.cc *.cxx)</source>
<translation>C/C++ (*.c *.cpp *.cc *.cxx)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5645"/>
<source>Red Panda C++ project file (*.dev)</source>
<translation>C++(*.dev)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6161"/>
<location filename="mainwindow.cpp" line="6160"/>
<source>Rename Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6162"/>
<location filename="mainwindow.cpp" line="6161"/>
<source>Symbol &apos;%1&apos; is defined in system header.</source>
<translation>&apos;%1&apos;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6176"/>
<location filename="mainwindow.cpp" line="6175"/>
<source>New Name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6318"/>
<location filename="mainwindow.cpp" line="6330"/>
<location filename="mainwindow.cpp" line="6317"/>
<location filename="mainwindow.cpp" line="6329"/>
<source>Replace Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6319"/>
<location filename="mainwindow.cpp" line="6318"/>
<source>Can&apos;t open file &apos;%1&apos; for replace!</source>
<translation>&apos;%1&apos;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6331"/>
<location filename="mainwindow.cpp" line="6330"/>
<source>Contents has changed since last search!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6377"/>
<location filename="mainwindow.cpp" line="6376"/>
<source>Rich Text Format Files (*.rtf)</source>
<translation>RTF格式文件 (*.rtf)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6399"/>
<location filename="mainwindow.cpp" line="6398"/>
<source>HTML Files (*.html)</source>
<translation>HTML文件 (*.html)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6582"/>
<location filename="mainwindow.cpp" line="6581"/>
<source>The current problem set is not empty.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6600"/>
<location filename="mainwindow.cpp" line="6599"/>
<source>Problem %1</source>
<translation>%1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6626"/>
<location filename="mainwindow.cpp" line="6650"/>
<location filename="mainwindow.cpp" line="6625"/>
<location filename="mainwindow.cpp" line="6649"/>
<source>Problem Set Files (*.pbs)</source>
<translation> (*.pbs)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6656"/>
<location filename="mainwindow.cpp" line="6655"/>
<source>Load Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3302"/>
<location filename="mainwindow.cpp" line="6670"/>
<location filename="mainwindow.cpp" line="3301"/>
<location filename="mainwindow.cpp" line="6669"/>
<source>Problem Case %1</source>
<translation>%1</translation>
</message>
@ -5923,12 +5927,12 @@ Are you really want to continue?</oldsource>
<location filename="mainwindow.cpp" line="1107"/>
<location filename="mainwindow.cpp" line="2229"/>
<location filename="mainwindow.cpp" line="2646"/>
<location filename="mainwindow.cpp" line="4129"/>
<location filename="mainwindow.cpp" line="4240"/>
<location filename="mainwindow.cpp" line="4433"/>
<location filename="mainwindow.cpp" line="4445"/>
<location filename="mainwindow.cpp" line="4858"/>
<location filename="mainwindow.cpp" line="4870"/>
<location filename="mainwindow.cpp" line="4128"/>
<location filename="mainwindow.cpp" line="4239"/>
<location filename="mainwindow.cpp" line="4432"/>
<location filename="mainwindow.cpp" line="4444"/>
<location filename="mainwindow.cpp" line="4857"/>
<location filename="mainwindow.cpp" line="4869"/>
<source>Error</source>
<translation></translation>
</message>
@ -5955,77 +5959,77 @@ Are you really want to continue?</oldsource>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4123"/>
<location filename="mainwindow.cpp" line="4122"/>
<source>File &apos;%1&apos; was changed.</source>
<translation>&apos;%1&apos;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4123"/>
<location filename="mainwindow.cpp" line="4122"/>
<source>Reload its content from disk?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4135"/>
<location filename="mainwindow.cpp" line="4134"/>
<source>File &apos;%1&apos; was removed.</source>
<translation>&apos;%1&apos;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4135"/>
<location filename="mainwindow.cpp" line="4134"/>
<source>Keep it open?</source>
<translation>C++</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4233"/>
<location filename="mainwindow.cpp" line="4232"/>
<source>Open</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4629"/>
<location filename="mainwindow.cpp" line="4628"/>
<source>Compile Failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="4635"/>
<location filename="mainwindow.cpp" line="4634"/>
<source>Run Failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2675"/>
<location filename="mainwindow.cpp" line="4887"/>
<location filename="mainwindow.cpp" line="4901"/>
<location filename="mainwindow.cpp" line="4886"/>
<location filename="mainwindow.cpp" line="4900"/>
<source>Confirm Convertion</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2676"/>
<location filename="mainwindow.cpp" line="4888"/>
<location filename="mainwindow.cpp" line="4902"/>
<location filename="mainwindow.cpp" line="4887"/>
<location filename="mainwindow.cpp" line="4901"/>
<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>
</message>
<message>
<location filename="mainwindow.cpp" line="5052"/>
<location filename="mainwindow.cpp" line="5051"/>
<source>New Watch Expression</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5053"/>
<location filename="mainwindow.cpp" line="5052"/>
<source>Enter Watch Expression (it is recommended to use &apos;this-&gt;&apos; for class members):</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5106"/>
<location filename="mainwindow.cpp" line="5105"/>
<source>Parsing file %1 of %2: &quot;%3&quot;</source>
<translation>%1/%2&quot;%3&quot;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5128"/>
<location filename="mainwindow.cpp" line="5134"/>
<location filename="mainwindow.cpp" line="5127"/>
<location filename="mainwindow.cpp" line="5133"/>
<source>Done parsing %1 files in %2 seconds</source>
<translation>%1,%2</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="5131"/>
<location filename="mainwindow.cpp" line="5130"/>
<source>(%1 files per second)</source>
<translation>(%1</translation>
</message>
@ -8192,7 +8196,7 @@ Are you really want to continue?</oldsource>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6571"/>
<location filename="mainwindow.cpp" line="6570"/>
<location filename="settingsdialog/settingsdialog.cpp" line="170"/>
<location filename="settingsdialog/settingsdialog.cpp" line="203"/>
<location filename="settingsdialog/settingsdialog.cpp" line="209"/>
@ -8268,15 +8272,15 @@ Are you really want to continue?</oldsource>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6572"/>
<location filename="mainwindow.cpp" line="6885"/>
<location filename="mainwindow.cpp" line="6571"/>
<location filename="mainwindow.cpp" line="6884"/>
<location filename="settingsdialog/settingsdialog.cpp" line="203"/>
<location filename="settingsdialog/settingsdialog.cpp" line="206"/>
<source>Program Runner</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="6884"/>
<location filename="mainwindow.cpp" line="6883"/>
<location filename="settingsdialog/settingsdialog.cpp" line="206"/>
<source>Problem Set</source>
<translation></translation>

View File

@ -3109,14 +3109,12 @@ void MainWindow::onLstProblemSetContextMenu(const QPoint &pos)
QAction * action = new QAction(tr("select other file..."),menuSetAnswer);
connect(action, &QAction::triggered,
[problem,this](){
QFileDialog dialog;
QString filename = QFileDialog::getOpenFileName(
this,
tr("Select Answer Source File"),
QString(),
tr("C/C++Source Files (*.c *.cpp *.cc *.cxx)"),
nullptr,
dialog.options() | QFileDialog::DontUseNativeDialog);
tr("C/C++ Source Files (*.c *.cpp *.cc *.cxx)"),
nullptr);
if (!filename.isEmpty()) {
QDir::setCurrent(extractFileDir(filename));
problem->answerProgram = filename;