forked from qt-creator/qt-creator
L10n: First round of tr()-Fixes for 2.2
This commit is contained in:
@@ -145,19 +145,14 @@ Core::GeneratedFiles QmlProjectApplicationWizard::generateFiles(const QWizard *w
|
||||
{
|
||||
QTextStream out(&projectContents);
|
||||
|
||||
out
|
||||
//: Comment added to generated .qmlproject file
|
||||
<< "/* "
|
||||
<< tr("File generated by QtCreator, version %1",
|
||||
"qmlproject Template").arg(Core::Constants::IDE_VERSION_LONG) << " */" << endl
|
||||
out << "/* File generated by Qt Creator, version " << Core::Constants::IDE_VERSION_LONG << " */" << endl
|
||||
<< endl
|
||||
<< "import QmlProject 1.1" << endl
|
||||
<< endl
|
||||
<< "Project {" << endl
|
||||
//: Comment added to generated .qmlproject file
|
||||
<< " mainFile: \"" << QDir(projectPath).relativeFilePath(mainFileName) << "\"" << endl
|
||||
<< " mainFile: \"" << QDir(projectPath).relativeFilePath(mainFileName) << '"' << endl
|
||||
<< endl
|
||||
<< " /* " << tr("Include .qml, .js, and image files from current directory and subdirectories", "qmlproject Template") << " */" << endl
|
||||
<< " /* Include .qml, .js, and image files from current directory and subdirectories */" << endl
|
||||
<< " QmlFiles {" << endl
|
||||
<< " directory: \".\"" << endl
|
||||
<< " }" << endl
|
||||
@@ -167,8 +162,7 @@ Core::GeneratedFiles QmlProjectApplicationWizard::generateFiles(const QWizard *w
|
||||
<< " ImageFiles {" << endl
|
||||
<< " directory: \".\"" << endl
|
||||
<< " }" << endl
|
||||
//: Comment added to generated .qmlproject file
|
||||
<< " /* " << tr("List of plugin directories passed to QML runtime", "qmlproject Template") << " */" << endl
|
||||
<< " /* List of plugin directories passed to QML runtime */" << endl
|
||||
<< " // importPaths: [ \"../exampleplugin\" ]" << endl
|
||||
<< "}" << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user