projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix breakage for optimized build caused by semantically critical statement inside...
[ardour.git]
/
libs
/
ardour
/
i18n.h
diff --git
a/libs/ardour/i18n.h
b/libs/ardour/i18n.h
index 5d68c79edd9bab1496341771b0670877efcb2735..43ae07cac130dadd05b158a4afae3039b2134809 100644
(file)
--- a/
libs/ardour/i18n.h
+++ b/
libs/ardour/i18n.h
@@
-1,8
+1,8
@@
#ifndef __i18n_h__
#define __i18n_h__
#ifndef __i18n_h__
#define __i18n_h__
-#include
<pbd/compose.h>
-#include
<pbd/convert.h>
+#include
"pbd/compose.h"
+#include
"pbd/convert.h"
#include "gettext.h"
#include <vector>
#include "gettext.h"
#include <vector>
@@
-12,5
+12,9
@@
#define N_(Text) gettext_noop (Text)
#define X_(Text) Text
#define I18N(Array) PBD::internationalize (PACKAGE, Array)
#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__
#endif // __i18n_h__