forked from qt-creator/qt-creator
tr()-Fixes in QmlDesigner.
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>247</width>
|
<width>267</width>
|
||||||
<height>311</height>
|
<height>333</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
@@ -122,7 +122,7 @@ qlineargradient(spread:pad, x1:0.585, y1:0.0284091, x2:0.517, y2:1, stop:0 rgba(
|
|||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QStackedWidget" name="stackedWidget">
|
<widget class="QStackedWidget" name="stackedWidget">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="page">
|
<widget class="QWidget" name="page">
|
||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
@@ -171,162 +171,162 @@ qlineargradient(spread:pad, x1:0.585, y1:0.0284091, x2:0.517, y2:1, stop:0 rgba(
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInQuad</string>
|
<string notr="true">easeInQuad</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutQuad</string>
|
<string notr="true">easeOutQuad</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInOutQuad</string>
|
<string notr="true">easeInOutQuad</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutInQuad</string>
|
<string notr="true">easeOutInQuad</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInCubic</string>
|
<string notr="true">easeInCubic</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutCubic</string>
|
<string notr="true">easeOutCubic</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInOutCubic</string>
|
<string notr="true">easeInOutCubic</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutInCubic</string>
|
<string notr="true">easeOutInCubic</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutInBounce</string>
|
<string notr="true">easeOutInBounce</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInOutBounce</string>
|
<string notr="true">easeInOutBounce</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutBounce</string>
|
<string notr="true">easeOutBounce</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInBounce</string>
|
<string notr="true">easeInBounce</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutInBack</string>
|
<string notr="true">easeOutInBack</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInOutBack</string>
|
<string notr="true">easeInOutBack</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutBack</string>
|
<string notr="true">easeOutBack</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInBack</string>
|
<string notr="true">easeInBack</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutInElastic</string>
|
<string notr="true">easeOutInElastic</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInOutElastic</string>
|
<string notr="true">easeInOutElastic</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutElastic</string>
|
<string notr="true">easeOutElastic</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInElastic</string>
|
<string notr="true">easeInElastic</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutInCirc</string>
|
<string notr="true">easeOutInCirc</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInOutCirc</string>
|
<string notr="true">easeInOutCirc</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutCirc</string>
|
<string notr="true">easeOutCirc</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInCirc</string>
|
<string notr="true">easeInCirc</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutInExpo</string>
|
<string notr="true">easeOutInExpo</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInOutExpo</string>
|
<string notr="true">easeInOutExpo</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutExpo</string>
|
<string notr="true">easeOutExpo</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInExpo</string>
|
<string notr="true">easeInExpo</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutInSine</string>
|
<string notr="true">easeOutInSine</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInOutSine</string>
|
<string notr="true">easeInOutSine</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeOutSine</string>
|
<string notr="true">easeOutSine</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>easeInSine</string>
|
<string notr="true">easeInSine</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ void ExpressionQueryWidget::showResult()
|
|||||||
QString result;
|
QString result;
|
||||||
|
|
||||||
if (value.type() == QVariant::List || value.type() == QVariant::StringList) {
|
if (value.type() == QVariant::List || value.type() == QVariant::StringList) {
|
||||||
result = tr("<%1 items>", "%1 = number of items").arg(value.toList().count());
|
result = tr("<%n items>", 0, value.toList().count());
|
||||||
} else if (value.isNull()) {
|
} else if (value.isNull()) {
|
||||||
result = QLatin1String("<no value>");
|
result = QLatin1String("<no value>");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ void ObjectPropertiesView::setPropertyValue(PropertiesViewItem *item, const QVar
|
|||||||
qDeleteAll(item->takeChildren());
|
qDeleteAll(item->takeChildren());
|
||||||
|
|
||||||
QVariantList variants = value.toList();
|
QVariantList variants = value.toList();
|
||||||
item->setText(1, tr("<%1 items>", "%1 = number of items").arg(variants.count()));
|
item->setText(1, tr("<%n items>", 0, variants.count()));
|
||||||
item->setText(2, QString::fromUtf8(value.typeName()));
|
item->setText(2, QString::fromUtf8(value.typeName()));
|
||||||
|
|
||||||
PropertiesViewItem *child;
|
PropertiesViewItem *child;
|
||||||
|
|||||||
Reference in New Issue
Block a user