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_status.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/utils/net_status.c') diff --git a/source3/utils/net_status.c b/source3/utils/net_status.c index e7f3d33d55..d49470a187 100644 --- a/source3/utils/net_status.c +++ b/source3/utils/net_status.c @@ -63,9 +63,9 @@ static int net_status_sessions(struct net_context *c, int argc, const char **arg bool parseable; if (c->display_usage) { - d_printf(_("Usage:\n" + d_printf(_("Usage:\n"), "net status sessions [parseable]\n" - " Display open user sessions.\n" + " ",_("Display open user sessions.\n" " If parseable is specified, output is machine-" "readable.\n")); return 0; @@ -213,9 +213,9 @@ static int net_status_shares_parseable(struct net_context *c, int argc, const ch static int net_status_shares(struct net_context *c, int argc, const char **argv) { if (c->display_usage) { - d_printf(_("Usage:\n" + d_printf(_("Usage:\n"), "net status shares [parseable]\n" - " Display open user shares.\n" + " ",_("Display open user shares.\n" " If parseable is specified, output is machine-" "readable.\n")); return 0; -- cgit