Dominique Pelle wrote:
> >> Buffer name "[Command Line]" is not translated with gettext. > >> This is the buffer name which shows up when doing =A0q: > >> > >> Attached patch (from Vim-7.2.128) allows to translate it, > >> for those who use Vim with non-English locales. > > > > Not translating this is more or less intentional. =A0One can use this nam= > e > > to find the buffer. =A0I thought it was not much of a problem not > > translating this. > > OK, that's fine then. Some other special buffers such as > [No Name], [Quickfix List], [Location List], [Preview], [Scratch] > are translated with gettext though, which is a bit inconsistent > if [Command Line] buffer is not translated. But it's only a > nitpicking thing. > > Is the buffer name string the only way to identify what kind of > special buffer it is? What matters is what bufname() returns. The translated names are only used for displaying, so they can be translated without changing how scripts work. But the command line window buffer name is returned by bufname(), thus translating it theoretically could cause a problem for a script. It's not very consistent though... -- We are the Borg of GNU GPL. We will assimilate your source code. Resistance is futile. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
