projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc80a11
)
new plural form i18n macro
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 3 Jan 2013 14:19:16 +0000
(14:19 +0000)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/gtk2_ardour/i18n.h
b/gtk2_ardour/i18n.h
index d004a729111fd20d9dd6ea9e816c68695bacbc5d..4b75d3431596162074e355c1cee16be53afc8ef5 100644
(file)
--- 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__