From bd3c922e2bc1a163efc1d8c9cb59578bebb79616 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Mon, 18 Jan 2010 23:39:19 +0100 Subject: 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. --- source3/utils/net_rpc_samsync.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/utils/net_rpc_samsync.c') diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c index 89568eef94..b6b5b21542 100644 --- a/source3/utils/net_rpc_samsync.c +++ b/source3/utils/net_rpc_samsync.c @@ -252,9 +252,9 @@ NTSTATUS rpc_vampire_internals(struct net_context *c, int rpc_vampire_passdb(struct net_context *c, int argc, const char **argv) { if (c->display_usage) { - d_printf(_("Usage:\n" + d_printf(_("Usage:\n"), "net rpc vampire passdb\n" - " Dump remote SAM database to passdb\n")); + " ",_("Dump remote SAM database to passdb\n")); return 0; } @@ -333,9 +333,9 @@ NTSTATUS rpc_vampire_ldif_internals(struct net_context *c, int rpc_vampire_ldif(struct net_context *c, int argc, const char **argv) { if (c->display_usage) { - d_printf(_("Usage:\n" + d_printf(_("Usage:\n"), "net rpc vampire ldif\n" - " Dump remote SAM database to LDIF file or " + " ",_("Dump remote SAM database to LDIF file or " "stdout\n")); return 0; } @@ -477,8 +477,8 @@ int rpc_vampire_keytab(struct net_context *c, int argc, const char **argv) struct net_dc_info dc_info; if (c->display_usage || (argc < 1)) { - d_printf(_("Usage:\n" - "net rpc vampire keytab \n" + d_printf(_("Usage:\n"), + _("net rpc vampire keytab \n" " Dump remote SAM database to Kerberos keytab " "file\n")); return 0; -- cgit