fix inadvertent breakage in ardev and friends caused by extension to LD_LIBRARY_PATH...
[ardour.git] / gtk2_ardour / i18n.h
index 0fae5e5ca06331fc52317265dd6868db3e7cb181..4b75d3431596162074e355c1cee16be53afc8ef5 100644 (file)
 /** Use this to translate strings that have different meanings in different places.
  *  Text should be of the form Context|Message.
  */
-#define S_(Text) sgettext (PACKAGE, Text)
+#define S_(Text) PBD::sgettext (PACKAGE, Text)
+
+/** Use this to translate strings with plural forms
+ */
+#define P_(Singular,Plural,HowMany) dngettext (PACKAGE, (Singular), (Plural), (HowMany))
 
 #endif // __i18n_h__