forked from qt-creator/qt-creator
ModelEditor: Fix translations in templates
Change-Id: I176bcc60d70609c9623000aaa9cceb33454ad2c5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Jochen Becher <jochen_becher@gmx.de> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
#include "qmt/style/style.h"
|
||||
#include "qmt/style/objectvisuals.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QWidget>
|
||||
#include <QFormLayout>
|
||||
#include <QLineEdit>
|
||||
@@ -1364,7 +1365,7 @@ void PropertiesView::MView::setTitle(const QList<V *> &elements,
|
||||
else
|
||||
m_propertiesTitle = pluralTitle;
|
||||
} else {
|
||||
m_propertiesTitle = tr("Multi-Selection");
|
||||
m_propertiesTitle = QCoreApplication::translate("qmt::PropertiesView::MView", "Multi-Selection");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1389,7 +1390,7 @@ void PropertiesView::MView::setTitle(const MItem *item, const QList<V *> &elemen
|
||||
m_propertiesTitle = pluralTitle;
|
||||
}
|
||||
} else {
|
||||
m_propertiesTitle = tr("Multi-Selection");
|
||||
m_propertiesTitle = QCoreApplication::translate("qmt::PropertiesView::MView", "Multi-Selection");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user