diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-03 14:19:16 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-03 14:19:16 +0000 |
commit | 68079ec0cd7a2029f52bf736929cc623ff8ac6a3 (patch) | |
tree | 9dc1f3b88c7e0a7ef9ba4d9ccacf605669682050 | |
parent | dc80a11432343354deb8e352b2036aebeede2236 (diff) |
new plural form i18n macro
git-svn-id: svn://localhost/ardour2/branches/3.0@13759 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/i18n.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/i18n.h b/gtk2_ardour/i18n.h index d004a72911..4b75d34315 100644 --- a/gtk2_ardour/i18n.h +++ b/gtk2_ardour/i18n.h @@ -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__ |