summaryrefslogtreecommitdiffstats
path: root/startupscreen/UsbModeDialog.qml
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2020-11-23 16:54:49 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2020-11-23 15:36:10 +0000
commit5082f61cfda5528a1a59714b6c29f67b7c5064e1 (patch)
tree2c7193485648a9d2d3e241e8c2b59ab5bea989c2 /startupscreen/UsbModeDialog.qml
parentbf3fd762eda0d72845fd0a828c54e558f6a7e92a (diff)
startupscreen: use translation macro for UI texts
Mark all UI texts for translations, but leave the actual translation for later date. Task-number: QTBUG-88021 Change-Id: I0ffbe3a96de22acf87e2b3c3e3941d03bc5b861c Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'startupscreen/UsbModeDialog.qml')
-rw-r--r--startupscreen/UsbModeDialog.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/startupscreen/UsbModeDialog.qml b/startupscreen/UsbModeDialog.qml
index 10cb3f3..e923ac9 100644
--- a/startupscreen/UsbModeDialog.qml
+++ b/startupscreen/UsbModeDialog.qml
@@ -62,7 +62,7 @@ Dialog {
focus: true
modal: true
- title: "USB Ethernet mode"
+ title: qsTr("USB Ethernet mode")
standardButtons: Dialog.Ok | Dialog.Cancel
RebootDialog {
@@ -83,9 +83,9 @@ Dialog {
anchors.fill: parent
Label {
elide: Label.ElideRight
- text: "Switch the USB Ethernet mode used for Qt Creator connection. "
+ text: qsTr("Switch the USB Ethernet mode used for Qt Creator connection. "
+ "CDCECM supports Linux and macOS hosts, "
- + "while RNDIS supports Linux and Windows hosts."
+ + "while RNDIS supports Linux and Windows hosts.")
Layout.fillWidth: true
wrapMode: Label.Wrap
}