Commit 66de48d3 authored by Kai Koehne's avatar Kai Koehne

QmlDesigner: Enable some translations in property editor panes

Add more strings to the list to be translated
parent 71aafa65
......@@ -14,7 +14,7 @@ QWidget {
maximumHeight: 240;
finished: finishedNotify;
caption: "Image";
caption: qsTr("Image");
layout: VerticalLayout {
......@@ -31,7 +31,7 @@ QWidget {
IntEditor {
id: pixelSize;
backendValue: backendValues.border_left;
caption: "Left"
caption: qsTr("Left")
baseStateFlag: isBaseState;
step: 1;
......@@ -41,7 +41,7 @@ QWidget {
IntEditor {
backendValue: backendValues.border_right;
caption: "Right"
caption: qsTr("Right")
baseStateFlag: isBaseState;
step: 1;
......@@ -51,7 +51,7 @@ QWidget {
IntEditor {
backendValue: backendValues.border_top;
caption: "Top"
caption: qsTr("Top")
baseStateFlag: isBaseState;
step: 1;
......@@ -61,7 +61,7 @@ QWidget {
IntEditor {
backendValue: backendValues.border_bottom;
caption: "Bottom"
caption: qsTr("Bottom")
baseStateFlag: isBaseState;
step: 1;
......
......@@ -15,7 +15,7 @@ QWidget {
maximumHeight: 200;
finished: finishedNotify;
caption: "Grid";
caption: qsTr("Grid");
id: gridSpecifics;
layout: QVBoxLayout {
......@@ -29,7 +29,7 @@ QWidget {
IntEditor {
id: spacing;
backendValue: backendValues.spacing;
caption: "Spacing"
caption: qsTr("Spacing")
baseStateFlag: isBaseState;
step: 1;
minimumValue: 0;
......
......@@ -2,7 +2,7 @@ import Qt 4.6
import Bauhaus 1.0
GroupBox {
caption: "Effect"
caption: qsTr("Effect")
id: extended;
maximumHeight: 260;
......@@ -73,7 +73,7 @@ GroupBox {
IntEditor {
id: blurRadius;
backendValue: backendValues.effect.complexNode.exists ? backendValues.effect.complexNode.properties.blurRadius : null;
caption: "Blur Radius:"
caption: qsTr("Blur Radius:")
baseStateFlag: isBaseState;
step: 1;
......@@ -125,7 +125,7 @@ GroupBox {
IntEditor {
id: pixelSize;
backendValue: backendValues.effect.complexNode.exists ? backendValues.effect.complexNode.properties.pixelSize : null;
caption: "Pixel Size:"
caption: qsTr("Pixel Size:")
baseStateFlag: isBaseState;
step: 1;
......@@ -143,7 +143,7 @@ GroupBox {
IntEditor {
id: blurRadiusShadow;
backendValue: backendValues.effect.complexNode.exists ? backendValues.effect.complexNode.properties.blurRadius : null;
caption: "Blur Radius:"
caption: qsTr("Blur Radius:")
baseStateFlag: isBaseState;
step: 1;
......@@ -166,7 +166,7 @@ GroupBox {
IntEditor {
id: xOffset;
backendValue: backendValues.effect.complexNode.exists ? backendValues.effect.complexNode.properties.xOffset : null;
caption: "x Offset: "
caption: qsTr("x Offset: ")
baseStateFlag: isBaseState;
step: 1;
......@@ -177,7 +177,7 @@ GroupBox {
IntEditor {
id: yOffset;
backendValue: backendValues.effect.complexNode.exists ? backendValues.effect.complexNode.properties.yOffset : null;
caption: "y Offset: "
caption: qsTr("y Offset: ")
baseStateFlag: isBaseState;
step: 1;
......
......@@ -13,7 +13,7 @@ QWidget {
GroupBox {
finished: finishedNotify;
caption: "Flickable";
caption: qsTr("Flickable")
layout: QVBoxLayout {
topMargin: 15;
......
......@@ -3,7 +3,7 @@ import Bauhaus 1.0
GroupBox {
id: fontGroupBox
caption: "Font";
caption: qsTr("Font")
property var showStyle: false
layout: VerticalLayout {
......
......@@ -15,7 +15,7 @@ GroupBox {
maximumHeight: 200;
finished: finishedNotify;
caption: "Grid";
caption: qsTr("Grid")
id: gridSpecifics;
layout: QVBoxLayout {
......@@ -29,7 +29,7 @@ GroupBox {
IntEditor {
id: spacing;
backendValue: backendValues.spacing;
caption: "Spacing"
caption: qsTr("Spacing")
baseStateFlag: isBaseState;
step: 1;
minimumValue: 0;
......@@ -39,7 +39,7 @@ GroupBox {
IntEditor {
id: rows;
backendValue: backendValues.rows;
caption: "Rows"
caption: qsTr("Rows")
baseStateFlag: isBaseState;
step: 1;
minimumValue: 1;
......@@ -49,7 +49,7 @@ GroupBox {
IntEditor {
id: columns;
backendValue: backendValues.columns;
caption: "Columns"
caption: qsTr("Columns")
baseStateFlag: isBaseState;
step: 1;
minimumValue: 1;
......
......@@ -17,7 +17,7 @@ QWidget {
maximumHeight: 240;
finished: finishedNotify;
caption: "Image";
caption: qsTr("Image")
layout: VerticalLayout {
......
......@@ -4,7 +4,7 @@ import Bauhaus 1.0
GroupBox {
finished: finishedNotify;
caption: "Layout";
caption: qsTr("Layout")
id: layout;
enabled: anchorBackend.hasParent;
......
......@@ -13,7 +13,7 @@ QWidget {
GroupBox {
finished: finishedNotify;
caption: "List View";
caption: qsTr("List View")
layout: QVBoxLayout {
topMargin: 15;
......
......@@ -3,7 +3,7 @@ import Bauhaus 1.0
GroupBox {
finished: finishedNotify;
caption: "Manipulation"
caption: qsTr("Manipulation")
maximumHeight: 200;
minimumHeight: 180;
id: mofifiers;
......@@ -121,7 +121,7 @@ GroupBox {
}
IntEditor {
backendValue: backendValues.rotation
caption: "Rotation"
caption: qsTr("Rotation")
baseStateFlag: isBaseState;
step: 10;
minimumValue: 0;
......@@ -130,7 +130,7 @@ GroupBox {
IntEditor {
backendValue: backendValues.z == undefined ? 0 : backendValues.z
caption: "z"
caption: qsTr("z")
baseStateFlag: isBaseState;
step: 1;
minimumValue: -100;
......
......@@ -17,7 +17,7 @@ QWidget {
GroupBox {
finished: finishedNotify;
caption: "Rectangle"
caption: qsTr("Rectangle")
layout: VerticalLayout {
rightMargin: 24
......
......@@ -15,7 +15,7 @@ QWidget {
maximumHeight: 200;
finished: finishedNotify;
caption: "Grid";
caption: qsTr("Grid")
id: gridSpecifics;
layout: QVBoxLayout {
......@@ -29,7 +29,7 @@ QWidget {
IntEditor {
id: spacing;
backendValue: backendValues.spacing;
caption: "Spacing"
caption: qsTr("Spacing")
baseStateFlag: isBaseState;
step: 1;
minimumValue: 0;
......
......@@ -4,7 +4,7 @@ import Bauhaus 1.0
GroupBox {
id: standardTextGroupBox
caption: "Text";
caption: qsTr("Text")
property bool showIsWrapping: false
property bool showVerticalAlignment: false
......
......@@ -3,7 +3,7 @@ import Bauhaus 1.0
GroupBox {
finished: finishedNotify;
caption: "Visibility"
caption: qsTr("Visibility")
maximumHeight: 200;
id: visibility;
......
......@@ -15,7 +15,7 @@ QWidget {
maximumHeight: 200;
finished: finishedNotify;
caption: "WebView";
caption: qsTr("WebView")
id: webViewSpecifics;
layout: VerticalLayout {
......@@ -36,7 +36,7 @@ QWidget {
IntEditor {
id: preferredWidth;
backendValue: backendValues.preferredWidth;
caption: "Prefered Width"
caption: qsTr("Preferred Width")
baseStateFlag: isBaseState;
step: 1;
minimumValue: 0;
......@@ -46,7 +46,7 @@ QWidget {
IntEditor {
id: webPageWidth;
backendValue: backendValues.preferredHeight;
caption: "Page Height"
caption: qsTr("Page Height")
baseStateFlag: isBaseState;
step: 1;
minimumValue: 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment