update simplified chinese translations.
fix: file filter for executable under linux
This commit is contained in:
parent
9b0889f6c3
commit
76d3e3d6e2
|
@ -432,7 +432,7 @@ void CompilerSetOptionWidget::on_btnChooseCCompiler_clicked()
|
|||
this,
|
||||
tr("Locate C Compiler"),
|
||||
getBinDir(),
|
||||
tr("Executable files (*.exe)"));
|
||||
pSystemConsts->executableFileFilter());
|
||||
if (fileExists(fileName))
|
||||
ui->txtCCompiler->setText(fileName);
|
||||
}
|
||||
|
@ -444,7 +444,7 @@ void CompilerSetOptionWidget::on_btnChooseCppCompiler_clicked()
|
|||
this,
|
||||
tr("Locate C++ Compiler"),
|
||||
getBinDir(),
|
||||
tr("Executable files (*.exe)"));
|
||||
pSystemConsts->executableFileFilter());
|
||||
if (fileExists(fileName))
|
||||
ui->txtCppCompiler->setText(fileName);
|
||||
}
|
||||
|
@ -456,7 +456,7 @@ void CompilerSetOptionWidget::on_btnChooseMake_clicked()
|
|||
this,
|
||||
tr("Locate Make"),
|
||||
getBinDir(),
|
||||
tr("Executable files (*.exe)"));
|
||||
pSystemConsts->executableFileFilter());
|
||||
if (fileExists(fileName))
|
||||
ui->txtMake->setText(fileName);
|
||||
}
|
||||
|
@ -468,7 +468,7 @@ void CompilerSetOptionWidget::on_btnChooseGDB_clicked()
|
|||
this,
|
||||
tr("Locate GDB"),
|
||||
getBinDir(),
|
||||
tr("Executable files (*.exe)"));
|
||||
pSystemConsts->executableFileFilter());
|
||||
if (fileExists(fileName))
|
||||
ui->txtDebugger->setText(fileName);
|
||||
}
|
||||
|
@ -480,7 +480,7 @@ void CompilerSetOptionWidget::on_btnChooseGDBServer_clicked()
|
|||
this,
|
||||
tr("Locate GDB Server"),
|
||||
getBinDir(),
|
||||
tr("Executable files (*.exe)"));
|
||||
pSystemConsts->executableFileFilter());
|
||||
if (fileExists(fileName))
|
||||
ui->txtGDBServer->setText(fileName);
|
||||
}
|
||||
|
@ -489,10 +489,10 @@ void CompilerSetOptionWidget::on_btnChooseGDBServer_clicked()
|
|||
void CompilerSetOptionWidget::on_btnChooseResourceCompiler_clicked()
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(
|
||||
this,
|
||||
tr("Locate windres"),
|
||||
getBinDir(),
|
||||
tr("Executable files (*.exe)"));
|
||||
this,
|
||||
tr("Locate windres"),
|
||||
getBinDir(),
|
||||
pSystemConsts->executableFileFilter());
|
||||
if (fileExists(fileName))
|
||||
ui->txtResourceCompiler->setText(fileName);
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include "utils.h"
|
||||
#include "utils/escape.h"
|
||||
#include "utils/parsearg.h"
|
||||
#include "../systemconsts.h"
|
||||
|
||||
#include <QFileDialog>
|
||||
#include <QMessageBox>
|
||||
|
@ -269,10 +270,10 @@ void ToolsGeneralWidget::on_btnBrowseWorkingDirectory_clicked()
|
|||
void ToolsGeneralWidget::on_btnBrowseProgram_clicked()
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(
|
||||
this,
|
||||
tr("Select program"),
|
||||
pSettings->dirs().appDir(),
|
||||
tr("Executable files (*.exe)"));
|
||||
this,
|
||||
tr("Select program"),
|
||||
pSettings->dirs().appDir(),
|
||||
pSystemConsts->executableFileFilter());
|
||||
if (!fileName.isEmpty() ) {
|
||||
ui->txtProgram->setText(fileName);
|
||||
}
|
||||
|
|
|
@ -110,6 +110,15 @@ const QString &SystemConsts::defaultAllFileFilter() const noexcept
|
|||
return mDefaultFileFilters[0];
|
||||
}
|
||||
|
||||
const QString &SystemConsts::executableFileFilter() const noexcept
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
return QObject::tr("Executable files (*.exe)");
|
||||
#else
|
||||
return QObject::tr("All files (*.*)");
|
||||
#endif
|
||||
}
|
||||
|
||||
QString SystemConsts::fileFilterFor(const QString &suffix)
|
||||
{
|
||||
QString t="*."+suffix;
|
||||
|
|
|
@ -133,6 +133,7 @@ public:
|
|||
const QString& defaultCFileFilter() const noexcept;
|
||||
const QString& defaultCPPFileFilter() const noexcept;
|
||||
const QString& defaultAllFileFilter() const noexcept;
|
||||
const QString& executableFileFilter() const noexcept;
|
||||
QString fileFilterFor(const QString& suffix);
|
||||
void addDefaultFileFilter(const QString& name, const QString& fileExtensions);
|
||||
const QStringList &iconFileFilters() const;
|
||||
|
|
|
@ -555,7 +555,7 @@
|
|||
<translation>[Nota] </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+548"/>
|
||||
<location line="+556"/>
|
||||
<source>The compiler process for '%1' failed to start.</source>
|
||||
<translation>Falha ao iniciar a compilação para '%1'.</translation>
|
||||
</message>
|
||||
|
@ -590,7 +590,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-633"/>
|
||||
<location line="-641"/>
|
||||
<source> - Command: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -752,6 +752,11 @@
|
|||
<source>Find Compiler in the Folder</source>
|
||||
<translation>Procurar compilador na pasta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+7"/>
|
||||
<source>Add Compiler</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+7"/>
|
||||
<location line="+3"/>
|
||||
|
@ -937,11 +942,20 @@
|
|||
</message>
|
||||
<message>
|
||||
<location line="+10"/>
|
||||
<source>Compiler Set Folder</source>
|
||||
<translation>Nome da pasta do compilador</translation>
|
||||
<source>Compiler Folder</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+18"/>
|
||||
<location line="+156"/>
|
||||
<source>Compiler</source>
|
||||
<translation type="unfinished">Compilador</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Compiler Set Folder</source>
|
||||
<translation type="vanished">Nome da pasta do compilador</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-138"/>
|
||||
<source>New name</source>
|
||||
<translation>Novo nome</translation>
|
||||
</message>
|
||||
|
@ -986,22 +1000,16 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/compilersetoptionwidget.cpp" line="+67"/>
|
||||
<location filename="../settingsdialog/compilersetoptionwidget.cpp" line="+68"/>
|
||||
<source>Locate C Compiler</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<source>Executable files (*.exe)</source>
|
||||
<translation type="unfinished">Arquivos executáveis (*.exe)</translation>
|
||||
<translation type="obsolete">Arquivos executáveis (*.exe)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-50"/>
|
||||
<location line="+12"/>
|
||||
<source>Locate C++ Compiler</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1034,7 +1042,7 @@
|
|||
<translation type="obsolete">MB</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-176"/>
|
||||
<location line="-177"/>
|
||||
<source>Searching for compilers...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1379,10 +1387,10 @@
|
|||
<translation type="vanished">sem nome</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editor.cpp" line="+384"/>
|
||||
<location filename="../editor.cpp" line="+385"/>
|
||||
<location line="+70"/>
|
||||
<location line="+29"/>
|
||||
<location line="+1093"/>
|
||||
<location line="+1094"/>
|
||||
<location line="+5"/>
|
||||
<location line="+21"/>
|
||||
<location line="+5"/>
|
||||
|
@ -1390,7 +1398,7 @@
|
|||
<translation>Erro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-1187"/>
|
||||
<location line="-1188"/>
|
||||
<source>Save As</source>
|
||||
<translation>Salvar como</translation>
|
||||
</message>
|
||||
|
@ -1400,7 +1408,7 @@
|
|||
<translation>Arquivo %1 já aberto!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1122"/>
|
||||
<location line="+1123"/>
|
||||
<source>The text to be copied exceeds count limit!</source>
|
||||
<translation>O texto a ser copiado excede o limite do contador!</translation>
|
||||
</message>
|
||||
|
@ -1420,7 +1428,7 @@
|
|||
<translation>O texto a ser removido excede o limite de caracteres!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1692"/>
|
||||
<location line="+1691"/>
|
||||
<source>Print Document</source>
|
||||
<translation>Imprimir documento</translation>
|
||||
</message>
|
||||
|
@ -1432,7 +1440,7 @@
|
|||
<translation>Ctrl+clik para mais informações</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+920"/>
|
||||
<location line="+928"/>
|
||||
<source>astyle not found</source>
|
||||
<translation>astyle não encontrado</translation>
|
||||
</message>
|
||||
|
@ -1457,13 +1465,13 @@
|
|||
<translation>Apenas leitura</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-5374"/>
|
||||
<location line="-5382"/>
|
||||
<location line="+434"/>
|
||||
<source>Error Load File</source>
|
||||
<translation type="unfinished">Erro ao carregar arquivo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1583"/>
|
||||
<location line="+1584"/>
|
||||
<source>hex: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2907,18 +2915,18 @@
|
|||
</message>
|
||||
<message>
|
||||
<location line="+42"/>
|
||||
<location line="+96"/>
|
||||
<location line="+93"/>
|
||||
<source>Can't delete the old executable file "%1".
|
||||
</source>
|
||||
<translation>Impossível remover o antigo arquivo executável "%1".</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-65"/>
|
||||
<location line="-62"/>
|
||||
<source>Can't find the compiler for file %1</source>
|
||||
<translation>Impossível encontrar o compilador para o arquivo %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+43"/>
|
||||
<location line="+40"/>
|
||||
<source>The Compiler '%1' doesn't exists!</source>
|
||||
<translation>O compilador '%1' é inexistente!</translation>
|
||||
</message>
|
||||
|
@ -2942,7 +2950,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-124"/>
|
||||
<location line="-121"/>
|
||||
<source>Checking single file...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2952,7 +2960,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+70"/>
|
||||
<location line="+67"/>
|
||||
<source>Command: %1</source>
|
||||
<translation type="unfinished">Comando: %1</translation>
|
||||
</message>
|
||||
|
@ -7479,7 +7487,7 @@
|
|||
<translation>Arquivo '%1' existente no projeto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+374"/>
|
||||
<location line="+370"/>
|
||||
<source>Project Updated</source>
|
||||
<translation>Projeto atualizado</translation>
|
||||
</message>
|
||||
|
@ -7544,7 +7552,7 @@
|
|||
<translation>Desenvolvido com uso da IDE Red Panda C++</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-1105"/>
|
||||
<location line="-1101"/>
|
||||
<location line="+99"/>
|
||||
<source>Error</source>
|
||||
<translation type="unfinished">Erro</translation>
|
||||
|
@ -7659,7 +7667,7 @@
|
|||
<context>
|
||||
<name>ProjectCompiler</name>
|
||||
<message>
|
||||
<location filename="../compiler/projectcompiler.cpp" line="+111"/>
|
||||
<location filename="../compiler/projectcompiler.cpp" line="+127"/>
|
||||
<source>Building makefile...</source>
|
||||
<translation>Montando makefile ...</translation>
|
||||
</message>
|
||||
|
@ -7674,12 +7682,12 @@
|
|||
<translation>Impossível abrir '%1' para gravar!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+98"/>
|
||||
<location line="+100"/>
|
||||
<source>- Resource File: %1</source>
|
||||
<translation>- Arquivo de recursos: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+345"/>
|
||||
<location line="+343"/>
|
||||
<source>Compiling project changes...</source>
|
||||
<translation>Compilando alterações em projeto ...</translation>
|
||||
</message>
|
||||
|
@ -8086,7 +8094,7 @@
|
|||
<context>
|
||||
<name>ProjectModel</name>
|
||||
<message>
|
||||
<location filename="../project.cpp" line="+1592"/>
|
||||
<location filename="../project.cpp" line="+1588"/>
|
||||
<source>File exists</source>
|
||||
<translation>Arquivo existente</translation>
|
||||
</message>
|
||||
|
@ -8379,7 +8387,7 @@
|
|||
<location filename="../autolinkmanager.cpp" line="+54"/>
|
||||
<location line="+16"/>
|
||||
<location line="+19"/>
|
||||
<location filename="../settings.cpp" line="+4051"/>
|
||||
<location filename="../settings.cpp" line="+4052"/>
|
||||
<location filename="../widgets/ojproblemsetmodel.cpp" line="-401"/>
|
||||
<location line="+61"/>
|
||||
<source>Can't open file '%1' for read.</source>
|
||||
|
@ -8667,7 +8675,7 @@
|
|||
<translation type="vanished">sem nome</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editorlist.cpp" line="+170"/>
|
||||
<location filename="../editorlist.cpp" line="+178"/>
|
||||
<location filename="../mainwindow.cpp" line="+3152"/>
|
||||
<source>Save</source>
|
||||
<translation>Salvar</translation>
|
||||
|
@ -8972,12 +8980,22 @@
|
|||
<source>Icon files</source>
|
||||
<translation>Arquivos de ícones</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+75"/>
|
||||
<source>Executable files (*.exe)</source>
|
||||
<translation type="unfinished">Arquivos executáveis (*.exe)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>All files (*.*)</source>
|
||||
<translation type="unfinished">Todos os arquivos (*.*)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Index %1 out of range</source>
|
||||
<translation type="vanished">Índice %1 fora dos limites</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../utils.cpp" line="+469"/>
|
||||
<location filename="../utils.cpp" line="+472"/>
|
||||
<source>bytes</source>
|
||||
<translation>bytes</translation>
|
||||
</message>
|
||||
|
@ -9076,7 +9094,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systemconsts.cpp" line="-3"/>
|
||||
<location filename="../systemconsts.cpp" line="-80"/>
|
||||
<source>GAS files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -10711,7 +10729,7 @@
|
|||
<translation>Inserir macro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+86"/>
|
||||
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+87"/>
|
||||
<source>Save Changes?</source>
|
||||
<translation>Salvar alterações?</translation>
|
||||
</message>
|
||||
|
@ -10730,12 +10748,11 @@
|
|||
<translation>Selecionar programa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>Executable files (*.exe)</source>
|
||||
<translation>Arquivos executáveis (*.exe)</translation>
|
||||
<translation type="vanished">Arquivos executáveis (*.exe)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-188"/>
|
||||
<location line="-186"/>
|
||||
<source>Do you want to save changes to "%1"?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -692,7 +692,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation>警告:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+520"/>
|
||||
<location line="+528"/>
|
||||
<source>Can't open file "%1" for write!</source>
|
||||
<translation>无法写入文件“%1”。</translation>
|
||||
</message>
|
||||
|
@ -873,7 +873,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation type="vanished">当变量占用栈空间大于此值时报错</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+240"/>
|
||||
<location line="+247"/>
|
||||
<location line="+7"/>
|
||||
<location line="+23"/>
|
||||
<location line="+27"/>
|
||||
|
@ -902,7 +902,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation type="vanished">编译时自动加入字符编码选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-141"/>
|
||||
<location line="-148"/>
|
||||
<location line="+3"/>
|
||||
<source>Auto Find Compilers</source>
|
||||
<translation>自动搜索编译器</translation>
|
||||
|
@ -913,6 +913,11 @@ p, li { white-space: pre-wrap; }
|
|||
<source>Find Compiler in the Folder</source>
|
||||
<translation>在指定文件夹中搜索编译器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+7"/>
|
||||
<source>Add Compiler</source>
|
||||
<translation>添加编译器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+7"/>
|
||||
<location line="+3"/>
|
||||
|
@ -1163,31 +1168,34 @@ p, li { white-space: pre-wrap; }
|
|||
</message>
|
||||
<message>
|
||||
<location line="+10"/>
|
||||
<source>Compiler Set Folder</source>
|
||||
<translation>编译器所在文件夹</translation>
|
||||
<source>Compiler Folder</source>
|
||||
<translation>编译器文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+18"/>
|
||||
<location line="+156"/>
|
||||
<source>Compiler</source>
|
||||
<translation>编译器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Compiler Set Folder</source>
|
||||
<translation type="vanished">编译器所在文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-138"/>
|
||||
<source>New name</source>
|
||||
<translation>新名称</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+67"/>
|
||||
<location line="+68"/>
|
||||
<source>Locate C Compiler</source>
|
||||
<translation>定位C编译器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<source>Executable files (*.exe)</source>
|
||||
<translation>可执行文件 (*.exe)</translation>
|
||||
<translation type="vanished">可执行文件 (*.exe)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-50"/>
|
||||
<location line="+12"/>
|
||||
<source>Locate C++ Compiler</source>
|
||||
<translation>定位C++编译器</translation>
|
||||
</message>
|
||||
|
@ -1593,10 +1601,10 @@ p, li { white-space: pre-wrap; }
|
|||
<translation type="vanished">失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editor.cpp" line="+384"/>
|
||||
<location filename="../editor.cpp" line="+385"/>
|
||||
<location line="+70"/>
|
||||
<location line="+29"/>
|
||||
<location line="+1093"/>
|
||||
<location line="+1094"/>
|
||||
<location line="+5"/>
|
||||
<location line="+21"/>
|
||||
<location line="+5"/>
|
||||
|
@ -1608,7 +1616,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation type="vanished">无法写入文件"%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-1480"/>
|
||||
<location line="-1481"/>
|
||||
<location line="+434"/>
|
||||
<source>Error Load File</source>
|
||||
<translation>载入文件错误</translation>
|
||||
|
@ -1648,7 +1656,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation>文件%1已经被打开!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1122"/>
|
||||
<location line="+1123"/>
|
||||
<source>The text to be copied exceeds count limit!</source>
|
||||
<translation>要复制的内容超过了行数限制!</translation>
|
||||
</message>
|
||||
|
@ -1678,7 +1686,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation>十进制: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1154"/>
|
||||
<location line="+1153"/>
|
||||
<source>Print Document</source>
|
||||
<translation>打印文档</translation>
|
||||
</message>
|
||||
|
@ -1694,7 +1702,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation type="vanished">未找到符号'%1'!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+920"/>
|
||||
<location line="+928"/>
|
||||
<source>astyle not found</source>
|
||||
<translation>找不到astyle程序</translation>
|
||||
</message>
|
||||
|
@ -3222,13 +3230,13 @@ p, li { white-space: pre-wrap; }
|
|||
</message>
|
||||
<message>
|
||||
<location line="+42"/>
|
||||
<location line="+96"/>
|
||||
<location line="+93"/>
|
||||
<source>Can't delete the old executable file "%1".
|
||||
</source>
|
||||
<translation>无法删除旧的可执行文件"%1".</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-83"/>
|
||||
<location line="-80"/>
|
||||
<source>GNU Assembler</source>
|
||||
<translation>GNU汇编</translation>
|
||||
</message>
|
||||
|
@ -3239,7 +3247,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation>找不到适合文件%1的编译器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+43"/>
|
||||
<location line="+40"/>
|
||||
<source>The Compiler '%1' doesn't exists!</source>
|
||||
<translation>编译器程序"%1"不存在!</translation>
|
||||
</message>
|
||||
|
@ -7932,7 +7940,7 @@ p, li { white-space: pre-wrap; }
|
|||
<message>
|
||||
<location filename="../compiler/ojproblemcasesrunner.cpp" line="+87"/>
|
||||
<source>--- stderr from %1 ---</source>
|
||||
<translation type="unfinished">--- 来自“%1”的stderr ---</translation>
|
||||
<translation>--- 来自“%1”的stderr ---</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+91"/>
|
||||
|
@ -8132,7 +8140,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation>文件'%1'已在项目中</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+374"/>
|
||||
<location line="+370"/>
|
||||
<source>Project Updated</source>
|
||||
<translation>项目已升级</translation>
|
||||
</message>
|
||||
|
@ -8297,7 +8305,7 @@ p, li { white-space: pre-wrap; }
|
|||
<context>
|
||||
<name>ProjectCompiler</name>
|
||||
<message>
|
||||
<location filename="../compiler/projectcompiler.cpp" line="+111"/>
|
||||
<location filename="../compiler/projectcompiler.cpp" line="+127"/>
|
||||
<source>Building makefile...</source>
|
||||
<translation>正在构建makefile...</translation>
|
||||
</message>
|
||||
|
@ -8312,12 +8320,12 @@ p, li { white-space: pre-wrap; }
|
|||
<translation>无法写入文件'%1'!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+98"/>
|
||||
<location line="+100"/>
|
||||
<source>- Resource File: %1</source>
|
||||
<translation>- 资源文件: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+345"/>
|
||||
<location line="+343"/>
|
||||
<source>Compiling project changes...</source>
|
||||
<translation>正在编译项目修改...</translation>
|
||||
</message>
|
||||
|
@ -9052,7 +9060,7 @@ p, li { white-space: pre-wrap; }
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../editorlist.cpp" line="+170"/>
|
||||
<location filename="../editorlist.cpp" line="+178"/>
|
||||
<location filename="../mainwindow.cpp" line="+3152"/>
|
||||
<source>Save</source>
|
||||
<translation>保存</translation>
|
||||
|
@ -9092,12 +9100,22 @@ p, li { white-space: pre-wrap; }
|
|||
<source>GAS files</source>
|
||||
<translation>GAS文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+78"/>
|
||||
<source>Executable files (*.exe)</source>
|
||||
<translation>可执行文件 (*.exe)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>All files (*.*)</source>
|
||||
<translation>所有文件 (*.*)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ASM files</source>
|
||||
<translation type="vanished">ASM文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1"/>
|
||||
<location line="-79"/>
|
||||
<source>Lua files</source>
|
||||
<translation>Lua文件</translation>
|
||||
</message>
|
||||
|
@ -9239,7 +9257,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation>生成调试信息(-g3)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settings.cpp" line="+3449"/>
|
||||
<location filename="../settings.cpp" line="+3450"/>
|
||||
<source>Would you like Red Panda C++ to search for compilers in PATH?</source>
|
||||
<translation>您同意小熊猫C++在PATH路径中寻找gcc编译器吗?</translation>
|
||||
</message>
|
||||
|
@ -9482,7 +9500,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation>您需要小熊猫C++在下列位置搜索编译器吗:<br />%1<br />%2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/compilersetoptionwidget.cpp" line="-453"/>
|
||||
<location filename="../settingsdialog/compilersetoptionwidget.cpp" line="-454"/>
|
||||
<source>Binaries</source>
|
||||
<translation>二进制文件</translation>
|
||||
</message>
|
||||
|
@ -9528,7 +9546,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation type="vanished">下标"%1"越界</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../utils.cpp" line="+469"/>
|
||||
<location filename="../utils.cpp" line="+472"/>
|
||||
<source>bytes</source>
|
||||
<translation>字节</translation>
|
||||
</message>
|
||||
|
@ -11607,7 +11625,7 @@ p, li { white-space: pre-wrap; }
|
|||
<translation>插入宏指令</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+86"/>
|
||||
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+87"/>
|
||||
<source>Save Changes?</source>
|
||||
<translation>保存修改?</translation>
|
||||
</message>
|
||||
|
@ -11646,9 +11664,8 @@ p, li { white-space: pre-wrap; }
|
|||
<translation>选择程序</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>Executable files (*.exe)</source>
|
||||
<translation>可执行文件 (*.exe)</translation>
|
||||
<translation type="vanished">可执行文件 (*.exe)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
|
|
@ -456,7 +456,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+548"/>
|
||||
<location line="+556"/>
|
||||
<source>The compiler process for '%1' failed to start.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -491,7 +491,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-633"/>
|
||||
<location line="-641"/>
|
||||
<source> - Command: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -653,6 +653,11 @@
|
|||
<source>Find Compiler in the Folder</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+7"/>
|
||||
<source>Add Compiler</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+7"/>
|
||||
<location line="+3"/>
|
||||
|
@ -826,11 +831,16 @@
|
|||
</message>
|
||||
<message>
|
||||
<location line="+10"/>
|
||||
<source>Compiler Set Folder</source>
|
||||
<source>Compiler Folder</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+18"/>
|
||||
<location line="+156"/>
|
||||
<source>Compiler</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-138"/>
|
||||
<source>New name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -875,22 +885,12 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/compilersetoptionwidget.cpp" line="+67"/>
|
||||
<location filename="../settingsdialog/compilersetoptionwidget.cpp" line="+68"/>
|
||||
<source>Locate C Compiler</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<location line="+12"/>
|
||||
<source>Executable files (*.exe)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-50"/>
|
||||
<source>Locate C++ Compiler</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -915,7 +915,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-176"/>
|
||||
<location line="-177"/>
|
||||
<source>Searching for compilers...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1224,10 +1224,10 @@
|
|||
<context>
|
||||
<name>Editor</name>
|
||||
<message>
|
||||
<location filename="../editor.cpp" line="+384"/>
|
||||
<location filename="../editor.cpp" line="+385"/>
|
||||
<location line="+70"/>
|
||||
<location line="+29"/>
|
||||
<location line="+1093"/>
|
||||
<location line="+1094"/>
|
||||
<location line="+5"/>
|
||||
<location line="+21"/>
|
||||
<location line="+5"/>
|
||||
|
@ -1235,7 +1235,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-1187"/>
|
||||
<location line="-1188"/>
|
||||
<source>Save As</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1245,7 +1245,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1122"/>
|
||||
<location line="+1123"/>
|
||||
<source>The text to be copied exceeds count limit!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1265,7 +1265,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1692"/>
|
||||
<location line="+1691"/>
|
||||
<source>Print Document</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1277,7 +1277,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+920"/>
|
||||
<location line="+928"/>
|
||||
<source>astyle not found</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1302,13 +1302,13 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-5374"/>
|
||||
<location line="-5382"/>
|
||||
<location line="+434"/>
|
||||
<source>Error Load File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1583"/>
|
||||
<location line="+1584"/>
|
||||
<source>hex: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2716,18 +2716,18 @@
|
|||
</message>
|
||||
<message>
|
||||
<location line="+42"/>
|
||||
<location line="+96"/>
|
||||
<location line="+93"/>
|
||||
<source>Can't delete the old executable file "%1".
|
||||
</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-65"/>
|
||||
<location line="-62"/>
|
||||
<source>Can't find the compiler for file %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+43"/>
|
||||
<location line="+40"/>
|
||||
<source>The Compiler '%1' doesn't exists!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2747,7 +2747,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-124"/>
|
||||
<location line="-121"/>
|
||||
<source>Checking single file...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2757,7 +2757,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+70"/>
|
||||
<location line="+67"/>
|
||||
<source>Command: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -7152,7 +7152,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+374"/>
|
||||
<location line="+370"/>
|
||||
<source>Project Updated</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -7217,7 +7217,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-1105"/>
|
||||
<location line="-1101"/>
|
||||
<location line="+99"/>
|
||||
<source>Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@ -7320,7 +7320,7 @@
|
|||
<context>
|
||||
<name>ProjectCompiler</name>
|
||||
<message>
|
||||
<location filename="../compiler/projectcompiler.cpp" line="+111"/>
|
||||
<location filename="../compiler/projectcompiler.cpp" line="+127"/>
|
||||
<source>Building makefile...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -7335,12 +7335,12 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+98"/>
|
||||
<location line="+100"/>
|
||||
<source>- Resource File: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+345"/>
|
||||
<location line="+343"/>
|
||||
<source>Compiling project changes...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -7739,7 +7739,7 @@
|
|||
<context>
|
||||
<name>ProjectModel</name>
|
||||
<message>
|
||||
<location filename="../project.cpp" line="+1592"/>
|
||||
<location filename="../project.cpp" line="+1588"/>
|
||||
<source>File exists</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -8007,7 +8007,7 @@
|
|||
<location filename="../autolinkmanager.cpp" line="+54"/>
|
||||
<location line="+16"/>
|
||||
<location line="+19"/>
|
||||
<location filename="../settings.cpp" line="+4051"/>
|
||||
<location filename="../settings.cpp" line="+4052"/>
|
||||
<location filename="../widgets/ojproblemsetmodel.cpp" line="-401"/>
|
||||
<location line="+61"/>
|
||||
<source>Can't open file '%1' for read.</source>
|
||||
|
@ -8288,7 +8288,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editorlist.cpp" line="+170"/>
|
||||
<location filename="../editorlist.cpp" line="+178"/>
|
||||
<location filename="../mainwindow.cpp" line="+3152"/>
|
||||
<source>Save</source>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@ -8488,7 +8488,17 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../utils.cpp" line="+469"/>
|
||||
<location line="+75"/>
|
||||
<source>Executable files (*.exe)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>All files (*.*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../utils.cpp" line="+472"/>
|
||||
<source>bytes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -8564,7 +8574,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systemconsts.cpp" line="-3"/>
|
||||
<location filename="../systemconsts.cpp" line="-80"/>
|
||||
<source>GAS files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -9970,7 +9980,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+86"/>
|
||||
<location filename="../settingsdialog/toolsgeneralwidget.cpp" line="+87"/>
|
||||
<source>Save Changes?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -9985,12 +9995,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>Executable files (*.exe)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="-188"/>
|
||||
<location line="-186"/>
|
||||
<source>Do you want to save changes to "%1"?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
Loading…
Reference in New Issue