Skip to content
Snippets Groups Projects
Commit 16db45fc authored by Burak Hançerli's avatar Burak Hançerli :headphones:
Browse files

QDS-11904 Update strings in the UI according to the documentation standards

parent b5c1676f
No related branches found
No related tags found
1 merge request!35QDS-11904 Update strings in the UI according to the documentation standards
Pipeline #67094 passed
......@@ -73,14 +73,14 @@ void DesignStudioConnector::initTcpServer()
qDebug() << "Listening on port " << m_tcpPort;
connect(&m_tcpServer, &QTcpServer::newConnection, this, [this]() {
qDebug() << "New connection from Design Studio";
emit networkStatusUpdated("Design Studio is connected.\n Waiting for project...");
emit networkStatusUpdated("Qt Design Studio is connected.\n Waiting for project...");
m_tcpSocket.reset(m_tcpServer.nextPendingConnection());
m_ipUpdateTimer.stop();
connect(m_tcpSocket.data(), &QTcpSocket::disconnected, this, [this]() {
qDebug() << "Disconnected from Design Studio";
emit networkStatusUpdated("\nLocal IP: " + m_ipv4Addr
+ "\nWaiting for Design Studio to connect...");
+ "\nWaiting for Qt Design Studio to connect...");
m_projectData.clear();
m_ipUpdateTimer.start();
});
......
......@@ -19,7 +19,7 @@ Item {
Text {
id: qrCodeStatus
text: qsTr("No user code is registered. To access your shared projects;")
text: qsTr("No user is registered. To access your shared projects:")
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
......@@ -28,7 +28,7 @@ Item {
Connections {
target: backend
function onUserRegistered(){
qrCodeStatus.text = "QR Code Registered\nYou can simply scan a new QR code to register another user.";
qrCodeStatus.text = "User registration is completed.\nScan a new QR code to access the shared project from a different user.";
qrCodeInstructions.text = "";
}
}
......@@ -36,7 +36,7 @@ Item {
Text {
id: qrCodeInstructions
text: qsTr("1. Open a project with Design Studio (4.4 or later)\n2. Click \"File\" menu from top and select \"Share Application Online\"\n3. Scan the QR code on the screen")
text: qsTr("1. Open the project with Design Studio (4.4 or later).\n2. Select File -> Share Application Online.\n3. Scan the QR code.")
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
......
......@@ -22,7 +22,13 @@ Item {
id: infoHeader
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
horizontalAlignment: "AlignHCenter"
text: qsTr("Design Studio Connection Menu")
text: qsTr("Connect to Qt Design Studio:
\n1. Copy the Local IP.
\n2. Open the project in Qt Design Studio (4.4 or later).
\n3. Select File -> Deploy Project to Android.
\n4. Paste the Local IP to Device IP.
\n5. Select Connect.
\n6. Select Send Project.")
}
Label {
......
......@@ -30,7 +30,7 @@ Item {
Text{
leftPadding: 45
text: qsTr("Checks new projects in each 10 seconds")
text: qsTr("Checks new projects every 10 seconds")
font.pointSize: 12
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment