]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1144 v7.3.1144
authorBram Moolenaar <Bram@vim.org>
Fri, 7 Jun 2013 18:17:11 +0000 (20:17 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 7 Jun 2013 18:17:11 +0000 (20:17 +0200)
Problem:    "RO" is not translated everywhere.
Solution:   Put inside _(). (Sergey Alyoshin)

src/buffer.c
src/screen.c
src/version.c

index ae744d28b280776c5ab1916b56636637688f7fc4..a46e30ed1c893ed3ec3055fae111ce6ca0280a39 100644 (file)
@@ -3139,7 +3139,7 @@ fileinfo(fullname, shorthelp, dont_truncate)
 #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) ?
@@ -3976,7 +3976,7 @@ build_stl_str_hl(wp, out, outlen, fmt, use_sandbox, fillchar,
        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:
index cf6ed7306e713c7ae6e758f73b6bf2e5b104eeee..86d43cb1b290176213e24e063ecc2e44931a5d44 100644 (file)
@@ -6281,7 +6281,7 @@ win_redr_status(wp)
        }
        if (wp->w_buffer->b_p_ro)
        {
-           STRCPY(p + len, "[RO]");
+           STRCPY(p + len, _("[RO]"));
            len += 4;
        }
 
index 2d0e42fe87e07031a994a8983819d4e806cced21..4e6a8f857162f29a98849f77aa3de499b80358d6 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1144,
 /**/
     1143,
 /**/