mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0306: plural messages are not translated properly
Problem: Plural messages are not translated properly. Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin)
This commit is contained in:
@@ -553,6 +553,10 @@ extern int (*dyn_libintl_putenv)(const char *envstring);
|
||||
/*
|
||||
* The _() stuff is for using gettext(). It is a no-op when libintl.h is not
|
||||
* found or the +multilang feature is disabled.
|
||||
* Use NGETTEXT(single, multi, number) to get plural behavior:
|
||||
* - single - message for singular form
|
||||
* - multi - message for plural form
|
||||
* - number - the count
|
||||
*/
|
||||
#ifdef FEAT_GETTEXT
|
||||
# ifdef DYNAMIC_GETTEXT
|
||||
|
Reference in New Issue
Block a user