Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
1e42dcf3
Commit
1e42dcf3
authored
Sep 30, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gnutls: really translate certificate questions
parent
77646da0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
modules/misc/gnutls.c
modules/misc/gnutls.c
+12
-12
No files found.
modules/misc/gnutls.c
View file @
1e42dcf3
...
...
@@ -277,13 +277,13 @@ static int gnutls_CertSearch (vlc_tls_t *obj, const char *host,
return
-
1
;
}
if
(
dialog_Question
(
obj
,
N
_
(
"Insecure site"
),
N
_
(
"You attempted to reach %s, but security certificate presented by "
"the server could not be verified."
"This problem may be caused by a configuration error "
"on the server or by a serious breach of network security.
\n\n
"
"If in doubt, abort now.
\n
"
),
N_
(
"Abort"
),
N
_
(
"View certificate"
),
NULL
,
host
)
!=
2
)
if
(
dialog_Question
(
obj
,
_
(
"Insecure site"
),
_
(
"You attempted to reach %s, but security certificate presented by "
"the server could not be verified."
"This problem may be caused by a configuration error "
"on the server or by a serious breach of network security.
\n\n
"
"If in doubt, abort now.
\n
"
),
_
(
"Abort"
),
_
(
"View certificate"
),
NULL
,
host
)
!=
2
)
return
-
1
;
gnutls_x509_crt_t
cert
;
...
...
@@ -299,11 +299,11 @@ static int gnutls_CertSearch (vlc_tls_t *obj, const char *host,
}
gnutls_x509_crt_deinit
(
cert
);
val
=
dialog_Question
(
obj
,
N
_
(
"Insecure site"
),
N
_
(
"This is the certificate presented by %s:
\n
%s
\n\n
"
"If in doubt, abort now.
\n
"
),
N_
(
"Abort"
),
N
_
(
"Accept 24 hours"
),
N
_
(
"Accept permanently"
),
host
,
desc
.
data
);
val
=
dialog_Question
(
obj
,
_
(
"Insecure site"
),
_
(
"This is the certificate presented by %s:
\n
%s
\n\n
"
"If in doubt, abort now.
\n
"
),
_
(
"Abort"
),
_
(
"Accept 24 hours"
),
_
(
"Accept permanently"
),
host
,
desc
.
data
);
gnutls_free
(
desc
.
data
);
time_t
expiry
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment