From 703ae570ab39e4bfeb65f7b749c785cf2e6fe716 Mon Sep 17 00:00:00 2001 From: Rehan Ahmed Date: Fri, 14 Nov 2025 01:49:19 +0530 Subject: [PATCH] Fix case inconsistencies (#24812) * Fix case inconsistency - Input Hints * Fix case inconsistency - Quick Measure * Fix case inconsistency - Navigation Indicator * Fix case inconsistency - BIM Status Widget * Remove .ts translation file changes --------- Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> --- src/Gui/MainWindow.cpp | 4 ++-- src/Mod/BIM/BimStatus.py | 2 +- src/Mod/Tux/NavigationIndicatorGui.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp index 97fa37757b..a2cf7d4dbd 100644 --- a/src/Gui/MainWindow.cpp +++ b/src/Gui/MainWindow.cpp @@ -427,7 +427,7 @@ MainWindow::MainWindow(QWidget* parent, Qt::WindowFlags f) d->hintLabel = new InputHintWidget(statusBar()); d->hintLabel->setObjectName(QStringLiteral("hintLabel")); //: A context menu action used to show or hide the input hints in the status bar - d->hintLabel->setWindowTitle(tr("Input hints")); + d->hintLabel->setWindowTitle(tr("Input Hints")); statusBar()->addWidget(d->hintLabel); @@ -437,7 +437,7 @@ MainWindow::MainWindow(QWidget* parent, Qt::WindowFlags f) statusBar()->addPermanentWidget(d->rightSideLabel); d->rightSideLabel->setObjectName(QStringLiteral("rightSideLabel")); //: A context menu action used to enable or disable quick measure in the status bar - d->rightSideLabel->setWindowTitle(tr("Quick measure")); + d->rightSideLabel->setWindowTitle(tr("Quick Measure")); auto hGrp = App::GetApplication().GetParameterGroupByPath( "User parameter:BaseApp/Preferences/NotificationArea" diff --git a/src/Mod/BIM/BimStatus.py b/src/Mod/BIM/BimStatus.py index 590188c7c4..0af62adda1 100644 --- a/src/Mod/BIM/BimStatus.py +++ b/src/Mod/BIM/BimStatus.py @@ -123,7 +123,7 @@ def setStatusIcons(show=True): statuswidget.setObjectName("BIMStatusWidget") text = translate( "BIMStatusWidget", - "BIM status widget", + "BIM Status Widget", "A context menu action used to show or hide this toolbar widget", ) statuswidget.setWindowTitle(text) diff --git a/src/Mod/Tux/NavigationIndicatorGui.py b/src/Mod/Tux/NavigationIndicatorGui.py index fd740138b6..3e6062356a 100644 --- a/src/Mod/Tux/NavigationIndicatorGui.py +++ b/src/Mod/Tux/NavigationIndicatorGui.py @@ -668,7 +668,7 @@ indicator.adjustSize() indicator.setObjectName("NavigationIndicator") text = QtGui.QApplication.translate( "NavigationIndicator", - "Navigation indicator", + "Navigation Indicator", "A context menu action used to show or hide the 'Navigation indicator' toolbar widget", ) indicator.setWindowTitle(text)