Skip to content
Snippets Groups Projects
Unverified Commit 5cb364ae authored by meskio's avatar meskio :tent:
Browse files

[i18n] Fix strings from comments in transifex

parent acdb13c0
No related branches found
No related tags found
No related merge requests found
...@@ -82,20 +82,20 @@ int main(int argc, char **argv) { ...@@ -82,20 +82,20 @@ int main(int argc, char **argv) {
{"n", "no-systray"}, {"n", "no-systray"},
QApplication::translate("main", QApplication::translate("main",
"Do not show the systray icon (useful " "Do not show the systray icon (useful "
"together with gnome shell " "together with Gnome Shell "
"extension, or to control VPN by other means)."), "extension, or to control VPN by other means)."),
}, },
{ {
{"w", "web-api"}, {"w", "web-api"},
QApplication::translate( QApplication::translate(
"main", "main",
"Enable web api."), "Enable Web API."),
}, },
{ {
{"i", "install-helpers"}, {"i", "install-helpers"},
QApplication::translate( QApplication::translate(
"main", "main",
"Install helpers (linux only, requires sudo)."), "Install helpers (Linux only, requires sudo)."),
}, },
{ {
{"o", "obfs4"}, {"o", "obfs4"},
...@@ -110,9 +110,9 @@ int main(int argc, char **argv) { ...@@ -110,9 +110,9 @@ int main(int argc, char **argv) {
"Disable autostart for the next run."), "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); 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.addOption(startVPNOption);
parser.process(app); parser.process(app);
......
...@@ -17,11 +17,11 @@ Dialog { ...@@ -17,11 +17,11 @@ Dialog {
} }
TextField { TextField {
id: username id: username
placeholderText: qsTr("patron id") placeholderText: qsTr("Patron ID")
} }
TextField { TextField {
id: password id: password
placeholderText: qsTr("password") placeholderText: qsTr("Password")
echoMode: TextInput.PasswordEchoOnEdit echoMode: TextInput.PasswordEchoOnEdit
visible: !allowEmptyPass visible: !allowEmptyPass
} }
......
...@@ -35,7 +35,7 @@ ApplicationWindow { ...@@ -35,7 +35,7 @@ ApplicationWindow {
if (ctx.errors ) { if (ctx.errors ) {
login.visible = false login.visible = false
if ( ctx.errors == "nohelpers" ) { 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" ) { } else if ( ctx.errors == "nopolkit" ) {
showInitFailure(qsTr("Could not find polkit agent.")) showInitFailure(qsTr("Could not find polkit agent."))
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment