s3 net: i18n support for net user
authorKai Blin <kai@samba.org>
Tue, 11 Aug 2009 06:40:48 +0000 (08:40 +0200)
committerKai Blin <kai@samba.org>
Tue, 11 Aug 2009 07:34:24 +0000 (09:34 +0200)
source3/locale/net/genmsg
source3/utils/net_user.c

index 30c4cfcd240fc58e0f63f5fd874e0d66e1704c4d..4c98cf3fdc630757f56b6475a72c0d08c0c9b947 100755 (executable)
@@ -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
index b98b6a13a7e9f4fac376de21312a325d4faa763d..2cf00170de4868697614f74c3aca1f36545c57ac 100644 (file)
 
 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;
 }