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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Vladimir KozLove
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
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide 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) {
{
"n"
,
"no-systray"
},
QApplication
::
translate
(
"main"
,
"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)."
),
},
{
{
"w"
,
"web-api"
},
QApplication
::
translate
(
"main"
,
"Enable
w
eb
api
."
),
"Enable
W
eb
API
."
),
},
{
{
"i"
,
"install-helpers"
},
QApplication
::
translate
(
"main"
,
"Install helpers (
l
inux only, requires sudo)."
),
"Install helpers (
L
inux 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
);
...
...
This diff is collapsed.
Click to expand it.
gui/qml/LoginDialog.qml
+
2
−
2
View file @
5cb364ae
...
...
@@ -17,11 +17,11 @@ Dialog {
}
TextField
{
id
:
username
placeholderText
:
qsTr
(
"
p
atron
id
"
)
placeholderText
:
qsTr
(
"
P
atron
ID
"
)
}
TextField
{
id
:
password
placeholderText
:
qsTr
(
"
p
assword
"
)
placeholderText
:
qsTr
(
"
P
assword
"
)
echoMode
:
TextInput
.
PasswordEchoOnEdit
visible
:
!
allowEmptyPass
}
...
...
This diff is collapsed.
Click to expand it.
gui/qml/main.qml
+
1
−
1
View file @
5cb364ae
...
...
@@ -35,7 +35,7 @@ ApplicationWindow {
if
(
ctx
.
errors
)
{
login
.
visible
=
false
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
"
)
{
showInitFailure
(
qsTr
(
"
Could not find polkit agent.
"
))
}
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