diff src/po/Make_all.mak @ 32499:0d2b75395eda v9.0.1581

patch 9.0.1581: translation does not work for plural argument Commit: https://github.com/vim/vim/commit/a1d5f9f33c68d06475406d6f44d307d5e01adc01 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 27 13:40:11 2023 +0100 patch 9.0.1581: translation does not work for plural argument Problem: Translation does not work for plural argument. Solution: Use PLURAL_MSG() for errors and with xgettext. (closes https://github.com/vim/vim/issues/12443)
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 May 2023 14:45:04 +0200
parents 2fc568b082ef
children 448aef880252
line wrap: on
line diff
--- a/src/po/Make_all.mak
+++ b/src/po/Make_all.mak
@@ -188,3 +188,5 @@ PO_VIM_JSLIST = \
 	optwin.js \
 	defaults.js
 
+# Arguments for xgettext to pick up messages to translate from the source code.
+XGETTEXT_KEYWORDS = --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --keyword=PLURAL_MSG:2,4