From 6785f07458a3d02d0d8e66abbed7867e1f87d6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 26 Dec 2013 11:24:05 +0100 Subject: [PATCH] GUI: Use tr() to make visible strings translatable. --- gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index a62d39be5..9c56a18ee 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -571,7 +571,7 @@ Settings MainWindow::GetCppcheckSettings() posix = result.library.load(applicationFilePath.toLatin1(), "posix"); if (!std || !posix) - QMessageBox::warning(this, "Error", "Failed to load " + QString(!std ? "std.cfg" : "posix.cfg") + ". Your Cppcheck installation is broken."); + QMessageBox::warning(this, tr("Error"), tr("Failed to load %1. Your Cppcheck installation is broken.").arg(!std ? "std.cfg" : "posix.cfg")); if (result._jobs <= 1) { result._jobs = 1;