[openbeos] Coding Guidelines, translations

  • From: "Ithamar R. Adema" <ithamar@xxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 9 Nov 2001 10:39:30 +0100

Hi,

To make it easier with translating the applications, I've taken the 
habit to use a macro called =5FT. I use this macro as follows:

        printf(=5FT("Hello Dear %s"), name);

To make it easier to replace all literal strings with calls to 
translation libraries. Until we choose one however, we can do:

#define =5FT(str) (str)

and have no code generated for this. Is this an idea to include in the 
coding guidelines=3F

Regards,

Ithamar.




Other related posts: