Patch 8.2.2492
Problem:    Command line buffer name cannot be translated.
Solution:   Add _(). (Gabriel Dupras, closes #7812)
Files:      src/ex_getln.c


*** ../vim-8.2.2491/src/ex_getln.c      2021-02-06 18:08:39.891834143 +0100
--- src/ex_getln.c      2021-02-10 16:43:05.575784090 +0100
***************
*** 4219,4225 ****
      }
  
      apply_autocmds(EVENT_BUFFILEPRE, NULL, NULL, FALSE, curbuf);
!     (void)setfname(curbuf, (char_u *)"[Command Line]", NULL, TRUE);
      apply_autocmds(EVENT_BUFFILEPOST, NULL, NULL, FALSE, curbuf);
      set_option_value((char_u *)"bt", 0L, (char_u *)"nofile", OPT_LOCAL);
      curbuf->b_p_ma = TRUE;
--- 4219,4225 ----
      }
  
      apply_autocmds(EVENT_BUFFILEPRE, NULL, NULL, FALSE, curbuf);
!     (void)setfname(curbuf, (char_u *)_("[Command Line]"), NULL, TRUE);
      apply_autocmds(EVENT_BUFFILEPOST, NULL, NULL, FALSE, curbuf);
      set_option_value((char_u *)"bt", 0L, (char_u *)"nofile", OPT_LOCAL);
      curbuf->b_p_ma = TRUE;
*** ../vim-8.2.2491/src/version.c       2021-02-10 14:55:46.261748696 +0100
--- src/version.c       2021-02-10 16:45:01.631508872 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2492,
  /**/

-- 
WOMAN:   Dennis, there's some lovely filth down here.  Oh -- how d'you do?
ARTHUR:  How do you do, good lady.  I am Arthur, King of the Britons.
         Who's castle is that?
WOMAN:   King of the who?
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202102101545.11AFjvhN353447%40masaka.moolenaar.net.

Raspunde prin e-mail lui