Patch 7.3.1144
Problem:    "RO" is not translated everywhere.
Solution:   Put inside _(). (Sergey Alyoshin)
Files:      src/buffer.c, src/screen.c


*** ../vim-7.3.1143/src/buffer.c        2013-05-06 04:50:26.000000000 +0200
--- src/buffer.c        2013-06-07 20:15:03.000000000 +0200
***************
*** 3139,3145 ****
  #endif
                                        ? _("[New file]") : "",
            (curbuf->b_flags & BF_READERR) ? _("[Read errors]") : "",
!           curbuf->b_p_ro ? (shortmess(SHM_RO) ? "[RO]"
                                                      : _("[readonly]")) : "",
            (curbufIsChanged() || (curbuf->b_flags & BF_WRITE_MASK)
                                                          || curbuf->b_p_ro) ?
--- 3139,3145 ----
  #endif
                                        ? _("[New file]") : "",
            (curbuf->b_flags & BF_READERR) ? _("[Read errors]") : "",
!           curbuf->b_p_ro ? (shortmess(SHM_RO) ? _("[RO]")
                                                      : _("[readonly]")) : "",
            (curbufIsChanged() || (curbuf->b_flags & BF_WRITE_MASK)
                                                          || curbuf->b_p_ro) ?
***************
*** 3976,3982 ****
        case STL_ROFLAG_ALT:
            itemisflag = TRUE;
            if (wp->w_buffer->b_p_ro)
!               str = (char_u *)((opt == STL_ROFLAG_ALT) ? ",RO" : "[RO]");
            break;
  
        case STL_HELPFLAG:
--- 3976,3982 ----
        case STL_ROFLAG_ALT:
            itemisflag = TRUE;
            if (wp->w_buffer->b_p_ro)
!               str = (char_u *)((opt == STL_ROFLAG_ALT) ? ",RO" : _("[RO]"));
            break;
  
        case STL_HELPFLAG:
*** ../vim-7.3.1143/src/screen.c        2013-06-04 22:13:45.000000000 +0200
--- src/screen.c        2013-06-07 20:15:06.000000000 +0200
***************
*** 6281,6287 ****
        }
        if (wp->w_buffer->b_p_ro)
        {
!           STRCPY(p + len, "[RO]");
            len += 4;
        }
  
--- 6281,6287 ----
        }
        if (wp->w_buffer->b_p_ro)
        {
!           STRCPY(p + len, _("[RO]"));
            len += 4;
        }
  
*** ../vim-7.3.1143/src/version.c       2013-06-07 19:53:04.000000000 +0200
--- src/version.c       2013-06-07 20:16:03.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
  {   /* Add new patch number below this line */
+ /**/
+     1144,
  /**/

-- 
A meeting is an event at which the minutes are kept and the hours are lost.

 /// 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/groups/opt_out.


Raspunde prin e-mail lui