Re: Patch 6.2.153
- Mike Williams wrote:
> On 13 Nov 2003 at 17:57, Bram Moolenaar wrote:I'll include the patch and rename en_gb to en_GB. Thanks!
> > For Unix something like ":lang english" doesn't work at all. At least
> > for me. I have to type exactly a name that can be found in
> > /usr/share/locale. Even changing upper/lower case will break it.
> > If you do type the correct name, then the messages will be found.
> > That's because the first two letters of the locale are equal to the
> > language name, which is used for the message files. On Win32 these full
> > language names are used for the locale, those require the lookup table
> > for the messages to work.
> I tried this on my linux box last night and actually found UK message
> handling was broken. The language code should be en_GB, not en_gb so
> the messages directory was not being found. Not a problem on
> Windows, it being case insensitive. Attached is a patch to correct
> this and be consistent (and a small doc change).
If they don't keep on exercising their lips, he thought, their brains
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///