Re: [GIT PULL/RESEND] kernel message catalog patches

From: Theodore Tso
Date: Mon Oct 27 2008 - 15:37:54 EST


On Mon, Oct 27, 2008 at 09:10:56AM -0700, Linus Torvalds wrote:
>
> I do agree. Another issue is that quite often the actual line to be
> printed is likely fairly short, and often in an error path (so it's
> indented and in an inconvenient place), but the explanation - even for a
> _single_ language - may well be pretty involved and long.

It's likely that the explanation would need to be just outside the
containing function, and not in-line where it might need to be deeply
indented.

And I think we do need separate out the question of multiple langauges
from the explanation in a single canonical language (i.e., English).
Does keeping the explanation just before the containing function mean
that it's "so far away" that it might as well be kept completely
outside of the kernel? I don't think so, but it's probably not worth
a huge amount of effort debating it; tools for keeping an external
database in sync is a pain, but they've certainly been done before for
related problems (especially in the case of translations, where they
would have to be done that way anyway).

- Ted

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/