Buffer name "[Command Line]" is not translated with gettext.
This is the buffer name which shows up when doing  q:

Attached patch (from Vim-7.2.128) allows to translate it,
for those who use Vim with non-English locales.

Regards
-- Dominique

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Index: ex_getln.c
===================================================================
RCS file: /cvsroot/vim/vim7/src/ex_getln.c,v
retrieving revision 1.95
diff -c -r1.95 ex_getln.c
*** ex_getln.c	28 Nov 2008 10:00:44 -0000	1.95
--- ex_getln.c	1 Mar 2009 11:39:51 -0000
***************
*** 6053,6059 ****
  
      /* Create the command-line buffer empty. */
      (void)do_ecmd(0, NULL, NULL, NULL, ECMD_ONE, ECMD_HIDE, NULL);
!     (void)setfname(curbuf, (char_u *)"[Command Line]", NULL, TRUE);
      set_option_value((char_u *)"bt", 0L, (char_u *)"nofile", OPT_LOCAL);
      set_option_value((char_u *)"swf", 0L, NULL, OPT_LOCAL);
      curbuf->b_p_ma = TRUE;
--- 6053,6059 ----
  
      /* Create the command-line buffer empty. */
      (void)do_ecmd(0, NULL, NULL, NULL, ECMD_ONE, ECMD_HIDE, NULL);
!     (void)setfname(curbuf, (char_u *)_("[Command Line]"), NULL, TRUE);
      set_option_value((char_u *)"bt", 0L, (char_u *)"nofile", OPT_LOCAL);
      set_option_value((char_u *)"swf", 0L, NULL, OPT_LOCAL);
      curbuf->b_p_ma = TRUE;

Raspunde prin e-mail lui