Crowdin: Gui: move whitespace out of translation string [skip ci]

This commit is contained in:
wmayer
2021-02-25 10:38:52 +01:00
parent 2f9ad32813
commit f36ba4c56e

View File

@@ -142,7 +142,7 @@ void DlgUnitsCalculator::valueChanged(const Base::Quantity& quant)
// since it expects then a scientific notation number like "1e3"
if ( (ui->UnitInput->text().mid(0, 2) == QString::fromLatin1("ee")) ||
Base::Unit(ui->UnitInput->text()).getTypeString().isEmpty()) {
ui->ValueOutput->setText(tr("unknown unit: ") + ui->UnitInput->text());
ui->ValueOutput->setText(QString::fromLatin1("%1 %2").arg(tr("unknown unit:"), ui->UnitInput->text()));
ui->pushButton_Copy->setEnabled(false);
} else { // the unit is valid
// we can only convert units of the same type, thus check