Assembly: Update UI strings for consistency

Closes: #22194
This commit is contained in:
Ryan Kembrey
2025-06-26 23:15:22 +10:00
committed by Kacper Donat
parent 627a89d8db
commit 2c7ee9b8ed
14 changed files with 93 additions and 112 deletions

View File

@@ -64,12 +64,12 @@ class CommandCreateSimulation:
def GetResources(self):
return {
"Pixmap": "Assembly_CreateSimulation",
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateSimulation", "Create Simulation"),
"MenuText": QT_TRANSLATE_NOOP("Assembly_CreateSimulation", "Simulation"),
"Accel": "V",
"ToolTip": "<p>"
+ QT_TRANSLATE_NOOP(
"Assembly_CreateSimulation",
"Create a simulation of the current assembly.",
"Creates a new simulation of the current assembly",
)
+ "</p>",
"CmdType": "ForEdit",
@@ -495,13 +495,13 @@ class MotionEditDialog:
layout = QGridLayout(self.dialog)
# Add labels and widgets to the layout
layout.addWidget(QLabel("Joint:"), 0, 0)
layout.addWidget(QLabel("Joint"), 0, 0)
layout.addWidget(self.joint_combo, 0, 1)
layout.addWidget(QLabel("Motion Type:"), 1, 0)
layout.addWidget(QLabel("Motion Type"), 1, 0)
layout.addWidget(self.motion_type_combo, 1, 1)
layout.addWidget(QLabel("Formula:"), 2, 0)
layout.addWidget(QLabel("Formula"), 2, 0)
layout.addWidget(formula_edit, 2, 1)
# Add the help label above the buttons