Skip site navigation (1)Skip section navigation (2)
Date:      13 Dec 2000 20:21:04 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        Marius Bendiksen <mbendiks@eunet.no>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Hajimu UMEMOTO <ume@mahoroba.org>, arch@FreeBSD.ORG
Subject:   Re: %a and %A formats
Message-ID:  <xzp66koqg9r.fsf@flood.ping.uio.no>
In-Reply-To: Marcel Moolenaar's message of "Wed, 13 Dec 2000 14:17:13 -0500"
References:  <Pine.BSF.4.05.10012131515050.37018-100000@login-1.eunet.no> <3A37CB39.C2E8AA67@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcel Moolenaar <marcel@cup.hp.com> writes:
> Using indexes to refer to the arguments (vectors) has an advantage for
> i18n. The order of the arguments is related to the language and some
> translations produce better messages if the order of the arguments isn't
> fixed.

Printf() allows you to specify which argument to use for each format
specifier. The kernel version doesn't support that, but I don't think
it's hard to fix.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp66koqg9r.fsf>