Commit 80e77e95 authored by Leena Miettinen's avatar Leena Miettinen
Browse files

UI text: fix capitalization of labels and tooltips

Reviewed-by: Thomas Hartmann
parent 5aaa595e
...@@ -41,7 +41,7 @@ QWidget { ...@@ -41,7 +41,7 @@ QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Source Size") text: qsTr("Source size")
} }
DoubleSpinBox { DoubleSpinBox {
......
...@@ -9,7 +9,7 @@ GroupBox { ...@@ -9,7 +9,7 @@ GroupBox {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Content Size") text: qsTr("Content size")
} }
DoubleSpinBox { DoubleSpinBox {
...@@ -40,8 +40,8 @@ GroupBox { ...@@ -40,8 +40,8 @@ GroupBox {
QWidget { QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Flick Direction") text: qsTr("Flick direction")
toolTip: qsTr("Flickable Direction") toolTip: qsTr("Flickable direction")
} }
ComboBox { ComboBox {
...@@ -59,7 +59,7 @@ GroupBox { ...@@ -59,7 +59,7 @@ GroupBox {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Behavior") text: qsTr("Behavior")
toolTip: qsTr("Bounds Behavior") toolTip: qsTr("Bounds behavior")
} }
ComboBox { ComboBox {
...@@ -90,8 +90,8 @@ GroupBox { ...@@ -90,8 +90,8 @@ GroupBox {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Max. Velocity") text: qsTr("Max. velocity")
toolTip: qsTr("Maximum Flick Velocity") toolTip: qsTr("Maximum flick velocity")
} }
DoubleSpinBox { DoubleSpinBox {
...@@ -111,7 +111,7 @@ GroupBox { ...@@ -111,7 +111,7 @@ GroupBox {
Label { Label {
text: qsTr("Deceleration") text: qsTr("Deceleration")
toolTip: qsTr("Flick Deceleration") toolTip: qsTr("Flick deceleration")
} }
DoubleSpinBox { DoubleSpinBox {
......
...@@ -33,7 +33,7 @@ QWidget { ...@@ -33,7 +33,7 @@ QWidget {
// QWidget { // QWidget {
// layout: HorizontalLayout { // layout: HorizontalLayout {
// Label { // Label {
// text: qsTr("Layout Direction") // text: qsTr("Layout direction")
// } // }
// ComboBox { // ComboBox {
......
...@@ -67,7 +67,7 @@ GroupBox { ...@@ -67,7 +67,7 @@ GroupBox {
QWidget { QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Font Style") text: qsTr("Font style")
} }
FontStyleButtons {} FontStyleButtons {}
} }
......
...@@ -49,7 +49,7 @@ QWidget { ...@@ -49,7 +49,7 @@ QWidget {
// QWidget { // QWidget {
// layout: HorizontalLayout { // layout: HorizontalLayout {
// Label { // Label {
// text: qsTr("Layout Direction") // text: qsTr("Layout direction")
// } // }
// ComboBox { // ComboBox {
......
...@@ -17,7 +17,7 @@ QWidget { ...@@ -17,7 +17,7 @@ QWidget {
IntEditor { IntEditor {
backendValue: backendValues.cacheBuffer backendValue: backendValues.cacheBuffer
caption: qsTr("Cache") caption: qsTr("Cache")
toolTip: qsTr("Cache Buffer") toolTip: qsTr("Cache buffer")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
minimumValue: 0; minimumValue: 0;
...@@ -25,7 +25,7 @@ QWidget { ...@@ -25,7 +25,7 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.cellHeight backendValue: backendValues.cellHeight
caption: qsTr("Cell Height") caption: qsTr("Cell height")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
minimumValue: 0; minimumValue: 0;
...@@ -33,7 +33,7 @@ QWidget { ...@@ -33,7 +33,7 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.cellWidth backendValue: backendValues.cellWidth
caption: qsTr("Cell Width") caption: qsTr("Cell width")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
minimumValue: 0; minimumValue: 0;
...@@ -59,7 +59,7 @@ QWidget { ...@@ -59,7 +59,7 @@ QWidget {
IntEditor { IntEditor {
backendValue: backendValues.keyNavigationWraps backendValue: backendValues.keyNavigationWraps
caption: qsTr("Resize Wraps") caption: qsTr("Resize wraps")
toolTip: qsTr("Determines whether the grid wraps key navigation.") toolTip: qsTr("Determines whether the grid wraps key navigation.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
...@@ -70,7 +70,7 @@ QWidget { ...@@ -70,7 +70,7 @@ QWidget {
// QWidget { // QWidget {
// layout: HorizontalLayout { // layout: HorizontalLayout {
// Label { // Label {
// text: qsTr("Layout Direction") // text: qsTr("Layout direction")
// } // }
// ComboBox { // ComboBox {
...@@ -87,7 +87,7 @@ QWidget { ...@@ -87,7 +87,7 @@ QWidget {
QWidget { QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Snap Mode") text: qsTr("Snap mode")
toolTip: qsTr("Determines how the view scrolling will settle following a drag or flick.") toolTip: qsTr("Determines how the view scrolling will settle following a drag or flick.")
} }
...@@ -112,7 +112,7 @@ QWidget { ...@@ -112,7 +112,7 @@ QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Range") text: qsTr("Range")
toolTip: qsTr("Highlight Range") toolTip: qsTr("Highlight range")
} }
ComboBox { ComboBox {
...@@ -128,7 +128,7 @@ QWidget { ...@@ -128,7 +128,7 @@ QWidget {
} //QWidget } //QWidget
IntEditor { IntEditor {
backendValue: backendValues.highlightMoveDuration backendValue: backendValues.highlightMoveDuration
caption: qsTr("Move Duration") caption: qsTr("Move duration")
toolTip: qsTr("Move animation duration of the highlight delegate.") toolTip: qsTr("Move animation duration of the highlight delegate.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
...@@ -137,7 +137,7 @@ QWidget { ...@@ -137,7 +137,7 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.highlightMoveSpeed backendValue: backendValues.highlightMoveSpeed
caption: qsTr("Move Speed") caption: qsTr("Move speed")
toolTip: qsTr("Move animation speed of the highlight delegate.") toolTip: qsTr("Move animation speed of the highlight delegate.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
...@@ -146,8 +146,8 @@ QWidget { ...@@ -146,8 +146,8 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.preferredHighlightBegin backendValue: backendValues.preferredHighlightBegin
caption: qsTr("Preferred Begin") caption: qsTr("Preferred begin")
toolTip: qsTr("Preferred highlight begin - must be smaller than Preferred End.") toolTip: qsTr("Preferred highlight begin - must be smaller than Preferred end.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
minimumValue: 0; minimumValue: 0;
...@@ -155,8 +155,8 @@ QWidget { ...@@ -155,8 +155,8 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.preferredHighlightEnd backendValue: backendValues.preferredHighlightEnd
caption: qsTr("Preferred End") caption: qsTr("Preferred end")
toolTip: qsTr("Preferred highlight end - must be larger than Preferred Begin.") toolTip: qsTr("Preferred highlight end - must be larger than Preferred begin.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
minimumValue: 0; minimumValue: 0;
...@@ -166,7 +166,7 @@ QWidget { ...@@ -166,7 +166,7 @@ QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Follows Current") text: qsTr("Follows current")
} }
CheckBox { CheckBox {
backendValue: backendValues.highlightFollowsCurrentItem backendValue: backendValues.highlightFollowsCurrentItem
......
...@@ -38,7 +38,7 @@ QWidget { ...@@ -38,7 +38,7 @@ QWidget {
QWidget { QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Fill Mode") text: qsTr("Fill mode")
} }
ComboBox { ComboBox {
...@@ -72,7 +72,7 @@ QWidget { ...@@ -72,7 +72,7 @@ QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Source Size") text: qsTr("Source size")
} }
DoubleSpinBox { DoubleSpinBox {
...@@ -107,7 +107,7 @@ QWidget { ...@@ -107,7 +107,7 @@ QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Painted Size") text: qsTr("Painted size")
} }
DoubleSpinBox { DoubleSpinBox {
......
...@@ -18,7 +18,7 @@ QWidget { ...@@ -18,7 +18,7 @@ QWidget {
IntEditor { IntEditor {
backendValue: backendValues.cacheBuffer backendValue: backendValues.cacheBuffer
caption: qsTr("Cache") caption: qsTr("Cache")
toolTip: qsTr("Cache Buffer") toolTip: qsTr("Cache buffer")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
minimumValue: 0; minimumValue: 0;
...@@ -26,7 +26,7 @@ QWidget { ...@@ -26,7 +26,7 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.cellHeight backendValue: backendValues.cellHeight
caption: qsTr("Cell Height") caption: qsTr("Cell height")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
minimumValue: 0; minimumValue: 0;
...@@ -34,7 +34,7 @@ QWidget { ...@@ -34,7 +34,7 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.cellWidth backendValue: backendValues.cellWidth
caption: qsTr("Cell Width") caption: qsTr("Cell width")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
minimumValue: 0; minimumValue: 0;
...@@ -59,7 +59,7 @@ QWidget { ...@@ -59,7 +59,7 @@ QWidget {
} //QWidget } //QWidget
IntEditor { IntEditor {
backendValue: backendValues.keyNavigationWraps backendValue: backendValues.keyNavigationWraps
caption: qsTr("Navigation Wraps") caption: qsTr("Navigation wraps")
toolTip: qsTr("Determines whether the grid wraps key navigation.") toolTip: qsTr("Determines whether the grid wraps key navigation.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
...@@ -70,7 +70,7 @@ QWidget { ...@@ -70,7 +70,7 @@ QWidget {
// QWidget { // QWidget {
// layout: HorizontalLayout { // layout: HorizontalLayout {
// Label { // Label {
// text: qsTr("Layout Direction") // text: qsTr("Layout direction")
// } // }
// ComboBox { // ComboBox {
...@@ -106,7 +106,7 @@ QWidget { ...@@ -106,7 +106,7 @@ QWidget {
QWidget { QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Snap Mode") text: qsTr("Snap mode")
toolTip: qsTr("Determines how the view scrolling will settle following a drag or flick.") toolTip: qsTr("Determines how the view scrolling will settle following a drag or flick.")
} }
...@@ -156,7 +156,7 @@ QWidget { ...@@ -156,7 +156,7 @@ QWidget {
} //QWidget } //QWidget
IntEditor { IntEditor {
backendValue: backendValues.highlightMoveDuration backendValue: backendValues.highlightMoveDuration
caption: qsTr("Move Duration") caption: qsTr("Move duration")
toolTip: qsTr("Move animation duration of the highlight delegate.") toolTip: qsTr("Move animation duration of the highlight delegate.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
...@@ -165,7 +165,7 @@ QWidget { ...@@ -165,7 +165,7 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.highlightMoveSpeed backendValue: backendValues.highlightMoveSpeed
caption: qsTr("Move Speed") caption: qsTr("Move speed")
toolTip: qsTr("Move animation speed of the highlight delegate.") toolTip: qsTr("Move animation speed of the highlight delegate.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
...@@ -174,7 +174,7 @@ QWidget { ...@@ -174,7 +174,7 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.highlightResizeDuration backendValue: backendValues.highlightResizeDuration
caption: qsTr("Resize Duration") caption: qsTr("Resize duration")
toolTip: qsTr("Resize animation duration of the highlight delegate.") toolTip: qsTr("Resize animation duration of the highlight delegate.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
...@@ -183,7 +183,7 @@ QWidget { ...@@ -183,7 +183,7 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.highlightResizeSpeed backendValue: backendValues.highlightResizeSpeed
caption: qsTr("Resize Speed") caption: qsTr("Resize speed")
toolTip: qsTr("Resize animation speed of the highlight delegate.") toolTip: qsTr("Resize animation speed of the highlight delegate.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
...@@ -192,8 +192,8 @@ QWidget { ...@@ -192,8 +192,8 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.preferredHighlightBegin backendValue: backendValues.preferredHighlightBegin
caption: qsTr("Preferred Begin") caption: qsTr("Preferred begin")
toolTip: qsTr("Preferred highlight begin - must be smaller than Preferred End.") toolTip: qsTr("Preferred highlight begin - must be smaller than Preferred end.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
minimumValue: 0; minimumValue: 0;
...@@ -201,8 +201,8 @@ QWidget { ...@@ -201,8 +201,8 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.preferredHighlightEnd backendValue: backendValues.preferredHighlightEnd
caption: qsTr("Preferred End") caption: qsTr("Preferred end")
toolTip: qsTr("Preferred highlight end - must be larger than Preferred Begin.") toolTip: qsTr("Preferred highlight end - must be larger than Preferred begin.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
minimumValue: 0; minimumValue: 0;
...@@ -212,7 +212,7 @@ QWidget { ...@@ -212,7 +212,7 @@ QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Follows Current") text: qsTr("Follows current")
} }
CheckBox { CheckBox {
backendValue: backendValues.highlightFollowsCurrentItem backendValue: backendValues.highlightFollowsCurrentItem
......
...@@ -16,7 +16,7 @@ QWidget { ...@@ -16,7 +16,7 @@ QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Drag Margin") text: qsTr("Drag margin")
} }
DoubleSpinBox { DoubleSpinBox {
...@@ -34,7 +34,7 @@ QWidget { ...@@ -34,7 +34,7 @@ QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Flick Deceleration") text: qsTr("Flick deceleration")
} }
DoubleSpinBox { DoubleSpinBox {
...@@ -51,7 +51,7 @@ QWidget { ...@@ -51,7 +51,7 @@ QWidget {
QWidget { // 1 QWidget { // 1
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Follows Current") text: qsTr("Follows current")
toolTip: qsTr("A user cannot drag or flick a PathView that is not interactive.") toolTip: qsTr("A user cannot drag or flick a PathView that is not interactive.")
} }
CheckBox { CheckBox {
...@@ -81,7 +81,7 @@ QWidget { ...@@ -81,7 +81,7 @@ QWidget {
} }
IntEditor { IntEditor {
backendValue: backendValues.pathItemCount backendValue: backendValues.pathItemCount
caption: qsTr("Item Count") caption: qsTr("Item count")
toolTip: qsTr("pathItemCount: number of items visible on the path at any one time.") toolTip: qsTr("pathItemCount: number of items visible on the path at any one time.")
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
step: 1; step: 1;
...@@ -97,7 +97,7 @@ QWidget { ...@@ -97,7 +97,7 @@ QWidget {
QWidget { QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: qsTr("Highlight Range") text: qsTr("Highlight range")
} }
ComboBox { ComboBox {
...@@ -113,7 +113,7 @@ QWidget { ...@@ -113,7 +113,7 @@ QWidget {
} //QWidget } //QWidget
IntEditor { IntEditor {
backendValue: backendValues.highlightMoveDuration backendValue: backendValues.highlightMoveDuration
caption: qsTr("Move Duration") caption: qsTr("Move duration")
toolTip: qsTr("Move animation duration of the highlight delegate.") toolTip: qsTr("Move animation duration of the highlight delegate.")