new plural form i18n macro
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 3 Jan 2013 14:19:16 +0000 (14:19 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 3 Jan 2013 14:19:16 +0000 (14:19 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13759 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/i18n.h

index d004a729111fd20d9dd6ea9e816c68695bacbc5d..4b75d3431596162074e355c1cee16be53afc8ef5 100644 (file)
@@ -36,4 +36,8 @@
  */
 #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__