Properties translation added

This commit is contained in:
Arin Alexander 2018-05-24 01:41:45 +03:00
parent 9a2189f065
commit 90e98be799

View File

@ -149,7 +149,8 @@ void QObjectPropertyModel::translatePropertyName()
tr("titleAlign"); tr("titleAlign");
tr("watermark"); tr("watermark");
tr("keepTopSpace"); tr("keepTopSpace");
tr("printable");
tr("AllLines");
} }
void QObjectPropertyModel::clearObjectsList() void QObjectPropertyModel::clearObjectsList()
@ -398,7 +399,7 @@ ObjectPropItem * QObjectPropertyModel::createPropertyItem(QMetaProperty prop, QO
0, 0,
0, 0,
QString(prop.name()), QString(prop.name()),
QString(prop.name()), QString(tr(prop.name())),
object->property(prop.name()), object->property(prop.name()),
parent parent
); );