From 0b574523e9de0d3f10fa0e802aa5ec6dd41c2a94 Mon Sep 17 00:00:00 2001 From: Kuzemko Alexsandr Date: Mon, 30 May 2022 16:53:06 +0300 Subject: [PATCH] [TD] Fix redefine text in .ui (that has translation on crowdin) with English text without translation ability. This will fix https://github.com/FreeCAD/FreeCAD-translations/issues/50 --- src/Mod/TechDraw/Gui/TaskDetail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/TechDraw/Gui/TaskDetail.cpp b/src/Mod/TechDraw/Gui/TaskDetail.cpp index 8be89aedd7..78fe93ea76 100644 --- a/src/Mod/TechDraw/Gui/TaskDetail.cpp +++ b/src/Mod/TechDraw/Gui/TaskDetail.cpp @@ -293,7 +293,7 @@ void TaskDetail::setUiFromFeat() double scale = detailFeat->Scale.getValue(); QString ref = QString::fromUtf8(detailFeat->Reference.getValue()); - ui->pbDragger->setText(QString::fromUtf8("Drag Highlight")); + ui->pbDragger->setText(tr("Drag Highlight")); ui->pbDragger->setEnabled(true); int decimals = Base::UnitsApi::getDecimals(); ui->qsbX->setUnit(Base::Unit::Length);