From 2388b9039df02abed3ece3e7ca2bee62869b1312 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Tue, 11 Aug 2009 08:40:48 +0200 Subject: s3 net: i18n support for net user --- source3/locale/net/genmsg | 2 +- source3/utils/net_user.c | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'source3') diff --git a/source3/locale/net/genmsg b/source3/locale/net/genmsg index 30c4cfcd24..4c98cf3fdc 100755 --- a/source3/locale/net/genmsg +++ b/source3/locale/net/genmsg @@ -33,7 +33,7 @@ FILES=`add_basedir_to_filelist ../../utils net.c net_ads.c net_ads_gpo.c \ net_registry_util.c net_rpc.c net_rpc_audit.c net_rpc_join.c \ net_rpc_printer.c net_rpc_registry.c net_rpc_rights.c net_rpc_samsync.c \ net_rpc_service.c net_rpc_sh_acct.c net_rpc_shell.c net_sam.c \ - net_share.c net_status.c net_time.c` + net_share.c net_status.c net_time.c net_user.c` LANGS="af ar bg bn bs ca cs cy da de el en_GB en_US es et fi fr gl gu he hi hr hu id it ja ka km ko lo lt mk mr nb nl pa pl pt_BR pt ro ru si sk sl sr diff --git a/source3/utils/net_user.c b/source3/utils/net_user.c index b98b6a13a7..2cf00170de 100644 --- a/source3/utils/net_user.c +++ b/source3/utils/net_user.c @@ -24,24 +24,24 @@ int net_user_usage(struct net_context *c, int argc, const char **argv) { - d_printf("\nnet [] user [misc. options] [targets]"\ - "\n\tList users\n\n"); - d_printf("net [] user DELETE [misc. options] [targets]"\ - "\n\tDelete specified user\n"); - d_printf("\nnet [] user INFO [misc. options] [targets]"\ - "\n\tList the domain groups of the specified user\n"); - d_printf("\nnet [] user ADD [password] [-c container] "\ - "[-F user flags] [misc. options]"\ - " [targets]\n\tAdd specified user\n"); - d_printf("\nnet [] user RENAME "\ - " [targets]\n\tRename specified user\n\n"); + d_printf(_("\nnet [] user [misc. options] [targets]" + "\n\tList users\n\n")); + d_printf(_("net [] user DELETE [misc. options] [targets]" + "\n\tDelete specified user\n")); + d_printf(_("\nnet [] user INFO [misc. options] [targets]" + "\n\tList the domain groups of the specified user\n")); + d_printf(_("\nnet [] user ADD [password] [-c container] " + "[-F user flags] [misc. options]" + " [targets]\n\tAdd specified user\n")); + d_printf(_("\nnet [] user RENAME " + " [targets]\n\tRename specified user\n\n")); net_common_methods_usage(c, argc, argv); net_common_flags_usage(c, argc, argv); - d_printf("\t-C or --comment=\tdescriptive comment "\ - "(for add only)\n"); - d_printf("\t-c or --container=\tLDAP container, defaults "\ - "to cn=Users (for add in ADS only)\n"); + d_printf(_("\t-C or --comment=\tdescriptive comment " + "(for add only)\n")); + d_printf(_("\t-c or --container=\tLDAP container, defaults " + "to cn=Users (for add in ADS only)\n")); return -1; } -- cgit