diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizardfilegenerator.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizardfilegenerator.cpp index e69c101ce3a..bd43d219359 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonwizardfilegenerator.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonwizardfilegenerator.cpp @@ -111,7 +111,7 @@ Core::GeneratedFile JsonWizardFileGenerator::generateFile(const File &file, gf.setContents(Utils::TemplateEngine::processText(&nested, QString::fromUtf8(reader.data()), errorMessage)); if (!errorMessage->isEmpty()) { - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", "When processing \"%1\":
%2") + *errorMessage = Tr::tr("When processing \"%1\":
%2") .arg(file.source.toUserOutput(), *errorMessage); return Core::GeneratedFile(); } diff --git a/src/plugins/projectexplorer/taskhub.cpp b/src/plugins/projectexplorer/taskhub.cpp index 53b527eae19..841bfb5d4e9 100644 --- a/src/plugins/projectexplorer/taskhub.cpp +++ b/src/plugins/projectexplorer/taskhub.cpp @@ -30,9 +30,9 @@ static TextEditor::TextMarkCategory categoryForType(Task::TaskType type) { switch (type) { case Task::Error: - return {Tr::tr("Taskhub Error"), TASK_MARK_ERROR}; + return {::ProjectExplorer::Tr::tr("Taskhub Error"), TASK_MARK_ERROR}; case Task::Warning: - return {Tr::tr("Taskhub Warning"), TASK_MARK_WARNING}; + return {::ProjectExplorer::Tr::tr("Taskhub Warning"), TASK_MARK_WARNING}; default: return {}; }