From bbfaf8c6c5eec62e083e038ed3c3f24b2d01a202 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 6 Apr 2003 03:27:52 +0000 Subject: [PATCH] Misc translation tweaks --- clients/tools/ldapcompare.c | 3 ++- clients/tools/ldapmodify.c | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/clients/tools/ldapcompare.c b/clients/tools/ldapcompare.c index 18b1ae3877..b797c5fbac 100644 --- a/clients/tools/ldapcompare.c +++ b/clients/tools/ldapcompare.c @@ -49,7 +49,8 @@ usage( void ) fprintf( stderr, _(" b64value\tbase64 encoding of assertion value\n")); fprintf( stderr, _("Compare options:\n")); - fprintf( stderr, _(" -z Quiet mode, don't print anything, use return values\n")); + fprintf( stderr, _(" -z Quiet mode," + " don't print anything, use return values\n")); tool_common_usage(); exit( EXIT_FAILURE ); } diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index e521dc0317..2003d23dc9 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -94,7 +94,8 @@ usage( void ) fprintf( stderr, _(" The list of desired operations are read from stdin or from the file\n")); fprintf( stderr, _(" specified by \"-f file\".\n")); fprintf( stderr, _("Add or modify options:\n")); - fprintf( stderr, _(" -a add values (default%s)\n"), (ldapadd ? "" : _(" is to replace"))); + fprintf( stderr, _(" -a add values (%s)\n"), + (ldapadd ? _("default") : _("default is to replace"))); fprintf( stderr, _(" -F force all changes records to be used\n")); fprintf( stderr, _(" -S file write skipped modifications to `file'\n")); tool_common_usage(); @@ -827,9 +828,10 @@ domodify( if ( verbose ) { for ( i = 0; pmods[ i ] != NULL; ++i ) { op = pmods[ i ]->mod_op & ~LDAP_MOD_BVALUES; - printf( "%s %s:\n", op == LDAP_MOD_REPLACE ? - _("replace") : op == LDAP_MOD_ADD ? - _("add") : _("delete"), pmods[ i ]->mod_type ); + printf( "%s %s:\n", + op == LDAP_MOD_REPLACE ? _("replace") : op == LDAP_MOD_ADD + ? _("add") : _("delete"), + pmods[ i ]->mod_type ); if ( pmods[ i ]->mod_bvalues != NULL ) { for ( j = 0; pmods[ i ]->mod_bvalues[ j ] != NULL; ++j ) { bvp = pmods[ i ]->mod_bvalues[ j ]; -- 2.39.5