mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-14 05:15:43 +01:00
6343f35202
i18nize some programs with gettext.
16 lines
330 B
C
16 lines
330 B
C
#ifndef __MY_GETTEXT_H
|
|
#define __MY_GETTEXT_H
|
|
|
|
#if ENABLE_NLS
|
|
# include <libintl.h>
|
|
#else
|
|
# define gettext(msgid) (msgid)
|
|
# define textdomain(domain)
|
|
# define bindtextdomain(domain, dir)
|
|
#endif
|
|
|
|
#define _(msgid) gettext (msgid)
|
|
#define gettext_noop(msgid) msgid
|
|
#define N_(msgid) gettext_noop (msgid)
|
|
|
|
#endif /* __MY_GETTEXT_H */
|