mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3 net: i18n for net join
This commit is contained in:
parent
346c5cca44
commit
3af57c66b3
@ -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'
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user