forked from qt-creator/qt-creator
CppEditor: Convert to Tr::tr
Change-Id: Ic4025e06e17c45eb6dc2162fb7f21f5b8aebe84d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "cppprojectinfogenerator.h"
|
||||
|
||||
#include "cppeditortr.h"
|
||||
#include "cppprojectfilecategorizer.h"
|
||||
|
||||
#include <projectexplorer/headerpath.h>
|
||||
@@ -47,12 +48,12 @@ ProjectInfo::ConstPtr ProjectInfoGenerator::generate()
|
||||
});
|
||||
};
|
||||
if (m_cToolchainMissing) {
|
||||
showWarning(QCoreApplication::translate("CppEditor",
|
||||
showWarning(Tr::tr(
|
||||
"The project contains C source files, but the currently active kit "
|
||||
"has no C compiler. The code model will not be fully functional."));
|
||||
}
|
||||
if (m_cxxToolchainMissing) {
|
||||
showWarning(QCoreApplication::translate("CppEditor",
|
||||
showWarning(Tr::tr(
|
||||
"The project contains C++ source files, but the currently active kit "
|
||||
"has no C++ compiler. The code model will not be fully functional."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user