summaryrefslogtreecommitdiff
path: root/src/po/Make_mvc.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-14 20:11:12 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-14 20:11:12 +0100
commit228de1dfd2687af16dc7bc88942c65b5af9d7e04 (patch)
tree5f5b9427d4a209f4c3037c67abd8c3c24650f5a6 /src/po/Make_mvc.mak
parent012eb6629337fdf8afca78a24faa132e9b42e7b4 (diff)
downloadvim-git-228de1dfd2687af16dc7bc88942c65b5af9d7e04.tar.gz
patch 8.0.1606: singular/plural variants not translatedv8.0.1606
Problem: Singular/plural variants not translated. Solution: Add NGETTEXT argument to xgettext. (Sergey Alyoshin)
Diffstat (limited to 'src/po/Make_mvc.mak')
-rw-r--r--src/po/Make_mvc.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/po/Make_mvc.mak b/src/po/Make_mvc.mak
index 85013f497..23a6e733c 100644
--- a/src/po/Make_mvc.mak
+++ b/src/po/Make_mvc.mak
@@ -122,12 +122,12 @@ files:
first_time: files
set OLD_PO_FILE_INPUT=yes
set OLD_PO_FILE_OUTPUT=yes
- $(XGETTEXT) --default-domain=$(LANGUAGE) --add-comments --keyword=_ --keyword=N_ --files-from=.\files
+ $(XGETTEXT) --default-domain=$(LANGUAGE) --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --files-from=.\files
$(LANGUAGES): files
set OLD_PO_FILE_INPUT=yes
set OLD_PO_FILE_OUTPUT=yes
- $(XGETTEXT) --default-domain=$(PACKAGE) --add-comments --keyword=_ --keyword=N_ --files-from=.\files
+ $(XGETTEXT) --default-domain=$(PACKAGE) --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --files-from=.\files
$(MV) $(PACKAGE).po $(PACKAGE).pot
$(CP) $@.po $@.po.orig
$(MV) $@.po $@.po.old