diff options
author | Kai Blin <kai@samba.org> | 2009-08-11 08:32:10 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2009-08-11 09:34:24 +0200 |
commit | 7e4bd16c706a971a8250c949756ba7694e9d61be (patch) | |
tree | 1b56dbab72adec90f87b6f555438aea65266838d /source3 | |
parent | a0eb906f7ef8bb9e309e975a88c1243de8683876 (diff) | |
download | samba-7e4bd16c706a971a8250c949756ba7694e9d61be.tar.gz |
s3 net: i18n support for net share
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/locale/net/genmsg | 2 | ||||
-rw-r--r-- | source3/utils/net_share.c | 8 |
2 files changed, 5 insertions, 5 deletions
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 [<method>] 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 [<method>] share MIGRATE ALL <sharename> [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=<comment>\tdescriptive comment (for add only)\n" "\t-M or --maxusers=<num>\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; } |