Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
bitmask-vpn
Commits
5cb364ae
Unverified
Commit
5cb364ae
authored
4 years ago
by
meskio
Browse files
Options
Downloads
Patches
Plain Diff
[i18n] Fix strings from comments in transifex
parent
acdb13c0
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
gui/main.cpp
+5
-5
5 additions, 5 deletions
gui/main.cpp
gui/qml/LoginDialog.qml
+2
-2
2 additions, 2 deletions
gui/qml/LoginDialog.qml
gui/qml/main.qml
+1
-1
1 addition, 1 deletion
gui/qml/main.qml
with
8 additions
and
8 deletions
gui/main.cpp
+
5
−
5
View file @
5cb364ae
...
@@ -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
g
nome
s
hell "
"together with
G
nome
S
hell "
"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
w
eb
api
."
),
"Enable
W
eb
API
."
),
},
},
{
{
{
"i"
,
"install-helpers"
},
{
"i"
,
"install-helpers"
},
QApplication
::
translate
(
QApplication
::
translate
(
"main"
,
"main"
,
"Install helpers (
l
inux only, requires sudo)."
),
"Install helpers (
L
inux 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
);
...
...
This diff is collapsed.
Click to expand it.
gui/qml/LoginDialog.qml
+
2
−
2
View file @
5cb364ae
...
@@ -17,11 +17,11 @@ Dialog {
...
@@ -17,11 +17,11 @@ Dialog {
}
}
TextField
{
TextField
{
id
:
username
id
:
username
placeholderText
:
qsTr
(
"
p
atron
id
"
)
placeholderText
:
qsTr
(
"
P
atron
ID
"
)
}
}
TextField
{
TextField
{
id
:
password
id
:
password
placeholderText
:
qsTr
(
"
p
assword
"
)
placeholderText
:
qsTr
(
"
P
assword
"
)
echoMode
:
TextInput
.
PasswordEchoOnEdit
echoMode
:
TextInput
.
PasswordEchoOnEdit
visible
:
!
allowEmptyPass
visible
:
!
allowEmptyPass
}
}
...
...
This diff is collapsed.
Click to expand it.
gui/qml/main.qml
+
1
−
1
View file @
5cb364ae
...
@@ -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.
C
heck your installation
"
))
showInitFailure
(
qsTr
(
"
Could not find helpers.
Please c
heck 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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment