L10n: First round of tr()-Fixes for 2.2

This commit is contained in:
Friedemann Kleint
2011-02-14 16:36:05 +01:00
parent 94548a1e1f
commit f37d9b55aa
16 changed files with 64 additions and 77 deletions

View File

@@ -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;
}