mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
vim-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)
da6e8919e7
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
# else
|
||||
# define N_(x) x
|
||||
# endif
|
||||
# define NGETTEXT(x, xs, n) ngettext(x, xs, n)
|
||||
# define NGETTEXT(x, xs, n) ngettext(x, xs, (unsigned long)n)
|
||||
// On a Mac, gettext's libintl.h defines "setlocale" to be replaced by
|
||||
// "libintl_setlocal" which leads to wrong return values. #9789
|
||||
# if defined(__APPLE__) && defined(setlocale)
|
||||
|
Reference in New Issue
Block a user