Haskell: Tr::tr()

Change-Id: Ia63322cb5644ab7e63805c0e123eebe5170dd1ad
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2023-02-10 17:12:59 +01:00
parent 54f104a567
commit e9365d399f
8 changed files with 37 additions and 14 deletions

View File

@@ -3,6 +3,8 @@
#include "haskellmanager.h"
#include "haskelltr.h"
#include <coreplugin/messagemanager.h>
#include <utils/algorithm.h>
#include <utils/commandline.h>
@@ -92,7 +94,7 @@ void HaskellManager::openGhci(const FilePath &haskellFile)
connect(p, &QtcProcess::done, p, [p] {
if (p->result() != ProcessResult::FinishedWithSuccess) {
Core::MessageManager::writeDisrupting(
tr("Failed to run GHCi: \"%1\".").arg(p->errorString()));
Tr::tr("Failed to run GHCi: \"%1\".").arg(p->errorString()));
}
p->deleteLater();
});