Mercurial > vim
annotate src/po/Make_mvc.mak @ 20935:d64520bfafa0 v8.2.1019
patch 8.2.1019: mapping <M-S-a> does not work in the GUI
Commit: https://github.com/vim/vim/commit/ef6746f637adbdb6860b4fa0266c43c49fa498bc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 20 14:43:23 2020 +0200
patch 8.2.1019: mapping <M-S-a> does not work in the GUI
Problem: Mapping <M-S-a> does not work in the GUI.
Solution: Move the logic to remove the shift modifier to
may_remove_shift_modifier() and also use it in the GUI.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Jun 2020 14:45:03 +0200 |
parents | a36fb263c35e |
children | aa91480771fe |
rev | line source |
---|---|
7 | 1 # Makefile for the Vim message translations for MSVC |
2 # (based on make_ming.mak) | |
3 # | |
4 # Mike Williams <mrw@eandem.co.uk> | |
5 # | |
6 # Please read README_mvc.txt before using this file. | |
7 # | |
8 | |
7374
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
9 !ifndef VIMRUNTIME |
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
10 VIMRUNTIME = ..\..\runtime |
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
11 !endif |
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
12 |
14181
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
13 # get LANGUAGES, MOFILES and MOCONVERTED |
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
14 !include Make_all.mak |
7 | 15 |
16 PACKAGE = vim | |
17 | |
2472
3567e0d56891
Updated version of gettext for use with MVC. (Mike Williams)
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
18 # Correct the following line for the directory where gettext et al is installed |
3567e0d56891
Updated version of gettext for use with MVC. (Mike Williams)
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
19 GETTEXT_PATH = H:\gettext.0.14.4\bin |
7 | 20 |
7374
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
21 MSGFMT = $(GETTEXT_PATH)\msgfmt -v |
7 | 22 XGETTEXT = $(GETTEXT_PATH)\xgettext |
23 MSGMERGE = $(GETTEXT_PATH)\msgmerge | |
24 | |
25 MV = move | |
26 CP = copy | |
27 RM = del | |
28 MKD = mkdir | |
29 LS = dir | |
30 | |
31 LSFLAGS = /b /on /l /s | |
32 | |
33 INSTALLDIR = $(VIMRUNTIME)\lang\$(LANGUAGE)\LC_MESSAGES | |
34 | |
35 .SUFFIXES: | |
36 .SUFFIXES: .po .mo .pot | |
37 | |
38 .po.mo: | |
7374
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
39 set OLD_PO_FILE_INPUT=yes |
7 | 40 $(MSGFMT) -o $@ $< |
41 | |
14181
a36fb263c35e
patch 8.1.0108: no Danish translations
Christian Brabandt <cb@256bit.org>
parents:
13802
diff
changeset
|
42 all: $(MOFILES) $(MOCONVERTED) |
7 | 43 |
44 files: | |
13802
378f9f8e6d8f
patch 8.0.1773: dialog messages are not translated
Christian Brabandt <cb@256bit.org>
parents:
13735
diff
changeset
|
45 $(LS) $(LSFLAGS) ..\*.c ..\if_perl.xs ..\GvimExt\gvimext.cpp ..\globals.h ..\if_py_both.h ..\vim.h > .\files |
7 | 46 |
47 first_time: files | |
7374
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
48 set OLD_PO_FILE_INPUT=yes |
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
49 set OLD_PO_FILE_OUTPUT=yes |
13464
cf04dbb33f41
patch 8.0.1606: singular/plural variants not translated
Christian Brabandt <cb@256bit.org>
parents:
12748
diff
changeset
|
50 $(XGETTEXT) --default-domain=$(LANGUAGE) --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --files-from=.\files |
7 | 51 |
52 $(LANGUAGES): files | |
7374
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
53 set OLD_PO_FILE_INPUT=yes |
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
54 set OLD_PO_FILE_OUTPUT=yes |
13464
cf04dbb33f41
patch 8.0.1606: singular/plural variants not translated
Christian Brabandt <cb@256bit.org>
parents:
12748
diff
changeset
|
55 $(XGETTEXT) --default-domain=$(PACKAGE) --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --files-from=.\files |
7 | 56 $(MV) $(PACKAGE).po $(PACKAGE).pot |
57 $(CP) $@.po $@.po.orig | |
58 $(MV) $@.po $@.po.old | |
59 $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po | |
60 $(RM) $@.po.old | |
61 | |
62 install: | |
63 if not exist $(INSTALLDIR) $(MKD) $(INSTALLDIR) | |
64 $(CP) $(LANGUAGE).mo $(INSTALLDIR)\$(PACKAGE).mo | |
65 | |
7374
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
66 install-all: all |
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
67 FOR %%l IN ($(LANGUAGES)) DO @IF NOT EXIST $(VIMRUNTIME)\lang\%%l\LC_MESSAGES $(MKD) $(VIMRUNTIME)\lang\%%l\LC_MESSAGES |
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
68 FOR %%l IN ($(LANGUAGES)) DO @$(CP) %%l.mo $(VIMRUNTIME)\lang\%%l\LC_MESSAGES\$(PACKAGE).mo |
7e367104f6b6
commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b
Christian Brabandt <cb@256bit.org>
parents:
2472
diff
changeset
|
69 |
7 | 70 clean: |
71 $(RM) *.mo | |
72 $(RM) *.pot |