forked from qt-creator/qt-creator
tr()-Fixes in QNX plugin.
Fix capitalization of message box titles, fix some message to be in line with QtSupport. Change-Id: I6ff2b930fa8e10ef164588d76ff233e1e57ae63f Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com> Reviewed-by: Mehdi Fekari <mfekari@rim.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -93,7 +93,7 @@ bool QNXPlugin::initialize(const QStringList &arguments, QString *errorString)
|
||||
Core::MimeGlobPattern barDescriptorGlobPattern(QRegExp(QLatin1String("*.xml"), Qt::CaseInsensitive, QRegExp::Wildcard), Core::MimeGlobPattern::MinWeight + 1);
|
||||
Core::MimeType barDescriptorMimeType;
|
||||
barDescriptorMimeType.setType(QLatin1String(Constants::QNX_BAR_DESCRIPTOR_MIME_TYPE));
|
||||
barDescriptorMimeType.setComment(tr("Bar descriptor file (BlackBerry"));
|
||||
barDescriptorMimeType.setComment(tr("Bar descriptor file (BlackBerry)"));
|
||||
barDescriptorMimeType.setGlobPatterns(QList<Core::MimeGlobPattern>() << barDescriptorGlobPattern);
|
||||
barDescriptorMimeType.addMagicMatcher(QSharedPointer<Core::IMagicMatcher>(new BarDescriptorMagicMatcher));
|
||||
barDescriptorMimeType.setSubClassesOf(QStringList() << QLatin1String("application/xml"));
|
||||
|
||||
Reference in New Issue
Block a user