mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-13 08:05:52 +01:00
Generate msgid and msgid_plural in .pot for wxPLURAL macro
This commit is contained in:
@@ -8,7 +8,7 @@ subdir = po
|
|||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
|
||||||
# These options get passed to xgettext.
|
# 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
|
# 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
|
# $(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
|
#undef wxPLURAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Note: The strings will go to the .pot file (do not use _(...)).
|
||||||
#define wxPLURAL(sing, plur, n) wxGetTranslation((sing), (plur), n)
|
#define wxPLURAL(sing, plur, n) wxGetTranslation((sing), (plur), n)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user