s3 net: i18n support for net file
authorKai Blin <kai@samba.org>
Thu, 30 Jul 2009 07:35:42 +0000 (09:35 +0200)
committerKai Blin <kai@samba.org>
Thu, 30 Jul 2009 07:35:42 +0000 (09:35 +0200)
source3/po/genmsg
source3/utils/net_file.c

index c812f17374ea04eb74155a36bb77563efdf9a780..afea8953a602db6ec4b72d2d59ede33e6ba266a3 100755 (executable)
@@ -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'
 
index 8aa1b0e443f8e9811545d7bddf6ac697e95aed57..27f2d24096d354a8a4f5af73ab47db109441494b 100644 (file)
 
 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);