forked from qt-creator/qt-creator
QML JS: fix UI text
Change-Id: I5d1235fc7c86b12127b4b7c6392a24a4f4de84c2 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -273,7 +273,7 @@ void LinkPrivate::populateImportedTypes(Imports *imports, Document::Ptr doc)
|
|||||||
imports->setImportFailed();
|
imports->setImportFailed();
|
||||||
if (info.ast()) {
|
if (info.ast()) {
|
||||||
error(doc, info.ast()->fileNameToken,
|
error(doc, info.ast()->fileNameToken,
|
||||||
Link::tr("file or directory not found"));
|
Link::tr("File or directory not found."));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -436,11 +436,11 @@ Import LinkPrivate::importNonFile(Document::Ptr doc, const ImportInfo &importInf
|
|||||||
error(doc, locationFromRange(importInfo.ast()->firstSourceLocation(),
|
error(doc, locationFromRange(importInfo.ast()->firstSourceLocation(),
|
||||||
importInfo.ast()->lastSourceLocation()),
|
importInfo.ast()->lastSourceLocation()),
|
||||||
Link::tr(
|
Link::tr(
|
||||||
"QML module not found\n\n"
|
"QML module not found.\n\n"
|
||||||
"Import paths:\n"
|
"Import paths:\n"
|
||||||
"%1\n\n"
|
"%1\n\n"
|
||||||
"For qmake projects, use the QML_IMPORT_PATH variable to add import paths.\n"
|
"For qmake projects, use the QML_IMPORT_PATH variable to add import paths.\n"
|
||||||
"For qbs projects, declare and set a qmlImportPaths property in your product "
|
"For Qbs projects, declare and set a qmlImportPaths property in your product "
|
||||||
"to add import paths.\n"
|
"to add import paths.\n"
|
||||||
"For qmlproject projects, use the importPaths property to add import paths.").arg(
|
"For qmlproject projects, use the importPaths property to add import paths.").arg(
|
||||||
importPaths.join(QLatin1Char('\n'))));
|
importPaths.join(QLatin1Char('\n'))));
|
||||||
|
|||||||
Reference in New Issue
Block a user