Add i18n labels to wmgenmenu

This commit is contained in:
Tamas TEVESZ authored and Carlos R. Mafra committed 2010-04-12 09:58:37 +02:00
1 parent 6002ce0cbc
commit 4247ac9f82
5 files changed
+424 -334

No files matched your search

+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__)