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)
diff --git a/src/undo.c b/src/undo.c
index ea7619c..9e122f9 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -2717,7 +2717,7 @@
|| bot > curbuf->b_ml.ml_line_count + 1)
{
unblock_autocmds();
- iemsg(_(e_u_undo_line_numbers_wrong));
+ iemsg(e_u_undo_line_numbers_wrong);
changed(); // don't want UNCHANGED now
return;
}
@@ -3307,7 +3307,7 @@
{
if (curbuf->b_u_newhead == NULL || curbuf->b_u_newhead->uh_entry == NULL)
{
- iemsg(_(e_undo_list_corrupt));
+ iemsg(e_undo_list_corrupt);
return NULL;
}
return curbuf->b_u_newhead->uh_entry;
@@ -3339,7 +3339,7 @@
uep->ue_bot = uep->ue_top + uep->ue_size + 1 + extra;
if (uep->ue_bot < 1 || uep->ue_bot > curbuf->b_ml.ml_line_count)
{
- iemsg(_(e_undo_line_missing));
+ iemsg(e_undo_line_missing);
uep->ue_bot = uep->ue_top + 1; // assume all lines deleted, will
// get all the old lines back
// without deleting the current