Material: Update UI strings for consistency

Closes: #22130
This commit is contained in:
Max Wilfinger
2025-06-22 15:39:21 +02:00
committed by Kacper Donat
parent 0be9b79093
commit 996bb28199
28 changed files with 121 additions and 123 deletions

View File

@@ -76,7 +76,7 @@ Array2D::Array2D(const QString& propertyName,
ui->tableView->setContextMenuPolicy(Qt::CustomContextMenu);
connect(ui->tableView, &QWidget::customContextMenuRequested, this, &Array2D::onContextMenu);
_deleteAction.setText(tr("Delete row"));
_deleteAction.setText(tr("Delete Row"));
_deleteAction.setShortcut(Gui::QtTools::deleteKeySequence());
connect(&_deleteAction, &QAction::triggered, this, &Array2D::onDelete);
@@ -135,7 +135,7 @@ void Array2D::onDataChanged(const QModelIndex& topLeft,
void Array2D::onContextMenu(const QPoint& pos)
{
QMenu contextMenu(tr("Context menu"), this);
QMenu contextMenu(tr("Context Menu"), this);
contextMenu.addAction(&_deleteAction);
@@ -169,7 +169,7 @@ int Array2D::confirmDelete()
box.setIcon(QMessageBox::Question);
box.setWindowTitle(QObject::tr("Confirm Delete"));
QString prompt = QObject::tr("Are you sure you want to delete the row?");
QString prompt = QObject::tr("Delete the row?");
box.setText(prompt);
box.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel);