|
Karsten Hopp |
78807e |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
78807e |
Subject: Patch 7.3.1144
|
|
Karsten Hopp |
78807e |
Fcc: outbox
|
|
Karsten Hopp |
78807e |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
78807e |
Mime-Version: 1.0
|
|
Karsten Hopp |
78807e |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
78807e |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
78807e |
------------
|
|
Karsten Hopp |
78807e |
|
|
Karsten Hopp |
78807e |
Patch 7.3.1144
|
|
Karsten Hopp |
78807e |
Problem: "RO" is not translated everywhere.
|
|
Karsten Hopp |
78807e |
Solution: Put inside _(). (Sergey Alyoshin)
|
|
Karsten Hopp |
78807e |
Files: src/buffer.c, src/screen.c
|
|
Karsten Hopp |
78807e |
|
|
Karsten Hopp |
78807e |
|
|
Karsten Hopp |
78807e |
*** ../vim-7.3.1143/src/buffer.c 2013-05-06 04:50:26.000000000 +0200
|
|
Karsten Hopp |
78807e |
--- src/buffer.c 2013-06-07 20:15:03.000000000 +0200
|
|
Karsten Hopp |
78807e |
***************
|
|
Karsten Hopp |
78807e |
*** 3139,3145 ****
|
|
Karsten Hopp |
78807e |
#endif
|
|
Karsten Hopp |
78807e |
? _("[New file]") : "",
|
|
Karsten Hopp |
78807e |
(curbuf->b_flags & BF_READERR) ? _("[Read errors]") : "",
|
|
Karsten Hopp |
78807e |
! curbuf->b_p_ro ? (shortmess(SHM_RO) ? "[RO]"
|
|
Karsten Hopp |
78807e |
: _("[readonly]")) : "",
|
|
Karsten Hopp |
78807e |
(curbufIsChanged() || (curbuf->b_flags & BF_WRITE_MASK)
|
|
Karsten Hopp |
78807e |
|| curbuf->b_p_ro) ?
|
|
Karsten Hopp |
78807e |
--- 3139,3145 ----
|
|
Karsten Hopp |
78807e |
#endif
|
|
Karsten Hopp |
78807e |
? _("[New file]") : "",
|
|
Karsten Hopp |
78807e |
(curbuf->b_flags & BF_READERR) ? _("[Read errors]") : "",
|
|
Karsten Hopp |
78807e |
! curbuf->b_p_ro ? (shortmess(SHM_RO) ? _("[RO]")
|
|
Karsten Hopp |
78807e |
: _("[readonly]")) : "",
|
|
Karsten Hopp |
78807e |
(curbufIsChanged() || (curbuf->b_flags & BF_WRITE_MASK)
|
|
Karsten Hopp |
78807e |
|| curbuf->b_p_ro) ?
|
|
Karsten Hopp |
78807e |
***************
|
|
Karsten Hopp |
78807e |
*** 3976,3982 ****
|
|
Karsten Hopp |
78807e |
case STL_ROFLAG_ALT:
|
|
Karsten Hopp |
78807e |
itemisflag = TRUE;
|
|
Karsten Hopp |
78807e |
if (wp->w_buffer->b_p_ro)
|
|
Karsten Hopp |
78807e |
! str = (char_u *)((opt == STL_ROFLAG_ALT) ? ",RO" : "[RO]");
|
|
Karsten Hopp |
78807e |
break;
|
|
Karsten Hopp |
78807e |
|
|
Karsten Hopp |
78807e |
case STL_HELPFLAG:
|
|
Karsten Hopp |
78807e |
--- 3976,3982 ----
|
|
Karsten Hopp |
78807e |
case STL_ROFLAG_ALT:
|
|
Karsten Hopp |
78807e |
itemisflag = TRUE;
|
|
Karsten Hopp |
78807e |
if (wp->w_buffer->b_p_ro)
|
|
Karsten Hopp |
78807e |
! str = (char_u *)((opt == STL_ROFLAG_ALT) ? ",RO" : _("[RO]"));
|
|
Karsten Hopp |
78807e |
break;
|
|
Karsten Hopp |
78807e |
|
|
Karsten Hopp |
78807e |
case STL_HELPFLAG:
|
|
Karsten Hopp |
78807e |
*** ../vim-7.3.1143/src/screen.c 2013-06-04 22:13:45.000000000 +0200
|
|
Karsten Hopp |
78807e |
--- src/screen.c 2013-06-07 20:15:06.000000000 +0200
|
|
Karsten Hopp |
78807e |
***************
|
|
Karsten Hopp |
78807e |
*** 6281,6287 ****
|
|
Karsten Hopp |
78807e |
}
|
|
Karsten Hopp |
78807e |
if (wp->w_buffer->b_p_ro)
|
|
Karsten Hopp |
78807e |
{
|
|
Karsten Hopp |
78807e |
! STRCPY(p + len, "[RO]");
|
|
Karsten Hopp |
78807e |
len += 4;
|
|
Karsten Hopp |
78807e |
}
|
|
Karsten Hopp |
78807e |
|
|
Karsten Hopp |
78807e |
--- 6281,6287 ----
|
|
Karsten Hopp |
78807e |
}
|
|
Karsten Hopp |
78807e |
if (wp->w_buffer->b_p_ro)
|
|
Karsten Hopp |
78807e |
{
|
|
Karsten Hopp |
78807e |
! STRCPY(p + len, _("[RO]"));
|
|
Karsten Hopp |
78807e |
len += 4;
|
|
Karsten Hopp |
78807e |
}
|
|
Karsten Hopp |
78807e |
|
|
Karsten Hopp |
78807e |
*** ../vim-7.3.1143/src/version.c 2013-06-07 19:53:04.000000000 +0200
|
|
Karsten Hopp |
78807e |
--- src/version.c 2013-06-07 20:16:03.000000000 +0200
|
|
Karsten Hopp |
78807e |
***************
|
|
Karsten Hopp |
78807e |
*** 730,731 ****
|
|
Karsten Hopp |
78807e |
--- 730,733 ----
|
|
Karsten Hopp |
78807e |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
78807e |
+ /**/
|
|
Karsten Hopp |
78807e |
+ 1144,
|
|
Karsten Hopp |
78807e |
/**/
|
|
Karsten Hopp |
78807e |
|
|
Karsten Hopp |
78807e |
--
|
|
Karsten Hopp |
78807e |
A meeting is an event at which the minutes are kept and the hours are lost.
|
|
Karsten Hopp |
78807e |
|
|
Karsten Hopp |
78807e |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
78807e |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
78807e |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
78807e |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|