Merge pull request #5157 from aetherstrata/develop

NOISSUE Use better wording in some text strings
This commit is contained in:
Petr Mrázek
2023-05-16 21:09:32 +02:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ void LoggedProcess::on_exit(int exit_code, QProcess::ExitStatus status)
if (status == QProcess::NormalExit)
{
//: Message displayed on instance exit
emit log({tr("Process exited with code %1 (0x%2).").arg(exit_code).arg(exit_code, 0, 16)}, MessageLevel::Launcher);
emit log({tr("Process exited with exit code %1 (0x%2).").arg(exit_code).arg(exit_code, 0, 16)}, MessageLevel::Launcher);
changeState(LoggedProcess::Finished);
}
else
@@ -76,7 +76,7 @@ void LoggedProcess::on_exit(int exit_code, QProcess::ExitStatus status)
if(exit_code == -1)
emit log({tr("Process crashed.")}, MessageLevel::Launcher);
else
emit log({tr("Process crashed with exitcode %1 (0x%2).").arg(exit_code).arg(exit_code, 0, 16)}, MessageLevel::Launcher);
emit log({tr("Process crashed with exit code %1 (0x%2).").arg(exit_code).arg(exit_code, 0, 16)}, MessageLevel::Launcher);
changeState(LoggedProcess::Crashed);
}

View File

@@ -242,7 +242,7 @@ void LogPage::on_btnPaste_clicked()
auto response = CustomMessageBox::selectable(
this,
tr("Log upload"),
tr("Are you sure you want to upload a log file?"),
tr("Are you sure you want to upload this log file?"),
QMessageBox::Warning,
QMessageBox::Yes | QMessageBox::No,
QMessageBox::No

View File

@@ -183,7 +183,7 @@ void OtherLogsPage::on_btnPaste_clicked()
auto response = CustomMessageBox::selectable(
this,
tr("Log upload"),
tr("Are you sure you want to upload a log file?"),
tr("Are you sure you want to upload this log file?"),
QMessageBox::Warning,
QMessageBox::Yes | QMessageBox::No,
QMessageBox::No