File tree Expand file tree Collapse file tree 5 files changed +80
-13
lines changed Expand file tree Collapse file tree 5 files changed +80
-13
lines changed Original file line number Diff line number Diff line change 8
8
# Use at your own risk but with care, it could even kill your canary.
9
9
#
10
10
11
+ # TODO: GNU gettext 0.19.5.1 cannot process ja.sjis and zh_CN.cp936.
12
+
11
13
ifndef VIMRUNTIME
12
14
VIMRUNTIME = ../../runtime
13
15
endif
14
16
15
- LANGUAGES = af \
17
+ LANGUAGES = \
18
+ af \
16
19
ca \
17
20
cs \
18
21
cs.cp1250 \
@@ -25,12 +28,15 @@ LANGUAGES = af \
25
28
ga \
26
29
it \
27
30
ja \
28
- ja.sjis \
31
+ ja.euc-jp \
29
32
ko \
30
33
ko.UTF-8 \
34
+ nb \
35
+ nl \
31
36
no \
32
37
pl \
33
38
pl.cp1250 \
39
+ pl.UTF-8 \
34
40
pt_BR \
35
41
ru \
36
42
ru.cp1251 \
@@ -42,11 +48,11 @@ LANGUAGES = af \
42
48
vi \
43
49
zh_CN \
44
50
zh_CN.UTF-8 \
45
- zh_CN.cp936 \
46
51
zh_TW \
47
52
zh_TW.UTF-8 \
48
53
49
- MOFILES = af.mo \
54
+ MOFILES = \
55
+ af.mo \
50
56
ca.mo \
51
57
cs.cp1250.mo \
52
58
cs.mo \
@@ -58,13 +64,16 @@ MOFILES = af.mo \
58
64
fr.mo \
59
65
ga.mo \
60
66
it.mo \
67
+ ja.euc-jp.mo \
61
68
ja.mo \
62
- ja.sjis.mo \
63
69
ko.mo \
64
70
ko.UTF-8.mo \
71
+ nb.mo \
72
+ nl.mo \
65
73
no.mo \
66
74
pl.cp1250.mo \
67
75
pl.mo \
76
+ pl.UTF-8.mo \
68
77
pt_BR.mo \
69
78
ru.cp1251.mo \
70
79
ru.mo \
@@ -74,11 +83,10 @@ MOFILES = af.mo \
74
83
uk.cp1251.mo \
75
84
uk.mo \
76
85
vi.mo \
77
- zh_CN.UTF-8.mo \
78
- zh_CN.cp936.mo \
79
86
zh_CN.mo \
80
- zh_TW .UTF-8.mo \
87
+ zh_CN .UTF-8.mo \
81
88
zh_TW.mo \
89
+ zh_TW.UTF-8.mo \
82
90
83
91
PACKAGE = vim
84
92
Original file line number Diff line number Diff line change 10
10
# language (xx) and add it to the next three lines.
11
11
#
12
12
13
+ # TODO: GNU gettext 0.19.5.1 cannot process ja.sjis and zh_CN.cp936.
14
+
13
15
LANGUAGES = \
14
16
af \
15
17
ca \
16
18
cs \
19
+ cs.cp1250 \
17
20
de \
18
21
en_GB \
19
22
eo \
@@ -23,23 +26,33 @@ LANGUAGES = \
23
26
ga \
24
27
it \
25
28
ja \
29
+ ja.euc-jp \
26
30
ko \
31
+ ko.UTF-8 \
32
+ nb \
33
+ nl \
27
34
no \
28
35
pl \
36
+ pl.cp1250 \
37
+ pl.UTF-8 \
29
38
pt_BR \
30
39
ru \
40
+ ru.cp1251 \
31
41
sk \
42
+ sk.cp1250 \
32
43
sv \
33
44
uk \
45
+ uk.cp1251 \
34
46
vi \
35
47
zh_CN \
36
- zh_CN.UTF-8\
48
+ zh_CN.UTF-8 \
37
49
zh_TW \
38
50
zh_TW.UTF-8 \
39
51
40
52
MOFILES = \
41
53
af.mo \
42
54
ca.mo \
55
+ cs.cp1250.mo \
43
56
cs.mo \
44
57
de.mo \
45
58
en_GB.mo \
@@ -49,20 +62,29 @@ MOFILES = \
49
62
fr.mo \
50
63
ga.mo \
51
64
it.mo \
65
+ ja.euc-jp.mo \
52
66
ja.mo \
53
67
ko.mo \
68
+ ko.UTF-8.mo \
69
+ nb.mo \
70
+ nl.mo \
54
71
no.mo \
72
+ pl.cp1250.mo \
55
73
pl.mo \
74
+ pl.UTF-8.mo \
56
75
pt_BR.mo \
76
+ ru.cp1251.mo \
57
77
ru.mo \
78
+ sk.cp1250.mo \
58
79
sk.mo \
59
80
sv.mo \
81
+ uk.cp1251.mo \
60
82
uk.mo \
61
83
vi.mo \
62
- zh_CN.UTF-8.mo \
63
84
zh_CN.mo \
64
- zh_TW .UTF-8.mo \
85
+ zh_CN .UTF-8.mo \
65
86
zh_TW.mo \
87
+ zh_TW.UTF-8.mo \
66
88
67
89
PACKAGE = vim
68
90
@@ -108,6 +130,11 @@ install:
108
130
$(MKD ) $(VIMRUNTIME ) \l ang\$ (LANGUAGE)\L C_MESSAGES
109
131
$(CP ) $(LANGUAGE ) .mo $(VIMRUNTIME ) \l ang\$ (LANGUAGE)\L C_MESSAGES\$ (PACKAGE).mo
110
132
133
+ install-all : all
134
+ FOR %%l IN ($( LANGUAGES) ) DO @IF NOT EXIST $(VIMRUNTIME ) \l ang\% %l $(MKD ) $(VIMRUNTIME ) \l ang\% %l
135
+ FOR %%l IN ($( LANGUAGES) ) DO @IF NOT EXIST $(VIMRUNTIME ) \l ang\% %l\L C_MESSAGES $(MKD ) $(VIMRUNTIME ) \l ang\% %l\L C_MESSAGES
136
+ FOR %%l IN ($( LANGUAGES) ) DO @$(CP ) %%l.mo $(VIMRUNTIME ) \l ang\% %l\L C_MESSAGES\$ (PACKAGE).mo
137
+
111
138
clean :
112
139
$(RM ) * .mo
113
140
$(RM ) * .pot
Original file line number Diff line number Diff line change 6
6
# Please read README_mvc.txt before using this file.
7
7
#
8
8
9
+ # TODO: GNU gettext 0.19.5.1 cannot process ja.sjis and zh_CN.cp936.
10
+
9
11
LANGUAGES = \
10
12
af \
11
13
ca \
12
14
cs \
15
+ cs.cp1250 \
13
16
de \
14
17
en_GB \
15
18
eo \
@@ -19,14 +22,23 @@ LANGUAGES = \
19
22
ga \
20
23
it \
21
24
ja \
25
+ ja.euc-jp \
22
26
ko \
27
+ ko.UTF-8 \
28
+ nb \
29
+ nl \
23
30
no \
24
31
pl \
32
+ pl.cp1250 \
33
+ pl.UTF-8 \
25
34
pt_BR \
26
35
ru \
36
+ ru.cp1251 \
27
37
sk \
38
+ sk.cp1250 \
28
39
sv \
29
40
uk \
41
+ uk.cp1251 \
30
42
vi \
31
43
zh_CN \
32
44
zh_CN.UTF-8 \
@@ -36,6 +48,7 @@ LANGUAGES = \
36
48
MOFILES = \
37
49
af.mo \
38
50
ca.mo \
51
+ cs.cp1250.mo \
39
52
cs.mo \
40
53
de.mo \
41
54
en_GB.mo \
@@ -45,20 +58,29 @@ MOFILES = \
45
58
fr.mo \
46
59
ga.mo \
47
60
it.mo \
61
+ ja.euc-jp.mo \
48
62
ja.mo \
49
63
ko.mo \
64
+ ko.UTF-8.mo \
65
+ nb.mo \
66
+ nl.mo \
50
67
no.mo \
68
+ pl.cp1250.mo \
51
69
pl.mo \
70
+ pl.UTF-8.mo \
52
71
pt_BR.mo \
72
+ ru.cp1251.mo \
53
73
ru.mo \
74
+ sk.cp1250.mo \
54
75
sk.mo \
55
76
sv.mo \
77
+ uk.cp1251.mo \
56
78
uk.mo \
57
79
vi.mo \
58
- zh_CN.UTF-8.mo \
59
80
zh_CN.mo \
60
- zh_TW .UTF-8.mo \
81
+ zh_CN .UTF-8.mo \
61
82
zh_TW.mo \
83
+ zh_TW.UTF-8.mo \
62
84
63
85
PACKAGE = vim
64
86
@@ -105,6 +127,10 @@ install:
105
127
if not exist $( INSTALLDIR) $( MKD) $( INSTALLDIR)
106
128
$(CP ) $(LANGUAGE ) .mo $(INSTALLDIR ) \$ (PACKAGE).mo
107
129
130
+ install-all : all
131
+ FOR %%l IN ($( LANGUAGES) ) DO @IF NOT EXIST $(VIMRUNTIME ) \l ang\% %l\L C_MESSAGES $(MKD ) $(VIMRUNTIME ) \l ang\% %l\L C_MESSAGES
132
+ FOR %%l IN ($( LANGUAGES) ) DO @$(CP ) %%l.mo $(VIMRUNTIME ) \l ang\% %l\L C_MESSAGES\$ (PACKAGE).mo
133
+
108
134
clean :
109
135
$(RM ) * .mo
110
136
$(RM ) * .pot
Original file line number Diff line number Diff line change @@ -86,6 +86,9 @@ the same as in the Unix case, only the commands change):
86
86
87
87
This will create the xx\LC_MESSAGES directory (if it does not exist) and
88
88
will copy vim.po to it.
89
+ You can also use the following command to install all languages:
90
+
91
+ make -f Make_ming.mak install-all
89
92
90
93
(6) Another extra step ;-)). The command:
91
94
Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ Install your translation with the following command:
111
111
112
112
This will create the xx\LC_MESSAGES directory in runtime\lang if it does not
113
113
already exist.
114
+ You can also use the following command to install all languages:
115
+
116
+ nmake -f make_mvc.mak install-all
114
117
115
118
116
119
vim:tw=78:
You can’t perform that action at this time.
0 commit comments