Patch 8.1.0308
Problem:    A quick undo shows "1 seconds ago". (Tony Mechelynck)
Solution:   Add singular/plural message.
Files:      src/undo.c


*** ../vim-8.1.0307/src/undo.c  2018-07-13 16:31:11.952226727 +0200
--- src/undo.c  2018-08-21 17:05:23.300046260 +0200
***************
*** 3124,3131 ****
      }
      else
  #endif
!       vim_snprintf((char *)buf, buflen, _("%ld seconds ago"),
!                                                     (long)(vim_time() - tt));
  }
  
  /*
--- 3124,3136 ----
      }
      else
  #endif
!     {
!       long seconds = (long)(vim_time() - tt);
! 
!       vim_snprintf((char *)buf, buflen,
!               NGETTEXT("%ld second ago", "%ld seconds ago", seconds),
!               seconds);
!     }
  }
  
  /*
*** ../vim-8.1.0307/src/version.c       2018-08-21 16:56:28.371325254 +0200
--- src/version.c       2018-08-21 17:06:12.627737719 +0200
***************
*** 796,797 ****
--- 796,799 ----
  {   /* Add new patch number below this line */
+ /**/
+     308,
  /**/

-- 
ARTHUR: I've said I'm sorry about the old woman, but from the behind you
        looked ...
DENNIS: What I object to is that you automatically treat me like an inferior...
ARTHUR: Well ... I AM king.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui