patch 8.2.3985: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
diff --git a/src/map.c b/src/map.c
index b8e7c05..cebd43a 100644
--- a/src/map.c
+++ b/src/map.c
@@ -2706,7 +2706,7 @@
}
if (to == NUL)
{
- semsg(_("E357: 'langmap': Matching character missing for %s"),
+ semsg(_(e_langmap_matching_character_missing_for_str),
transchar(from));
return;
}
@@ -2728,7 +2728,7 @@
{
if (p[0] != ',')
{
- semsg(_("E358: 'langmap': Extra characters after semicolon: %s"), p);
+ semsg(_(e_langmap_extra_characters_after_semicolon_str), p);
return;
}
++p;