Update message texts.
authorRuediger Gad <rgad@fb2.fh-frankfurt.de>
Sun, 15 Apr 2012 11:14:11 +0000 (13:14 +0200)
committerRuediger Gad <rgad@fb2.fh-frankfurt.de>
Sun, 15 Apr 2012 11:14:11 +0000 (13:14 +0200)
qml/QZeeControl/MainPage.qml

index b661377..4fbba17 100644 (file)
@@ -96,8 +96,8 @@ Page {
         addressField.enabled = true
         portField.enabled = true
 
-        connectButton.enabled = (addressField.text !== "No device found yet.")
-        infoText.text = (addressField.text !== "No device found yet.") ?
+        connectButton.enabled = (addressField.text !== "No Zeemote found yet.")
+        infoText.text = (addressField.text !== "No Zeemote found yet.") ?
                     "To enable remote control please press \"Connect\" when ready." :
                     "Please scan for a Zeemote first."
 
@@ -203,7 +203,7 @@ Page {
             }
             PropertyChanges {
                 target: infoText
-                text: "Press \"Connect\" to connect to the device."
+                text: "To enable remote control please press \"Connect\" when ready."
             }
         }
     ]
@@ -272,13 +272,13 @@ Page {
 
                 TextField{
                     id: addressField
-                    text: "No device found yet."
+                    text: "No Zeemote found yet."
 
                     onTextChanged: {
                         if(mainPage.initializing)
                             return
 
-                        if(text === "No device found yet.")
+                        if(text === "No Zeemote found yet.")
                             return
 
                         updateConnectAndScanButton();
@@ -423,8 +423,8 @@ Page {
                 addressField.enabled = true
                 portField.enabled = true
 
-                if(addressField.text !== "No device found yet." && portField.text !== "na"){
-                    infoText.text = "Device found. You can now connect."
+                if(addressField.text !== "No Zeemote found yet." && portField.text !== "na"){
+                    infoText.text = "Zeemote found. To enable remote control please press \"Connect\" when ready."
                     connectButton.enabled = true
                 }
             }