mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 18:36:58 +03:00
Apply suggestions from code review
Co-authored-by: TheKodeToad <TheKodeToad@proton.me> Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
67a724f990
commit
f3495bc4c0
2 changed files with 2 additions and 2 deletions
|
|
@ -429,7 +429,7 @@ bool ModFolderModel::setResourceEnabled(const QModelIndexList& indexes, EnableAc
|
|||
QString yesButton;
|
||||
if (requiredToEnable.size() > 0 && requiredToDisable.size() > 0) {
|
||||
title = tr("Confirm toggle");
|
||||
message = tr("Toggling this mod(s) will cause changes to other mods.\n") +
|
||||
message = tr("Toggling these mod(s) will cause changes to other mods.\n") +
|
||||
tr("%n mod(s) will be enabled\n", "", requiredToEnable.size()) +
|
||||
tr("%n mod(s) will be disabled\n", "", requiredToDisable.size()) +
|
||||
tr("Do you want to automatically apply these related changes?\nIgnoring them may break the game.");
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ void ModFolderPage::removeItems(const QItemSelection& selection)
|
|||
auto affected = m_model->getAffectedMods(indexes, EnableAction::DISABLE);
|
||||
if (!affected.isEmpty()) {
|
||||
auto response = CustomMessageBox::selectable(this, tr("Confirm Disable"),
|
||||
tr("The mods you are tring to disable are required by %1 mods.\n"
|
||||
tr("The mods you are trying to delete are required by %1 mods.\n"
|
||||
"Do you want to disable them?")
|
||||
.arg(affected.length()),
|
||||
QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No, QMessageBox::No)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue