# HG changeset patch # User Bram Moolenaar # Date 1358426252 -3600 # Node ID b29e55d0ef01c506ec48c0c5782e669bb1d80f14 # Parent fbccf299e9ec5166a8b22327a199c260d0f2560f updated for version 7.3.764 Problem: Not all message translation files are installed. Solution: Also install the converted files. diff --git a/src/po/Makefile b/src/po/Makefile --- a/src/po/Makefile +++ b/src/po/Makefile @@ -34,6 +34,16 @@ LANGUAGES = \ zh_TW \ zh_TW.UTF-8 +CONVERTED = \ + cs.cp1250 \ + ja.sjis \ + pl.cp1250 \ + pl.UTF-8 \ + ru.cp1251 \ + sk.cp1250 \ + uk.cp1251 \ + zh_CN.cp936 + MOFILES = \ af.mo \ ca.mo \ @@ -64,7 +74,7 @@ MOFILES = \ zh_TW.UTF-8.mo \ zh_TW.mo -CONVERTED = \ +MOCONVERTED = \ cs.cp1250.mo \ ja.sjis.mo \ pl.cp1250.mo \ @@ -126,7 +136,7 @@ MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_ .SUFFIXES: .SUFFIXES: .po .mo .pot .ck -.PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) +.PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) $(CONVERTED) .po.mo: $(MSGFMT) -o $@ $< @@ -135,13 +145,13 @@ MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_ $(VIM) -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq $< touch $@ -all: $(MOFILES) +all: $(MOFILES) $(MOCONVERTED) check: $(CHECKFILES) -install: $(MOFILES) +install: $(MOFILES) $(MOCONVERTED) @$(MAKE) prefixcheck - for lang in $(LANGUAGES); do \ + for lang in $(LANGUAGES) $(CONVERTED); do \ dir=$(LOCALEDIR)/$$lang/; \ if test ! -x "$$dir"; then \ mkdir $$dir; chmod 755 $$dir; \ @@ -158,13 +168,13 @@ install: $(MOFILES) uninstall: @$(MAKE) prefixcheck - for cat in $(MOFILES); do \ + for cat in $(MOFILES) $(MOCONVERTED); do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \ done -converted: $(CONVERTED) +converted: $(MOCONVERTED) # Norwegian/Bokmal: "nb" is an alias for "no". # Copying the file is not efficient, but I don't know of another way to make diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -726,6 +726,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 764, +/**/ 763, /**/ 762,