Karsten Hopp 7e89c6
To: vim_dev@googlegroups.com
Karsten Hopp 7e89c6
Subject: Patch 7.3.764
Karsten Hopp 7e89c6
Fcc: outbox
Karsten Hopp 7e89c6
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 7e89c6
Mime-Version: 1.0
Karsten Hopp 7e89c6
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 7e89c6
Content-Transfer-Encoding: 8bit
Karsten Hopp 7e89c6
------------
Karsten Hopp 7e89c6
Karsten Hopp 7e89c6
Patch 7.3.764
Karsten Hopp 7e89c6
Problem:    Not all message translation files are installed.
Karsten Hopp 7e89c6
Solution:   Also install the converted files.
Karsten Hopp 7e89c6
Files:	    src/po/Makefile
Karsten Hopp 7e89c6
Karsten Hopp 7e89c6
Karsten Hopp 7e89c6
*** ../vim-7.3.763/src/po/Makefile	2010-08-15 21:57:26.000000000 +0200
Karsten Hopp 7e89c6
--- src/po/Makefile	2013-01-17 13:30:30.000000000 +0100
Karsten Hopp 7e89c6
***************
Karsten Hopp 7e89c6
*** 20,25 ****
Karsten Hopp 7e89c6
--- 20,26 ----
Karsten Hopp 7e89c6
  		ko \
Karsten Hopp 7e89c6
  		ko.UTF-8 \
Karsten Hopp 7e89c6
  		nb \
Karsten Hopp 7e89c6
+ 		nl \
Karsten Hopp 7e89c6
  		no \
Karsten Hopp 7e89c6
  		pl \
Karsten Hopp 7e89c6
  		pt_BR \
Karsten Hopp 7e89c6
***************
Karsten Hopp 7e89c6
*** 33,38 ****
Karsten Hopp 7e89c6
--- 34,49 ----
Karsten Hopp 7e89c6
  		zh_TW \
Karsten Hopp 7e89c6
  		zh_TW.UTF-8
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
+ CONVERTED = \
Karsten Hopp 7e89c6
+ 		cs.cp1250 \
Karsten Hopp 7e89c6
+ 		ja.sjis \
Karsten Hopp 7e89c6
+ 		pl.cp1250 \
Karsten Hopp 7e89c6
+ 		pl.UTF-8 \
Karsten Hopp 7e89c6
+ 		ru.cp1251 \
Karsten Hopp 7e89c6
+ 		sk.cp1250 \
Karsten Hopp 7e89c6
+ 		uk.cp1251 \
Karsten Hopp 7e89c6
+ 		zh_CN.cp936
Karsten Hopp 7e89c6
+ 
Karsten Hopp 7e89c6
  MOFILES = \
Karsten Hopp 7e89c6
  		af.mo \
Karsten Hopp 7e89c6
  		ca.mo \
Karsten Hopp 7e89c6
***************
Karsten Hopp 7e89c6
*** 49,54 ****
Karsten Hopp 7e89c6
--- 60,66 ----
Karsten Hopp 7e89c6
  		ko.mo \
Karsten Hopp 7e89c6
  		ko.UTF-8.mo \
Karsten Hopp 7e89c6
  		nb.mo \
Karsten Hopp 7e89c6
+ 		nl.mo \
Karsten Hopp 7e89c6
  		no.mo \
Karsten Hopp 7e89c6
  		pl.mo \
Karsten Hopp 7e89c6
  		pt_BR.mo \
Karsten Hopp 7e89c6
***************
Karsten Hopp 7e89c6
*** 62,68 ****
Karsten Hopp 7e89c6
  		zh_TW.UTF-8.mo \
Karsten Hopp 7e89c6
  		zh_TW.mo
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
! CONVERTED = \
Karsten Hopp 7e89c6
  		cs.cp1250.mo \
Karsten Hopp 7e89c6
  		ja.sjis.mo \
Karsten Hopp 7e89c6
  		pl.cp1250.mo \
Karsten Hopp 7e89c6
--- 74,80 ----
Karsten Hopp 7e89c6
  		zh_TW.UTF-8.mo \
Karsten Hopp 7e89c6
  		zh_TW.mo
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
! MOCONVERTED = \
Karsten Hopp 7e89c6
  		cs.cp1250.mo \
Karsten Hopp 7e89c6
  		ja.sjis.mo \
Karsten Hopp 7e89c6
  		pl.cp1250.mo \
Karsten Hopp 7e89c6
***************
Karsten Hopp 7e89c6
*** 88,93 ****
Karsten Hopp 7e89c6
--- 100,106 ----
Karsten Hopp 7e89c6
  		ko.ck \
Karsten Hopp 7e89c6
  		ko.UTF-8.ck \
Karsten Hopp 7e89c6
  		nb.ck \
Karsten Hopp 7e89c6
+ 		nl.ck \
Karsten Hopp 7e89c6
  		no.ck \
Karsten Hopp 7e89c6
  		pl.ck \
