From 150dc0376bc64e2f5aba8f5351e03849323f73b5 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 11 Jun 2012 14:51:15 +0100 Subject: [PATCH] Translate build option output Oops. The whole point in doing it this way with full sentences instead of crap like ("with%s TPM support", tpm?"":"out") was to ease translation... and then I forgot to mark the strings translatable :) Signed-off-by: David Woodhouse --- main.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/main.c b/main.c index ad0722b..35ca377 100644 --- a/main.c +++ b/main.c @@ -177,23 +177,24 @@ static void helpmessage(void) static void print_build_opts(void) { + openconnect_init_ssl(); #if defined (OPENCONNECT_OPENSSL) && defined (HAVE_ENGINE) - printf("Using OpenSSL with TPM ENGINE support\n"); + printf(_("Using OpenSSL with TPM ENGINE support\n")); #elif defined (OPENCONNECT_OPENSSL) - printf("Using OpenSSL without TPM ENGINE support\n"); + printf(_("Using OpenSSL without TPM ENGINE support\n")); #elif defined (OPENCONNECT_GNUTLS) && defined (HAVE_P11KIT) - printf("Using GnuTLS with PKCS#11 token support\n"); + printf(_("Using GnuTLS with PKCS#11 token support\n")); #elif defined (OPENCONNECT_GNUTLS) - printf("Using GnuTLS without PKCS#11 token support\n"); + printf(_("Using GnuTLS without PKCS#11 token support\n")); #else #error wtf #endif #ifndef HAVE_DTLS - printf("No DTLS support in this binary\n"); + printf(_("No DTLS support in this binary\n")); #elif defined (DTLS_OPENSSL) - printf("Using OpenSSL for DTLS support\n"); + printf(_("Using OpenSSL for DTLS support\n")); #elif defined (DTLS_GNUTLS) - printf("Using GnuTLS for DTLS support\n"); + printf(_("Using GnuTLS for DTLS support\n")); #else #error wtf #endif -- 2.7.4