Re: Error in .po file ?



On Wed, Aug 20, 2003 at 12:26:05PM +0000, Richard Allen wrote:
> gconf (HEAD) has:
> 
> msgid "Ignoring bad car from XML pair: %s"
> 
> Im thinking this is meant to be "char", but I do admit to a lack of
> rudamentary understanding in XML so I guess automobiles could be
> involved somehow...

The term "car" and its counterpart "cdr" are from LISP, not XML. They
refer to the first and second element of a pair, respectively. If I
understand this correctly, GConf, like LISP, uses pairs to represent
lists:

(a (b (c (d ()))))

Which is a pair with a car of "a" and a cdr of a pair with a car of "b"
and a cdr of a pair with... The last item in the list (the cdr of the
innermost pair) is an empty list.

Clear? :)

The way I got around this for the Welsh translation was to uppercase CAR
and CDR to make clear that they were special terms.

-- 
Dafydd



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]