summaryrefslogtreecommitdiff
path: root/source3/utils/net_dom.c
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-01-18 23:39:19 +0100
committerBjörn Jacke <bj@sernet.de>2010-01-18 23:45:05 +0100
commitbd3c922e2bc1a163efc1d8c9cb59578bebb79616 (patch)
treef23544c18ce2c0ac8e9ff4b4f0302e4172aa1794 /source3/utils/net_dom.c
parentc3ef7a3d96763719de1df679d50fb8a00d1f7391 (diff)
downloadsamba-bd3c922e2bc1a163efc1d8c9cb59578bebb79616.tar.gz
samba-bd3c922e2bc1a163efc1d8c9cb59578bebb79616.tar.bz2
samba-bd3c922e2bc1a163efc1d8c9cb59578bebb79616.zip
s3/net: split up some printable stings to ease i18n
If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
Diffstat (limited to 'source3/utils/net_dom.c')
-rw-r--r--source3/utils/net_dom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_dom.c b/source3/utils/net_dom.c
index ba3b950e43..e139ef4e03 100644
--- a/source3/utils/net_dom.c
+++ b/source3/utils/net_dom.c
@@ -23,13 +23,13 @@
int net_dom_usage(struct net_context *c, int argc, const char **argv)
{
- d_printf(_("usage: net dom join "
+ d_printf(_("Usage:"), _(" net dom join "
"<domain=DOMAIN> <ou=OU> <account=ACCOUNT> "
"<password=PASSWORD> <reboot>\n Join a remote machine\n"));
- d_printf(_("usage: net dom unjoin "
+ d_printf(_("Usage:"), _(" net dom unjoin "
"<account=ACCOUNT> <password=PASSWORD> <reboot>\n"
" Unjoin a remote machine\n"));
- d_printf(_("usage: net dom renamecomputer "
+ d_printf(_("Usage:"), _(" net dom renamecomputer "
"<newname=NEWNAME> "
"<account=ACCOUNT> <password=PASSWORD> <reboot>\n"
" Rename joined computer\n"));