Spreadsheet: Issue #0004473: Expose openCommand() to translation

Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Spreadsheet Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
This commit is contained in:
luz paz
2020-11-28 13:54:55 -05:00
committed by wwmayer
parent a65b3788c6
commit 786d84d288
6 changed files with 22 additions and 22 deletions

View File

@@ -225,7 +225,7 @@ PropertiesDialog::~PropertiesDialog()
void PropertiesDialog::apply()
{
if (ranges.size() > 0) {
Gui::Command::openCommand("Set cell properties");
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Set cell properties"));
std::vector<Range>::const_iterator i = ranges.begin();
bool changes = false;