Spreadsheet: message box titles to Title Case (#23842)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user