summaryrefslogtreecommitdiff
path: root/source3/utils
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 /source3/utils
parent346c5cca441a7bbc68250e08e7960df37faf2ddf (diff)
downloadsamba-3af57c66b35a13b94fe090ea3f46f2f2ad22b077.tar.gz
samba-3af57c66b35a13b94fe090ea3f46f2f2ad22b077.tar.bz2
samba-3af57c66b35a13b94fe090ea3f46f2f2ad22b077.zip
s3 net: i18n for net join
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_join.c14
1 files changed, 8 insertions, 6 deletions
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);
}