Mercurial > hg > xmms-sid
comparison src/xs_support.h @ 619:6f9c5bb127e6
Moved NLS macros to xs_support.h
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 02 Sep 2007 22:13:05 +0000 |
parents | a751d2b85a7d |
children | e7e47ba162b1 |
comparison
equal
deleted
inserted
replaced
618:ddae043e8e47 | 619:6f9c5bb127e6 |
---|---|
41 #ifdef HAVE_MEMORY_H | 41 #ifdef HAVE_MEMORY_H |
42 #include <memory.h> | 42 #include <memory.h> |
43 #endif | 43 #endif |
44 | 44 |
45 | 45 |
46 /* Metadata structures */ | 46 /* Standard gettext macros |
47 #ifdef AUDACIOUS_PLUGIN | 47 */ |
48 #define t_xs_tuple Tuple | 48 #ifdef ENABLE_NLS |
49 # include <libintl.h> | |
50 # undef _ | |
51 # define _(String) dgettext (PACKAGE, String) | |
52 # ifdef gettext_noop | |
53 # define N_(String) gettext_noop (String) | |
54 # else | |
55 # define N_(String) (String) | |
56 # endif | |
49 #else | 57 #else |
50 #define t_xs_tuple TitleInput | 58 # define _LIBINTL_H |
59 # define textdomain(String) (String) | |
60 # define gettext(String) (String) | |
61 # define dgettext(Domain,Message) (Message) | |
62 # define dcgettext(Domain,Message,Type) (Message) | |
63 # define bindtextdomain(Domain,Directory) (Domain) | |
64 # define _(String) (String) | |
65 # define N_(String) (String) | |
51 #endif | 66 #endif |
67 | |
52 | 68 |
53 /* VFS replacement functions | 69 /* VFS replacement functions |
54 */ | 70 */ |
55 #ifdef __AUDACIOUS_NEWVFS__ | 71 #ifdef __AUDACIOUS_NEWVFS__ |
56 #include <audacious/vfs.h> | 72 #include <audacious/vfs.h> |