From 14a29e07c034b585aea46a381a8daec971cf5312 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann <Thomas.Hartmann@nokia.com> Date: Thu, 29 Apr 2010 09:53:29 +0200 Subject: [PATCH] QmlDesigner.propertyEditor: add missing qsTr() --- .../qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml | 2 +- share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml | 2 +- .../qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml | 2 +- share/qtcreator/qmldesigner/propertyeditor/Qt/emptyPane.qml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml index 9704bdc530e..29c498bac28 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml @@ -25,7 +25,7 @@ GroupBox { visible: showIsWrapping layout: HorizontalLayout { Label { - text: "Wrap Mode" + text: qsTr("Wrap Mode") } ComboBox { baseStateFlag: isBaseState diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml index 32574ec5e2c..3c4b95f95e6 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml @@ -18,7 +18,7 @@ QFrame { checkable: true; checked: true; id: standardMode; - toolTip: qsTr(""special properties"); + toolTip: qsTr("special properties"); //iconFromFile: "images/rect-icon.png"; text: backendValues === undefined || backendValues.className === undefined || backendValues.className == "empty" ? "empty" : backendValues.className.value onClicked: { diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml index ecdc849b7c2..a5ad08b3833 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml @@ -26,7 +26,7 @@ GroupBox { visible: isTextInput layout: HorizontalLayout { - Label {text: "Echo Mode"} + Label {text: qsTr("Echo Mode") } ComboBox { baseStateFlag: isBaseState diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/emptyPane.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/emptyPane.qml index dab550c9a56..b1a1a2b7822 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/emptyPane.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/emptyPane.qml @@ -35,7 +35,7 @@ PropertyFrame { bottomMargin: 2; QLabel { minimumHeight: 20; - text: "none or multiple items selected"; + text: qsTr("none or multiple items selected"); alignment: "AlignHCenter"; } } -- GitLab