From: Kurt Zeilenga Date: Sun, 6 Apr 2003 03:50:05 +0000 (+0000) Subject: mark the rest of translatable strings X-Git-Tag: AUTOCONF_2_57~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e62850324dad1d29a16871c9616698e5c6779213;p=openldap mark the rest of translatable strings --- diff --git a/libraries/libldap/error.c b/libraries/libldap/error.c index 786ad7cc44..ace949a6d7 100644 --- a/libraries/libldap/error.c +++ b/libraries/libldap/error.c @@ -159,7 +159,7 @@ ldap_err2string( int err ) e = ldap_int_error( err ); - return e ? e->e_reason : "Unknown error"; + return e ? e->e_reason : _("Unknown error"); } /* deprecated */ @@ -182,21 +182,21 @@ ldap_perror( LDAP *ld, LDAP_CONST char *str ) fprintf( stderr, "%s: %s (%d)\n", str ? str : "ldap_perror", - e ? e->e_reason : "unknown LDAP result code", + e ? e->e_reason : _("unknown LDAP result code"), ld->ld_errno ); if ( ld->ld_matched != NULL && ld->ld_matched[0] != '\0' ) { - fprintf( stderr, "\tmatched DN: %s\n", ld->ld_matched ); + fprintf( stderr, _("\tmatched DN: %s\n"), ld->ld_matched ); } if ( ld->ld_error != NULL && ld->ld_error[0] != '\0' ) { - fprintf( stderr, "\tadditional info: %s\n", ld->ld_error ); + fprintf( stderr, _("\tadditional info: %s\n"), ld->ld_error ); } if ( ld->ld_referrals != NULL && ld->ld_referrals[0] != NULL) { - fprintf( stderr, "\treferrals:\n" ); + fprintf( stderr, _("\treferrals:\n") ); for (i=0; ld->ld_referrals[i]; i++) { - fprintf( stderr, "\t\t%s\n", ld->ld_referrals[i] ); + fprintf( stderr, _("\t\t%s\n"), ld->ld_referrals[i] ); } }