update mesages

This commit is contained in:
Roy Qu 2022-07-19 20:29:46 +08:00
parent 3a9b1e4198
commit 6f7f637d11
5 changed files with 342 additions and 335 deletions

View File

@ -5729,10 +5729,6 @@
<source>Would you like Red Panda C++ to remove them for you and add the default paths to the valid paths?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Leaving those directories will lead to problems during compilation.&lt;br /&gt;&lt;br /&gt;Unless you know exactly what you&apos;re doing, it is recommended that you click Yes.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Compiler set not configuared.</source>
<translation type="unfinished"></translation>
@ -5821,6 +5817,10 @@
<source>Do not compile, stop after the preprocessing stage (-E)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Leaving those directories will lead to problems during compilation.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RegisterModel</name>

File diff suppressed because it is too large Load Diff

View File

@ -5729,10 +5729,6 @@
<source>Would you like Red Panda C++ to remove them for you and add the default paths to the valid paths?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Leaving those directories will lead to problems during compilation.&lt;br /&gt;&lt;br /&gt;Unless you know exactly what you&apos;re doing, it is recommended that you click Yes.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Compiler set not configuared.</source>
<translation type="unfinished"></translation>
@ -5821,6 +5817,10 @@
<source>Do not compile, stop after the preprocessing stage (-E)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Leaving those directories will lead to problems during compilation.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RegisterModel</name>

View File

@ -2531,9 +2531,11 @@ void Settings::CompilerSets::loadSets()
.arg(pCurrentSet->name())
+"<br /><br />"
+msg
+QObject::tr("Would you like Red Panda C++ to remove them for you and add the default paths to the valid paths?")
+"<br /><br />"
+QObject::tr("Leaving those directories will lead to problems during compilation.<br /><br />Unless you know exactly what you're doing, it is recommended that you click Yes."),
+QObject::tr("Leaving those directories will lead to problems during compilation.")
+"<br /><br />"
+QObject::tr("Would you like Red Panda C++ to remove them for you and add the default paths to the valid paths?")
,
QMessageBox::Yes | QMessageBox::No) != QMessageBox::Yes) {
return;
}

View File

@ -173,7 +173,8 @@ int main(int argc, char** argv) {
return 0;
}
JOBOBJECT_EXTENDED_LIMIT_INFORMATION info = { 0 };
JOBOBJECT_EXTENDED_LIMIT_INFORMATION info;
memset(&info,0,sizeof(JOBOBJECT_EXTENDED_LIMIT_INFORMATION));
info.BasicLimitInformation.LimitFlags = JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE;
WINBOOL bSuccess = SetInformationJobObject( hJob, JobObjectExtendedLimitInformation, &info, sizeof( info ) );
if ( bSuccess == FALSE ) {