summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-07-30 12:07:31 +0200
committerKai Blin <kai@samba.org>2009-07-30 12:07:31 +0200
commit3af57c66b35a13b94fe090ea3f46f2f2ad22b077 (patch)
tree5d46a0ca011c0b162d9a2e732201aca7330a830f
parent346c5cca441a7bbc68250e08e7960df37faf2ddf (diff)
downloadsamba-3af57c66b35a13b94fe090ea3f46f2f2ad22b077.tar.gz
samba-3af57c66b35a13b94fe090ea3f46f2f2ad22b077.tar.bz2
samba-3af57c66b35a13b94fe090ea3f46f2f2ad22b077.zip
s3 net: i18n for net join
-rwxr-xr-xsource3/po/genmsg2
-rw-r--r--source3/utils/net_join.c14
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 [<method>] 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 [<method>] 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);
}