QmlJS: Improve error message.

This first line of an error needs to make sense on its own.

Change-Id: Ibf3bce7107e8b3df8fa4d0e75924945027678c63
Reviewed-on: http://codereview.qt-project.org/6114
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
Christian Kamm
2011-09-29 12:42:14 +02:00
parent 2a4a56b2be
commit 3d4e508d0c

View File

@@ -222,9 +222,8 @@ void PluginDumper::dumpAllPlugins()
static QString noTypeinfoError(const QString &libraryPath)
{
return PluginDumper::tr("QML module at:\n"
"%1\n"
"does not contain information about components contained in plugins.\n"
return PluginDumper::tr("QML module does not contain information about components contained in plugins\n\n"
"Module path: %1\n"
"See \"Using QML Modules with Plugins\" in the documentation.").arg(
libraryPath);
}