Re: Simplification of localization.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Simplification of localization.
- From: steve donovan <steve.j.donovan@...>
- Date: 2014年10月29日 08:11:03 +0200
On Wed, Oct 29, 2014 at 8:01 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> You mean something like this:
>
> error(msg.x_should_lie_between_0_and_255)
Although I think the OP means in the Lua core, so it's more like
#define x_should_lie_between_0_and_25 "x should lie between 0 and 255"
Tricky to do when there's format specifiers in general.