minor fix

fix: can't edit custom tool items
 update translations
 add log info for tool output
This commit is contained in:
Roy Qu 2024-04-02 17:19:50 +08:00
parent cbcd958ee3
commit 24f88f8d35
7 changed files with 318 additions and 278 deletions

View File

@ -43,6 +43,7 @@
#include "iconsmanager.h"
#include "widgets/newclassdialog.h"
#include "widgets/newheaderdialog.h"
#include "utils/escape.h"
#ifdef ENABLE_LUA_ADDON
#include "addon/executor.h"
#include "addon/runtime.h"
@ -1210,6 +1211,9 @@ void MainWindow::onFileSaved(const QString &path, bool inProject)
ui->treeFiles->update(index);
}
}
#else
Q_UNUSED(path);
Q_UNUSED(inProject);
#endif
//updateForEncodingInfo();
}
@ -1237,6 +1241,7 @@ void MainWindow::executeTool(PToolItem item)
inputContent=e->text().toUtf8();
break;
}
QString command;
if (!fileExists(program)) {
QTemporaryFile file(QDir::tempPath()+QDir::separator()+"XXXXXX.bat");
@ -1248,15 +1253,20 @@ void MainWindow::executeTool(PToolItem item)
file.write(escapeCommandForPlatformShell(program, params).toLocal8Bit()
+ LINE_BREAKER);
file.close();
command = escapeCommandForLog(file.fileName(), params);
output = runAndGetOutput(file.fileName(), workDir, params, inputContent);
}
} else {
command = escapeCommandForLog(program, params);
output = runAndGetOutput(program, workDir, params, inputContent);
}
switch(item->outputTarget) {
case ToolItemOutputTarget::RedirectToToolsOutputPanel:
clearToolsOutput();
logToolsOutput(tr(" - Command: %1").arg(command));
logToolsOutput(QString::fromUtf8(output));
stretchMessagesPanel(true);
ui->tabMessages->setCurrentWidget(ui->tabToolsOutput);
break;
case ToolItemOutputTarget::RedirectToNull:
break;

View File

@ -82,7 +82,7 @@ ToolsGeneralWidget::~ToolsGeneralWidget()
void ToolsGeneralWidget::editTool(const QModelIndex &index)
{
if (mCurrentEditingRow>=-1)
if (mCurrentEditingRow>=0)
return;
if (!index.isValid())
return;
@ -368,7 +368,7 @@ void ToolsGeneralWidget::on_btnBrowseProgram_clicked()
if (!fileName.isEmpty() ) {
QString appPath = includeTrailingPathDelimiter(pSettings->dirs().appDir());
if (fileName.startsWith(appPath))
fileName = "<EXECPATH>"+fileName.mid(appPath.length());
fileName = QString("<EXECPATH>") + QDir::separator() + fileName.mid(appPath.length());
ui->txtProgram->setText(fileName);
}
}

View File

@ -108,7 +108,7 @@
<bool>true</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::DragDrop</enum>
<enum>QAbstractItemView::InternalMove</enum>
</property>
<property name="defaultDropAction">
<enum>Qt::MoveAction</enum>

View File

@ -4276,7 +4276,7 @@
<name>MainWindow</name>
<message>
<location filename="../mainwindow.ui" line="+14"/>
<location filename="../mainwindow.cpp" line="+1312"/>
<location filename="../mainwindow.cpp" line="+1322"/>
<source>Red Panda C++</source>
<translation>Red Panda C++</translation>
</message>
@ -4316,14 +4316,14 @@
<location line="-1833"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="+1473"/>
<location line="+5853"/>
<location line="+5863"/>
<source>New Problem Set</source>
<translation>Novo conjunto de problemas</translation>
</message>
<message>
<location line="+7"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-5814"/>
<location filename="../mainwindow.cpp" line="-5824"/>
<source>Add Problem</source>
<translation>Acrescentar problema</translation>
</message>
@ -4338,15 +4338,15 @@
<location line="+7"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-31"/>
<location line="+5900"/>
<location line="+5910"/>
<source>Save Problem Set</source>
<translation>Salvar conjunto de problemas</translation>
</message>
<message>
<location line="+7"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-5893"/>
<location line="+5929"/>
<location filename="../mainwindow.cpp" line="-5903"/>
<location line="+5939"/>
<source>Load Problem Set</source>
<translation>Carregar conjunto de problemas</translation>
</message>
@ -4383,7 +4383,7 @@
</message>
<message>
<location line="+41"/>
<location filename="../mainwindow.cpp" line="-6270"/>
<location filename="../mainwindow.cpp" line="-6280"/>
<source>Debug Console</source>
<translation>Console do depurador</translation>
</message>
@ -5063,7 +5063,7 @@
</message>
<message>
<location line="+5"/>
<location filename="../mainwindow.cpp" line="+3773"/>
<location filename="../mainwindow.cpp" line="+3783"/>
<source>Clear all breakpoints</source>
<translation>Limpar todos os pontos de paradas</translation>
</message>
@ -5483,14 +5483,14 @@
<translation>Ctrl+Shift+Down</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-8384"/>
<location filename="../mainwindow.cpp" line="-8403"/>
<location line="+72"/>
<location line="+9"/>
<location line="+8"/>
<location line="+9"/>
<location line="+61"/>
<location line="+1347"/>
<location line="+1789"/>
<location line="+1356"/>
<location line="+1799"/>
<location line="+117"/>
<location line="+1866"/>
<location line="+150"/>
@ -5501,7 +5501,7 @@
<translation>Erro</translation>
</message>
<message>
<location line="-9484"/>
<location line="-9503"/>
<source>New</source>
<translation>Novo</translation>
</message>
@ -5527,18 +5527,18 @@
</message>
<message>
<location line="+85"/>
<location line="+8288"/>
<location line="+8307"/>
<source>Problem Set %1</source>
<translation>Conjunto de problemas %1</translation>
</message>
<message>
<location line="-7641"/>
<location line="-7660"/>
<location line="+6"/>
<source>Load Theme Error</source>
<translation>Erro ao carregar tema</translation>
</message>
<message>
<location line="+313"/>
<location line="+322"/>
<location line="+2"/>
<location line="+30"/>
<location line="+2"/>
@ -5731,7 +5731,12 @@
<translation>Propriedades...</translation>
</message>
<message>
<location line="-1280"/>
<location line="-1603"/>
<source> - Command: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+323"/>
<source>Line: %1/%2 Col: %3 Sel: %4</source>
<translation type="unfinished"></translation>
</message>
@ -5812,12 +5817,12 @@
</message>
<message>
<location line="+5"/>
<location line="+1986"/>
<location line="+1996"/>
<source>Add Folder</source>
<translation>Acrescentar pasta</translation>
</message>
<message>
<location line="-1980"/>
<location line="-1990"/>
<source>Rename Folder</source>
<translation>Renomear pasta</translation>
</message>
@ -5863,18 +5868,18 @@
</message>
<message>
<location line="+36"/>
<location line="+1458"/>
<location line="+1468"/>
<source>New Folder</source>
<translation>Nova pasta</translation>
</message>
<message>
<location line="-1452"/>
<location line="-1462"/>
<source>New File</source>
<translation>Novo arquivo</translation>
</message>
<message>
<location line="+12"/>
<location line="+1506"/>
<location line="+1516"/>
<location line="+7"/>
<location line="+6"/>
<location line="+3061"/>
@ -5882,7 +5887,7 @@
<translation>Remover</translation>
</message>
<message>
<location line="-4572"/>
<location line="-4582"/>
<source>Open in Editor</source>
<translation>Abrir no editor</translation>
</message>
@ -5902,7 +5907,7 @@
<translation>Abrir no navegador de arquivos</translation>
</message>
<message>
<location line="+469"/>
<location line="+479"/>
<source>Character sets</source>
<translation>Conjuntos de caracteres</translation>
</message>
@ -6416,8 +6421,8 @@
<translation>Escolher arquivo para a saída esperada de dados</translation>
</message>
<message>
<location line="-6737"/>
<location line="+1435"/>
<location line="-6747"/>
<location line="+1445"/>
<source>Batch Set Cases</source>
<translation>Conjunto de casos em lote</translation>
</message>
@ -6492,7 +6497,7 @@
<translation>Expressão a observar</translation>
</message>
<message>
<location line="-3698"/>
<location line="-3708"/>
<source>Rename</source>
<translation>Renomear</translation>
</message>
@ -6525,7 +6530,7 @@
<translation>Deslocar para a linha ...</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="+6681"/>
<location filename="../mainwindow.cpp" line="+6691"/>
<source>Go to Line</source>
<translation>Deslocar para linha</translation>
</message>
@ -6543,7 +6548,7 @@
<message>
<location line="+17"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-6916"/>
<location filename="../mainwindow.cpp" line="-6926"/>
<source>Open Anwser Source File</source>
<translation type="unfinished"></translation>
</message>
@ -6563,7 +6568,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="+7306"/>
<location filename="../mainwindow.cpp" line="+7316"/>
<source>Template Exists</source>
<translation type="unfinished"></translation>
</message>
@ -6573,35 +6578,35 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-7410"/>
<location line="-7420"/>
<location line="+207"/>
<location line="+3464"/>
<location line="+3474"/>
<location line="+7"/>
<source>Wrong Compiler Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-3677"/>
<location line="-3687"/>
<location line="+207"/>
<location line="+3464"/>
<location line="+3474"/>
<location line="+7"/>
<source>Compiler is set not to generate executable.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-3677"/>
<location line="+3671"/>
<location line="-3687"/>
<location line="+3681"/>
<source>We need the executabe to run problem case.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-3464"/>
<location line="+3471"/>
<location line="-3474"/>
<location line="+3481"/>
<source>Please correct this before start debugging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2727"/>
<location line="-2737"/>
<source>Can&apos;t open last open information file &apos;%1&apos; for write!</source>
<translation type="unfinished"></translation>
</message>
@ -6653,12 +6658,12 @@
<message>
<location line="-2112"/>
<location filename="../mainwindow.cpp" line="-261"/>
<location line="+7083"/>
<location line="+7093"/>
<source>Import FPS Problem Set</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-7050"/>
<location filename="../mainwindow.cpp" line="-7060"/>
<source>Rename Problem</source>
<translation type="unfinished"></translation>
</message>
@ -6668,7 +6673,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7045"/>
<location line="+7055"/>
<source>FPS Problem Set Files (*.fps;*.xml)</source>
<translation type="unfinished"></translation>
</message>
@ -6679,8 +6684,8 @@
</message>
<message>
<location line="-2113"/>
<location filename="../mainwindow.cpp" line="-7079"/>
<location line="+7108"/>
<location filename="../mainwindow.cpp" line="-7089"/>
<location line="+7118"/>
<source>Export FPS Problem Set</source>
<translation type="unfinished"></translation>
</message>
@ -6695,7 +6700,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-7141"/>
<location line="-7151"/>
<source>Rename Problem Set</source>
<translation type="unfinished"></translation>
</message>
@ -6710,7 +6715,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="+905"/>
<location filename="../mainwindow.cpp" line="+915"/>
<source>Newline</source>
<translation type="unfinished"></translation>
</message>
@ -6820,7 +6825,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-3126"/>
<location filename="../mainwindow.cpp" line="-3136"/>
<source>Missing Project Files</source>
<translation type="unfinished"></translation>
</message>
@ -6830,7 +6835,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+3485"/>
<location line="+3495"/>
<source>Save settings failed!</source>
<translation type="unfinished"></translation>
</message>
@ -6855,14 +6860,14 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-3096"/>
<location filename="../mainwindow.cpp" line="-3106"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source>Correct compile settings for debug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2836"/>
<location line="-2846"/>
<location line="+123"/>
<source>The generated executable won&apos;t have debug symbol infos, and can&apos;t be debugged.</source>
<translation type="unfinished"></translation>
@ -6870,49 +6875,49 @@
<message>
<location line="-119"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source>Or you can manually change the following settings in the options dialog&apos;s compiler set page:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2835"/>
<location line="+123"/>
<location line="+2714"/>
<source> - Turned on the &quot;Generate debug info (-g3)&quot; option.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2835"/>
<location line="+123"/>
<location line="+2714"/>
<source> - Turned off the &quot;Strip executable (-s)&quot; option.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2835"/>
<location line="+123"/>
<location line="+2714"/>
<source> - Turned off the &quot;Optimization level (-O)&quot; option or set it to &quot;Debug (-Og)&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2845"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source> - Turned on the &quot;Generate debug info (-g3)&quot; option.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2845"/>
<location line="+123"/>
<location line="+2724"/>
<source> - Turned off the &quot;Strip executable (-s)&quot; option.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2845"/>
<location line="+123"/>
<location line="+2724"/>
<source> - Turned off the &quot;Optimization level (-O)&quot; option or set it to &quot;Debug (-Og)&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2855"/>
<location line="+123"/>
<location line="+2724"/>
<source>If you are using the Release compiler set, please use choose the Debug version from toolbar.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2825"/>
<location line="-2835"/>
<location line="+123"/>
<location line="+2716"/>
<location line="+2726"/>
<source>Do you want to mannually change the compiler set settings now?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2841"/>
<location line="-2851"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<location line="+2"/>
<source>You should recompile after change the compiler set or it&apos;s settings.</source>
<translation type="unfinished"></translation>
@ -7013,7 +7018,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-5151"/>
<location filename="../mainwindow.cpp" line="-5170"/>
<source>Exact</source>
<translation type="unfinished"></translation>
</message>
@ -7028,7 +7033,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7021"/>
<location line="+7040"/>
<source>Folder Not Empty</source>
<translation type="unfinished"></translation>
</message>
@ -7043,7 +7048,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-5573"/>
<location line="-5583"/>
<source>Line: %1/%2 Char: %3/%4</source>
<translation type="unfinished"></translation>
</message>
@ -8376,7 +8381,7 @@
<context>
<name>QFileSystemModel</name>
<message>
<location filename="../mainwindow.cpp" line="-1202"/>
<location filename="../mainwindow.cpp" line="-1211"/>
<source>&lt;b&gt;The name &quot;%1&quot; cannot be used.&lt;/b&gt;&lt;p&gt;Try using another name, with fewer characters or no punctuation marks.</source>
<translation type="unfinished"></translation>
</message>
@ -8676,7 +8681,7 @@
</message>
<message>
<location filename="../editorlist.cpp" line="+178"/>
<location filename="../mainwindow.cpp" line="+3215"/>
<location filename="../mainwindow.cpp" line="+3224"/>
<source>Save</source>
<translation>Salvar</translation>
</message>
@ -10197,7 +10202,7 @@
<translation>Cancelar</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="+5300"/>
<location filename="../mainwindow.cpp" line="+5310"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="+33"/>
<location line="+41"/>
<location line="+6"/>
@ -10261,9 +10266,9 @@
<translation>Desempenho</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-6569"/>
<location filename="../mainwindow.cpp" line="-6579"/>
<location line="+123"/>
<location line="+7150"/>
<location line="+7160"/>
<location line="+5"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="+10"/>
<location line="+97"/>
@ -10271,8 +10276,8 @@
<translation>Compilador</translation>
</message>
<message>
<location line="-7154"/>
<location line="+7150"/>
<location line="-7164"/>
<location line="+7160"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="-97"/>
<location line="+3"/>
<source>Compiler</source>
@ -10381,8 +10386,8 @@
<translation>Opções de projeto</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-7273"/>
<location line="+7278"/>
<location filename="../mainwindow.cpp" line="-7283"/>
<location line="+7288"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="+2"/>
<location line="+3"/>
<location line="+3"/>
@ -10677,13 +10682,18 @@
<source>Add</source>
<translation>Acrescentar</translation>
</message>
<message>
<location line="+7"/>
<source>Edit</source>
<translation type="unfinished">Editar</translation>
</message>
<message>
<location line="+7"/>
<source>Remove</source>
<translation>Remover</translation>
</message>
<message>
<location line="+222"/>
<location line="+234"/>
<source>Output To</source>
<translation type="unfinished"></translation>
</message>
@ -10738,7 +10748,7 @@
<translation>Inserir macro</translation>
</message>
<message>
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+104"/>
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+108"/>
<source>Save Changes?</source>
<translation>Salvar alterações?</translation>
</message>
@ -10747,7 +10757,7 @@
<translation type="vanished">Quer salvar as alterações na ferramenta atual?</translation>
</message>
<message>
<location line="+180"/>
<location line="+246"/>
<source>Choose Folder</source>
<translation>Escolher pasta</translation>
</message>
@ -10761,7 +10771,7 @@
<translation type="vanished">Arquivos executáveis (*.exe)</translation>
</message>
<message>
<location line="-257"/>
<location line="-326"/>
<location line="+6"/>
<source>None</source>
<translation type="unfinished"></translation>
@ -10792,12 +10802,12 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+58"/>
<location line="+61"/>
<source>Do you want to save changes to &quot;%1&quot;?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<location line="-6"/>
<source>Error</source>
<translation type="unfinished">Erro</translation>
</message>
@ -10807,7 +10817,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+107"/>
<location line="+186"/>
<source>untitled</source>
<translation type="unfinished">sem nome</translation>
</message>

View File

@ -4629,14 +4629,14 @@ p, li { white-space: pre-wrap; }
<name>MainWindow</name>
<message>
<location filename="../mainwindow.ui" line="+14"/>
<location filename="../mainwindow.cpp" line="+1312"/>
<location filename="../mainwindow.cpp" line="+1322"/>
<source>Red Panda C++</source>
<translation>C++</translation>
</message>
<message>
<location line="+916"/>
<location line="+1704"/>
<location filename="../mainwindow.cpp" line="+4667"/>
<location filename="../mainwindow.cpp" line="+4677"/>
<location line="+3"/>
<location line="+4"/>
<location line="+3"/>
@ -4714,7 +4714,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+41"/>
<location filename="../mainwindow.cpp" line="-6270"/>
<location filename="../mainwindow.cpp" line="-6280"/>
<source>Debug Console</source>
<translation></translation>
</message>
@ -4790,7 +4790,7 @@ p, li { white-space: pre-wrap; }
<translation type="vanished">2</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-1695"/>
<location filename="../mainwindow.cpp" line="-1704"/>
<source>New</source>
<translation></translation>
</message>
@ -4923,7 +4923,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+5"/>
<location filename="../mainwindow.cpp" line="+2695"/>
<location filename="../mainwindow.cpp" line="+2704"/>
<location line="+27"/>
<location line="+200"/>
<source>Copy</source>
@ -5078,14 +5078,14 @@ p, li { white-space: pre-wrap; }
<location line="-1833"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-385"/>
<location line="+5853"/>
<location line="+5863"/>
<source>New Problem Set</source>
<translation></translation>
</message>
<message>
<location line="+7"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-5814"/>
<location filename="../mainwindow.cpp" line="-5824"/>
<source>Add Problem</source>
<translation></translation>
</message>
@ -5100,15 +5100,15 @@ p, li { white-space: pre-wrap; }
<location line="+7"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-31"/>
<location line="+5900"/>
<location line="+5910"/>
<source>Save Problem Set</source>
<translation></translation>
</message>
<message>
<location line="+7"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-5893"/>
<location line="+5929"/>
<location filename="../mainwindow.cpp" line="-5903"/>
<location line="+5939"/>
<source>Load Problem Set</source>
<translation></translation>
</message>
@ -5156,7 +5156,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+7"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-5862"/>
<location filename="../mainwindow.cpp" line="-5872"/>
<source>Remove Problem Case</source>
<oldsource>Remove Problem Set</oldsource>
<translation></translation>
@ -5239,14 +5239,14 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+341"/>
<location filename="../mainwindow.cpp" line="-73"/>
<location line="+7083"/>
<location line="+7093"/>
<source>Import FPS Problem Set</source>
<translation>FPS试题集</translation>
</message>
<message>
<location line="+7"/>
<location filename="../mainwindow.cpp" line="-7077"/>
<location line="+7108"/>
<location filename="../mainwindow.cpp" line="-7087"/>
<location line="+7118"/>
<source>Export FPS Problem Set</source>
<translation>FPS试题集</translation>
</message>
@ -5860,7 +5860,7 @@ p, li { white-space: pre-wrap; }
<translation type="vanished">...</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-3835"/>
<location filename="../mainwindow.cpp" line="-3845"/>
<source>New File</source>
<translation></translation>
</message>
@ -5901,7 +5901,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+5"/>
<location filename="../mainwindow.cpp" line="+5041"/>
<location filename="../mainwindow.cpp" line="+5051"/>
<source>Rename Symbol</source>
<translation></translation>
</message>
@ -6202,12 +6202,12 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="-3386"/>
<location line="-3405"/>
<source>Recent Files</source>
<translation></translation>
</message>
<message>
<location line="+1057"/>
<location line="+1066"/>
<location line="+2"/>
<location line="+30"/>
<location line="+2"/>
@ -6292,27 +6292,27 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+102"/>
<location line="+207"/>
<location line="+3464"/>
<location line="+3474"/>
<location line="+7"/>
<source>Wrong Compiler Settings</source>
<translation></translation>
</message>
<message>
<location line="-3677"/>
<location line="-3687"/>
<location line="+207"/>
<location line="+3464"/>
<location line="+3474"/>
<location line="+7"/>
<source>Compiler is set not to generate executable.</source>
<translation></translation>
</message>
<message>
<location line="-3677"/>
<location line="+3671"/>
<location line="-3687"/>
<location line="+3681"/>
<source>We need the executabe to run problem case.</source>
<translation></translation>
</message>
<message>
<location line="-3656"/>
<location line="-3666"/>
<source>No compiler set</source>
<translation></translation>
</message>
@ -6369,7 +6369,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+97"/>
<location line="+3471"/>
<location line="+3481"/>
<source>Please correct this before start debugging</source>
<translation></translation>
</message>
@ -6378,7 +6378,7 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location line="-2728"/>
<location line="-2738"/>
<location line="+8"/>
<source>Save last open info error</source>
<translation></translation>
@ -6425,12 +6425,12 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+846"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source>Correct compile settings for debug</source>
<translation></translation>
</message>
<message>
<location line="-2836"/>
<location line="-2846"/>
<location line="+123"/>
<source>The generated executable won&apos;t have debug symbol infos, and can&apos;t be debugged.</source>
<translation></translation>
@ -6442,54 +6442,54 @@ p, li { white-space: pre-wrap; }
<message>
<location line="-119"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source>Or you can manually change the following settings in the options dialog&apos;s compiler set page:</source>
<translation></translation>
</message>
<message>
<location line="-2835"/>
<location line="-2845"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source> - Turned on the &quot;Generate debug info (-g3)&quot; option.</source>
<translation> - (-g3)&quot;.</translation>
</message>
<message>
<location line="-2835"/>
<location line="-2845"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source> - Turned off the &quot;Strip executable (-s)&quot; option.</source>
<translation> - &quot;(-s)&quot;.</translation>
</message>
<message>
<location line="-2835"/>
<location line="-2845"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source> - Turned off the &quot;Optimization level (-O)&quot; option or set it to &quot;Debug (-Og)&quot;.</source>
<translation> - &quot;(-O)&quot;(-Og)&quot;.</translation>
</message>
<message>
<location line="-2835"/>
<location line="-2845"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<location line="+2"/>
<source>You should recompile after change the compiler set or it&apos;s settings.</source>
<translation>.</translation>
</message>
<message>
<location line="-2837"/>
<location line="-2847"/>
<location line="+123"/>
<location line="+2716"/>
<location line="+2726"/>
<source>Do you want to mannually change the compiler set settings now?</source>
<translation></translation>
</message>
<message>
<location line="-2395"/>
<location line="+1435"/>
<location line="-2405"/>
<location line="+1445"/>
<source>Batch Set Cases</source>
<translation></translation>
</message>
<message>
<location line="-1409"/>
<location line="-1419"/>
<source>Show detail debug logs</source>
<translation></translation>
</message>
@ -6499,7 +6499,7 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="+6824"/>
<location line="+6834"/>
<source>Go to Line</source>
<translation></translation>
</message>
@ -6522,14 +6522,14 @@ p, li { white-space: pre-wrap; }
<location filename="../mainwindow.ui" line="-768"/>
<location line="+98"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-6860"/>
<location filename="../mainwindow.cpp" line="-6870"/>
<location line="+21"/>
<location line="+181"/>
<source>Clear</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-2903"/>
<location filename="../mainwindow.cpp" line="-2912"/>
<source>Export</source>
<translation></translation>
</message>
@ -6540,7 +6540,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+85"/>
<location line="+8288"/>
<location line="+8307"/>
<source>Problem Set %1</source>
<translation>%1</translation>
</message>
@ -6569,7 +6569,7 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location line="-5872"/>
<location line="-5882"/>
<source>Auto Save Error</source>
<translation></translation>
</message>
@ -6584,7 +6584,7 @@ p, li { white-space: pre-wrap; }
<translation>...</translation>
</message>
<message>
<location line="+1851"/>
<location line="+1861"/>
<source>Set Problem Set Name</source>
<translation></translation>
</message>
@ -6594,12 +6594,17 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="-1799"/>
<location line="-1809"/>
<source>Remove</source>
<translation></translation>
</message>
<message>
<location line="-1598"/>
<location line="-1656"/>
<source> - Command: %1</source>
<translation>- : %1</translation>
</message>
<message>
<location line="+58"/>
<source> %1 Version</source>
<translation> %1</translation>
</message>
@ -6629,7 +6634,7 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="+1829"/>
<location line="+1839"/>
<location line="+3744"/>
<location line="+42"/>
<source>Bookmark Description</source>
@ -6647,7 +6652,7 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location line="-5554"/>
<location line="-5564"/>
<source>Remove this search</source>
<translation></translation>
</message>
@ -6662,7 +6667,7 @@ p, li { white-space: pre-wrap; }
<translation>...</translation>
</message>
<message>
<location line="+2067"/>
<location line="+2077"/>
<source>Break point condition</source>
<translation></translation>
</message>
@ -6672,7 +6677,7 @@ p, li { white-space: pre-wrap; }
<translation>:</translation>
</message>
<message>
<location line="-2062"/>
<location line="-2072"/>
<source>Remove All Breakpoints</source>
<oldsource>Remove all breakpoints</oldsource>
<translation></translation>
@ -6693,7 +6698,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+5"/>
<location line="+1986"/>
<location line="+1996"/>
<source>Add Folder</source>
<translation></translation>
</message>
@ -6709,7 +6714,7 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="-1981"/>
<location line="-1991"/>
<source>Rename Folder</source>
<translation></translation>
</message>
@ -6853,18 +6858,18 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location line="+29"/>
<location line="+1458"/>
<location line="+1468"/>
<source>New Folder</source>
<translation></translation>
</message>
<message>
<location line="-1446"/>
<location line="-1456"/>
<source>Rename</source>
<translation></translation>
</message>
<message>
<location line="+6"/>
<location line="+1506"/>
<location line="+1516"/>
<location line="+7"/>
<location line="+6"/>
<location line="+3061"/>
@ -6872,7 +6877,7 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="-4572"/>
<location line="-4582"/>
<source>Open in Editor</source>
<translation></translation>
</message>
@ -6892,7 +6897,7 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="+469"/>
<location line="+479"/>
<source>Character sets</source>
<translation></translation>
</message>
@ -7491,14 +7496,14 @@ p, li { white-space: pre-wrap; }
<translation>%1</translation>
</message>
<message>
<location line="-8532"/>
<location line="-8551"/>
<location line="+72"/>
<location line="+9"/>
<location line="+8"/>
<location line="+9"/>
<location line="+61"/>
<location line="+1347"/>
<location line="+1789"/>
<location line="+1356"/>
<location line="+1799"/>
<location line="+117"/>
<location line="+1866"/>
<location line="+150"/>
@ -7509,7 +7514,7 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="-9462"/>
<location line="-9481"/>
<source>Recent Projects</source>
<translation></translation>
</message>
@ -7520,7 +7525,7 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="+441"/>
<location line="+450"/>
<location line="+22"/>
<source>Clear History</source>
<translation></translation>
@ -7530,7 +7535,7 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location line="+2449"/>
<location line="+2459"/>
<location line="+161"/>
<source>Version Control</source>
<translation></translation>
@ -7584,7 +7589,7 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="-9563"/>
<location line="-9582"/>
<source>Exact</source>
<translation></translation>
</message>
@ -7603,9 +7608,9 @@ p, li { white-space: pre-wrap; }
<translation type="vanished">: %1 : %2 (%3) : %4</translation>
</message>
<message>
<location line="+2300"/>
<location line="+2309"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source>If you are using the Release compiler set, please use choose the Debug version from toolbar.</source>
<translation>使Release版的编译器设置集Debug版本</translation>
</message>
@ -9052,7 +9057,7 @@ p, li { white-space: pre-wrap; }
<context>
<name>QFileSystemModel</name>
<message>
<location filename="../mainwindow.cpp" line="-6518"/>
<location filename="../mainwindow.cpp" line="-6537"/>
<source>&lt;b&gt;The name &quot;%1&quot; cannot be used.&lt;/b&gt;&lt;p&gt;Try using another name, with fewer characters or no punctuation marks.</source>
<translation>&lt;b&gt; &quot;%1&quot; 使&lt;/b&gt;&lt;p&gt;使</translation>
</message>
@ -9061,7 +9066,7 @@ p, li { white-space: pre-wrap; }
<name>QObject</name>
<message>
<location filename="../editorlist.cpp" line="+178"/>
<location filename="../mainwindow.cpp" line="+3215"/>
<location filename="../mainwindow.cpp" line="+3224"/>
<source>Save</source>
<translation></translation>
</message>
@ -11127,7 +11132,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../mainwindow.cpp" line="-865"/>
<location line="+123"/>
<location line="+7150"/>
<location line="+7160"/>
<location line="+5"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="+10"/>
<location line="+97"/>
@ -11135,8 +11140,8 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="-7154"/>
<location line="+7150"/>
<location line="-7164"/>
<location line="+7160"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="-97"/>
<location line="+3"/>
<source>Compiler</source>
@ -11291,8 +11296,8 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-6568"/>
<location line="+7278"/>
<location filename="../mainwindow.cpp" line="-6578"/>
<location line="+7288"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="+2"/>
<location line="+3"/>
<location line="+3"/>
@ -11573,13 +11578,18 @@ p, li { white-space: pre-wrap; }
<source>Add</source>
<translation></translation>
</message>
<message>
<location line="+7"/>
<source>Edit</source>
<translation></translation>
</message>
<message>
<location line="+7"/>
<source>Remove</source>
<translation></translation>
</message>
<message>
<location line="+222"/>
<location line="+234"/>
<source>Output To</source>
<translation></translation>
</message>
@ -11634,7 +11644,7 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+104"/>
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+108"/>
<source>Save Changes?</source>
<translation></translation>
</message>
@ -11643,7 +11653,7 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location line="-66"/>
<location line="-69"/>
<location line="+6"/>
<source>None</source>
<translation></translation>
@ -11674,12 +11684,12 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="+58"/>
<location line="+61"/>
<source>Do you want to save changes to &quot;%1&quot;?</source>
<translation>&quot;%1&quot;</translation>
</message>
<message>
<location line="+7"/>
<location line="-6"/>
<source>Error</source>
<translation></translation>
</message>
@ -11689,7 +11699,7 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location line="+107"/>
<location line="+186"/>
<source>untitled</source>
<translation></translation>
</message>

View File

@ -4061,7 +4061,7 @@
<name>MainWindow</name>
<message>
<location filename="../mainwindow.ui" line="+14"/>
<location filename="../mainwindow.cpp" line="+1312"/>
<location filename="../mainwindow.cpp" line="+1322"/>
<source>Red Panda C++</source>
<translation type="unfinished"></translation>
</message>
@ -4101,14 +4101,14 @@
<location line="-1833"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="+1473"/>
<location line="+5853"/>
<location line="+5863"/>
<source>New Problem Set</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-5814"/>
<location filename="../mainwindow.cpp" line="-5824"/>
<source>Add Problem</source>
<translation type="unfinished"></translation>
</message>
@ -4123,15 +4123,15 @@
<location line="+7"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-31"/>
<location line="+5900"/>
<location line="+5910"/>
<source>Save Problem Set</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<location line="+3"/>
<location filename="../mainwindow.cpp" line="-5893"/>
<location line="+5929"/>
<location filename="../mainwindow.cpp" line="-5903"/>
<location line="+5939"/>
<source>Load Problem Set</source>
<translation type="unfinished"></translation>
</message>
@ -4168,7 +4168,7 @@
</message>
<message>
<location line="+41"/>
<location filename="../mainwindow.cpp" line="-6270"/>
<location filename="../mainwindow.cpp" line="-6280"/>
<source>Debug Console</source>
<translation type="unfinished"></translation>
</message>
@ -4835,7 +4835,7 @@
</message>
<message>
<location line="+5"/>
<location filename="../mainwindow.cpp" line="+3773"/>
<location filename="../mainwindow.cpp" line="+3783"/>
<source>Clear all breakpoints</source>
<translation type="unfinished"></translation>
</message>
@ -5255,14 +5255,14 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-8384"/>
<location filename="../mainwindow.cpp" line="-8403"/>
<location line="+72"/>
<location line="+9"/>
<location line="+8"/>
<location line="+9"/>
<location line="+61"/>
<location line="+1347"/>
<location line="+1789"/>
<location line="+1356"/>
<location line="+1799"/>
<location line="+117"/>
<location line="+1866"/>
<location line="+150"/>
@ -5273,7 +5273,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-9484"/>
<location line="-9503"/>
<source>New</source>
<translation type="unfinished"></translation>
</message>
@ -5299,18 +5299,18 @@
</message>
<message>
<location line="+85"/>
<location line="+8288"/>
<location line="+8307"/>
<source>Problem Set %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-7641"/>
<location line="-7660"/>
<location line="+6"/>
<source>Load Theme Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+313"/>
<location line="+322"/>
<location line="+2"/>
<location line="+30"/>
<location line="+2"/>
@ -5444,7 +5444,12 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-1280"/>
<location line="-1603"/>
<source> - Command: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+323"/>
<source>Line: %1/%2 Col: %3 Sel: %4</source>
<translation type="unfinished"></translation>
</message>
@ -5470,12 +5475,12 @@
</message>
<message>
<location line="+6"/>
<location line="+1435"/>
<location line="+1445"/>
<source>Batch Set Cases</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-1427"/>
<location line="-1437"/>
<source>Remove</source>
<translation type="unfinished"></translation>
</message>
@ -5531,12 +5536,12 @@
</message>
<message>
<location line="+5"/>
<location line="+1986"/>
<location line="+1996"/>
<source>Add Folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-1980"/>
<location line="-1990"/>
<source>Rename Folder</source>
<translation type="unfinished"></translation>
</message>
@ -5582,18 +5587,18 @@
</message>
<message>
<location line="+36"/>
<location line="+1458"/>
<location line="+1468"/>
<source>New Folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-1452"/>
<location line="-1462"/>
<source>New File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+12"/>
<location line="+1506"/>
<location line="+1516"/>
<location line="+7"/>
<location line="+6"/>
<location line="+3061"/>
@ -5601,7 +5606,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-4572"/>
<location line="-4582"/>
<source>Open in Editor</source>
<translation type="unfinished"></translation>
</message>
@ -5621,7 +5626,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+469"/>
<location line="+479"/>
<source>Character sets</source>
<translation type="unfinished"></translation>
</message>
@ -6201,7 +6206,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-3698"/>
<location line="-3708"/>
<source>Rename</source>
<translation type="unfinished"></translation>
</message>
@ -6226,7 +6231,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="+6681"/>
<location filename="../mainwindow.cpp" line="+6691"/>
<source>Go to Line</source>
<translation type="unfinished"></translation>
</message>
@ -6256,35 +6261,35 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-7410"/>
<location line="-7420"/>
<location line="+207"/>
<location line="+3464"/>
<location line="+3474"/>
<location line="+7"/>
<source>Wrong Compiler Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-3677"/>
<location line="-3687"/>
<location line="+207"/>
<location line="+3464"/>
<location line="+3474"/>
<location line="+7"/>
<source>Compiler is set not to generate executable.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-3677"/>
<location line="+3671"/>
<location line="-3687"/>
<location line="+3681"/>
<source>We need the executabe to run problem case.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-3464"/>
<location line="+3471"/>
<location line="-3474"/>
<location line="+3481"/>
<source>Please correct this before start debugging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2727"/>
<location line="-2737"/>
<source>Can&apos;t open last open information file &apos;%1&apos; for write!</source>
<translation type="unfinished"></translation>
</message>
@ -6336,12 +6341,12 @@
<message>
<location line="-2112"/>
<location filename="../mainwindow.cpp" line="-261"/>
<location line="+7083"/>
<location line="+7093"/>
<source>Import FPS Problem Set</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-7050"/>
<location filename="../mainwindow.cpp" line="-7060"/>
<source>Rename Problem</source>
<translation type="unfinished"></translation>
</message>
@ -6351,7 +6356,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7045"/>
<location line="+7055"/>
<source>FPS Problem Set Files (*.fps;*.xml)</source>
<translation type="unfinished"></translation>
</message>
@ -6362,8 +6367,8 @@
</message>
<message>
<location line="-2113"/>
<location filename="../mainwindow.cpp" line="-7079"/>
<location line="+7108"/>
<location filename="../mainwindow.cpp" line="-7089"/>
<location line="+7118"/>
<source>Export FPS Problem Set</source>
<translation type="unfinished"></translation>
</message>
@ -6378,7 +6383,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-7141"/>
<location line="-7151"/>
<source>Rename Problem Set</source>
<translation type="unfinished"></translation>
</message>
@ -6398,7 +6403,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="+830"/>
<location filename="../mainwindow.cpp" line="+840"/>
<source>Newline</source>
<translation type="unfinished"></translation>
</message>
@ -6508,7 +6513,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-3126"/>
<location filename="../mainwindow.cpp" line="-3136"/>
<source>Missing Project Files</source>
<translation type="unfinished"></translation>
</message>
@ -6518,7 +6523,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+3485"/>
<location line="+3495"/>
<source>Save settings failed!</source>
<translation type="unfinished"></translation>
</message>
@ -6548,14 +6553,14 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-3096"/>
<location filename="../mainwindow.cpp" line="-3106"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source>Correct compile settings for debug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2836"/>
<location line="-2846"/>
<location line="+123"/>
<source>The generated executable won&apos;t have debug symbol infos, and can&apos;t be debugged.</source>
<translation type="unfinished"></translation>
@ -6563,49 +6568,49 @@
<message>
<location line="-119"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source>Or you can manually change the following settings in the options dialog&apos;s compiler set page:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2835"/>
<location line="+123"/>
<location line="+2714"/>
<source> - Turned on the &quot;Generate debug info (-g3)&quot; option.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2835"/>
<location line="+123"/>
<location line="+2714"/>
<source> - Turned off the &quot;Strip executable (-s)&quot; option.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2835"/>
<location line="+123"/>
<location line="+2714"/>
<source> - Turned off the &quot;Optimization level (-O)&quot; option or set it to &quot;Debug (-Og)&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2845"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<source> - Turned on the &quot;Generate debug info (-g3)&quot; option.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2845"/>
<location line="+123"/>
<location line="+2724"/>
<source> - Turned off the &quot;Strip executable (-s)&quot; option.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2845"/>
<location line="+123"/>
<location line="+2724"/>
<source> - Turned off the &quot;Optimization level (-O)&quot; option or set it to &quot;Debug (-Og)&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2855"/>
<location line="+123"/>
<location line="+2724"/>
<source>If you are using the Release compiler set, please use choose the Debug version from toolbar.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2825"/>
<location line="-2835"/>
<location line="+123"/>
<location line="+2716"/>
<location line="+2726"/>
<source>Do you want to mannually change the compiler set settings now?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-2841"/>
<location line="-2851"/>
<location line="+123"/>
<location line="+2714"/>
<location line="+2724"/>
<location line="+2"/>
<source>You should recompile after change the compiler set or it&apos;s settings.</source>
<translation type="unfinished"></translation>
@ -6706,7 +6711,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-5151"/>
<location filename="../mainwindow.cpp" line="-5170"/>
<source>Exact</source>
<translation type="unfinished"></translation>
</message>
@ -6721,7 +6726,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7021"/>
<location line="+7040"/>
<source>Folder Not Empty</source>
<translation type="unfinished"></translation>
</message>
@ -6736,7 +6741,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-5573"/>
<location line="-5583"/>
<source>Line: %1/%2 Char: %3/%4</source>
<translation type="unfinished"></translation>
</message>
@ -7976,7 +7981,7 @@
<context>
<name>QFileSystemModel</name>
<message>
<location filename="../mainwindow.cpp" line="-1202"/>
<location filename="../mainwindow.cpp" line="-1211"/>
<source>&lt;b&gt;The name &quot;%1&quot; cannot be used.&lt;/b&gt;&lt;p&gt;Try using another name, with fewer characters or no punctuation marks.</source>
<translation type="unfinished"></translation>
</message>
@ -8269,7 +8274,7 @@
</message>
<message>
<location filename="../editorlist.cpp" line="+178"/>
<location filename="../mainwindow.cpp" line="+3215"/>
<location filename="../mainwindow.cpp" line="+3224"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
@ -9462,7 +9467,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="+5300"/>
<location filename="../mainwindow.cpp" line="+5310"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="+33"/>
<location line="+41"/>
<location line="+6"/>
@ -9522,9 +9527,9 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-6569"/>
<location filename="../mainwindow.cpp" line="-6579"/>
<location line="+123"/>
<location line="+7150"/>
<location line="+7160"/>
<location line="+5"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="+10"/>
<location line="+97"/>
@ -9532,8 +9537,8 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-7154"/>
<location line="+7150"/>
<location line="-7164"/>
<location line="+7160"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="-97"/>
<location line="+3"/>
<source>Compiler</source>
@ -9642,8 +9647,8 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="-7273"/>
<location line="+7278"/>
<location filename="../mainwindow.cpp" line="-7283"/>
<location line="+7288"/>
<location filename="../settingsdialog/settingsdialog.cpp" line="+2"/>
<location line="+3"/>
<location line="+3"/>
@ -9908,13 +9913,18 @@
<source>Add</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<source>Edit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<source>Remove</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+222"/>
<location line="+234"/>
<source>Output To</source>
<translation type="unfinished"></translation>
</message>
@ -9965,12 +9975,12 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+104"/>
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+108"/>
<source>Save Changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+180"/>
<location line="+246"/>
<source>Choose Folder</source>
<translation type="unfinished"></translation>
</message>
@ -9980,12 +9990,12 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="-190"/>
<location line="-256"/>
<source>Do you want to save changes to &quot;%1&quot;?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-67"/>
<location line="-70"/>
<location line="+6"/>
<source>None</source>
<translation type="unfinished"></translation>
@ -10016,7 +10026,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+65"/>
<location line="+55"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
@ -10026,7 +10036,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+107"/>
<location line="+186"/>
<source>untitled</source>
<translation type="unfinished"></translation>
</message>

View File

@ -511,10 +511,10 @@ void copyFolder(const QString &fromDir, const QString &toDir)
QString includeTrailingPathDelimiter(const QString &path)
{
if (path.endsWith('/') || path.endsWith(QDir::separator())) {
if (path.endsWith(QDir::separator()) || path.endsWith(QDir::separator())) {
return path;
} else {
return path + "/";
return path + QDir::separator();
}
}