mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-21 14:50:06 +02:00
Generate msgid and msgid_plural in .pot for wxPLURAL macro
This commit is contained in:
parent
ec5f9d6b66
commit
f6b5d8e651
@ -8,7 +8,7 @@ subdir = po
|
||||
top_builddir = ..
|
||||
|
||||
# These options get passed to xgettext.
|
||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=XO --add-comments=" i18n"
|
||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=XO --keyword=wxPLURAL:1,2 --add-comments=" i18n"
|
||||
|
||||
# This is the copyright holder that gets inserted into the header of the
|
||||
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
|
||||
|
@ -215,6 +215,7 @@ extern const wxString& GetCustomSubstitution(const wxString& str1 );
|
||||
#undef wxPLURAL
|
||||
#endif
|
||||
|
||||
// Note: The strings will go to the .pot file (do not use _(...)).
|
||||
#define wxPLURAL(sing, plur, n) wxGetTranslation((sing), (plur), n)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user