Karsten Hopp 7e89c6
  		pt_BR.ck \
Karsten Hopp 7e89c6
***************
Karsten Hopp 7e89c6
*** 123,129 ****
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
  .SUFFIXES:
Karsten Hopp 7e89c6
  .SUFFIXES: .po .mo .pot .ck
Karsten Hopp 7e89c6
! .PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES)
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
  .po.mo:
Karsten Hopp 7e89c6
  	$(MSGFMT) -o $@ $<
Karsten Hopp 7e89c6
--- 136,142 ----
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
  .SUFFIXES:
Karsten Hopp 7e89c6
  .SUFFIXES: .po .mo .pot .ck
Karsten Hopp 7e89c6
! .PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) $(CONVERTED)
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
  .po.mo:
Karsten Hopp 7e89c6
  	$(MSGFMT) -o $@ $<
Karsten Hopp 7e89c6
***************
Karsten Hopp 7e89c6
*** 132,144 ****
Karsten Hopp 7e89c6
  	$(VIM) -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq $<
Karsten Hopp 7e89c6
  	touch $@
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
! all: $(MOFILES)
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
  check: $(CHECKFILES)
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
! install: $(MOFILES)
Karsten Hopp 7e89c6
  	@$(MAKE) prefixcheck
Karsten Hopp 7e89c6
! 	for lang in $(LANGUAGES); do \
Karsten Hopp 7e89c6
  	  dir=$(LOCALEDIR)/$$lang/; \
Karsten Hopp 7e89c6
  	  if test ! -x "$$dir"; then \
Karsten Hopp 7e89c6
  	    mkdir $$dir; chmod 755 $$dir; \
Karsten Hopp 7e89c6
--- 145,157 ----
Karsten Hopp 7e89c6
  	$(VIM) -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq $<
Karsten Hopp 7e89c6
  	touch $@
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
! all: $(MOFILES) $(MOCONVERTED)
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
  check: $(CHECKFILES)
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
! install: $(MOFILES) $(MOCONVERTED)
Karsten Hopp 7e89c6
  	@$(MAKE) prefixcheck
Karsten Hopp 7e89c6
! 	for lang in $(LANGUAGES) $(CONVERTED); do \
Karsten Hopp 7e89c6
  	  dir=$(LOCALEDIR)/$$lang/; \
Karsten Hopp 7e89c6
  	  if test ! -x "$$dir"; then \
Karsten Hopp 7e89c6
  	    mkdir $$dir; chmod 755 $$dir; \
Karsten Hopp 7e89c6
***************
Karsten Hopp 7e89c6
*** 155,167 ****
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
  uninstall:
Karsten Hopp 7e89c6
  	@$(MAKE) prefixcheck
Karsten Hopp 7e89c6
! 	for cat in $(MOFILES); do \
Karsten Hopp 7e89c6
  	  cat=`basename $$cat`; \
Karsten Hopp 7e89c6
  	  lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
Karsten Hopp 7e89c6
  	  rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
Karsten Hopp 7e89c6
  	done
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
! converted: $(CONVERTED)
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
  # Norwegian/Bokmal: "nb" is an alias for "no".
Karsten Hopp 7e89c6
  # Copying the file is not efficient, but I don't know of another way to make
Karsten Hopp 7e89c6
--- 168,180 ----
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
  uninstall:
Karsten Hopp 7e89c6
  	@$(MAKE) prefixcheck
Karsten Hopp 7e89c6
! 	for cat in $(MOFILES) $(MOCONVERTED); do \
Karsten Hopp 7e89c6
  	  cat=`basename $$cat`; \
Karsten Hopp 7e89c6
  	  lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
Karsten Hopp 7e89c6
  	  rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
Karsten Hopp 7e89c6
  	done
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
! converted: $(MOCONVERTED)
Karsten Hopp 7e89c6
  
Karsten Hopp 7e89c6
  # Norwegian/Bokmal: "nb" is an alias for "no".
Karsten Hopp 7e89c6
  # Copying the file is not efficient, but I don't know of another way to make
Karsten Hopp 7e89c6
*** ../vim-7.3.763/src/version.c	2013-01-17 13:24:00.000000000 +0100
Karsten Hopp 7e89c6
--- src/version.c	2013-01-17 13:25:41.000000000 +0100
Karsten Hopp 7e89c6
***************
Karsten Hopp 7e89c6
*** 727,728 ****
Karsten Hopp 7e89c6
--- 727,730 ----
Karsten Hopp 7e89c6
  {   /* Add new patch number below this line */
Karsten Hopp 7e89c6
+ /**/
Karsten Hopp 7e89c6
+     764,
Karsten Hopp 7e89c6
  /**/
Karsten Hopp 7e89c6
Karsten Hopp 7e89c6
-- 
Karsten Hopp 7e89c6
The software said it requires Windows 95 or better, so I installed Linux.
Karsten Hopp 7e89c6
Karsten Hopp 7e89c6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 7e89c6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 7e89c6
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 7e89c6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///