[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: [Gnash-commit] gnash ChangeLog libbase/log.cpp libbase/log.h
From: |
Benjamin Wolsey |
Subject: |
AW: [Gnash-commit] gnash ChangeLog libbase/log.cpp libbase/log.h |
Date: |
Wed, 20 Feb 2008 10:03:26 +0000 (GMT) |
----- Ursprüngliche Mail ----
Von: Benjamin Wolsey <address@hidden>
An: address@hidden
Gesendet: Mittwoch, den 20. Februar 2008, 10:38:55 Uhr
Betreff: [Gnash-commit] gnash ChangeLog libbase/log.cpp libbase/log.h
It
probably
isn't
the
time
to
add
boost::format
just
before
a
release,
so
all
the
new
methods
are
commented
out.
That
also
gives
time
for
discussion
before
any
definite
changes
get
made
(or
not).
A
boost::format
typedef
or
perhaps
better
a
macro
LOG
boost::format(_(x));
would
make
logging
calls
shorter
and
more
likely
to
be
passed
to
gettext.
(I've given up on the > characters for quoting for the moment because my Yahoo
mail quotes every single word on a separate line.)
One problem with boost::format on its own is that badly formatted strings
compile without difficulty but throw a runtime exception. It would certainly be
necessary to define our own boost::format function and either tolerate
badly-formed strings or too few / too many arguments or, better, catch the
exception and warn. This is particularly a problem because translators could
otherwise mess Gnash up by missing a % sign.
E-Mails jetzt auf Ihrem Handy.
www.yahoo.de/go
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AW: [Gnash-commit] gnash ChangeLog libbase/log.cpp libbase/log.h,
Benjamin Wolsey <=