From c3c1183308dbe00a14b8cf5e3c58e92bd9edfaf6 Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Thu, 12 Dec 2019 14:47:35 -0500
Subject: fixed alt colors in saves list for dark.qss translated some sanity
checks warnings fixed filter list not refreshing selection correctly
---
src/sanitychecks.cpp | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
(limited to 'src/sanitychecks.cpp')
diff --git a/src/sanitychecks.cpp b/src/sanitychecks.cpp
index 330735ed..bdf762d9 100644
--- a/src/sanitychecks.cpp
+++ b/src/sanitychecks.cpp
@@ -110,7 +110,11 @@ bool isFileBlocked(const QFileInfo& fi)
}
// file is blocked
- log::warn("'{}': file is blocked, zone id is {}", path, toString(z));
+ log::warn("{}", QObject::tr(
+ "'%1': file is blocked (%2)")
+ .arg(path)
+ .arg(toString(z)));
+
return true;
}
@@ -199,9 +203,9 @@ int checkMissingFiles()
const QFileInfo file(dir + "/" + name);
if (!file.exists()) {
- log::warn(
- "'{}' seems to be missing, an antivirus may have deleted it",
- file.absoluteFilePath());
+ log::warn("{}", QObject::tr(
+ "'%1' seems to be missing, an antivirus may have deleted it")
+ .arg(file.absoluteFilePath()));
++n;
}
@@ -231,10 +235,13 @@ int checkIncompatibleModule(const env::Module& m)
for (auto&& p : names) {
if (file.fileName().compare(p.first, Qt::CaseInsensitive) == 0) {
- log::warn(
- "{} is loaded. This program is known to cause issues with "
+ log::warn("{}", QObject::tr(
+ "%1 is loaded. This program is known to cause issues with "
"Mod Organizer, such as freezing or blank windows. Consider "
- "uninstalling it. ({})", p.second, file.absoluteFilePath());
+ "uninstalling it.")
+ .arg(p.second));
+
+ log::warn("{}", file.absoluteFilePath());
++n;
}
--
cgit v1.3.1
From 26158687a8a6d3f9eef38a8004f242cf8046268c Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Thu, 12 Dec 2019 14:51:42 -0500
Subject: added SS3DevProps.dll to checks
---
src/organizer_en.ts | 2 +-
src/sanitychecks.cpp | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
(limited to 'src/sanitychecks.cpp')
diff --git a/src/organizer_en.ts b/src/organizer_en.ts
index 6101c8e7..593e4457 100644
--- a/src/organizer_en.ts
+++ b/src/organizer_en.ts
@@ -6766,7 +6766,7 @@ You can restart Mod Organizer as administrator and try launching the program aga
-
+ %1 is loaded. This program is known to cause issues with Mod Organizer, such as freezing or blank windows. Consider uninstalling it.%1 is loaded. This program is known to cause issues with Mod Organizer, such as freezing or blank windows. Consider uninstalling it. (%2)
diff --git a/src/sanitychecks.cpp b/src/sanitychecks.cpp
index bdf762d9..6da42e79 100644
--- a/src/sanitychecks.cpp
+++ b/src/sanitychecks.cpp
@@ -227,7 +227,8 @@ int checkIncompatibleModule(const env::Module& m)
static const std::map names = {
{"NahimicOSD.dll", "Nahimic"},
{"RTSSHooks64.dll", "RivaTuner Statistics Server"},
- {"SSAudioOSD.dll", "SteelSeries Audio"}
+ {"SSAudioOSD.dll", "SteelSeries Audio"},
+ {"SS3DevProps.dll", "Sonic Suite 3"}
};
const QFileInfo file(m.path());
--
cgit v1.3.1