From 137a4015f04ea172c2610c9f5c9dd8295e1e4e0f Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Thu, 30 Jul 2009 09:35:42 +0200 Subject: [PATCH] s3 net: i18n support for net file --- source3/po/genmsg | 2 +- source3/utils/net_file.c | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/source3/po/genmsg b/source3/po/genmsg index c812f17374e..afea8953a60 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 8aa1b0e443f..27f2d24096d 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 [] file [misc. options] [targets]\n"\ - "\tlists all open files on file server\n\n"); - d_printf("net [] file USER "\ - "[misc. options] [targets]"\ - "\n\tlists all files opened by username on file server\n\n"); - d_printf("net [] file CLOSE [misc. options] [targets]\n"\ - "\tcloses specified file on target server\n\n"); - d_printf("net [rap] file INFO [misc. options] [targets]\n"\ - "\tdisplays information about the specified open file\n"); + d_printf(_("net [] file [misc. options] [targets]\n" + "\tlists all open files on file server\n")); + d_printf(_("net [] file USER " + "[misc. options] [targets]" + "\n\tlists all files opened by username on file server\n")); + d_printf(_("net [] file CLOSE [misc. options] [targets]\n" + "\tcloses specified file on target server\n")); + d_printf(_("net [rap] file INFO [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); -- 2.11.4.GIT