vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Sun Sep 30 17:12:16 2012 +0300| [1e42dcf39987f82b5531e9dabe38cdb0e91ff19e] | committer: Rémi Denis-Courmont
gnutls: really translate certificate questions > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e42dcf39987f82b5531e9dabe38cdb0e91ff19e --- modules/misc/gnutls.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c index 56c51f3..4609b77 100644 --- a/modules/misc/gnutls.c +++ b/modules/misc/gnutls.c @@ -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; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits