13
0

new plural form i18n macro

git-svn-id: svn://localhost/ardour2/branches/3.0@13759 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2013-01-03 14:19:16 +00:00
parent dc80a11432
commit 68079ec0cd

View 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__