X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fi18n.h;h=43ae07cac130dadd05b158a4afae3039b2134809;hb=84bcf5981274ea0674f5702ef1f0570c2b57a0f2;hp=dcbbfcf52efe7f586d6a962dfeff633344eda83c;hpb=e0aaed6d65f160c328cb8b56d7c6552ee15d65e2;p=ardour.git diff --git a/libs/ardour/i18n.h b/libs/ardour/i18n.h index dcbbfcf52e..43ae07cac1 100644 --- a/libs/ardour/i18n.h +++ b/libs/ardour/i18n.h @@ -12,5 +12,9 @@ #define N_(Text) gettext_noop (Text) #define X_(Text) Text #define I18N(Array) PBD::internationalize (PACKAGE, Array) +/** 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__