home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.2.497 < prev    next >
Encoding:
Internet Message Format  |  2004-04-24  |  3.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.497 (extra)
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.2.497 (extra)
  11. Problem:    Russian messages are only available in one encoding.
  12. Solution:   Convert the messages to MS-Windows codepages. (Vassily Ragosin)
  13. Files:        src/po/Makefile
  14.  
  15.  
  16. *** ../vim-6.2.496/src/po/Makefile    Sun Jan 11 12:32:47 2004
  17. --- src/po/Makefile    Wed Apr 21 11:22:43 2004
  18. ***************
  19. *** 4,14 ****
  20.   # Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are
  21.   # not installed on Unix
  22.   
  23. ! LANGUAGES =    af cs de en_GB es fr it ja ko no pl sk uk zh_TW \
  24.           zh_TW.UTF-8 zh_CN zh_CN.UTF-8
  25. ! MOFILES =    af.mo cs.mo de.mo en_GB.mo es.mo fr.mo it.mo ja.mo \
  26. !         ko.mo no.mo pl.mo sk.mo uk.mo zh_TW.mo zh_TW.UTF-8.mo \
  27. !         zh_CN.mo zh_CN.UTF-8.mo
  28.   
  29.   PACKAGE = vim
  30.   SHELL = /bin/sh
  31. --- 4,14 ----
  32.   # Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are
  33.   # not installed on Unix
  34.   
  35. ! LANGUAGES =    af ca cs de en_GB es fr it ja ko no pl ru sk sv uk zh_TW \
  36.           zh_TW.UTF-8 zh_CN zh_CN.UTF-8
  37. ! MOFILES =    af.mo ca.mo cs.mo de.mo en_GB.mo es.mo fr.mo it.mo ja.mo \
  38. !         ko.mo no.mo pl.mo ru.mo sk.mo sv.mo uk.mo \
  39. !         zh_TW.mo zh_TW.UTF-8.mo zh_CN.mo zh_CN.UTF-8.mo
  40.   
  41.   PACKAGE = vim
  42.   SHELL = /bin/sh
  43. ***************
  44. *** 55,61 ****
  45.         rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
  46.       done
  47.   
  48. ! converted: ja.sjis.mo cs.cp1250.mo pl.cp1250.mo sk.cp1250.mo zh_CN.cp936.mo
  49.   
  50.   # Convert ja.po to create ja.sjis.po.  Requires doubling backslashes in the
  51.   # second byte.  Don't depend on sjiscorr, it should only be compiled when
  52. --- 55,62 ----
  53.         rm -f $(LOCALEDIR)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
  54.       done
  55.   
  56. ! converted: ja.sjis.mo cs.cp1250.mo pl.cp1250.mo sk.cp1250.mo zh_CN.cp936.mo \
  57. !         ru.cp1251.mo ru.cp866.mo
  58.   
  59.   # Convert ja.po to create ja.sjis.po.  Requires doubling backslashes in the
  60.   # second byte.  Don't depend on sjiscorr, it should only be compiled when
  61. ***************
  62. *** 92,97 ****
  63. --- 93,110 ----
  64.       rm -f zh_CN.cp936.po
  65.       iconv -f gb2312 -t cp936 zh_CN.po | \
  66.           sed -e 's/charset=gb2312/charset=gbk/' -e 's/# Original translations/# Generated from zh_CN.po, DO NOT EDIT/' > zh_CN.cp936.po
  67. + # Convert ru.po to create ru.cp866.po.
  68. + ru.cp866.po: ru.po
  69. +     rm -f ru.cp866.po
  70. +     iconv -f koi8-r -t cp866 ru.po | \
  71. +         sed -e 's/charset=koi8-r/charset=cp866/' -e 's/# Original translations/# Generated from ru.po, DO NOT EDIT/' > ru.cp866.po
  72. + # Convert ru.po to create ru.cp1251.po.
  73. + ru.cp1251.po: ru.po
  74. +     rm -f ru.cp1251.po
  75. +     iconv -f koi8-r -t cp1251 ru.po | \
  76. +         sed -e 's/charset=koi8-r/charset=cp1251/' -e 's/# Original translations/# Generated from ru.po, DO NOT EDIT/' > ru.cp1251.po
  77.   
  78.   check:
  79.       @if test "x" = "x$(prefix)"; then \
  80. *** ../vim-6.2.496/src/version.c    Sun Apr 25 13:41:07 2004
  81. --- src/version.c    Sun Apr 25 14:40:30 2004
  82. ***************
  83. *** 639,640 ****
  84. --- 639,642 ----
  85.   {   /* Add new patch number below this line */
  86. + /**/
  87. +     497,
  88.   /**/
  89.  
  90. -- 
  91. Bypasses are devices that allow some people to dash from point A to
  92. point B very fast while other people dash from point B to point A very
  93. fast.  People living at point C, being a point directly in between, are
  94. often given to wonder what's so great about point A that so many people
  95. from point B are so keen to get there and what's so great about point B
  96. that so many people from point A are so keen to get there.  They often
  97. wish that people would just once and for all work out where the hell
  98. they wanted to be.
  99.         -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
  100.  
  101.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  102. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  103. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  104.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  105.