PartDesign: Update UI strings for consistency and correct for new fuctions and typos

Closes: #22128
This commit is contained in:
Max Wilfinger
2025-06-22 15:09:10 +02:00
committed by Kacper Donat
parent b267203e67
commit bee89d0447
87 changed files with 436 additions and 437 deletions

View File

@@ -52,7 +52,7 @@ void ViewProviderPrimitive::attach(App::DocumentObject* obj) {
void ViewProviderPrimitive::setupContextMenu(QMenu* menu, QObject* receiver, const char* member)
{
addDefaultAction(menu, QObject::tr("Edit primitive"));
addDefaultAction(menu, QObject::tr("Edit Primitive"));
PartDesignGui::ViewProvider::setupContextMenu(menu, receiver, member);
}
@@ -67,7 +67,7 @@ bool ViewProviderPrimitive::setEdit(int ModNum)
if (dlg && !primitiveDlg) {
QMessageBox msgBox(Gui::getMainWindow());
msgBox.setText(QObject::tr("A dialog is already open in the task panel"));
msgBox.setInformativeText(QObject::tr("Do you want to close this dialog?"));
msgBox.setInformativeText(QObject::tr("Close this dialog?"));
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
msgBox.setDefaultButton(QMessageBox::Yes);
int ret = msgBox.exec();