0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.2250

Problem:    Some error message cannot be translated.
Solution:   Enclose them in _() and N_(). (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2016-08-24 22:11:55 +02:00
parent ba2099034f
commit 5b30291785
6 changed files with 19 additions and 17 deletions

View File

@@ -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)