Spreadsheet: message box titles to Title Case (#23842)

This commit is contained in:
Roy-043
2025-09-11 14:45:37 +02:00
committed by GitHub
parent 770f769b1f
commit a4b659fcbf
3 changed files with 5 additions and 5 deletions

View File

@@ -220,7 +220,7 @@ void DlgBindSheet::accept()
App::Range toRange(toCellStart, toCellEnd, true);
if (fromRange.size() != toRange.size()) {
auto res = QMessageBox::warning(this,
tr("Bind cells"),
tr("Bind Cells"),
tr("Source and target cell count mismatch. "
"Partial binding may still work.\n\n"
"Continue?"),
@@ -297,7 +297,7 @@ void DlgBindSheet::onDiscard()
}
catch (Base::Exception& e) {
e.reportException();
QMessageBox::critical(this, tr("Unbind cells"), QString::fromUtf8(e.what()));
QMessageBox::critical(this, tr("Unbind Cells"), QString::fromUtf8(e.what()));
Gui::Command::abortCommand();
}
}

View File

@@ -277,7 +277,7 @@ void DlgSheetConf::accept()
}
catch (Base::Exception& e) {
e.reportException();
QMessageBox::critical(this, tr("Setup configuration table"), QString::fromUtf8(e.what()));
QMessageBox::critical(this, tr("Setup Configuration Table"), QString::fromUtf8(e.what()));
if (commandActive) {
Gui::Command::abortCommand();
}
@@ -335,7 +335,7 @@ void DlgSheetConf::onDiscard()
}
catch (Base::Exception& e) {
e.reportException();
QMessageBox::critical(this, tr("Unsetup configuration table"), QString::fromUtf8(e.what()));
QMessageBox::critical(this, tr("Unsetup Configuration Table"), QString::fromUtf8(e.what()));
if (commandActive) {
Gui::Command::abortCommand();
}

View File

@@ -813,7 +813,7 @@ void SheetTableView::pasteClipboard()
catch (Base::Exception& e) {
e.reportException();
QMessageBox::critical(Gui::getMainWindow(),
QObject::tr("Copy & Paste failed"),
QObject::tr("Copy & Paste Failed"),
QString::fromLatin1(e.what()));
return;
}