From 90e98be7992953d4c70cedac44fc0c7a4bac003f Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Thu, 24 May 2018 01:41:45 +0300 Subject: [PATCH] Properties translation added --- limereport/objectinspector/lrobjectitemmodel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/limereport/objectinspector/lrobjectitemmodel.cpp b/limereport/objectinspector/lrobjectitemmodel.cpp index 6fc1dab..9c1450d 100644 --- a/limereport/objectinspector/lrobjectitemmodel.cpp +++ b/limereport/objectinspector/lrobjectitemmodel.cpp @@ -149,7 +149,8 @@ void QObjectPropertyModel::translatePropertyName() tr("titleAlign"); tr("watermark"); tr("keepTopSpace"); - + tr("printable"); + tr("AllLines"); } void QObjectPropertyModel::clearObjectsList() @@ -398,7 +399,7 @@ ObjectPropItem * QObjectPropertyModel::createPropertyItem(QMetaProperty prop, QO 0, 0, QString(prop.name()), - QString(prop.name()), + QString(tr(prop.name())), object->property(prop.name()), parent );