From 4da0e7f0f28101ef0b060103d7d965f7e9880665 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Wed, 4 Apr 2018 00:42:46 +0300 Subject: [PATCH] Translations updated --- limereport/bands/lrdataband.cpp | 4 ++-- limereport/objectinspector/lrobjectitemmodel.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/limereport/bands/lrdataband.cpp b/limereport/bands/lrdataband.cpp index 4a67e58..d6a4b94 100644 --- a/limereport/bands/lrdataband.cpp +++ b/limereport/bands/lrdataband.cpp @@ -83,7 +83,7 @@ void DataBand::preparePopUpMenu(QMenu &menu) { DataBandDesignIntf::preparePopUpMenu(menu); - QAction* autoSplittableAction = menu.addAction(tr("useAlternateBackgroundColor")); + QAction* autoSplittableAction = menu.addAction(tr("Use alternate background color")); autoSplittableAction->setCheckable(true); autoSplittableAction->setChecked(useAlternateBackgroundColor()); } @@ -91,7 +91,7 @@ void DataBand::preparePopUpMenu(QMenu &menu) void DataBand::processPopUpAction(QAction *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()); } } diff --git a/limereport/objectinspector/lrobjectitemmodel.cpp b/limereport/objectinspector/lrobjectitemmodel.cpp index 04b2f20..6fc1dab 100644 --- a/limereport/objectinspector/lrobjectitemmodel.cpp +++ b/limereport/objectinspector/lrobjectitemmodel.cpp @@ -148,6 +148,8 @@ void QObjectPropertyModel::translatePropertyName() tr("series"); tr("titleAlign"); tr("watermark"); + tr("keepTopSpace"); + } void QObjectPropertyModel::clearObjectsList()