summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/locale/net/genmsg2
-rw-r--r--source3/utils/net_user.c30
2 files changed, 16 insertions, 16 deletions
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 [<method>] user [misc. options] [targets]"\
- "\n\tList users\n\n");
- d_printf("net [<method>] user DELETE <name> [misc. options] [targets]"\
- "\n\tDelete specified user\n");
- d_printf("\nnet [<method>] user INFO <name> [misc. options] [targets]"\
- "\n\tList the domain groups of the specified user\n");
- d_printf("\nnet [<method>] user ADD <name> [password] [-c container] "\
- "[-F user flags] [misc. options]"\
- " [targets]\n\tAdd specified user\n");
- d_printf("\nnet [<method>] user RENAME <oldusername> <newusername>"\
- " [targets]\n\tRename specified user\n\n");
+ d_printf(_("\nnet [<method>] user [misc. options] [targets]"
+ "\n\tList users\n\n"));
+ d_printf(_("net [<method>] user DELETE <name> [misc. options] [targets]"
+ "\n\tDelete specified user\n"));
+ d_printf(_("\nnet [<method>] user INFO <name> [misc. options] [targets]"
+ "\n\tList the domain groups of the specified user\n"));
+ d_printf(_("\nnet [<method>] user ADD <name> [password] [-c container] "
+ "[-F user flags] [misc. options]"
+ " [targets]\n\tAdd specified user\n"));
+ d_printf(_("\nnet [<method>] user RENAME <oldusername> <newusername>"
+ " [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=<comment>\tdescriptive comment "\
- "(for add only)\n");
- d_printf("\t-c or --container=<container>\tLDAP container, defaults "\
- "to cn=Users (for add in ADS only)\n");
+ d_printf(_("\t-C or --comment=<comment>\tdescriptive comment "
+ "(for add only)\n"));
+ d_printf(_("\t-c or --container=<container>\tLDAP container, defaults "
+ "to cn=Users (for add in ADS only)\n"));
return -1;
}