On Sat, Aug 20, 2005 at 11:06:15AM -0700, Nathaniel Smith wrote:
It seems clear that F() is not actually the optimal marker for
i18nable text; in particular, it's sometimes used to do things like
build SQL strings... (though these could use boost::format directly, I
suppose...)
Right, after fighting with gettext for a bit, I changed my mind.
Current policy (the best one I could come up with):
F() marks strings that should be translated
For strings that should be translated and involve plurals, use:
FP("%i doorbell", "%i doorbells", count) % count