diff options
author | Kai Blin <kai@samba.org> | 2009-08-11 08:40:48 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2009-08-11 09:34:24 +0200 |
commit | 2388b9039df02abed3ece3e7ca2bee62869b1312 (patch) | |
tree | 9bb76ea82e8f8045655939e702f67feea6a008c6 /source3 | |
parent | a8c8432247c61944e63ec7f645e69fbbe777a53f (diff) | |
download | samba-2388b9039df02abed3ece3e7ca2bee62869b1312.tar.gz samba-2388b9039df02abed3ece3e7ca2bee62869b1312.tar.bz2 samba-2388b9039df02abed3ece3e7ca2bee62869b1312.zip |
s3 net: i18n support for net user
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/locale/net/genmsg | 2 | ||||
-rw-r--r-- | source3/utils/net_user.c | 30 |
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; } |