summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-07-30 09:35:42 +0200
committerKai Blin <kai@samba.org>2009-07-30 09:35:42 +0200
commit137a4015f04ea172c2610c9f5c9dd8295e1e4e0f (patch)
tree78155e836053f489f13058480ee0071b6a25b07d
parent3a7b04361e594a0a35229a7762d30daa3d4264bb (diff)
downloadsamba-137a4015f04ea172c2610c9f5c9dd8295e1e4e0f.tar.gz
samba-137a4015f04ea172c2610c9f5c9dd8295e1e4e0f.tar.bz2
samba-137a4015f04ea172c2610c9f5c9dd8295e1e4e0f.zip
s3 net: i18n support for net file
-rwxr-xr-xsource3/po/genmsg2
-rw-r--r--source3/utils/net_file.c18
2 files changed, 10 insertions, 10 deletions
diff --git a/source3/po/genmsg b/source3/po/genmsg
index c812f17374..afea8953a6 100755
--- a/source3/po/genmsg
+++ b/source3/po/genmsg
@@ -17,7 +17,7 @@
NET_FILES="../utils/net.c ../utils/net_ads.c ../utils/net_ads_gpo.c"
NET_FILES="${NET_FILES} ../utils/net_afs.c ../utils/net_cache.c"
NET_FILES="${NET_FILES} ../utils/net_conf.c ../utils/net_dom.c"
-NET_FILES="${NET_FILES} ../utils/net_eventlog.c"
+NET_FILES="${NET_FILES} ../utils/net_eventlog.c ../utils/net_file.c"
FILES="../web/swat.c ../web/statuspage.c ../param/loadparm.c ${NET_FILES}"
LANGS='en ja tr pl fr de it ru'
diff --git a/source3/utils/net_file.c b/source3/utils/net_file.c
index 8aa1b0e443..27f2d24096 100644
--- a/source3/utils/net_file.c
+++ b/source3/utils/net_file.c
@@ -24,15 +24,15 @@
int net_file_usage(struct net_context *c, int argc, const char **argv)
{
- d_printf("net [<method>] file [misc. options] [targets]\n"\
- "\tlists all open files on file server\n\n");
- d_printf("net [<method>] file USER <username> "\
- "[misc. options] [targets]"\
- "\n\tlists all files opened by username on file server\n\n");
- d_printf("net [<method>] file CLOSE <id> [misc. options] [targets]\n"\
- "\tcloses specified file on target server\n\n");
- d_printf("net [rap] file INFO <id> [misc. options] [targets]\n"\
- "\tdisplays information about the specified open file\n");
+ d_printf(_("net [<method>] file [misc. options] [targets]\n"
+ "\tlists all open files on file server\n"));
+ d_printf(_("net [<method>] file USER <username> "
+ "[misc. options] [targets]"
+ "\n\tlists all files opened by username on file server\n"));
+ d_printf(_("net [<method>] file CLOSE <id> [misc. options] [targets]\n"
+ "\tcloses specified file on target server\n"));
+ d_printf(_("net [rap] file INFO <id> [misc. options] [targets]\n"
+ "\tdisplays information about the specified open file\n"));
net_common_methods_usage(c, argc, argv);
net_common_flags_usage(c, argc, argv);