|
Karsten Hopp |
776560 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
776560 |
Subject: Patch 7.3.1257
|
|
Karsten Hopp |
776560 |
Fcc: outbox
|
|
Karsten Hopp |
776560 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
776560 |
Mime-Version: 1.0
|
|
Karsten Hopp |
776560 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
776560 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
776560 |
------------
|
|
Karsten Hopp |
776560 |
|
|
Karsten Hopp |
776560 |
Patch 7.3.1257
|
|
Karsten Hopp |
776560 |
Problem: With GNU gettext() ":lang de_DE.utf8" does not always result in
|
|
Karsten Hopp |
776560 |
German messages.
|
|
Karsten Hopp |
776560 |
Solution: Clear the $LANGUAGE environment variable.
|
|
Karsten Hopp |
776560 |
Files: src/ex_cmds2.c
|
|
Karsten Hopp |
776560 |
|
|
Karsten Hopp |
776560 |
|
|
Karsten Hopp |
776560 |
*** ../vim-7.3.1256/src/ex_cmds2.c 2013-06-10 21:27:18.000000000 +0200
|
|
Karsten Hopp |
776560 |
--- src/ex_cmds2.c 2013-06-28 20:14:53.000000000 +0200
|
|
Karsten Hopp |
776560 |
***************
|
|
Karsten Hopp |
776560 |
*** 4261,4266 ****
|
|
Karsten Hopp |
776560 |
--- 4261,4269 ----
|
|
Karsten Hopp |
776560 |
if (what == LC_ALL)
|
|
Karsten Hopp |
776560 |
{
|
|
Karsten Hopp |
776560 |
vim_setenv((char_u *)"LANG", name);
|
|
Karsten Hopp |
776560 |
+
|
|
Karsten Hopp |
776560 |
+ /* Clear $LANGUAGE because GNU gettext uses it. */
|
|
Karsten Hopp |
776560 |
+ vim_setenv((char_u *)"LANGUAGE", (char_u *)"");
|
|
Karsten Hopp |
776560 |
# ifdef WIN32
|
|
Karsten Hopp |
776560 |
/* Apparently MS-Windows printf() may cause a crash when
|
|
Karsten Hopp |
776560 |
* we give it 8-bit text while it's expecting text in the
|
|
Karsten Hopp |
776560 |
*** ../vim-7.3.1256/src/version.c 2013-06-28 20:16:50.000000000 +0200
|
|
Karsten Hopp |
776560 |
--- src/version.c 2013-06-28 20:18:08.000000000 +0200
|
|
Karsten Hopp |
776560 |
***************
|
|
Karsten Hopp |
776560 |
*** 730,731 ****
|
|
Karsten Hopp |
776560 |
--- 730,733 ----
|
|
Karsten Hopp |
776560 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
776560 |
+ /**/
|
|
Karsten Hopp |
776560 |
+ 1257,
|
|
Karsten Hopp |
776560 |
/**/
|
|
Karsten Hopp |
776560 |
|
|
Karsten Hopp |
776560 |
|
|
Karsten Hopp |
776560 |
--
|
|
Karsten Hopp |
776560 |
[clop clop]
|
|
Karsten Hopp |
776560 |
GUARD #1: Halt! Who goes there?
|
|
Karsten Hopp |
776560 |
ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of
|
|
Karsten Hopp |
776560 |
Camelot. King of the Britons, defeator of the Saxons, sovereign of
|
|
Karsten Hopp |
776560 |
all England!
|
|
Karsten Hopp |
776560 |
GUARD #1: Pull the other one!
|
|
Karsten Hopp |
776560 |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
776560 |
|
|
Karsten Hopp |
776560 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
776560 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
776560 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
776560 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|