Translations updated

This commit is contained in:
Arin Alexander 2018-04-04 00:42:46 +03:00
parent bea84a3320
commit 4da0e7f0f2
2 changed files with 4 additions and 2 deletions

View File

@ -83,7 +83,7 @@ void DataBand::preparePopUpMenu(QMenu &menu)
{ {
DataBandDesignIntf::preparePopUpMenu(menu); DataBandDesignIntf::preparePopUpMenu(menu);
QAction* autoSplittableAction = menu.addAction(tr("useAlternateBackgroundColor")); QAction* autoSplittableAction = menu.addAction(tr("Use alternate background color"));
autoSplittableAction->setCheckable(true); autoSplittableAction->setCheckable(true);
autoSplittableAction->setChecked(useAlternateBackgroundColor()); autoSplittableAction->setChecked(useAlternateBackgroundColor());
} }
@ -91,7 +91,7 @@ void DataBand::preparePopUpMenu(QMenu &menu)
void DataBand::processPopUpAction(QAction *action) void DataBand::processPopUpAction(QAction *action)
{ {
DataBandDesignIntf::processPopUpAction(action); DataBandDesignIntf::processPopUpAction(action);
if (action->text().compare(tr("useAlternateBackgroundColor")) == 0){ if (action->text().compare(tr("Use alternate background color")) == 0){
setProperty("useAlternateBackgroundColor",action->isChecked()); setProperty("useAlternateBackgroundColor",action->isChecked());
} }
} }

View File

@ -148,6 +148,8 @@ void QObjectPropertyModel::translatePropertyName()
tr("series"); tr("series");
tr("titleAlign"); tr("titleAlign");
tr("watermark"); tr("watermark");
tr("keepTopSpace");
} }
void QObjectPropertyModel::clearObjectsList() void QObjectPropertyModel::clearObjectsList()