add Portuguese translation file

update chinese translations
This commit is contained in:
Roy Qu 2022-04-13 17:15:30 +08:00
parent ca0ad3249f
commit 94a99e983e
6 changed files with 6711 additions and 136 deletions

View File

@ -424,7 +424,8 @@ linux: {
} }
TRANSLATIONS += \ TRANSLATIONS += \
RedPandaIDE_zh_CN.ts RedPandaIDE_zh_CN.ts \
RedPandaIDE_pt.ts
#CONFIG += lrelease embed_translations #CONFIG += lrelease embed_translations

File diff suppressed because it is too large Load Diff

View File

@ -1267,13 +1267,13 @@ Are you really want to continue?</oldsource>
<translation type="vanished"></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="264"/> <location filename="editor.cpp" line="267"/>
<location filename="editor.cpp" line="325"/> <location filename="editor.cpp" line="328"/>
<location filename="editor.cpp" line="348"/> <location filename="editor.cpp" line="351"/>
<location filename="editor.cpp" line="1268"/> <location filename="editor.cpp" line="1278"/>
<location filename="editor.cpp" line="1273"/> <location filename="editor.cpp" line="1283"/>
<location filename="editor.cpp" line="1291"/> <location filename="editor.cpp" line="1301"/>
<location filename="editor.cpp" line="1296"/> <location filename="editor.cpp" line="1306"/>
<source>Error</source> <source>Error</source>
<translation></translation> <translation></translation>
</message> </message>
@ -1282,44 +1282,44 @@ Are you really want to continue?</oldsource>
<translation type="vanished">&quot;%1&quot;</translation> <translation type="vanished">&quot;%1&quot;</translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="294"/> <location filename="editor.cpp" line="297"/>
<source>Save As</source> <source>Save As</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="326"/> <location filename="editor.cpp" line="329"/>
<source>File %1 already openned!</source> <source>File %1 already openned!</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="1269"/> <location filename="editor.cpp" line="1279"/>
<source>The text to be copied exceeds count limit!</source> <source>The text to be copied exceeds count limit!</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="1274"/> <location filename="editor.cpp" line="1284"/>
<source>The text to be copied exceeds character limit!</source> <source>The text to be copied exceeds character limit!</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="1292"/> <location filename="editor.cpp" line="1302"/>
<source>The text to be cut exceeds count limit!</source> <source>The text to be cut exceeds count limit!</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="1297"/> <location filename="editor.cpp" line="1307"/>
<source>The text to be cut exceeds character limit!</source> <source>The text to be cut exceeds character limit!</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="2726"/> <location filename="editor.cpp" line="2736"/>
<source>Print Document</source> <source>Print Document</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="3331"/> <location filename="editor.cpp" line="3341"/>
<location filename="editor.cpp" line="3370"/> <location filename="editor.cpp" line="3380"/>
<location filename="editor.cpp" line="3424"/> <location filename="editor.cpp" line="3434"/>
<source>Ctrl+click for more info</source> <source>Ctrl+click for more info</source>
<translation>Ctrl+</translation> <translation>Ctrl+</translation>
</message> </message>
@ -1328,27 +1328,27 @@ Are you really want to continue?</oldsource>
<translation type="vanished">&apos;%1&apos;!</translation> <translation type="vanished">&apos;%1&apos;!</translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="4169"/> <location filename="editor.cpp" line="4179"/>
<source>astyle not found</source> <source>astyle not found</source>
<translation>astyle程序</translation> <translation>astyle程序</translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="4170"/> <location filename="editor.cpp" line="4180"/>
<source>Can&apos;t find astyle in &quot;%1&quot;.</source> <source>Can&apos;t find astyle in &quot;%1&quot;.</source>
<translation>astyle程序&quot;%1&quot;.</translation> <translation>astyle程序&quot;%1&quot;.</translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="4320"/> <location filename="editor.cpp" line="4330"/>
<source>Break point condition</source> <source>Break point condition</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="4321"/> <location filename="editor.cpp" line="4331"/>
<source>Enter the condition of the breakpoint:</source> <source>Enter the condition of the breakpoint:</source>
<translation>:</translation> <translation>:</translation>
</message> </message>
<message> <message>
<location filename="editor.cpp" line="4538"/> <location filename="editor.cpp" line="4548"/>
<source>Readonly</source> <source>Readonly</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2110,6 +2110,11 @@ Are you really want to continue?</oldsource>
</message> </message>
<message> <message>
<location filename="settingsdialog/environmentappearencewidget.cpp" line="98"/> <location filename="settingsdialog/environmentappearencewidget.cpp" line="98"/>
<source>Portuguese</source>
<translation></translation>
</message>
<message>
<location filename="settingsdialog/environmentappearencewidget.cpp" line="99"/>
<source>Simplified Chinese</source> <source>Simplified Chinese</source>
<translation></translation> <translation></translation>
</message> </message>
@ -4267,14 +4272,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="6658"/> <location filename="mainwindow.cpp" line="6657"/>
<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="6682"/> <location filename="mainwindow.cpp" line="6690"/>
<source>Load Problem Set</source> <source>Load Problem Set</source>
<translation></translation> <translation></translation>
</message> </message>
@ -4689,22 +4694,27 @@ Are you really want to continue?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="3025"/> <location filename="mainwindow.ui" line="2957"/>
<source>F1</source>
<translation>F1</translation>
</message>
<message>
<location filename="mainwindow.ui" line="3028"/>
<source>Move Selection Up</source> <source>Move Selection Up</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="3028"/> <location filename="mainwindow.ui" line="3031"/>
<source>Ctrl+Shift+Up</source> <source>Ctrl+Shift+Up</source>
<translation>Ctrl+Shift+Up</translation> <translation>Ctrl+Shift+Up</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="3033"/> <location filename="mainwindow.ui" line="3036"/>
<source>Move Selection Down</source> <source>Move Selection Down</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="3036"/> <location filename="mainwindow.ui" line="3039"/>
<source>Ctrl+Shift+Down</source> <source>Ctrl+Shift+Down</source>
<translation>Ctrl+Shift+Down</translation> <translation>Ctrl+Shift+Down</translation>
</message> </message>
@ -4844,64 +4854,64 @@ Are you really want to continue?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2959"/> <location filename="mainwindow.ui" line="2962"/>
<source>Branch/Switch</source> <source>Branch/Switch</source>
<translation>Switch</translation> <translation>Switch</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2964"/> <location filename="mainwindow.ui" line="2967"/>
<source>Merge</source> <source>Merge</source>
<translation>Merge</translation> <translation>Merge</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2969"/>
<location filename="mainwindow.ui" line="2972"/> <location filename="mainwindow.ui" line="2972"/>
<location filename="mainwindow.ui" line="2975"/>
<source>Show Log</source> <source>Show Log</source>
<oldsource>Log</oldsource> <oldsource>Log</oldsource>
<translation>(Log)</translation> <translation>(Log)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2977"/> <location filename="mainwindow.ui" line="2980"/>
<source>Remotes...</source> <source>Remotes...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2982"/> <location filename="mainwindow.ui" line="2985"/>
<source>Fetch</source> <source>Fetch</source>
<translation>(Fetch)</translation> <translation>(Fetch)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2987"/> <location filename="mainwindow.ui" line="2990"/>
<source>Pull</source> <source>Pull</source>
<translation>(Pull)</translation> <translation>(Pull)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="2992"/> <location filename="mainwindow.ui" line="2995"/>
<source>Push</source> <source>Push</source>
<translation>(Push)</translation> <translation>(Push)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="3004"/> <location filename="mainwindow.ui" line="3007"/>
<source>Hide Non Support Files</source> <source>Hide Non Support Files</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="3009"/> <location filename="mainwindow.ui" line="3012"/>
<source>Toggle Block Comment</source> <source>Toggle Block Comment</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="3012"/> <location filename="mainwindow.ui" line="3015"/>
<source>Alt+Shift+A</source> <source>Alt+Shift+A</source>
<translation>Alt+Shift+A</translation> <translation>Alt+Shift+A</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="3017"/> <location filename="mainwindow.ui" line="3020"/>
<source>Match Bracket</source> <source>Match Bracket</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="3020"/> <location filename="mainwindow.ui" line="3023"/>
<source>Ctrl+]</source> <source>Ctrl+]</source>
<translation>Ctrl+]</translation> <translation>Ctrl+]</translation>
</message> </message>
@ -5607,7 +5617,7 @@ Are you really want to continue?</oldsource>
<location filename="mainwindow.cpp" line="4283"/> <location filename="mainwindow.cpp" line="4283"/>
<location filename="mainwindow.cpp" line="4293"/> <location filename="mainwindow.cpp" line="4293"/>
<location filename="mainwindow.cpp" line="4305"/> <location filename="mainwindow.cpp" line="4305"/>
<location filename="mainwindow.cpp" line="6671"/> <location filename="mainwindow.cpp" line="6679"/>
<source>Save Error</source> <source>Save Error</source>
<translation></translation> <translation></translation>
</message> </message>
@ -5693,36 +5703,36 @@ Are you really want to continue?</oldsource>
<translation>&apos;%1&apos;?</translation> <translation>&apos;%1&apos;?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7196"/> <location filename="mainwindow.cpp" line="7204"/>
<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="7197"/> <location filename="mainwindow.cpp" line="7205"/>
<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="7466"/> <location filename="mainwindow.cpp" line="7474"/>
<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="7468"/> <location filename="mainwindow.cpp" line="7476"/>
<location filename="mainwindow.cpp" line="7517"/> <location filename="mainwindow.cpp" line="7525"/>
<source>All files (*.*)</source> <source>All files (*.*)</source>
<translation> (*.*)</translation> <translation> (*.*)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7515"/> <location filename="mainwindow.cpp" line="7523"/>
<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="7536"/> <location filename="mainwindow.cpp" line="7544"/>
<location filename="mainwindow.cpp" line="7550"/> <location filename="mainwindow.cpp" line="7558"/>
<location filename="mainwindow.cpp" line="7557"/> <location filename="mainwindow.cpp" line="7565"/>
<source>Line %1</source> <source>Line %1</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
@ -5734,54 +5744,54 @@ Are you really want to continue?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6964"/> <location filename="mainwindow.cpp" line="6972"/>
<location filename="mainwindow.cpp" line="7016"/> <location filename="mainwindow.cpp" line="7024"/>
<source>Header Exists</source> <source>Header Exists</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6965"/> <location filename="mainwindow.cpp" line="6973"/>
<location filename="mainwindow.cpp" line="7017"/> <location filename="mainwindow.cpp" line="7025"/>
<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="7022"/> <location filename="mainwindow.cpp" line="7030"/>
<source>Source Exists</source> <source>Source Exists</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7023"/> <location filename="mainwindow.cpp" line="7031"/>
<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="7175"/> <location filename="mainwindow.cpp" line="7183"/>
<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="7176"/> <location filename="mainwindow.cpp" line="7184"/>
<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="7181"/> <location filename="mainwindow.cpp" line="7189"/>
<source>Commit Message</source> <source>Commit Message</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7181"/> <location filename="mainwindow.cpp" line="7189"/>
<source>Commit Message:</source> <source>Commit Message:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7184"/> <location filename="mainwindow.cpp" line="7192"/>
<source>Commit Failed</source> <source>Commit Failed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="7185"/> <location filename="mainwindow.cpp" line="7193"/>
<source>Commit message shouldn&apos;t be empty!</source> <source>Commit message shouldn&apos;t be empty!</source>
<translation></translation> <translation></translation>
</message> </message>
@ -5901,19 +5911,19 @@ Are you really want to continue?</oldsource>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6660"/> <location filename="mainwindow.cpp" line="6664"/>
<location filename="mainwindow.cpp" line="6684"/> <location filename="mainwindow.cpp" line="6692"/>
<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="6690"/> <location filename="mainwindow.cpp" line="6698"/>
<source>Load Error</source> <source>Load Error</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="3303"/> <location filename="mainwindow.cpp" line="3303"/>
<location filename="mainwindow.cpp" line="6704"/> <location filename="mainwindow.cpp" line="6712"/>
<source>Problem Case %1</source> <source>Problem Case %1</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
@ -6276,12 +6286,12 @@ Are you really want to continue?</oldsource>
<context> <context>
<name>OJProblemModel</name> <name>OJProblemModel</name>
<message> <message>
<location filename="widgets/ojproblemsetmodel.cpp" line="443"/> <location filename="widgets/ojproblemsetmodel.cpp" line="450"/>
<source>Name</source> <source>Name</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/ojproblemsetmodel.cpp" line="445"/> <location filename="widgets/ojproblemsetmodel.cpp" line="452"/>
<source>Time(sec)</source> <source>Time(sec)</source>
<translation>()</translation> <translation>()</translation>
</message> </message>
@ -6345,83 +6355,83 @@ Are you really want to continue?</oldsource>
<translation>&apos;%1&apos;.</translation> <translation>&apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="765"/> <location filename="project.cpp" line="805"/>
<source>Error Load File</source> <source>Error Load File</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="876"/> <location filename="project.cpp" line="916"/>
<source>File Exists</source> <source>File Exists</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="877"/> <location filename="project.cpp" line="917"/>
<source>File &apos;%1&apos; is already in the project</source> <source>File &apos;%1&apos; is already in the project</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1249"/> <location filename="project.cpp" line="1289"/>
<source>Project Updated</source> <source>Project Updated</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1250"/> <location filename="project.cpp" line="1290"/>
<source>Your project was succesfully updated to a newer file format!</source> <source>Your project was succesfully updated to a newer file format!</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1252"/> <location filename="project.cpp" line="1292"/>
<source>If something has gone wrong, we kept a backup-file: &apos;%1&apos;...</source> <source>If something has gone wrong, we kept a backup-file: &apos;%1&apos;...</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1319"/> <location filename="project.cpp" line="1359"/>
<source>Headers</source> <source>Headers</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1326"/> <location filename="project.cpp" line="1366"/>
<source>Sources</source> <source>Sources</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1333"/> <location filename="project.cpp" line="1373"/>
<source>Others</source> <source>Others</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1500"/> <location filename="project.cpp" line="1540"/>
<source>Settings need update</source> <source>Settings need update</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1501"/> <location filename="project.cpp" line="1541"/>
<source>The compiler settings format of Red Panda C++ has changed.</source> <source>The compiler settings format of Red Panda C++ has changed.</source>
<oldsource>The compiler settings format of Dev-C++ has changed.</oldsource> <oldsource>The compiler settings format of Dev-C++ has changed.</oldsource>
<translation>C++</translation> <translation>C++</translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1503"/> <location filename="project.cpp" line="1543"/>
<source>Please update your settings at Project &gt;&gt; Project Options &gt;&gt; Compiler and save your project.</source> <source>Please update your settings at Project &gt;&gt; Project Options &gt;&gt; Compiler and save your project.</source>
<translation> &gt;&gt; &gt;&gt; </translation> <translation> &gt;&gt; &gt;&gt; </translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1540"/> <location filename="project.cpp" line="1580"/>
<source>Compiler not found</source> <source>Compiler not found</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1541"/> <location filename="project.cpp" line="1581"/>
<source>The compiler set you have selected for this project, no longer exists.</source> <source>The compiler set you have selected for this project, no longer exists.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1543"/> <location filename="project.cpp" line="1583"/>
<source>It will be substituted by the global compiler set.</source> <source>It will be substituted by the global compiler set.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="1571"/> <location filename="project.cpp" line="1611"/>
<source>Developed using the Red Panda C++ IDE</source> <source>Developed using the Red Panda C++ IDE</source>
<oldsource>Developed using the Red Panda Dev-C++ IDE</oldsource> <oldsource>Developed using the Red Panda Dev-C++ IDE</oldsource>
<translation>使C++</translation> <translation>使C++</translation>
@ -6478,37 +6488,37 @@ Are you really want to continue?</oldsource>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="compiler/projectcompiler.cpp" line="191"/> <location filename="compiler/projectcompiler.cpp" line="198"/>
<source>- Resource File: %1</source> <source>- Resource File: %1</source>
<translation>- : %1</translation> <translation>- : %1</translation>
</message> </message>
<message> <message>
<location filename="compiler/projectcompiler.cpp" line="475"/> <location filename="compiler/projectcompiler.cpp" line="508"/>
<source>Compiling project changes...</source> <source>Compiling project changes...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="compiler/projectcompiler.cpp" line="477"/> <location filename="compiler/projectcompiler.cpp" line="510"/>
<source>- Project Filename: %1</source> <source>- Project Filename: %1</source>
<translation>- : %1</translation> <translation>- : %1</translation>
</message> </message>
<message> <message>
<location filename="compiler/projectcompiler.cpp" line="478"/> <location filename="compiler/projectcompiler.cpp" line="511"/>
<source>- Compiler Set Name: %1</source> <source>- Compiler Set Name: %1</source>
<translation>- : %1</translation> <translation>- : %1</translation>
</message> </message>
<message> <message>
<location filename="compiler/projectcompiler.cpp" line="499"/> <location filename="compiler/projectcompiler.cpp" line="532"/>
<source>Processing makefile:</source> <source>Processing makefile:</source>
<translation>makefile...</translation> <translation>makefile...</translation>
</message> </message>
<message> <message>
<location filename="compiler/projectcompiler.cpp" line="501"/> <location filename="compiler/projectcompiler.cpp" line="534"/>
<source>- makefile processer: %1</source> <source>- makefile processer: %1</source>
<translation>- makefile处理器: %1</translation> <translation>- makefile处理器: %1</translation>
</message> </message>
<message> <message>
<location filename="compiler/projectcompiler.cpp" line="502"/> <location filename="compiler/projectcompiler.cpp" line="535"/>
<source>- Command: %1 %2</source> <source>- Command: %1 %2</source>
<translation>- : %1 %2</translation> <translation>- : %1 %2</translation>
</message> </message>
@ -6828,32 +6838,32 @@ Are you really want to continue?</oldsource>
<context> <context>
<name>ProjectModel</name> <name>ProjectModel</name>
<message> <message>
<location filename="project.cpp" line="2148"/> <location filename="project.cpp" line="2188"/>
<source>File exists</source> <source>File exists</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="2149"/> <location filename="project.cpp" line="2189"/>
<source>File &apos;%1&apos; already exists. Delete it now?</source> <source>File &apos;%1&apos; already exists. Delete it now?</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="2167"/> <location filename="project.cpp" line="2207"/>
<source>Remove failed</source> <source>Remove failed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="2168"/> <location filename="project.cpp" line="2208"/>
<source>Failed to remove file &apos;%1&apos;</source> <source>Failed to remove file &apos;%1&apos;</source>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="2185"/> <location filename="project.cpp" line="2225"/>
<source>Rename failed</source> <source>Rename failed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="project.cpp" line="2186"/> <location filename="project.cpp" line="2226"/>
<source>Failed to rename file &apos;%1&apos; to &apos;%2&apos;</source> <source>Failed to rename file &apos;%1&apos; to &apos;%2&apos;</source>
<translation>&apos;%1&apos;&apos;%2&apos;</translation> <translation>&apos;%1&apos;&apos;%2&apos;</translation>
</message> </message>
@ -7772,8 +7782,8 @@ Are you really want to continue?</oldsource>
<message> <message>
<location filename="autolinkmanager.cpp" line="55"/> <location filename="autolinkmanager.cpp" line="55"/>
<location filename="autolinkmanager.cpp" line="76"/> <location filename="autolinkmanager.cpp" line="76"/>
<location filename="widgets/ojproblemsetmodel.cpp" line="138"/> <location filename="widgets/ojproblemsetmodel.cpp" line="145"/>
<location filename="widgets/ojproblemsetmodel.cpp" line="193"/> <location filename="widgets/ojproblemsetmodel.cpp" line="200"/>
<source>Can&apos;t open file &apos;%1&apos; for read.</source> <source>Can&apos;t open file &apos;%1&apos; for read.</source>
<translation>&apos;%1&apos;.</translation> <translation>&apos;%1&apos;.</translation>
</message> </message>
@ -7784,7 +7794,7 @@ Are you really want to continue?</oldsource>
<translation>&apos;%1&apos;.</translation> <translation>&apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="widgets/ojproblemsetmodel.cpp" line="151"/> <location filename="widgets/ojproblemsetmodel.cpp" line="158"/>
<source>Can&apos;t parse problem set file &apos;%1&apos;:%2</source> <source>Can&apos;t parse problem set file &apos;%1&apos;:%2</source>
<translation>&quot;%1&quot;:%2</translation> <translation>&quot;%1&quot;:%2</translation>
</message> </message>
@ -7849,141 +7859,141 @@ Are you really want to continue?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="138"/> <location filename="widgets/searchdialog.ui" line="178"/>
<source>Wrap Around</source> <source>Wrap Around</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="131"/> <location filename="widgets/searchdialog.ui" line="152"/>
<source>Regular Expression</source> <source>Regular Expression</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="148"/> <location filename="widgets/searchdialog.ui" line="188"/>
<source>Prompt on replace</source> <source>Prompt on replace</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="161"/> <location filename="widgets/searchdialog.ui" line="201"/>
<source>Scope:</source> <source>Scope:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="167"/> <location filename="widgets/searchdialog.ui" line="207"/>
<source>Global</source> <source>Global</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="174"/> <location filename="widgets/searchdialog.ui" line="214"/>
<source>Selection</source> <source>Selection</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="184"/> <location filename="widgets/searchdialog.ui" line="224"/>
<source>Origin:</source> <source>Origin:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="190"/> <location filename="widgets/searchdialog.ui" line="230"/>
<source>From cursor</source> <source>From cursor</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="200"/> <location filename="widgets/searchdialog.ui" line="240"/>
<source>Entire scope</source> <source>Entire scope</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="228"/> <location filename="widgets/searchdialog.ui" line="268"/>
<source>Direction:</source> <source>Direction:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="234"/> <location filename="widgets/searchdialog.ui" line="274"/>
<source>Forward</source> <source>Forward</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="244"/> <location filename="widgets/searchdialog.ui" line="284"/>
<source>Backward</source> <source>Backward</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="267"/> <location filename="widgets/searchdialog.ui" line="307"/>
<source>Where:</source> <source>Where:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="273"/> <location filename="widgets/searchdialog.ui" line="313"/>
<source>Current File</source> <source>Current File</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="283"/> <location filename="widgets/searchdialog.ui" line="323"/>
<source>Files In Project</source> <source>Files In Project</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="290"/> <location filename="widgets/searchdialog.ui" line="330"/>
<source>Open Files</source> <source>Open Files</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="357"/> <location filename="widgets/searchdialog.ui" line="397"/>
<location filename="widgets/searchdialog.cpp" line="38"/> <location filename="widgets/searchdialog.cpp" line="39"/>
<location filename="widgets/searchdialog.cpp" line="160"/> <location filename="widgets/searchdialog.cpp" line="161"/>
<source>Find</source> <source>Find</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.ui" line="364"/> <location filename="widgets/searchdialog.ui" line="404"/>
<source>Cancel</source> <source>Cancel</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.cpp" line="40"/> <location filename="widgets/searchdialog.cpp" line="41"/>
<source>Find in files</source> <source>Find in files</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.cpp" line="39"/> <location filename="widgets/searchdialog.cpp" line="40"/>
<location filename="widgets/searchdialog.cpp" line="162"/> <location filename="widgets/searchdialog.cpp" line="163"/>
<location filename="widgets/searchdialog.cpp" line="280"/> <location filename="widgets/searchdialog.cpp" line="281"/>
<source>Replace</source> <source>Replace</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.cpp" line="41"/> <location filename="widgets/searchdialog.cpp" line="42"/>
<source>Replace in files</source> <source>Replace in files</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.cpp" line="264"/> <location filename="widgets/searchdialog.cpp" line="265"/>
<source>Continue Search</source> <source>Continue Search</source>
<oldsource>Search Around</oldsource> <oldsource>Search Around</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.cpp" line="265"/> <location filename="widgets/searchdialog.cpp" line="266"/>
<location filename="widgets/searchdialog.cpp" line="302"/> <location filename="widgets/searchdialog.cpp" line="303"/>
<source>End of file has been reached. </source> <source>End of file has been reached. </source>
<oldsource>End of file has been reached.</oldsource> <oldsource>End of file has been reached.</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.cpp" line="266"/> <location filename="widgets/searchdialog.cpp" line="267"/>
<location filename="widgets/searchdialog.cpp" line="303"/> <location filename="widgets/searchdialog.cpp" line="304"/>
<source>Do you want to continue from file&apos;s beginning?</source> <source>Do you want to continue from file&apos;s beginning?</source>
<oldsource>Do you want to start from beginning?</oldsource> <oldsource>Do you want to start from beginning?</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.cpp" line="281"/> <location filename="widgets/searchdialog.cpp" line="282"/>
<source>Replace this occurrence of &apos;&apos;%1&apos;&apos;?</source> <source>Replace this occurrence of &apos;&apos;%1&apos;&apos;?</source>
<translation>&quot;%1&quot;</translation> <translation>&quot;%1&quot;</translation>
</message> </message>
<message> <message>
<location filename="widgets/searchdialog.cpp" line="301"/> <location filename="widgets/searchdialog.cpp" line="302"/>
<source>Continue Replace</source> <source>Continue Replace</source>
<oldsource>Replace Around</oldsource> <oldsource>Replace Around</oldsource>
<translation></translation> <translation></translation>
@ -8325,14 +8335,14 @@ Are you really want to continue?</oldsource>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="6606"/> <location filename="mainwindow.cpp" line="6606"/>
<location filename="mainwindow.cpp" line="6919"/> <location filename="mainwindow.cpp" line="6927"/>
<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="6918"/> <location filename="mainwindow.cpp" line="6926"/>
<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>

View File

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

View File

@ -11,6 +11,7 @@ class GitLogDialog;
} }
class GitLogModel: public QAbstractTableModel { class GitLogModel: public QAbstractTableModel {
Q_OBJECT
public: public:
using CommitInfoCache=QMap<int, PGitCommitInfo>; using CommitInfoCache=QMap<int, PGitCommitInfo>;
using PCommitInfoCache=std::shared_ptr<CommitInfoCache>; using PCommitInfoCache=std::shared_ptr<CommitInfoCache>;

View File

@ -162,7 +162,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;(?)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;(?)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="openExternalLinks"> <property name="openExternalLinks">
<bool>true</bool> <bool>true</bool>