2008-06-02 17:41:35 -04:00
|
|
|
#ifndef __i18n_h__
|
|
|
|
#define __i18n_h__
|
|
|
|
|
|
|
|
#include <pbd/compose.h>
|
2011-11-28 16:07:22 -05:00
|
|
|
#include <pbd/convert.h>
|
2008-06-02 17:41:35 -04:00
|
|
|
#include "gettext.h"
|
|
|
|
|
|
|
|
#define _(Text) dgettext (PACKAGE, Text)
|
|
|
|
#define N_(Text) gettext_noop (Text)
|
|
|
|
#define X_(Text) (Text)
|
2011-11-28 15:38:23 -05:00
|
|
|
/** Use this to translate strings that have different meanings in different places.
|
|
|
|
* Text should be of the form Context|Message.
|
|
|
|
*/
|
|
|
|
#define S_(Text) PBD::sgettext (PACKAGE, Text)
|
2008-06-02 17:41:35 -04:00
|
|
|
|
|
|
|
#endif // __i18n_h__
|