diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.qm b/RedPandaIDE/RedPandaIDE_zh_CN.qm index e0ca4b85..3c48ca64 100644 Binary files a/RedPandaIDE/RedPandaIDE_zh_CN.qm and b/RedPandaIDE/RedPandaIDE_zh_CN.qm differ diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.ts b/RedPandaIDE/RedPandaIDE_zh_CN.ts index ddb1483e..236b1981 100644 --- a/RedPandaIDE/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/RedPandaIDE_zh_CN.ts @@ -412,7 +412,7 @@ '%1' '%2' Are you really want to continue? - 小熊猫C++ will将会清除现有的编译器配置列表,然后在下列文件夹中搜索编译器: + 小熊猫C++ 将会清除现有的编译器配置列表,然后在下列文件夹中搜索编译器: '%1' '%2' 你确定要继续吗? @@ -1273,13 +1273,13 @@ Are you really want to continue? ExecutableRunner - The runner process failed to start. - 无法启动程序运行进程。 + The runner process '%1' failed to start. + The runner process failed to start. + 无法启动程序运行进程'%1'。 - The runner process crashed after starting successfully. - 程序运行进程启动后崩溃。 + 程序运行进程启动后崩溃。 diff --git a/RedPandaIDE/compiler/executablerunner.cpp b/RedPandaIDE/compiler/executablerunner.cpp index 8916e664..45f89fc6 100644 --- a/RedPandaIDE/compiler/executablerunner.cpp +++ b/RedPandaIDE/compiler/executablerunner.cpp @@ -62,12 +62,12 @@ void ExecutableRunner::run() if (errorOccurred) { switch (process.error()) { case QProcess::FailedToStart: - emit runErrorOccurred(tr("The runner process failed to start.")); - break; - case QProcess::Crashed: - if (!mStop) - emit runErrorOccurred(tr("The runner process crashed after starting successfully.")); + emit runErrorOccurred(tr("The runner process '%1' failed to start.").arg(mFilename)); break; +// case QProcess::Crashed: +// if (!mStop) +// emit runErrorOccurred(tr("The runner process crashed after starting successfully.")); +// break; case QProcess::Timedout: emit runErrorOccurred(tr("The last waitFor...() function timed out.")); break;