Add i18n labels to wmgenmenu

This commit is contained in:
Tamas TEVESZ
2010-04-12 09:58:37 +02:00
committed by Carlos R. Mafra
parent 6002ce0cbc
commit 4247ac9f82
5 changed files with 424 additions and 334 deletions
+5
View File
@@ -409,8 +409,13 @@
#if defined(HAVE_LIBINTL_H) && defined(I18N)
#include <libintl.h>
#define _(text) gettext(text)
/* Use N_() in initializers, it will make xgettext pick
* the string up for translation
*/
#define N_(text) (text)
#else
#define _(text) (text)
#define N_(text) (text)
#endif
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)