Re: Patch 6.2.512
- * Bram Moolenaar <Bram@...> [Apr 28, 2004 19:40]:
> > I don't want to be picky, but wouldn't it be better to create a newAha, OK then.
> > errmsg function that takes varargs so that you could wrap the whole
> > string in _() and thus the en@quot stuff with gettext will work
> > correctly, provided that it's added to po/LINGUAS.
> mch_errmsg() is a special kind of function for writing messages when Vim
> hasn't finished starting up. smsg() does do the varargs thing, but
> can't be used here.
> It's a bit clumsy, but gets the job done. You can't realy change the
> order of the arguments, the argv strings much come last, because they
> can be very long and may obscure the error text. That's actually a
> protection against translators that don't know the context.
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::