GUI: Use tr() to make visible strings translatable.

This commit is contained in:
Daniel Marjamäki 2013-12-26 11:24:05 +01:00
parent 4131c621c9
commit 6785f07458
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ Settings MainWindow::GetCppcheckSettings()
posix = result.library.load(applicationFilePath.toLatin1(), "posix"); posix = result.library.load(applicationFilePath.toLatin1(), "posix");
if (!std || !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) { if (result._jobs <= 1) {
result._jobs = 1; result._jobs = 1;