Paul Davis
a9a288b6a8
git-svn-id: svn://localhost/ardour2/branches/3.0@10835 d708f5d6-7413-0410-9779-e7cbd77b26cf
17 lines
418 B
C
17 lines
418 B
C
#ifndef __i18n_h__
|
|
#define __i18n_h__
|
|
|
|
#include <pbd/compose.h>
|
|
#include <pbd/convert.h>
|
|
#include "gettext.h"
|
|
|
|
#define _(Text) dgettext (PACKAGE, Text)
|
|
#define N_(Text) gettext_noop (Text)
|
|
#define X_(Text) (Text)
|
|
/** 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)
|
|
|
|
#endif // __i18n_h__
|