From 5cb364aee6be0ee1b94b3d3da37ccf9311891b11 Mon Sep 17 00:00:00 2001
From: Ruben Pollan <meskio@sindominio.net>
Date: Fri, 20 Nov 2020 20:06:51 +0100
Subject: [PATCH] [i18n] Fix strings from comments in transifex

---
 gui/main.cpp            | 10 +++++-----
 gui/qml/LoginDialog.qml |  4 ++--
 gui/qml/main.qml        |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/gui/main.cpp b/gui/main.cpp
index 42153a7f..079caa5b 100644
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -82,20 +82,20 @@ int main(int argc, char **argv) {
             {"n", "no-systray"},
             QApplication::translate("main",
                                     "Do not show the systray icon (useful "
-                                    "together with gnome shell "
+                                    "together with Gnome Shell "
                                     "extension, or to control VPN by other means)."),
         },
         {
             {"w", "web-api"},
             QApplication::translate(
                 "main",
-                "Enable web api."),
+                "Enable Web API."),
         },
         {
             {"i", "install-helpers"},
             QApplication::translate(
                 "main",
-                "Install helpers (linux only, requires sudo)."),
+                "Install helpers (Linux only, requires sudo)."),
         },
         {
             {"o", "obfs4"},
@@ -110,9 +110,9 @@ int main(int argc, char **argv) {
                 "Disable autostart for the next run."),
         },
     });
-    QCommandLineOption webPortOption("web-port", QApplication::translate("main", "Web api port (default: 8080)"), "port", "8080");
+    QCommandLineOption webPortOption("web-port", QApplication::translate("main", "Web API port (default: 8080)"), "port", "8080");
     parser.addOption(webPortOption);
-    QCommandLineOption startVPNOption("start-vpn", QApplication::translate("main", "Start the vpn, either 'on' or 'off'."), "status", "");
+    QCommandLineOption startVPNOption("start-vpn", QApplication::translate("main", "Start the VPN, either 'on' or 'off'."), "status", "");
     parser.addOption(startVPNOption);
     parser.process(app);
 
diff --git a/gui/qml/LoginDialog.qml b/gui/qml/LoginDialog.qml
index 8e28d59c..ba0065da 100644
--- a/gui/qml/LoginDialog.qml
+++ b/gui/qml/LoginDialog.qml
@@ -17,11 +17,11 @@ Dialog {
         }
         TextField {
             id: username
-            placeholderText: qsTr("patron id")
+            placeholderText: qsTr("Patron ID")
         }
         TextField {
             id: password
-            placeholderText: qsTr("password")
+            placeholderText: qsTr("Password")
             echoMode: TextInput.PasswordEchoOnEdit
             visible: !allowEmptyPass
         }
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index 5d8b825a..e6c19649 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -35,7 +35,7 @@ ApplicationWindow {
             if (ctx.errors ) {
                login.visible = false
                if ( ctx.errors  == "nohelpers" ) {
-                   showInitFailure(qsTr("Could not find helpers. Check your installation"))
+                   showInitFailure(qsTr("Could not find helpers. Please check your installation"))
                } else if ( ctx.errors == "nopolkit" ) {
                    showInitFailure(qsTr("Could not find polkit agent."))
                } else {
-- 
GitLab