Mercurial > vim
annotate src/po/Make_cyg.mak @ 19033:f0312cf3c792 v8.2.0077
patch 8.2.0077: settagstack() cannot truncate at current index
Commit: https://github.com/vim/vim/commit/271fa08a35b8d320d3a40db4ddae83b698fdd4fb
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 2 14:02:16 2020 +0100
patch 8.2.0077: settagstack() cannot truncate at current index
Problem: settagstack() cannot truncate at current index.
Solution: Add the "t" action. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5417)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 02 Jan 2020 14:15:05 +0100 |
parents | a36fb263c35e |
children | aa91480771fe |
rev | line source |
---|---|
389 | 1 # Makefile for the Vim message translations for Cygwin |
2 # by Tony Mechelynck <antoine.mechelynck@skynet.be> | |
3 # after Make_ming.mak by | |
4 # Eduardo F. Amatria <eferna1@platea.pntic.mec.es> | |
5 # | |
6 # Read the README_ming.txt file before using it. | |
7 # | |
8 # Use at your own risk but with care, it could even kill your canary. | |
9 # | |
10 | |
11 ifndef VIMRUNTIME | |
12 VIMRUNTIME = ../../runtime | |
13 endif | |
14 | |
14181
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
15 # get LANGUAGES, MOFILES and MOCONVERTED |
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
16 include Make_all.mak |
389 | 17 |
18 PACKAGE = vim | |
19 | |
20 # Uncomment one of the lines below or modify it to put the path to your | |
412 | 21 # gettext binaries |
389 | 22 ifndef GETTEXT_PATH |
23 #GETTEXT_PATH = C:/gettext.win32/bin/ | |
24 #GETTEXT_PATH = C:/gettext-0.10.35-w32/win32/Release/ | |
25 GETTEXT_PATH = /bin/ | |
26 endif | |
27 | |
412 | 28 # The OLD_PO_FILE_INPUT and OLD_PO_FILE_OUTPUT are for the new GNU gettext |
29 # tools 0.10.37, which use a slightly different .po file format that is not | |
30 # compatible with Solaris (and old gettext implementations) unless these are | |
31 # set. gettext 0.10.36 will not work! | |
32 MSGFMT = OLD_PO_FILE_INPUT=yes $(GETTEXT_PATH)msgfmt -v | |
33 XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)xgettext | |
34 MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)msgmerge | |
389 | 35 |
36 # MV = move | |
37 # CP = copy | |
38 # RM = del | |
39 # MKD = mkdir | |
40 MV = mv -f | |
41 CP = cp -f | |
42 RM = rm -f | |
43 MKD = mkdir -p | |
44 | |
45 .SUFFIXES: | |
46 .SUFFIXES: .po .mo .pot | |
47 .PHONY: first_time all install clean $(LANGUAGES) | |
48 | |
49 .po.mo: | |
50 $(MSGFMT) -o $@ $< | |
51 | |
14181
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
52 all: $(MOFILES) $(MOCONVERTED) |
389 | 53 |
54 first_time: | |
55 $(XGETTEXT) --default-domain=$(LANGUAGE) \ | |
13802
378f9f8e6d8f
patch 8.0.1773: dialog messages are not translated
Christian Brabandt <cb@256bit.org>
parents:
13735
diff
changeset
|
56 --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h ../vim.h |
389 | 57 |
58 $(LANGUAGES): | |
59 $(XGETTEXT) --default-domain=$(PACKAGE) \ | |
13802
378f9f8e6d8f
patch 8.0.1773: dialog messages are not translated
Christian Brabandt <cb@256bit.org>
parents:
13735
diff
changeset
|
60 --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h ../vim.h |
389 | 61 $(MV) $(PACKAGE).po $(PACKAGE).pot |
62 $(CP) $@.po $@.po.orig | |
63 $(MV) $@.po $@.po.old | |
64 $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po | |
65 $(RM) $@.po.old | |
66 | |
14181
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
67 install: $(MOFILES) $(MOCONVERTED) |
389 | 68 for TARGET in $(LANGUAGES); do \ |
69 $(MKD) $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES ; \ | |
70 $(CP) $$TARGET.mo $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES/$(PACKAGE).mo ; \ | |
71 done | |
72 | |
7374
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2098
diff
changeset
|
73 install-all: install |
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2098
diff
changeset
|
74 |
389 | 75 clean: |
76 $(RM) *.mo | |
77 $(RM) *.pot | |
78 | |
79 |