From b097779b53e9b440ea9f7a839b840b66f68be553 Mon Sep 17 00:00:00 2001 From: wandererfan Date: Sat, 14 Sep 2024 09:43:06 -0400 Subject: [PATCH] [TD]Use correct translation function (fix #317) - another translation cycle will have to run before the change is apparent. --- src/Mod/TechDraw/Gui/TaskSectionView.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Mod/TechDraw/Gui/TaskSectionView.cpp b/src/Mod/TechDraw/Gui/TaskSectionView.cpp index 1ce02bac58..df0aec33ca 100644 --- a/src/Mod/TechDraw/Gui/TaskSectionView.cpp +++ b/src/Mod/TechDraw/Gui/TaskSectionView.cpp @@ -150,8 +150,7 @@ void TaskSectionView::setUiPrimary() //don't allow updates until a direction is picked ui->pbUpdateNow->setEnabled(false); ui->cbLiveUpdate->setEnabled(false); - QString msgLiteral = - QString::fromUtf8(QT_TRANSLATE_NOOP("TaskSectionView", "No direction set")); + QString msgLiteral = QObject::tr("No direction set"); ui->lPendingUpdates->setText(msgLiteral); }