summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-09-23 15:18:07 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-09-23 15:18:07 +0200
commit19a12103763b52c87606fcf396638303fb3f7974 (patch)
tree5db17db56df2685de94fb86bf478ac608fcacb80 /src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp
parent5e74a3aa1a1536ca9e2caf55d404c11d820b467f (diff)
downloadqt-creator-19a12103763b52c87606fcf396638303fb3f7974.tar.gz
L10n: tr()-fixes.
Diffstat (limited to 'src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp')
-rw-r--r--src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp b/src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp
index c619251546..7f3a873754 100644
--- a/src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp
+++ b/src/plugins/qt4projectmanager/wizards/abstractmobileapp.cpp
@@ -182,7 +182,7 @@ QByteArray AbstractMobileApp::generateDesktopFile(QString *errorMessage) const
{
QFile desktopTemplate(path(DesktopOrigin));
if (!desktopTemplate.open(QIODevice::ReadOnly)) {
- *errorMessage = QCoreApplication::translate("AbstractMobileApp",
+ *errorMessage = QCoreApplication::translate("Qt4ProjectManager::AbstractMobileApp",
"Could not open desktop file template");
return QByteArray();
}
@@ -194,7 +194,8 @@ QByteArray AbstractMobileApp::generateMainCpp(QString *errorMessage) const
{
QFile sourceFile(path(MainCppOrigin));
if (!sourceFile.open(QIODevice::ReadOnly)) {
- *errorMessage = tr("Could not open main.cpp template '%1'.")
+ *errorMessage = QCoreApplication::translate("Qt4ProjectManager::AbstractMobileApp",
+ "Could not open main.cpp template '%1'.")
.arg(sourceFile.fileName());
return QByteArray();
}
@@ -240,7 +241,8 @@ QByteArray AbstractMobileApp::generateProFile(QString *errorMessage) const
const QChar comment = QLatin1Char('#');
QFile proFile(path(AppProOrigin));
if (!proFile.open(QIODevice::ReadOnly)) {
- *errorMessage = tr("Could not open project file template '%1'.")
+ *errorMessage = QCoreApplication::translate("Qt4ProjectManager::AbstractMobileApp",
+ "Could not open project file template '%1'.")
.arg(proFile.fileName());
return QByteArray();
}
@@ -332,7 +334,7 @@ QByteArray AbstractMobileApp::readBlob(const QString &filePath,
{
QFile sourceFile(filePath);
if (!sourceFile.open(QIODevice::ReadOnly)) {
- *errorMsg = QCoreApplication::translate("AbstractMobileApp",
+ *errorMsg = QCoreApplication::translate("Qt4ProjectManager::AbstractMobileApp",
"Could not open template file '%1'.").arg(filePath);
return QByteArray();
}