ardour
i18n.h
Go to the documentation of this file.
1 #ifndef __i18n_h__
2 #define __i18n_h__
3 
4 #include "pbd/compose.h"
5 #include "pbd/convert.h"
6 #include "gettext.h"
7 
8 #include <vector>
9 #include <string>
10 
11 #define _(Text) dgettext (PACKAGE,Text)
12 #define N_(Text) gettext_noop (Text)
13 #define X_(Text) Text
14 #define I18N(Array) PBD::internationalize (PACKAGE, Array)
15 
18 #define S_(Text) PBD::sgettext (PACKAGE, Text)
19 
20 #endif // __i18n_h__