summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2020-11-20 20:06:51 +0100
committerRuben Pollan <meskio@sindominio.net>2020-11-20 20:06:51 +0100
commit5cb364aee6be0ee1b94b3d3da37ccf9311891b11 (patch)
treeb7b30d1bd51ec65d55cf3fd002d858368fa10cfd
parentacdb13c02ab1b6e26871c14a204a0bd31aab19d6 (diff)
[i18n] Fix strings from comments in transifex
-rw-r--r--gui/main.cpp10
-rw-r--r--gui/qml/LoginDialog.qml4
-rw-r--r--gui/qml/main.qml2
3 files changed, 8 insertions, 8 deletions
diff --git a/gui/main.cpp b/gui/main.cpp
index 42153a7..079caa5 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 8e28d59..ba0065d 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 5d8b825..e6c1964 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 {