0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 9.0.1594: some internal error messages are translated

Problem:    Some internal error messages are translated.
Solution:   Consistently do not translate internal error messages.
            (closes #12459)
This commit is contained in:
RestorerZ
2023-05-31 17:12:14 +01:00
committed by Bram Moolenaar
parent 3c240f608c
commit 68ebcee023
22 changed files with 91 additions and 91 deletions

View File

@@ -1370,7 +1370,7 @@ prog_magic_wrong(void)
if (UCHARAT(((bt_regprog_T *)prog)->program) != REGMAGIC)
{
emsg(_(e_corrupted_regexp_program));
iemsg(e_corrupted_regexp_program);
return TRUE;
}
return FALSE;
@@ -2022,7 +2022,7 @@ vim_regsub_both(
// Be paranoid...
if ((source == NULL && expr == NULL) || dest == NULL)
{
emsg(_(e_null_argument));
iemsg(e_null_argument);
return 0;
}
if (prog_magic_wrong())
@@ -2389,7 +2389,7 @@ vim_regsub_both(
else if (*s == NUL) // we hit NUL.
{
if (copy)
iemsg(_(e_damaged_match_string));
iemsg(e_damaged_match_string);
goto exit;
}
else