From 7e4bd16c706a971a8250c949756ba7694e9d61be Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Tue, 11 Aug 2009 08:32:10 +0200 Subject: s3 net: i18n support for net share --- source3/locale/net/genmsg | 2 +- source3/utils/net_share.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source3') diff --git a/source3/locale/net/genmsg b/source3/locale/net/genmsg index 1172b6861f..14cbf4e47c 100755 --- a/source3/locale/net/genmsg +++ b/source3/locale/net/genmsg @@ -32,7 +32,7 @@ FILES=`add_basedir_to_filelist ../../utils net.c net_ads.c net_ads_gpo.c \ net_join.c net_lookup.c net_lua.c net_rap.c net_registry.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_rpc_service.c net_rpc_sh_acct.c net_rpc_shell.c net_sam.c net_share.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_share.c b/source3/utils/net_share.c index 68fcd3b3bd..db06b7d35a 100644 --- a/source3/utils/net_share.c +++ b/source3/utils/net_share.c @@ -23,7 +23,7 @@ int net_share_usage(struct net_context *c, int argc, const char **argv) { - d_printf( + d_printf(_( "\nnet [] share [misc. options] [targets] \n" "\tenumerates all exported resources (network shares) " "on target server\n\n" @@ -45,10 +45,10 @@ int net_share_usage(struct net_context *c, int argc, const char **argv) "net [] share MIGRATE ALL [misc. options] [targets]" "\n\tMigrates shares (including directories, files) from remote\n" "\tto local server\n\n" - ); + )); net_common_methods_usage(c, argc, argv); net_common_flags_usage(c, argc, argv); - d_printf( + d_printf(_( "\t-C or --comment=\tdescriptive comment (for add only)\n" "\t-M or --maxusers=\t\tmax users allowed for share\n" "\t --acls\t\t\tcopies ACLs as well\n" @@ -56,7 +56,7 @@ int net_share_usage(struct net_context *c, int argc, const char **argv) "\t --timestamps\t\tpreserve timestamps while copying files\n" "\t --destination\t\tmigration target server (default: localhost)\n" "\t-e or --exclude\t\t\tlist of shares to be excluded from mirroring\n" - "\t-v or --verbose\t\t\tgive verbose output\n"); + "\t-v or --verbose\t\t\tgive verbose output\n")); return -1; } -- cgit