diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-05-23 15:27:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-23 15:27:51 +0100 |
commit | 167fb6d39b23e0967dabc523ce190e7447114e69 (patch) | |
tree | cdfd3a7cd34b04a49266fbda222259cd8798b843 | |
parent | d4a9b7f61475f3166cce92b0bad748e8c1eb51fe (diff) |
patch 9.0.1574: MS-Windows: list of translation input files incompletev9.0.1574
Problem: MS-Windows: list of translation input files incomplete.
Solution: Move the list of files to a common file. (closes #12426)
-rw-r--r-- | src/po/Make_all.mak | 8 | ||||
-rw-r--r-- | src/po/Make_cyg.mak | 6 | ||||
-rw-r--r-- | src/po/Make_ming.mak | 8 | ||||
-rw-r--r-- | src/po/Make_mvc.mak | 15 | ||||
-rw-r--r-- | src/po/Makefile | 10 | ||||
-rw-r--r-- | src/version.c | 2 |
6 files changed, 16 insertions, 33 deletions
diff --git a/src/po/Make_all.mak b/src/po/Make_all.mak index 89cbb151bb..7a6144e64c 100644 --- a/src/po/Make_all.mak +++ b/src/po/Make_all.mak @@ -180,3 +180,11 @@ CHECKFILES = \ zh_TW.UTF-8.ck \ zh_TW.ck \ +PO_VIM_INPUTLIST = \ + ../../runtime/optwin.vim \ + ../../runtime/defaults.vim + +PO_VIM_JSLIST = \ + optwin.js \ + defaults.js + diff --git a/src/po/Make_cyg.mak b/src/po/Make_cyg.mak index 0fe7f92952..2969d1e872 100644 --- a/src/po/Make_cyg.mak +++ b/src/po/Make_cyg.mak @@ -63,12 +63,6 @@ PO_INPUTLIST = \ gvim.desktop.in \ vim.desktop.in -PO_VIM_INPUTLIST = \ - ../../runtime/optwin.vim - -PO_VIM_JSLIST = \ - optwin.js - first_time: $(PO_INPUTLIST) $(PO_VIM_INPUTLIST) $(VIM) -u NONE --not-a-term -S tojavascript.vim $(LANGUAGE).pot $(PO_VIM_INPUTLIST) $(XGETTEXT) --default-domain=$(LANGUAGE) \ diff --git a/src/po/Make_ming.mak b/src/po/Make_ming.mak index 5e9428f647..1912bc51ad 100644 --- a/src/po/Make_ming.mak +++ b/src/po/Make_ming.mak @@ -18,7 +18,7 @@ VIMRUNTIME = ../../runtime endif endif -# get LANGUAGES, MOFILES and MOCONVERTED +# get LANGUAGES, MOFILES, MOCONVERTED and others include Make_all.mak PACKAGE = vim @@ -76,12 +76,6 @@ PO_INPUTLIST = \ gvim.desktop.in \ vim.desktop.in -PO_VIM_INPUTLIST = \ - ../../runtime/optwin.vim - -PO_VIM_JSLIST = \ - optwin.js - first_time: $(PO_INPUTLIST) $(PO_VIM_INPUTLIST) $(VIM) -u NONE --not-a-term -S tojavascript.vim $(LANGUAGE).pot $(PO_VIM_INPUTLIST) $(XGETTEXT) --default-domain=$(LANGUAGE) \ diff --git a/src/po/Make_mvc.mak b/src/po/Make_mvc.mak index 801a43694f..bdb6dcce49 100644 --- a/src/po/Make_mvc.mak +++ b/src/po/Make_mvc.mak @@ -10,7 +10,7 @@ VIMRUNTIME = ..\..\runtime !endif -# get LANGUAGES, MOFILES and MOCONVERTED +# get LANGUAGES, MOFILES, MOCONVERTED and others !include Make_all.mak PACKAGE = vim @@ -53,21 +53,14 @@ PO_INPUTLIST = \ gvim.desktop.in \ vim.desktop.in -PO_VIM_INPUTLIST = \ - ..\..\runtime\optwin.vim - -PO_VIM_JSLIST = \ - optwin.js - -files: $(PO_INPUTLIST) $(PO_VIM_INPUTLIST) +files: $(PO_INPUTLIST) $(LS) $(LSFLAGS) $(PO_INPUTLIST) > .\files - echo $(PO_VIM_JSLIST)>> .\files first_time: files $(VIM) -u NONE --not-a-term -S tojavascript.vim $(LANGUAGE).pot $(PO_VIM_INPUTLIST) set OLD_PO_FILE_INPUT=yes set OLD_PO_FILE_OUTPUT=yes - $(XGETTEXT) --default-domain=$(LANGUAGE) --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --files-from=.\files + $(XGETTEXT) --default-domain=$(LANGUAGE) --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --files-from=.\files $(PO_VIM_JSLIST) $(VIM) -u NONE --not-a-term -S fixfilenames.vim $(LANGUAGE).pot $(PO_VIM_INPUTLIST) $(RM) *.js @@ -75,7 +68,7 @@ $(PACKAGE).pot: files $(VIM) -u NONE --not-a-term -S tojavascript.vim $(PACKAGE).pot $(PO_VIM_INPUTLIST) set OLD_PO_FILE_INPUT=yes set OLD_PO_FILE_OUTPUT=yes - $(XGETTEXT) --default-domain=$(PACKAGE) --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --files-from=.\files + $(XGETTEXT) --default-domain=$(PACKAGE) --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --files-from=.\files $(PO_VIM_JSLIST) $(MV) $(PACKAGE).po $(PACKAGE).pot $(VIM) -u NONE --not-a-term -S fixfilenames.vim $(PACKAGE).pot $(PO_VIM_INPUTLIST) $(RM) *.js diff --git a/src/po/Makefile b/src/po/Makefile index fbe474b949..2b17fead38 100644 --- a/src/po/Makefile +++ b/src/po/Makefile @@ -3,7 +3,7 @@ # Include stuff found by configure. include ../auto/config.mk -# get LANGUAGES, MOFILES, MOCONVERTED and CHECKFILES +# get LANGUAGES, MOFILES, MOCONVERTED and others include Make_all.mak # Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are @@ -203,14 +203,6 @@ PO_INPUTLIST = \ gvim.desktop.in \ vim.desktop.in -PO_VIM_INPUTLIST = \ - ../../runtime/optwin.vim \ - ../../runtime/defaults.vim - -PO_VIM_JSLIST = \ - optwin.js \ - defaults.js - $(PACKAGE).pot: $(PO_INPUTLIST) $(PO_VIM_INPUTLIST) # Convert the Vim scripts to (what looks like) Javascript $(VIM) -u NONE --not-a-term -S tojavascript.vim $(PACKAGE).pot $(PO_VIM_INPUTLIST) diff --git a/src/version.c b/src/version.c index c07afca3b7..9ea324fea0 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1574, +/**/ 1573, /**/ 1572, |