Skip to content
Permalink
Browse files
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 <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jun 11, 2012
1 parent ad922ae commit 150dc0376bc64e2f5aba8f5351e03849323f73b5
Showing with 8 additions and 7 deletions.
  1. +8 −7 main.c
15 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

0 comments on commit 150dc03

Please sign in to comment.