Measure: Translate measurement types
This commit is contained in:
committed by
Yorik van Havre
parent
2388b2841b
commit
7304a7350f
@@ -131,10 +131,10 @@ TaskMeasure::TaskMeasure()
|
||||
|
||||
// Create mode dropdown and add all registered measuretypes
|
||||
modeSwitch = new QComboBox();
|
||||
modeSwitch->addItem(QStringLiteral("Auto"));
|
||||
modeSwitch->addItem(tr("Auto"));
|
||||
|
||||
for (App::MeasureType* mType : App::MeasureManager::getMeasureTypes()) {
|
||||
modeSwitch->addItem(QString::fromLatin1(mType->label.c_str()));
|
||||
modeSwitch->addItem(tr(mType->label.c_str()));
|
||||
}
|
||||
|
||||
// Connect dropdown's change signal to our onModeChange slot
|
||||
|
||||
Reference in New Issue
Block a user