diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/ExpressionEditor.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/ExpressionEditor.qml index e96def4b26eb2fe13c692ff8b09f4be40456447c..70750d469ccfb135d776d6241b0b32a1f1c813da 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/ExpressionEditor.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/ExpressionEditor.qml @@ -48,7 +48,7 @@ QWidget { ExpressionEdit { id: textEdit; styleSheet: "QTextEdit {border-radius: 0px;}" - documentTitle: "Expression" + documentTitle: qsTr("Expression") width: expressionEdit.width height: expressionEdit.height diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/ExtendedFunctionButton.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/ExtendedFunctionButton.qml index bf99982d1a7b84bdc5fb5b8fafc88d17e926c02d..70bfbd22275a9fdbc892ea150ec5cdf29b717334 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/ExtendedFunctionButton.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/ExtendedFunctionButton.qml @@ -61,14 +61,14 @@ QToolButton { actions: [ QAction { - text: "Reset"; + text: qsTr("Reset") onTriggered: { backendValue.resetValue(); } }, QAction { - text: "Set Expression"; + text: qsTr("Set Expression"); onTriggered: { expressionEdit.globalY = extendedFunctionButton.globalY; expressionEdit.backendValue = extendedFunctionButton.backendValue diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml index dfc62d76bc779940e8e0ec689eda4b12331cb949..ddc16d996f6db66c89549d3801e832401e326700 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontGroupBox.qml @@ -12,7 +12,7 @@ GroupBox { layout: HorizontalLayout { rightMargin: 12 Label { - text: "Font" + text: qsTr("Font") } FontComboBox { id: fontSelector @@ -28,7 +28,7 @@ GroupBox { IntEditor { maximumWidth: 200 - caption: "Size" + caption: qsTr("Size") slider: false backendValue: backendValues.font_pointSize baseStateFlag: isBaseState; @@ -37,17 +37,17 @@ GroupBox { QWidget { layout: HorizontalLayout { Label { - text: "Font Style" + text: qsTr("Font Style") } CheckBox { - text: "Bold"; + text: qsTr("Bold") backendValue: backendValues.font_bold baseStateFlag: isBaseState; checkable: true; } CheckBox { - text: "Italic"; + text: qsTr("Italic") backendValue: backendValues.font_italic baseStateFlag: isBaseState; checkable: true; @@ -61,7 +61,7 @@ GroupBox { layout: HorizontalLayout { rightMargin: 12 Label { - text: "Style" + text: qsTr("Style") } ComboBox { diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Geometry.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Geometry.qml index 560c0f80c87590f5a64792cd8132263ad9ad776d..2fc5595799d30726309fbf1651abff066de3d9e4 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Geometry.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Geometry.qml @@ -5,7 +5,7 @@ GroupBox { finished: finishedNotify id: geometry - caption: "Geometry" + caption: qsTr("Geometry") layout: VerticalLayout { @@ -13,7 +13,7 @@ GroupBox { layout: HorizontalLayout { Label { - text: "Position" + text: qsTr("Position") } DoubleSpinBox { @@ -52,7 +52,7 @@ GroupBox { layout: HorizontalLayout { Label { - text: "Size" + text: qsTr("Size") } DoubleSpinBox { diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/ImageSpecifics.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/ImageSpecifics.qml index 0b03bb1463af8f051024d74ad713ba6a7ae37a11..ccf0ca82d66c546bdce13f7bfe024b6ae360cfb9 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/ImageSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/ImageSpecifics.qml @@ -23,7 +23,7 @@ QWidget { FileWidget { enabled: isBaseState || backendValues.id.value != ""; - text: "Source: "; + text: qsTr("Source ") fileName: backendValues.source.value; onFileNameChanged: { backendValues.source.value = fileName; @@ -33,7 +33,7 @@ QWidget { QWidget { layout: HorizontalLayout { Label { - text: "Fill Mode" + text: qsTr("Fill Mode") } ComboBox { @@ -51,11 +51,11 @@ QWidget { QWidget { layout: HorizontalLayout { Label { - text: "Aliasing" + text: qsTr("Aliasing") } CheckBox { - text: "Smooth"; + text: qsTr("Smooth") backendValue: backendValues.smooth baseStateFlag: isBaseState; checkable: true; diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml index e57c76e2d109c92bbece3121e4802e4c20689857..19e9c21cec364f98752314c960e4b48e1054020c 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml @@ -14,7 +14,7 @@ GroupBox { layout: VerticalLayout { Label { - text: "Anchors" + text: qsTr("Anchors") } QWidget { layout: HorizontalLayout { @@ -46,7 +46,7 @@ GroupBox { } Label { - text: "Target" + text: qsTr("Target") fixedWidth: targetLabelWidth } SiblingComboBox { @@ -64,7 +64,7 @@ GroupBox { IntEditor { id:topbox slider: false - caption: "Margin" + caption: qsTr("Margin") backendValue: backendValues.anchors_topMargin baseStateFlag: isBaseState; maximumValue: 1000 @@ -95,7 +95,7 @@ GroupBox { } Label { - text: "Target" + text: qsTr("Target") fixedWidth: targetLabelWidth } SiblingComboBox { @@ -112,7 +112,7 @@ GroupBox { leftMargin: leftMarginMargin IntEditor { slider: false - caption: "Margin" + caption: qsTr("Margin") backendValue: backendValues.anchors_bottomMargin baseStateFlag: isBaseState; maximumValue: 1000 @@ -143,7 +143,7 @@ GroupBox { } Label { - text: "Target" + text: qsTr("Target") fixedWidth: targetLabelWidth } SiblingComboBox { @@ -159,7 +159,7 @@ GroupBox { leftMargin: leftMarginMargin IntEditor { slider: false - caption: "Margin" + caption: qsTr("Margin") backendValue: backendValues.anchors_leftMargin baseStateFlag: isBaseState; maximumValue: 1000 @@ -190,7 +190,7 @@ GroupBox { } Label { - text: "Target" + text: qsTr("Target") fixedWidth: targetLabelWidth } SiblingComboBox { @@ -206,7 +206,7 @@ GroupBox { leftMargin: leftMarginMargin IntEditor { slider: false - caption: "Margin" + caption: qsTr("Margin") backendValue: backendValues.anchors_rightMargin baseStateFlag: isBaseState; maximumValue: 1000 @@ -237,7 +237,7 @@ GroupBox { } Label { - text: "Target" + text: qsTr("Target") fixedWidth: targetLabelWidth } SiblingComboBox { @@ -253,7 +253,7 @@ GroupBox { leftMargin: leftMarginMargin IntEditor { slider: false - caption: "Margin" + caption: qsTr("Margin") baseStateFlag: isBaseState; backendValue: backendValues.anchors_horizontalCenterOffset maximumValue: 1000 @@ -284,7 +284,7 @@ GroupBox { } Label { - text: "Target" + text: qsTr("Target") fixedWidth: targetLabelWidth } SiblingComboBox { @@ -300,7 +300,7 @@ GroupBox { leftMargin: leftMarginMargin IntEditor { slider: false - caption: "Margin" + caption: qsTr("Margin") backendValue: backendValues.anchors_verticalCenterOffset baseStateFlag: isBaseState; maximumValue: 1000 diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/RectangleColorGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/RectangleColorGroupBox.qml index a8299551f89fa4ae70ac2a1a5963b6e152df8dc7..3855b6c87dcf0d2c59eb940b9525bd080429aad6 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/RectangleColorGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/RectangleColorGroupBox.qml @@ -4,20 +4,18 @@ import Bauhaus 1.0 GroupBox { id: rectangleColorGroupBox - caption: "Colors" + caption: qsTr("Colors") layout: VerticalLayout { ColorGroupBox { - caption: "Rectangle" - - finished: finishedNotify - + caption: qsTr("Rectangle") + finished: finishedNotify backendColor: backendValues.color } ColorGroupBox { - caption: "Border" + caption: qsTr("Border") finished: finishedNotify backendColor: backendValues.border_color diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/RectangleSpecifics.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/RectangleSpecifics.qml index 197ee274c12ad0cd1cabbb272f0a3b3f7f409181..e6d06a2af245a49a5eb1cca4411f65f04695d503 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/RectangleSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/RectangleSpecifics.qml @@ -24,7 +24,7 @@ QWidget { IntEditor { backendValue: backendValues.radius - caption: "Radius" + caption: qsTr("Radius") baseStateFlag: isBaseState; step: 1; minimumValue: 0; @@ -36,7 +36,7 @@ QWidget { id: borderWidth; backendValue: backendValues.border_width === undefined ? 0 : backendValues.border_width - caption: "Border" + caption: qsTr("Border") baseStateFlag: isBaseState; step: 1; diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextColorGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextColorGroupBox.qml index 38926cb8345e42e6b18caabf70a5829b465c668e..70ac01631ee7898d29d039e2291f396c191b433a 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextColorGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextColorGroupBox.qml @@ -3,40 +3,40 @@ import Bauhaus 1.0 GroupBox { id: standardTextColorGroupBox - - property bool showStyleColor: false - property bool showSelectionColor: false - property bool showSelectedTextColor: false - caption: "Color" + property bool showStyleColor: false + property bool showSelectionColor: false + property bool showSelectedTextColor: false + + caption: qsTr("Color") layout: VerticalLayout { ColorGroupBox { - caption: "Text" + caption: qsTr("Text") finished: finishedNotify backendColor: backendValues.color } ColorGroupBox { - caption: "Style" - visible: showStyleColor + caption: qsTr("Style") + visible: showStyleColor finished: finishedNotify backendColor: backendValues.styleColor } - - ColorGroupBox { - caption: "Selection" - visible: showSelectionColor + + ColorGroupBox { + caption: qsTr("Selection") + visible: showSelectionColor finished: finishedNotify backendColor: backendValues.selectionColor } ColorGroupBox { - visible: showSelectedTextColor - caption: "Selected" + visible: showSelectedTextColor + caption: qsTr("Selected") finished: finishedNotify diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml index 056c176e13763cfc9be349a3e2a05e719f886b6a..8722d8302ea5400e760611b63dfb41c946d153c0 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml @@ -14,7 +14,7 @@ GroupBox { layout: HorizontalLayout { Label { - text: "Text" + text: qsTr("Text") } LineEdit { @@ -31,7 +31,7 @@ GroupBox { } CheckBox { baseStateFlag: isBaseState; - text: "Is Wrapping"; + text: qsTr("Is Wrapping") checkable: true; backendValue: backendValues.wrap; } @@ -42,7 +42,7 @@ GroupBox { layout: HorizontalLayout { Label { - text: "Alignment" + text: qsTr("Alignment") } AlignmentHorizontalButtons {} AlignmentVerticalButtons { visible: showVerticalAlignment } diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextEditSpecifics.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextEditSpecifics.qml index 75e317155bcdb40b12c09d070b6db860f749f42c..6d44a036df5a3d65acc4295ae250ccfe4dff2288 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextEditSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextEditSpecifics.qml @@ -22,7 +22,7 @@ QWidget { } GroupBox { - caption: "Text Edit" + caption: qsTr("Text Edit") finished: finishedNotify; layout: VerticalLayout { @@ -30,7 +30,7 @@ QWidget { layout: HorizontalLayout { rightMargin: 12 Label { - text: "Format" + text: qsTr("Format") } ComboBox { baseStateFlag: isBaseState diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml index 25d69558d992aae3163f3f588069f65d79a1412d..e2c9a09ac08e3879f02ff26720de72d6bacb6dd1 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml @@ -4,16 +4,16 @@ import Bauhaus 1.0 GroupBox { id: textInputGroupBox - caption: "Text Input"; + caption: qsTr("Text Input") layout: VerticalLayout { QWidget { layout: HorizontalLayout { - Label {text: "Flags"} + Label {text: qsTr("Flags") } CheckBox { - text: "Read Only"; + text: qsTr("Read Only") baseStateFlag: isBaseState; checkable: true; backendValue: backendValues.readOnly; @@ -31,7 +31,7 @@ GroupBox { CheckBox { - text: "Cursor Visible"; + text: qsTr("Cursor Visible") baseStateFlag: isBaseState; checkable: true; backendValue: backendValues.cursorVisible; @@ -45,7 +45,7 @@ GroupBox { layout: HorizontalLayout { Label {text: ""} CheckBox { - text: "Focus On Press"; + text: qsTr("Focus On Press") baseStateFlag: isBaseState; checkable: true; backendValue: backendValues. focusOnPress; diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml index eaa1543c74396435383b3fe116f65773e4dfbc0b..6623e3a2519b226f703c622737430ed0031ba532 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml @@ -4,14 +4,14 @@ import Bauhaus 1.0 GroupBox { id: type; finished: finishedNotify; - caption: "Type"; + caption: qsTr("Type") layout: VerticalLayout { spacing: 6 QWidget { layout: HorizontalLayout { Label { - text: "type"; + text: qsTr("Type") windowTextColor: isBaseState ? "#000000" : "#FF0000"; } @@ -28,7 +28,7 @@ GroupBox { layout: HorizontalLayout { Label { - text: "Id"; + text: qsTr("Id"); } QLineEdit { diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml index 85e92ec22a773a17c24b6e1478c1ce93798417a6..1768e5937a4768d8d680fbda16e313593b8fe8dd 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Visibility.qml @@ -11,19 +11,19 @@ GroupBox { QWidget { layout: HorizontalLayout { - Label { - text: "Visibility" + Label { + text: qsTr("Visibility") } CheckBox { id: visibleCheckBox; - text: "Is visible"; + text: qsTr("Is visible") backendValue: backendValues.visible; baseStateFlag: isBaseState; checkable: true; } CheckBox { id: clipCheckBox; - text: "Clip Content"; + text: qsTr("Clip Content") backendValue: backendValues.clip; baseStateFlag: isBaseState; checkable: true; @@ -34,7 +34,7 @@ GroupBox { layout: HorizontalLayout { Label { - text: "Opacity" + text: qsTr("Opacity") } DoubleSpinBox {