summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-07 20:17:11 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-07 20:17:11 +0200
commit235840336312c73d72d30f38b2e628f98b62f353 (patch)
tree337c5d9646ad4d6f877323cd3dbd303805fcb9b1
parent3798519b9eb1f3c8c614c2d21743660a2a2cf947 (diff)
updated for version 7.3.1144v7.3.1144
Problem: "RO" is not translated everywhere. Solution: Put inside _(). (Sergey Alyoshin)
-rw-r--r--src/buffer.c4
-rw-r--r--src/screen.c2
-rw-r--r--src/version.c2
3 files changed, 5 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index ae744d28b2..a46e30ed1c 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -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:
diff --git a/src/screen.c b/src/screen.c
index cf6ed7306e..86d43cb1b2 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -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;
}
diff --git a/src/version.c b/src/version.c
index 2d0e42fe87..4e6a8f8571 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1144,
+/**/
1143,
/**/
1142,