aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/gallery/pages/ButtonPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols/gallery/pages/ButtonPage.qml')
-rw-r--r--examples/quickcontrols/gallery/pages/ButtonPage.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/quickcontrols/gallery/pages/ButtonPage.qml b/examples/quickcontrols/gallery/pages/ButtonPage.qml
index 06051767e9..e23bfb8a89 100644
--- a/examples/quickcontrols/gallery/pages/ButtonPage.qml
+++ b/examples/quickcontrols/gallery/pages/ButtonPage.qml
@@ -16,8 +16,8 @@ ScrollablePage {
width: parent.width
wrapMode: Label.Wrap
horizontalAlignment: Qt.AlignHCenter
- text: "Button presents a push-button that can be pushed or clicked by the user. "
- + "Buttons are normally used to perform an action, or to answer a question."
+ text: qsTr("Button presents a push-button that can be pushed or clicked by the user. "
+ + "Buttons are normally used to perform an action, or to answer a question.")
}
ColumnLayout {
@@ -25,17 +25,17 @@ ScrollablePage {
anchors.horizontalCenter: parent.horizontalCenter
Button {
- text: "First"
+ text: qsTr("First")
Layout.fillWidth: true
}
Button {
id: button
- text: "Second"
+ text: qsTr("Second")
highlighted: true
Layout.fillWidth: true
}
Button {
- text: "Third"
+ text: qsTr("Third")
enabled: false
Layout.fillWidth: true
}