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:
committed by
Carlos R. Mafra
parent
6002ce0cbc
commit
4247ac9f82
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user