Buffer name "[Scratch]" is currently not translated with gettext.

Attached patch fixes it.

"[Scratch]" is the name of the buffer that you can see by doing
this for example:

$ vim -u NONE -c 'set bt=nofile laststatus=2'

-- Dominique

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

Index: buffer.c
===================================================================
RCS file: /cvsroot/vim/vim7/src/buffer.c,v
retrieving revision 1.86
diff -c -r1.86 buffer.c
*** buffer.c	15 Nov 2008 15:05:47 -0000	1.86
--- buffer.c	2 Dec 2008 18:17:53 -0000
***************
*** 5118,5124 ****
      {
  	if (buf->b_sfname != NULL)
  	    return (char *)buf->b_sfname;
! 	return "[Scratch]";
      }
  #endif
      if (buf->b_fname == NULL)
--- 5118,5124 ----
      {
  	if (buf->b_sfname != NULL)
  	    return (char *)buf->b_sfname;
! 	return _("[Scratch]");
      }
  #endif
      if (buf->b_fname == NULL)

Raspunde prin e-mail lui