summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-24 22:11:55 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-24 22:11:55 +0200
commit5b30291785e6b9be1a607504c14bd03c601b59a6 (patch)
tree86e6c5c0cf7090f485392cfecb80b43602a8b0cd /src/window.c
parentba2099034f92a2814494f37bddb0c57d034401b4 (diff)
downloadvim-git-5b30291785e6b9be1a607504c14bd03c601b59a6.tar.gz
patch 7.4.2250v7.4.2250
Problem: Some error message cannot be translated. Solution: Enclose them in _() and N_(). (Dominique Pelle)
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c
index b015d1d01..65d8b36ea 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6751,7 +6751,7 @@ match_add(
return -1;
if (id < -1 || id == 0)
{
- EMSGN("E799: Invalid ID: %ld (must be greater than or equal to 1)", id);
+ EMSGN(_("E799: Invalid ID: %ld (must be greater than or equal to 1)"), id);
return -1;
}
if (id != -1)
@@ -6761,7 +6761,7 @@ match_add(
{
if (cur->id == id)
{
- EMSGN("E801: ID already taken: %ld", id);
+ EMSGN(_("E801: ID already taken: %ld"), id);
return -1;
}
cur = cur->next;
@@ -6938,7 +6938,7 @@ match_delete(win_T *wp, int id, int perr)
if (id < 1)
{
if (perr == TRUE)
- EMSGN("E802: Invalid ID: %ld (must be greater than or equal to 1)",
+ EMSGN(_("E802: Invalid ID: %ld (must be greater than or equal to 1)"),
id);
return -1;
}
@@ -6950,7 +6950,7 @@ match_delete(win_T *wp, int id, int perr)
if (cur == NULL)
{
if (perr == TRUE)
- EMSGN("E803: ID not found: %ld", id);
+ EMSGN(_("E803: ID not found: %ld"), id);
return -1;
}
if (cur == prev)