ardour
Macros
i18n.h File Reference
#include <pbd/compose.h>
#include <pbd/convert.h>
#include "gettext.h"

Go to the source code of this file.

Macros

#define _(Text)   dgettext (PACKAGE, Text)
 
#define N_(Text)   gettext_noop (Text)
 
#define X_(Text)   (Text)
 
#define S_(Text)   PBD::sgettext (PACKAGE, Text)
 

Macro Definition Documentation

#define _ (   Text)    dgettext (PACKAGE, Text)

Definition at line 8 of file i18n.h.

#define N_ (   Text)    gettext_noop (Text)

Definition at line 9 of file i18n.h.

#define S_ (   Text)    PBD::sgettext (PACKAGE, Text)

Use this to translate strings that have different meanings in different places. Text should be of the form Context|Message.

Definition at line 14 of file i18n.h.

#define X_ (   Text)    (Text)

Definition at line 10 of file i18n.h.