1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: When setting $VIMRUNTIME later the directory for fetching
12 translated messages is not adjusted.
13 Solution: Put bindtextdomain() in vim_setenv().
17 *** ../vim-7.3.456/src/misc1.c 2012-02-05 22:05:44.000000000 +0100
18 --- src/misc1.c 2012-02-26 13:27:28.000000000 +0100
22 vim_setenv((char_u *)"VIMRUNTIME", p);
23 didset_vimruntime = TRUE;
26 - char_u *buf = concat_str(p, (char_u *)"/lang");
30 - bindtextdomain(VIMPACKAGE, (char *)buf);
42 putenv((char *)envbuf);
47 + * When setting $VIMRUNTIME adjust the directory to find message
48 + * translations to $VIMRUNTIME/lang.
50 + if (*val != NUL && STRICMP(name, "VIMRUNTIME") == 0)
52 + char_u *buf = concat_str(val, (char_u *)"/lang");
56 + bindtextdomain(VIMPACKAGE, (char *)buf);
63 #if defined(FEAT_CMDL_COMPL) || defined(PROTO)
64 *** ../vim-7.3.456/src/version.c 2012-02-22 19:13:00.000000000 +0100
65 --- src/version.c 2012-02-29 13:47:09.000000000 +0100
69 { /* Add new patch number below this line */
75 hundred-and-one symptoms of being an internet addict:
76 118. You are on a first-name basis with your ISP's staff.
78 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
79 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
80 \\\ an exciting new programming language -- http://www.Zimbu.org ///
81 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///