Commit 1074b081 authored by Robert Loehning's avatar Robert Loehning

ModelEditor: Fix translations in templates

Change-Id: I176bcc60d70609c9623000aaa9cceb33454ad2c5
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: default avatarJochen Becher <jochen_becher@gmx.de>
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent 365c1b78
......@@ -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");
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment