mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-28 21:00:20 +02:00
apply suggestion from code review
Co-authored-by: TheKodeToad <TheKodeToad@proton.me> Signed-off-by: maskers <97827489+maskersss@users.noreply.github.com>
This commit is contained in:
parent
6d017b5f0b
commit
a910337e9d
@ -103,11 +103,11 @@ std::optional<QString> GuiUtil::uploadPaste(const QString& name, const QString&
|
||||
if (baseUrl.toString() == "https://api.mclo.gs" && text.count("\n") > MaxMclogsLines) {
|
||||
auto truncateResponse = CustomMessageBox::selectable(
|
||||
parentWidget, QObject::tr("Confirm Truncate"),
|
||||
QObject::tr("The log exceeds mclo.gs' limit: %1 lines (max %2).\n"
|
||||
"Prism can keep the first %3 and last %4 lines, trimming the middle.\n\n"
|
||||
QObject::tr("The log has %1 lines, exceeding mclo.gs' limit of %2.\n"
|
||||
"The launcher can keep the first %3 and last %4 lines, trimming the middle.\n\n"
|
||||
"If you choose 'No', mclo.gs will only keep the first %2 lines, cutting off "
|
||||
"potentially useful info like crashes at the end.\n\n"
|
||||
"Proceed with Prism's truncation?")
|
||||
"Proceed with truncation?")
|
||||
.arg(text.count("\n"))
|
||||
.arg(MaxMclogsLines)
|
||||
.arg(InitialMclogsLines)
|
||||
|
Loading…
x
Reference in New Issue
Block a user