comparison src/po/Make_cyg.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
comparison
equal deleted inserted replaced
32498:6e64f36e3dcc 32499:0d2b75395eda
64 vim.desktop.in 64 vim.desktop.in
65 65
66 first_time: $(PO_INPUTLIST) $(PO_VIM_INPUTLIST) 66 first_time: $(PO_INPUTLIST) $(PO_VIM_INPUTLIST)
67 $(VIM) -u NONE --not-a-term -S tojavascript.vim $(LANGUAGE).pot $(PO_VIM_INPUTLIST) 67 $(VIM) -u NONE --not-a-term -S tojavascript.vim $(LANGUAGE).pot $(PO_VIM_INPUTLIST)
68 $(XGETTEXT) --default-domain=$(LANGUAGE) \ 68 $(XGETTEXT) --default-domain=$(LANGUAGE) \
69 --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(PO_INPUTLIST) $(PO_VIM_JSLIST) 69 --add-comments $(XGETTEXT_KEYWORDS) $(PO_INPUTLIST) $(PO_VIM_JSLIST)
70 $(VIM) -u NONE --not-a-term -S fixfilenames.vim $(LANGUAGE).pot $(PO_VIM_INPUTLIST) 70 $(VIM) -u NONE --not-a-term -S fixfilenames.vim $(LANGUAGE).pot $(PO_VIM_INPUTLIST)
71 $(RM) *.js 71 $(RM) *.js
72 72
73 $(PACKAGE).pot: $(PO_INPUTLIST) $(PO_VIM_INPUTLIST) 73 $(PACKAGE).pot: $(PO_INPUTLIST) $(PO_VIM_INPUTLIST)
74 $(VIM) -u NONE --not-a-term -S tojavascript.vim $(PACKAGE).pot $(PO_VIM_INPUTLIST) 74 $(VIM) -u NONE --not-a-term -S tojavascript.vim $(PACKAGE).pot $(PO_VIM_INPUTLIST)
75 $(XGETTEXT) --default-domain=$(PACKAGE) \ 75 $(XGETTEXT) --default-domain=$(PACKAGE) \
76 --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(PO_INPUTLIST) $(PO_VIM_JSLIST) 76 --add-comments $(XGETTEXT_KEYWORDS) $(PO_INPUTLIST) $(PO_VIM_JSLIST)
77 $(MV) $(PACKAGE).po $(PACKAGE).pot 77 $(MV) $(PACKAGE).po $(PACKAGE).pot
78 $(VIM) -u NONE --not-a-term -S fixfilenames.vim $(PACKAGE).pot $(PO_VIM_INPUTLIST) 78 $(VIM) -u NONE --not-a-term -S fixfilenames.vim $(PACKAGE).pot $(PO_VIM_INPUTLIST)
79 $(RM) *.js 79 $(RM) *.js
80 80
81 # Don't add a dependency here, we only want to update the .po files manually 81 # Don't add a dependency here, we only want to update the .po files manually