QML Designer: Fix UI text in Properties view

- Check capitalization of UI text (titles, headings and captions
  should use title case; labels should use sentence case)
- Fix some label text
- Fix some tooltips

Task-number: QTCREATORBUG-25915
Change-Id: Ifaffe77fa5ad3f9f310bd470ef59b021c1cf6456
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
Leena Miettinen
2021-07-02 10:36:07 +02:00
parent 3b8340b3cf
commit ffd94f1138
34 changed files with 62 additions and 62 deletions

View File

@@ -111,7 +111,7 @@ Section {
}
PropertyLabel {
text: qsTr("Focus on Tab")
text: qsTr("Focus on tab")
tooltip: qsTr("Adds the component to the tab focus chain.")
disabledState: !backendValues.activeFocusOnTab.isAvailable
}
@@ -129,7 +129,7 @@ Section {
}
PropertyLabel {
text: qsTr("Baseline Offset")
text: qsTr("Baseline offset")
tooltip: qsTr("Position of the component's baseline in local coordinates.")
disabledState: !backendValues.baselineOffset.isAvailable
}

View File

@@ -124,7 +124,7 @@ Section {
}
}
PropertyLabel { text: qsTr("Distribute Objects") }
PropertyLabel { text: qsTr("Distribute objects") }
SecondColumnLayout {
Spacer { implicitWidth: StudioTheme.Values.actionIndicatorWidth }
@@ -196,7 +196,7 @@ Section {
}
}
PropertyLabel { text: qsTr("Distribute Spacing") }
PropertyLabel { text: qsTr("Distribute spacing") }
SecondColumnLayout {
Spacer { implicitWidth: StudioTheme.Values.actionIndicatorWidth }
@@ -275,7 +275,7 @@ Section {
}
}
PropertyLabel { text: qsTr("Pixel Spacing") }
PropertyLabel { text: qsTr("Pixel spacing") }
SecondColumnLayout {
Spacer { implicitWidth: StudioTheme.Values.actionIndicatorWidth }
@@ -318,7 +318,7 @@ Section {
ExpandingSpacer {}
}
PropertyLabel { text: qsTr("Key Object") }
PropertyLabel { text: qsTr("Key object") }
SecondColumnLayout {
ComboBox {

View File

@@ -38,7 +38,7 @@ Column {
}
Section {
caption: qsTr("Animated image")
caption: qsTr("Animated Image")
anchors.left: parent.left
anchors.right: parent.right
@@ -69,7 +69,7 @@ Column {
PropertyLabel {
text: qsTr("Playing")
tooltip: qsTr("Whether the animation is playing and/or paused.")
tooltip: qsTr("Whether the animation is playing or paused.")
disabledState: !backendValues.playing.isAvailable && !backendValues.paused.isAvailable
}

View File

@@ -103,7 +103,7 @@ Section {
ExpandingSpacer {}
}
PropertyLabel { text: qsTr("id") }
PropertyLabel { text: qsTr("ID") }
SecondColumnLayout {
Spacer { implicitWidth: StudioTheme.Values.actionIndicatorWidth }
@@ -187,7 +187,7 @@ Section {
ExpandingSpacer {}
}
PropertyLabel { text: qsTr("id Annotation") }
PropertyLabel { text: qsTr("Name") }
SecondColumnLayout {
enabled: !modelNodeBackend.multiSelection
@@ -205,7 +205,7 @@ Section {
- removeAnnotationButton.width
+ 2 * StudioTheme.Values.border
backendValue: backendValues.customId__AUX
placeholderText: qsTr("customId")
placeholderText: qsTr("Descriptive text")
text: backendValue.value
showTranslateCheckBox: false
showExtendedFunctionButton: false
@@ -233,7 +233,7 @@ Section {
implicitWidth: StudioTheme.Values.singleControlColumnWidth
width: StudioTheme.Values.singleControlColumnWidth
visible: !annotationEditor.hasAuxData
buttonIcon: qsTr("add")
buttonIcon: qsTr("Add Annotation")
iconFont: StudioTheme.Constants.font
onClicked: annotationEditor.showWidget()
onHoveredChanged: annotationEditor.checkAux()

View File

@@ -52,7 +52,7 @@ Column {
Label {
text: qsTr("Ignore unknown signals")
tooltip: qsTr("A connection to a non-existent signal produces runtime errors. If this property is set to true, such errors are ignored")
tooltip: qsTr("Ignores runtime errors produced by connections to non-existent signals.")
}
SecondColumnLayout {
CheckBox {

View File

@@ -44,7 +44,7 @@ Column {
width: parent.width
Section {
caption: qsTr("Busy indicator")
caption: qsTr("Busy Indicator")
width: parent.width
@@ -56,7 +56,7 @@ Column {
SecondColumnLayout {
CheckBox {
text: qsTr("live")
text: qsTr("Live")
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: backendValues.running

View File

@@ -41,7 +41,7 @@ import StudioControls 1.0 as StudioControls
import StudioTheme 1.0 as StudioTheme
Section {
caption: qsTr("Check box")
caption: qsTr("Check Box")
anchors.left: parent.left
anchors.right: parent.right

View File

@@ -43,7 +43,7 @@ Column {
width: parent.width
Section {
caption: qsTr("Delay button")
caption: qsTr("Delay Button")
width: parent.width

View File

@@ -68,7 +68,7 @@ Column {
Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }
CheckBox {
text: qsTr("live")
text: qsTr("Live")
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: backendValues.live

View File

@@ -51,7 +51,7 @@ Column {
PaddingSection {}
FontSection {
caption: qsTr("Font inheritance")
caption: qsTr("Font Inheritance")
expanded: false
}
}

View File

@@ -43,7 +43,7 @@ Column {
width: parent.width
Section {
caption: qsTr("Group box")
caption: qsTr("Group Box")
width: parent.width

View File

@@ -42,7 +42,7 @@ import StudioTheme 1.0 as StudioTheme
Section {
id: section
caption: qsTr("Item delegate")
caption: qsTr("Item Delegate")
anchors.left: parent.left
anchors.right: parent.right

View File

@@ -44,7 +44,7 @@ Column {
Section {
width: parent.width
caption: qsTr("PageIndicator")
caption: qsTr("Page Indicator")
SectionLayout {
PropertyLabel {

View File

@@ -49,7 +49,7 @@ Column {
PaddingSection {}
FontSection {
caption: qsTr("Font inheritance")
caption: qsTr("Font Inheritance")
expanded: false
}
}

View File

@@ -43,7 +43,7 @@ Column {
width: parent.width
Section {
caption: qsTr("Progress bar")
caption: qsTr("Progress Bar")
width: parent.width

View File

@@ -43,7 +43,7 @@ Column {
width: parent.width
ItemDelegateSection {
caption: qsTr("Radio delegate")
caption: qsTr("Radio Delegate")
}
AbstractButtonSection {}

View File

@@ -43,7 +43,7 @@ Column {
width: parent.width
Section {
caption: qsTr("Range slider")
caption: qsTr("Range Slider")
width: parent.width
@@ -67,7 +67,7 @@ Column {
Spacer { implicitWidth: StudioTheme.Values.twoControlColumnGap }
CheckBox {
text: qsTr("live")
text: qsTr("Live")
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: backendValues.live
@@ -156,7 +156,7 @@ Column {
PropertyLabel {
text: qsTr("Drag threshold")
tooltip: qsTr("The threshold (in logical pixels) at which a Drag event will be initiated.")
tooltip: qsTr("The threshold (in logical pixels) at which a drag event will be initiated.")
}
SecondColumnLayout {

View File

@@ -44,7 +44,7 @@ Column {
Section {
width: parent.width
caption: qsTr("Round button")
caption: qsTr("Round Button")
SectionLayout {
PropertyLabel {

View File

@@ -44,7 +44,7 @@ Column {
Section {
width: parent.width
caption: qsTr("Scroll view")
caption: qsTr("Scroll View")
SectionLayout {
PropertyLabel { text: qsTr("Content size") }
@@ -96,7 +96,7 @@ Column {
PaddingSection {}
FontSection {
caption: qsTr("Font inheritance")
caption: qsTr("Font Inheritance")
expanded: false
}
}

View File

@@ -66,7 +66,7 @@ Column {
Spacer { implicitWidth: StudioTheme.Values.twoControlColumnGap }
CheckBox {
text: qsTr("live")
text: qsTr("Live")
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: backendValues.live
@@ -135,7 +135,7 @@ Column {
PropertyLabel {
text: qsTr("Drag threshold")
tooltip: qsTr("The threshold (in logical pixels) at which a Drag event will be initiated.")
tooltip: qsTr("The threshold (in logical pixels) at which a drag event will be initiated.")
}
SecondColumnLayout {

View File

@@ -44,12 +44,12 @@ Column {
Section {
width: parent.width
caption: qsTr("Spin box")
caption: qsTr("Spin Box")
SectionLayout {
PropertyLabel {
text: qsTr("Value")
tooltip: qsTr("The current value of the spinbox.")
tooltip: qsTr("The current value of the spin box.")
}
SecondColumnLayout {
@@ -67,7 +67,7 @@ Column {
PropertyLabel {
text: qsTr("From")
tooltip: qsTr("The starting value of the spinbox range.")
tooltip: qsTr("The starting value of the spin box range.")
}
SecondColumnLayout {
@@ -85,7 +85,7 @@ Column {
PropertyLabel {
text: qsTr("To")
tooltip: qsTr("The ending value of the spinbox range.")
tooltip: qsTr("The ending value of the spin box range.")
}
SecondColumnLayout {
@@ -103,7 +103,7 @@ Column {
PropertyLabel {
text: qsTr("Step size")
tooltip: qsTr("The step size of the spinbox.")
tooltip: qsTr("The step size of the spin box.")
}
SecondColumnLayout {
@@ -121,7 +121,7 @@ Column {
PropertyLabel {
text: qsTr("Editable")
tooltip: qsTr("Whether the spinbox is editable.")
tooltip: qsTr("Whether the spin box is editable.")
}
SecondColumnLayout {
@@ -137,7 +137,7 @@ Column {
PropertyLabel {
text: qsTr("Wrap")
tooltip: qsTr("Whether the spinbox wraps.")
tooltip: qsTr("Whether the spin box values wrap.")
}
SecondColumnLayout {

View File

@@ -47,7 +47,7 @@ Column {
PaddingSection {}
FontSection {
caption: qsTr("Font inheritance")
caption: qsTr("Font Inheritance")
expanded: false
}
}

View File

@@ -44,7 +44,7 @@ Column {
Section {
width: parent.width
caption: qsTr("Swipe view")
caption: qsTr("Swipe View")
SectionLayout {
PropertyLabel {
@@ -90,7 +90,7 @@ Column {
PaddingSection {}
FontSection {
caption: qsTr("Font inheritance")
caption: qsTr("Font Inheritance")
expanded: false
}
}

View File

@@ -45,12 +45,12 @@ Column {
Section {
width: parent.width
caption: qsTr("Tab bar")
caption: qsTr("Tab Bar")
SectionLayout {
PropertyLabel {
text: qsTr("Position")
tooltip: qsTr("Position of the tabbar.")
tooltip: qsTr("Position of the tab bar.")
}
SecondColumnLayout {

View File

@@ -44,7 +44,7 @@ Column {
width: parent.width
TextSection {
caption: qsTr("Text field")
caption: qsTr("Text Field")
}
CharacterSection {}

View File

@@ -41,7 +41,7 @@ import StudioTheme 1.0 as StudioTheme
Section {
width: parent.width
caption: qsTr("Text area")
caption: qsTr("Text Area")
SectionLayout {
PropertyLabel {
@@ -62,7 +62,7 @@ Section {
PropertyLabel {
text: qsTr("Placeholder color")
tooltip: qsTr("Placeholder text color")
tooltip: qsTr("Placeholder text color.")
}
ColorEditor {

View File

@@ -44,7 +44,7 @@ Column {
Section {
width: parent.width
caption: qsTr("Tool bar")
caption: qsTr("Tool Bar")
SectionLayout {
PropertyLabel {
@@ -74,7 +74,7 @@ Column {
PaddingSection {}
FontSection {
caption: qsTr("Font inheritance")
caption: qsTr("Font Inheritance")
expanded: false
}
}

View File

@@ -44,7 +44,7 @@ Column {
Section {
width: parent.width
caption: qsTr("Tool separator")
caption: qsTr("Tool Separator")
SectionLayout {
PropertyLabel {

View File

@@ -85,7 +85,7 @@ Column {
PropertyLabel {
text: qsTr("Wrap")
tooltip: qsTr("Whether the tumbler wrap.")
tooltip: qsTr("Whether the tumbler values wrap.")
}
SecondColumnLayout {

View File

@@ -31,7 +31,7 @@ import StudioTheme 1.0 as StudioTheme
Section {
id: root
caption: qsTr("Geometry - 2d")
caption: qsTr("Geometry - 2D")
anchors.left: parent.left
anchors.right: parent.right
@@ -231,7 +231,7 @@ Section {
ExpandingSpacer {}
}
PropertyLabel { text: qsTr("Z Stack") }
PropertyLabel { text: qsTr("Z stack") }
SecondColumnLayout {
SpinBox {

View File

@@ -52,7 +52,7 @@ Section {
}
PropertyLabel {
text: qsTr("Sampler Name")
text: qsTr("Sampler name")
tooltip: qsTr("Name of the effect's source texture property.")
}
@@ -185,7 +185,7 @@ Section {
}
PropertyLabel {
text: qsTr("Texture Mirroring")
text: qsTr("Texture mirroring")
tooltip: qsTr("Sets how the generated OpenGL texture should be mirrored.")
}

View File

@@ -43,7 +43,7 @@ Column {
SectionLayout {
PropertyLabel {
text: qsTr("Orientation")
tooltip: qsTr("Orientation of the list")
tooltip: qsTr("Orientation of the list.")
}
SecondColumnLayout {
@@ -118,7 +118,7 @@ Column {
PropertyLabel {
text: qsTr("Cache")
tooltip: qsTr("Cache buffer")
tooltip: qsTr("Cache buffer.")
disabledState: !backendValues.cacheBuffer.isAvailable
}
@@ -165,7 +165,7 @@ Column {
SectionLayout {
PropertyLabel {
text: qsTr("Range")
tooltip: qsTr("Highlight range")
tooltip: qsTr("Highlight range.")
disabledState: !backendValues.highlightRangeMode.isAvailable
}

View File

@@ -34,7 +34,7 @@ Column {
anchors.right: parent.right
Section {
caption: qsTr("Mouse area")
caption: qsTr("Mouse Area")
anchors.left: parent.left
anchors.right: parent.right

View File

@@ -52,7 +52,7 @@ Column {
Label {
text: qsTr("Name")
tooltip: qsTr("Holds the name of the state.")
tooltip: qsTr("The name of the state.")
}
SecondColumnLayout {
LineEdit {
@@ -65,7 +65,7 @@ Column {
Label {
text: qsTr("Extend")
tooltip: qsTr("Holds the state that this state extends.")
tooltip: qsTr("The state that this state extends.")
}
SecondColumnLayout {
LineEdit {