From 3af57c66b35a13b94fe090ea3f46f2f2ad22b077 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Thu, 30 Jul 2009 12:07:31 +0200 Subject: s3 net: i18n for net join --- source3/po/genmsg | 2 +- source3/utils/net_join.c | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/source3/po/genmsg b/source3/po/genmsg index 87cd47dd37..5dfff1521f 100755 --- a/source3/po/genmsg +++ b/source3/po/genmsg @@ -29,7 +29,7 @@ add_basedir_to_filelist() { NET_FILES=`add_basedir_to_filelist ../utils net.c net_ads.c net_ads_gpo.c \ net_afs.c net_cache.c net_conf.c net_dom.c net_eventlog.c \ net_file.c net_group.c net_groupmap.c net_help.c net_help_common.c \ - net_idmap.c` + net_idmap.c net_join.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_join.c b/source3/utils/net_join.c index 8d4d8c3e52..9e9ef2af06 100644 --- a/source3/utils/net_join.c +++ b/source3/utils/net_join.c @@ -23,11 +23,11 @@ int net_join_usage(struct net_context *c, int argc, const char **argv) { - d_printf("\nnet [] join [misc. options]\n" - "\tjoins this server to a domain\n"); - d_printf("Valid methods: (auto-detected if not specified)\n"); - d_printf("\tads\t\t\t\tActive Directory (LDAP/Kerberos)\n"); - d_printf("\trpc\t\t\t\tDCE-RPC\n"); + d_printf(_("\nnet [] join [misc. options]\n" + "\tjoins this server to a domain\n")); + d_printf(_("Valid methods: (auto-detected if not specified)\n")); + d_printf(_("\tads\t\t\t\tActive Directory (LDAP/Kerberos)\n")); + d_printf(_("\trpc\t\t\t\tDCE-RPC\n")); net_common_flags_usage(c, argc, argv); return -1; } @@ -43,7 +43,9 @@ int net_join(struct net_context *c, int argc, const char **argv) if (net_ads_join(c, argc, argv) == 0) return 0; else - d_fprintf(stderr, "ADS join did not work, falling back to RPC...\n"); + d_fprintf(stderr, + _("ADS join did not work, falling back to " + "RPC...\n")); } return net_rpc_join(c, argc, argv); } -- cgit