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

View File

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

View File

@@ -38,7 +38,7 @@ Column {
} }
Section { Section {
caption: qsTr("Animated image") caption: qsTr("Animated Image")
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
@@ -69,7 +69,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Playing") 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 disabledState: !backendValues.playing.isAvailable && !backendValues.paused.isAvailable
} }

View File

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

View File

@@ -52,7 +52,7 @@ Column {
Label { Label {
text: qsTr("Ignore unknown signals") 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 { SecondColumnLayout {
CheckBox { CheckBox {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -43,7 +43,7 @@ Column {
width: parent.width width: parent.width
Section { Section {
caption: qsTr("Range slider") caption: qsTr("Range Slider")
width: parent.width width: parent.width
@@ -67,7 +67,7 @@ Column {
Spacer { implicitWidth: StudioTheme.Values.twoControlColumnGap } Spacer { implicitWidth: StudioTheme.Values.twoControlColumnGap }
CheckBox { CheckBox {
text: qsTr("live") text: qsTr("Live")
implicitWidth: StudioTheme.Values.twoControlColumnWidth implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth + StudioTheme.Values.actionIndicatorWidth
backendValue: backendValues.live backendValue: backendValues.live
@@ -156,7 +156,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Drag threshold") 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 { SecondColumnLayout {

View File

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

View File

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

View File

@@ -66,7 +66,7 @@ Column {
Spacer { implicitWidth: StudioTheme.Values.twoControlColumnGap } Spacer { implicitWidth: StudioTheme.Values.twoControlColumnGap }
CheckBox { CheckBox {
text: qsTr("live") text: qsTr("Live")
implicitWidth: StudioTheme.Values.twoControlColumnWidth implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth + StudioTheme.Values.actionIndicatorWidth
backendValue: backendValues.live backendValue: backendValues.live
@@ -135,7 +135,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Drag threshold") 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 { SecondColumnLayout {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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