Problem: "RO" is not translated everywhere.
Solution: Put inside _(). (Sergey Alyoshin)
#endif
? _("[New file]") : "",
(curbuf->b_flags & BF_READERR) ? _("[Read errors]") : "",
- curbuf->b_p_ro ? (shortmess(SHM_RO) ? "[RO]"
+ curbuf->b_p_ro ? (shortmess(SHM_RO) ? _("[RO]")
: _("[readonly]")) : "",
(curbufIsChanged() || (curbuf->b_flags & BF_WRITE_MASK)
|| curbuf->b_p_ro) ?
case STL_ROFLAG_ALT:
itemisflag = TRUE;
if (wp->w_buffer->b_p_ro)
- str = (char_u *)((opt == STL_ROFLAG_ALT) ? ",RO" : "[RO]");
+ str = (char_u *)((opt == STL_ROFLAG_ALT) ? ",RO" : _("[RO]"));
break;
case STL_HELPFLAG:
}
if (wp->w_buffer->b_p_ro)
{
- STRCPY(p + len, "[RO]");
+ STRCPY(p + len, _("[RO]"));
len += 4;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1144,
/**/
1143,
/**/