diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-07-26 16:08:41 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-07-26 16:14:42 +0200 |
commit | 455b677f8e2f4d18fd3a8fe18fbf0e2d2cce5ba2 (patch) | |
tree | a04ff287f351b28c61cb57239a61819383bb5c62 /src/plugins/qtsupport | |
parent | ed7c80d4c6f0c1268836f6079d78e4560661412b (diff) | |
download | qt-creator-455b677f8e2f4d18fd3a8fe18fbf0e2d2cce5ba2.tar.gz |
tr()-fixes for 2.6
- 'profile' -> 'target'.
- 'qt version' -> 'Qt version'. Fix occurrences in comments as
well to make grepping easier.
- Placeholders.
Change-Id: I451eae2f0571bccf1e75cf0def425a09fa80855b
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/qtsupport')
-rw-r--r-- | src/plugins/qtsupport/baseqtversion.h | 2 | ||||
-rw-r--r-- | src/plugins/qtsupport/exampleslistmodel.cpp | 2 | ||||
-rw-r--r-- | src/plugins/qtsupport/qtoptionspage.cpp | 8 | ||||
-rw-r--r-- | src/plugins/qtsupport/qtversionmanager.cpp | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/qtsupport/baseqtversion.h b/src/plugins/qtsupport/baseqtversion.h index 5b4461811c..8051e6d147 100644 --- a/src/plugins/qtsupport/baseqtversion.h +++ b/src/plugins/qtsupport/baseqtversion.h @@ -245,7 +245,7 @@ private: QString findQtBinary(Binaries binary) const; void updateMkspec() const; void setId(int id); // used by the qtversionmanager for legacy restore - // and by the qtoptionspage to replace qt versions + // and by the qtoptionspage to replace Qt versions QString m_displayName; int m_id; bool m_isAutodetected; diff --git a/src/plugins/qtsupport/exampleslistmodel.cpp b/src/plugins/qtsupport/exampleslistmodel.cpp index 75b424fe22..8fec616964 100644 --- a/src/plugins/qtsupport/exampleslistmodel.cpp +++ b/src/plugins/qtsupport/exampleslistmodel.cpp @@ -326,7 +326,7 @@ QStringList ExamplesListModel::exampleSources(QString *examplesFallback, QString return sources; // try to find a suitable Qt version - m_updateOnQtVersionsChanged = true; // this must be updated when the qt versions change + m_updateOnQtVersionsChanged = true; // this must be updated when the Qt versions change // fallbacks are passed back if no example manifest is found // and we fallback to Qt Creator's shipped manifest (e.g. only old Qt Versions found) QString potentialExamplesFallback; diff --git a/src/plugins/qtsupport/qtoptionspage.cpp b/src/plugins/qtsupport/qtoptionspage.cpp index 803de478cb..f0c0ab580d 100644 --- a/src/plugins/qtsupport/qtoptionspage.cpp +++ b/src/plugins/qtsupport/qtoptionspage.cpp @@ -700,7 +700,7 @@ void QtOptionsPageWidget::editPath() if (current->type() != version->type()) { // not the same type, error out QMessageBox::critical(this, tr("Qt versions incompatible"), - tr("The qt version selected must be for the same target."), + tr("The Qt version selected must be for the same target."), QMessageBox::Ok); delete version; return; @@ -911,7 +911,7 @@ void QtOptionsPageWidget::updateDebuggingHelperUi() } } -// To be called if a qt version was removed or added +// To be called if a Qt version was removed or added void QtOptionsPageWidget::updateCleanUpButton() { bool hasInvalidVersion = false; @@ -1057,7 +1057,7 @@ void QtOptionsPageWidget::apply() this, SLOT(updateQtVersions(QList<int>,QList<int>,QList<int>))); } -/* Checks that the qt version name is unique +/* Checks that the Qt version name is unique * and otherwise changes the name * */ @@ -1115,7 +1115,7 @@ QString QtOptionsPageWidget::searchKeywords() const // Symbian specific, could be factored out to the factory // checking m_configurationWidget is not enough, we want them to be a keyword - // regardless of which qt versions configuration widget is currently active + // regardless of which Qt versions configuration widget is currently active ts << sep << tr("S60 SDK:") << sep << tr("SBS v2 directory:"); diff --git a/src/plugins/qtsupport/qtversionmanager.cpp b/src/plugins/qtsupport/qtversionmanager.cpp index 94bcd5b91a..856d3fa928 100644 --- a/src/plugins/qtsupport/qtversionmanager.cpp +++ b/src/plugins/qtsupport/qtversionmanager.cpp @@ -141,7 +141,7 @@ void QtVersionManager::extensionsInitialized() if (!success) { // We did neither restore our settings or upgraded // in that case figure out if there's a qt in path - // and add it to the qt versions + // and add it to the Qt versions findSystemQt(); } @@ -288,7 +288,7 @@ void QtVersionManager::updateFromInstaller() qDebug("Warning: Unable to find factory for type '%s'", qPrintable(type)); continue; } - // First try to find a existing qt version to update + // First try to find a existing Qt version to update bool restored = false; foreach (BaseQtVersion *v, m_versions) { if (v->autodetectionSource() == autoDetectionSource) { |