aboutsummaryrefslogtreecommitdiff
path: root/src/qt_common/qt_path_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt_common/qt_path_util.cpp')
-rw-r--r--src/qt_common/qt_path_util.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qt_common/qt_path_util.cpp b/src/qt_common/qt_path_util.cpp
index 761e6e8405..632424e0ca 100644
--- a/src/qt_common/qt_path_util.cpp
+++ b/src/qt_common/qt_path_util.cpp
@@ -17,7 +17,12 @@ bool OpenShaderCache(u64 program_id, QObject *parent)
const auto shader_cache_dir = Common::FS::GetEdenPath(Common::FS::EdenPath::ShaderDir);
const auto shader_cache_folder_path{shader_cache_dir / fmt::format("{:016x}", program_id)};
if (!Common::FS::CreateDirs(shader_cache_folder_path)) {
- QtCommon::Frontend::ShowMessage(QMessageBox::Warning, "Error Opening Shader Cache", "Failed to create or open shader cache for this title, ensure your app data directory has write permissions.", QMessageBox::Ok, parent);
+ QtCommon::Frontend::ShowMessage(QMessageBox::Warning,
+ tr("Error Opening Shader Cache"),
+ tr("Failed to create or open shader cache for this title, "
+ "ensure your app data directory has write permissions."),
+ QMessageBox::Ok,
+ parent);
}
const auto shader_path_string{Common::FS::PathToUTF8String(shader_cache_folder_path)};