From bd3c922e2bc1a163efc1d8c9cb59578bebb79616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= 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_time.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/utils/net_time.c') diff --git a/source3/utils/net_time.c b/source3/utils/net_time.c index c53593d5565..1ed36238daa 100644 --- a/source3/utils/net_time.c +++ b/source3/utils/net_time.c @@ -133,9 +133,9 @@ static int net_time_system(struct net_context *c, int argc, const char **argv) time_t t; if (c->display_usage) { - d_printf(_("Usage:\n" + d_printf(_("Usage:\n"), "net time system\n" - " Output remote time server time in a format " + " ",_("Output remote time server time in a format " "ready for /bin/date\n")); return 0; } @@ -157,9 +157,9 @@ static int net_time_zone(struct net_context *c, int argc, const char **argv) time_t t; if (c->display_usage) { - d_printf(_("Usage:\n" + d_printf(_("Usage:\n"), "net time zone\n" - " Display the remote time server's offset to " + " ",_("Display the remote time server's offset to " "UTC\n")); return 0; } @@ -217,9 +217,9 @@ int net_time(struct net_context *c, int argc, const char **argv) } if (c->display_usage) { - d_printf(_("Usage:\n" + d_printf(_("Usage:\n"), "net time\n" - " Display the remote time server's time\n")); + " ",_("Display the remote time server's time\n")); net_display_usage_from_functable(func); return 0; } -- cgit v1.2.1