Skip to content

Commit

Permalink
Translate build option output
Browse files Browse the repository at this point in the history
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 150dc03
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions main.c
Expand Up @@ -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
Expand Down

0 comments on commit 150dc03

Please sign in to comment.