forked from qt-creator/qt-creator
tr()-Fixes for 2.6.
- ProjectExplorer::Profile should appear as 'Target' in the UI. - Fix messagebox title capitalization - Fix Q_DECLARE_TR_FUNCTIONS to contain fully qualified class names, add where applicable to replace QCoreApplication::translate(). - Introduce message utility function for the commonly used 'No tool chain set up for this profile' message to ToolChainProfileInformation. - Introduce message utility functions related to adding files to version control to VcsManager to be shared by QmlJsEditor. - Fix typos. - Remove QObject::tr(), QCoreApplication::tr(). - Do not translate diagnostic console warnings of QmlProfiler. Change-Id: I6cee717a504796ef39f6eae58f552c5c8630adf3 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -136,7 +136,7 @@ QString BlackBerryQtVersion::type() const
|
||||
|
||||
QString BlackBerryQtVersion::description() const
|
||||
{
|
||||
return QCoreApplication::translate("QtVersion", "BlackBerry %1", "Qt Version is meant for BlackBerry").arg(archString());
|
||||
return tr("BlackBerry %1", "Qt Version is meant for BlackBerry").arg(archString());
|
||||
}
|
||||
|
||||
QMultiMap<QString, QString> BlackBerryQtVersion::environment() const
|
||||
@@ -167,10 +167,10 @@ QString BlackBerryQtVersion::platformName() const
|
||||
|
||||
QString BlackBerryQtVersion::platformDisplayName() const
|
||||
{
|
||||
return QCoreApplication::tr("BlackBerry");
|
||||
return tr("BlackBerry");
|
||||
}
|
||||
|
||||
QString BlackBerryQtVersion::sdkDescription() const
|
||||
{
|
||||
return QCoreApplication::tr("BlackBerry Native SDK:");
|
||||
return tr("BlackBerry Native SDK:");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user