1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-25 16:02:33 +01:00

Add i18n labels to wmgenmenu

This commit is contained in:
Tamas TEVESZ
2010-04-11 21:12:01 +02:00
committed by Carlos R. Mafra
parent 6002ce0cbc
commit 4247ac9f82
5 changed files with 424 additions and 334 deletions

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